]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libstdc++/configure
This commit was generated by cvs2svn to compensate for changes in r169765,
[FreeBSD/FreeBSD.git] / contrib / libstdc++ / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 #  include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 #  include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 #  include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356   # If the previous option needs an argument, assign it.
357   if test -n "$ac_prev"; then
358     eval "$ac_prev=\$ac_option"
359     ac_prev=
360     continue
361   fi
362
363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365   # Accept the important Cygnus configure options, so we can diagnose typos.
366
367   case $ac_option in
368
369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
370     ac_prev=bindir ;;
371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372     bindir=$ac_optarg ;;
373
374   -build | --build | --buil | --bui | --bu)
375     ac_prev=build_alias ;;
376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377     build_alias=$ac_optarg ;;
378
379   -cache-file | --cache-file | --cache-fil | --cache-fi \
380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381     ac_prev=cache_file ;;
382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384     cache_file=$ac_optarg ;;
385
386   --config-cache | -C)
387     cache_file=config.cache ;;
388
389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390     ac_prev=datadir ;;
391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392   | --da=*)
393     datadir=$ac_optarg ;;
394
395   -disable-* | --disable-*)
396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397     # Reject names that are not valid shell variable names.
398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400    { (exit 1); exit 1; }; }
401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402     eval "enable_$ac_feature=no" ;;
403
404   -enable-* | --enable-*)
405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406     # Reject names that are not valid shell variable names.
407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409    { (exit 1); exit 1; }; }
410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411     case $ac_option in
412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413       *) ac_optarg=yes ;;
414     esac
415     eval "enable_$ac_feature='$ac_optarg'" ;;
416
417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419   | --exec | --exe | --ex)
420     ac_prev=exec_prefix ;;
421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423   | --exec=* | --exe=* | --ex=*)
424     exec_prefix=$ac_optarg ;;
425
426   -gas | --gas | --ga | --g)
427     # Obsolete; use --with-gas.
428     with_gas=yes ;;
429
430   -help | --help | --hel | --he | -h)
431     ac_init_help=long ;;
432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433     ac_init_help=recursive ;;
434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435     ac_init_help=short ;;
436
437   -host | --host | --hos | --ho)
438     ac_prev=host_alias ;;
439   -host=* | --host=* | --hos=* | --ho=*)
440     host_alias=$ac_optarg ;;
441
442   -includedir | --includedir | --includedi | --included | --include \
443   | --includ | --inclu | --incl | --inc)
444     ac_prev=includedir ;;
445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446   | --includ=* | --inclu=* | --incl=* | --inc=*)
447     includedir=$ac_optarg ;;
448
449   -infodir | --infodir | --infodi | --infod | --info | --inf)
450     ac_prev=infodir ;;
451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452     infodir=$ac_optarg ;;
453
454   -libdir | --libdir | --libdi | --libd)
455     ac_prev=libdir ;;
456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
457     libdir=$ac_optarg ;;
458
459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460   | --libexe | --libex | --libe)
461     ac_prev=libexecdir ;;
462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463   | --libexe=* | --libex=* | --libe=*)
464     libexecdir=$ac_optarg ;;
465
466   -localstatedir | --localstatedir | --localstatedi | --localstated \
467   | --localstate | --localstat | --localsta | --localst \
468   | --locals | --local | --loca | --loc | --lo)
469     ac_prev=localstatedir ;;
470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473     localstatedir=$ac_optarg ;;
474
475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476     ac_prev=mandir ;;
477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478     mandir=$ac_optarg ;;
479
480   -nfp | --nfp | --nf)
481     # Obsolete; use --without-fp.
482     with_fp=no ;;
483
484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485   | --no-cr | --no-c | -n)
486     no_create=yes ;;
487
488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490     no_recursion=yes ;;
491
492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494   | --oldin | --oldi | --old | --ol | --o)
495     ac_prev=oldincludedir ;;
496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499     oldincludedir=$ac_optarg ;;
500
501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502     ac_prev=prefix ;;
503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504     prefix=$ac_optarg ;;
505
506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
507   | --program-pre | --program-pr | --program-p)
508     ac_prev=program_prefix ;;
509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511     program_prefix=$ac_optarg ;;
512
513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
514   | --program-suf | --program-su | --program-s)
515     ac_prev=program_suffix ;;
516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518     program_suffix=$ac_optarg ;;
519
520   -program-transform-name | --program-transform-name \
521   | --program-transform-nam | --program-transform-na \
522   | --program-transform-n | --program-transform- \
523   | --program-transform | --program-transfor \
524   | --program-transfo | --program-transf \
525   | --program-trans | --program-tran \
526   | --progr-tra | --program-tr | --program-t)
527     ac_prev=program_transform_name ;;
528   -program-transform-name=* | --program-transform-name=* \
529   | --program-transform-nam=* | --program-transform-na=* \
530   | --program-transform-n=* | --program-transform-=* \
531   | --program-transform=* | --program-transfor=* \
532   | --program-transfo=* | --program-transf=* \
533   | --program-trans=* | --program-tran=* \
534   | --progr-tra=* | --program-tr=* | --program-t=*)
535     program_transform_name=$ac_optarg ;;
536
537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538   | -silent | --silent | --silen | --sile | --sil)
539     silent=yes ;;
540
541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542     ac_prev=sbindir ;;
543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544   | --sbi=* | --sb=*)
545     sbindir=$ac_optarg ;;
546
547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549   | --sharedst | --shareds | --shared | --share | --shar \
550   | --sha | --sh)
551     ac_prev=sharedstatedir ;;
552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555   | --sha=* | --sh=*)
556     sharedstatedir=$ac_optarg ;;
557
558   -site | --site | --sit)
559     ac_prev=site ;;
560   -site=* | --site=* | --sit=*)
561     site=$ac_optarg ;;
562
563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564     ac_prev=srcdir ;;
565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566     srcdir=$ac_optarg ;;
567
568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569   | --syscon | --sysco | --sysc | --sys | --sy)
570     ac_prev=sysconfdir ;;
571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573     sysconfdir=$ac_optarg ;;
574
575   -target | --target | --targe | --targ | --tar | --ta | --t)
576     ac_prev=target_alias ;;
577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578     target_alias=$ac_optarg ;;
579
580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
581     verbose=yes ;;
582
583   -version | --version | --versio | --versi | --vers | -V)
584     ac_init_version=: ;;
585
586   -with-* | --with-*)
587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588     # Reject names that are not valid shell variable names.
589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590       { echo "$as_me: error: invalid package name: $ac_package" >&2
591    { (exit 1); exit 1; }; }
592     ac_package=`echo $ac_package| sed 's/-/_/g'`
593     case $ac_option in
594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595       *) ac_optarg=yes ;;
596     esac
597     eval "with_$ac_package='$ac_optarg'" ;;
598
599   -without-* | --without-*)
600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601     # Reject names that are not valid shell variable names.
602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603       { echo "$as_me: error: invalid package name: $ac_package" >&2
604    { (exit 1); exit 1; }; }
605     ac_package=`echo $ac_package | sed 's/-/_/g'`
606     eval "with_$ac_package=no" ;;
607
608   --x)
609     # Obsolete; use --with-x.
610     with_x=yes ;;
611
612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613   | --x-incl | --x-inc | --x-in | --x-i)
614     ac_prev=x_includes ;;
615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617     x_includes=$ac_optarg ;;
618
619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621     ac_prev=x_libraries ;;
622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624     x_libraries=$ac_optarg ;;
625
626   -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628    { (exit 1); exit 1; }; }
629     ;;
630
631   *=*)
632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633     # Reject names that are not valid shell variable names.
634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636    { (exit 1); exit 1; }; }
637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638     eval "$ac_envvar='$ac_optarg'"
639     export $ac_envvar ;;
640
641   *)
642     # FIXME: should be removed in autoconf 3.0.
643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647     ;;
648
649   esac
650 done
651
652 if test -n "$ac_prev"; then
653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654   { echo "$as_me: error: missing argument to $ac_option" >&2
655    { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661   eval ac_val=$`echo $ac_var`
662   case $ac_val in
663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665    { (exit 1); exit 1; }; };;
666   esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671               localstatedir libdir includedir oldincludedir infodir mandir
672 do
673   eval ac_val=$`echo $ac_var`
674   case $ac_val in
675     [\\/$]* | ?:[\\/]* ) ;;
676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677    { (exit 1); exit 1; }; };;
678   esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690   if test "x$build_alias" = x; then
691     cross_compiling=maybe
692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693     If a cross compiler is detected then cross compile mode will be used." >&2
694   elif test "x$build_alias" != "x$host_alias"; then
695     cross_compiling=yes
696   fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707   ac_srcdir_defaulted=yes
708   # Try the directory containing this script, then its parent.
709   ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711          X"$0" : 'X\(//\)[^/]' \| \
712          X"$0" : 'X\(//\)$' \| \
713          X"$0" : 'X\(/\)' \| \
714          .     : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718           /^X\(\/\/\)$/{ s//\1/; q; }
719           /^X\(\/\).*/{ s//\1/; q; }
720           s/.*/./; q'`
721   srcdir=$ac_confdir
722   if test ! -r $srcdir/$ac_unique_file; then
723     srcdir=..
724   fi
725 else
726   ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729   if test "$ac_srcdir_defaulted" = yes; then
730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731    { (exit 1); exit 1; }; }
732   else
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734    { (exit 1); exit 1; }; }
735   fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739    { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CXXCPP_set=${CXXCPP+set}
762 ac_env_CXXCPP_value=$CXXCPP
763 ac_cv_env_CXXCPP_set=${CXXCPP+set}
764 ac_cv_env_CXXCPP_value=$CXXCPP
765
766 #
767 # Report the --help message.
768 #
769 if test "$ac_init_help" = "long"; then
770   # Omit some internal or obsolete options to make the list less imposing.
771   # This message is too long to be a string in the A/UX 3.1 sh.
772   cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
774
775 Usage: $0 [OPTION]... [VAR=VALUE]...
776
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE.  See below for descriptions of some of the useful variables.
779
780 Defaults for the options are specified in brackets.
781
782 Configuration:
783   -h, --help              display this help and exit
784       --help=short        display options specific to this package
785       --help=recursive    display the short help of all the included packages
786   -V, --version           display version information and exit
787   -q, --quiet, --silent   do not print \`checking...' messages
788       --cache-file=FILE   cache test results in FILE [disabled]
789   -C, --config-cache      alias for \`--cache-file=config.cache'
790   -n, --no-create         do not create output files
791       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
792
793 _ACEOF
794
795   cat <<_ACEOF
796 Installation directories:
797   --prefix=PREFIX         install architecture-independent files in PREFIX
798                           [$ac_default_prefix]
799   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
800                           [PREFIX]
801
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
806
807 For better control, use the options below.
808
809 Fine tuning of the installation directories:
810   --bindir=DIR           user executables [EPREFIX/bin]
811   --sbindir=DIR          system admin executables [EPREFIX/sbin]
812   --libexecdir=DIR       program executables [EPREFIX/libexec]
813   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
814   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
815   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
816   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
817   --libdir=DIR           object code libraries [EPREFIX/lib]
818   --includedir=DIR       C header files [PREFIX/include]
819   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
820   --infodir=DIR          info documentation [PREFIX/info]
821   --mandir=DIR           man documentation [PREFIX/man]
822 _ACEOF
823
824   cat <<\_ACEOF
825
826 Program names:
827   --program-prefix=PREFIX            prepend PREFIX to installed program names
828   --program-suffix=SUFFIX            append SUFFIX to installed program names
829   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
830
831 System types:
832   --build=BUILD     configure for building on BUILD [guessed]
833   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
834   --target=TARGET   configure for building compilers for TARGET [HOST]
835 _ACEOF
836 fi
837
838 if test -n "$ac_init_help"; then
839   case $ac_init_help in
840      short | recursive ) echo "Configuration of package-unused version-unused:";;
841    esac
842   cat <<\_ACEOF
843
844 Optional Features:
845   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
846   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
847   --enable-multilib       build many library versions (default)
848   --enable-maintainer-mode  enable make rules and dependencies not useful
849                           (and sometimes confusing) to the casual installer
850   --enable-shared=PKGS  build shared libraries default=yes
851   --enable-static=PKGS  build static libraries default=yes
852   --enable-fast-install=PKGS  optimize for fast installation default=yes
853   --disable-libtool-lock  avoid locking (might break parallel builds)
854   --disable-hosted-libstdcxx
855                           only build freestanding C++ runtime support
856   --enable-sjlj-exceptions
857                           force use of builtin_setjmp for exceptions
858                           [default=auto]
859   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
860                           [default=$is_hosted]
861   --enable-cstdio=PACKAGE use target-specific I/O package
862                           [default=stdio]
863   --enable-clocale[=MODEL]
864                           use MODEL for target locale package
865                           [default=auto]
866   --enable-nls            use Native Language Support (default)
867   --enable-libstdcxx-allocator=KIND
868                           use KIND for target std::allocator base
869                           [default=auto]
870   --enable-cheaders=KIND  construct "C" headers for g++
871                           [default=$c_model]
872   --enable-long-long      enable template specializations for 'long long'
873                           [default=yes]
874   --enable-wchar_t        enable template specializations for 'wchar_t'
875                           [default=yes]
876   --enable-c99            turns on ISO/IEC 9899:1999 support
877                           [default=yes]
878   --enable-concept-checks use Boost-derived template checks [default=no]
879   --enable-libstdcxx-debug-flags=FLAGS
880                           pass compiler FLAGS when building debug library
881                           [default="-g3 -O0"]
882   --enable-libstdcxx-debug
883                           build extra debug library [default=no]
884   --enable-cxx-flags=FLAGS
885                           pass compiler FLAGS when building library
886                           [default=]
887   --enable-fully-dynamic-string
888                           do not put empty strings in per-process static
889                           memory [default=no]
890   --enable-tls            Use thread-local storage [default=yes]
891   --enable-symvers=STYLE  enables symbol versioning of the shared library
892                           [default=yes]
893   --enable-visibility     enables visibility safe usage [default=yes]
894   --enable-version-specific-runtime-libs
895                           Specify that runtime libraries should be installed
896                           in a compiler-specific directory
897
898 Optional Packages:
899   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
900   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
901   --with-target-subdir=SUBDIR
902                           configuring in a subdirectory
903   --with-cross-host=HOST  configuring with a cross compiler
904   --with-newlib           assume newlib as a system C library
905   --with-gnu-ld           assume the C compiler uses GNU ld default=no
906   --with-pic              try to use only PIC/non-PIC objects default=use both
907   --with-gxx-include-dir=DIR
908                           installation directory for include files
909
910 Some influential environment variables:
911   CC          C compiler command
912   CFLAGS      C compiler flags
913   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
914               nonstandard directory <lib dir>
915   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
916               headers in a nonstandard directory <include dir>
917   CXX         C++ compiler command
918   CXXFLAGS    C++ compiler flags
919   CPP         C preprocessor
920   CXXCPP      C++ preprocessor
921
922 Use these variables to override the choices made by `configure' or to help
923 it to find libraries and programs with nonstandard names/locations.
924
925 _ACEOF
926 fi
927
928 if test "$ac_init_help" = "recursive"; then
929   # If there are subdirs, report their specific --help.
930   ac_popdir=`pwd`
931   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932     test -d $ac_dir || continue
933     ac_builddir=.
934
935 if test "$ac_dir" != .; then
936   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937   # A "../" for each directory in $ac_dir_suffix.
938   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939 else
940   ac_dir_suffix= ac_top_builddir=
941 fi
942
943 case $srcdir in
944   .)  # No --srcdir option.  We are building in place.
945     ac_srcdir=.
946     if test -z "$ac_top_builddir"; then
947        ac_top_srcdir=.
948     else
949        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950     fi ;;
951   [\\/]* | ?:[\\/]* )  # Absolute path.
952     ac_srcdir=$srcdir$ac_dir_suffix;
953     ac_top_srcdir=$srcdir ;;
954   *) # Relative path.
955     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956     ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 esac
958
959 # Do not use `cd foo && pwd` to compute absolute paths, because
960 # the directories may not exist.
961 case `pwd` in
962 .) ac_abs_builddir="$ac_dir";;
963 *)
964   case "$ac_dir" in
965   .) ac_abs_builddir=`pwd`;;
966   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967   *) ac_abs_builddir=`pwd`/"$ac_dir";;
968   esac;;
969 esac
970 case $ac_abs_builddir in
971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
972 *)
973   case ${ac_top_builddir}. in
974   .) ac_abs_top_builddir=$ac_abs_builddir;;
975   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977   esac;;
978 esac
979 case $ac_abs_builddir in
980 .) ac_abs_srcdir=$ac_srcdir;;
981 *)
982   case $ac_srcdir in
983   .) ac_abs_srcdir=$ac_abs_builddir;;
984   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986   esac;;
987 esac
988 case $ac_abs_builddir in
989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
990 *)
991   case $ac_top_srcdir in
992   .) ac_abs_top_srcdir=$ac_abs_builddir;;
993   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995   esac;;
996 esac
997
998     cd $ac_dir
999     # Check for guested configure; otherwise get Cygnus style configure.
1000     if test -f $ac_srcdir/configure.gnu; then
1001       echo
1002       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1003     elif test -f $ac_srcdir/configure; then
1004       echo
1005       $SHELL $ac_srcdir/configure  --help=recursive
1006     elif test -f $ac_srcdir/configure.ac ||
1007            test -f $ac_srcdir/configure.in; then
1008       echo
1009       $ac_configure --help
1010     else
1011       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1012     fi
1013     cd $ac_popdir
1014   done
1015 fi
1016
1017 test -n "$ac_init_help" && exit 0
1018 if $ac_init_version; then
1019   cat <<\_ACEOF
1020 package-unused configure version-unused
1021 generated by GNU Autoconf 2.59
1022
1023 Copyright (C) 2003 Free Software Foundation, Inc.
1024 This configure script is free software; the Free Software Foundation
1025 gives unlimited permission to copy, distribute and modify it.
1026 _ACEOF
1027   exit 0
1028 fi
1029 exec 5>config.log
1030 cat >&5 <<_ACEOF
1031 This file contains any messages produced by compilers while
1032 running configure, to aid debugging if configure makes a mistake.
1033
1034 It was created by package-unused $as_me version-unused, which was
1035 generated by GNU Autoconf 2.59.  Invocation command line was
1036
1037   $ $0 $@
1038
1039 _ACEOF
1040 {
1041 cat <<_ASUNAME
1042 ## --------- ##
1043 ## Platform. ##
1044 ## --------- ##
1045
1046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1051
1052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1054
1055 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1056 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1059 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1060 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1061 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1062
1063 _ASUNAME
1064
1065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066 for as_dir in $PATH
1067 do
1068   IFS=$as_save_IFS
1069   test -z "$as_dir" && as_dir=.
1070   echo "PATH: $as_dir"
1071 done
1072
1073 } >&5
1074
1075 cat >&5 <<_ACEOF
1076
1077
1078 ## ----------- ##
1079 ## Core tests. ##
1080 ## ----------- ##
1081
1082 _ACEOF
1083
1084
1085 # Keep a trace of the command line.
1086 # Strip out --no-create and --no-recursion so they do not pile up.
1087 # Strip out --silent because we don't want to record it for future runs.
1088 # Also quote any args containing shell meta-characters.
1089 # Make two passes to allow for proper duplicate-argument suppression.
1090 ac_configure_args=
1091 ac_configure_args0=
1092 ac_configure_args1=
1093 ac_sep=
1094 ac_must_keep_next=false
1095 for ac_pass in 1 2
1096 do
1097   for ac_arg
1098   do
1099     case $ac_arg in
1100     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102     | -silent | --silent | --silen | --sile | --sil)
1103       continue ;;
1104     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106     esac
1107     case $ac_pass in
1108     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1109     2)
1110       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111       if test $ac_must_keep_next = true; then
1112         ac_must_keep_next=false # Got value, back to normal.
1113       else
1114         case $ac_arg in
1115           *=* | --config-cache | -C | -disable-* | --disable-* \
1116           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118           | -with-* | --with-* | -without-* | --without-* | --x)
1119             case "$ac_configure_args0 " in
1120               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121             esac
1122             ;;
1123           -* ) ac_must_keep_next=true ;;
1124         esac
1125       fi
1126       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127       # Get rid of the leading space.
1128       ac_sep=" "
1129       ;;
1130     esac
1131   done
1132 done
1133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1135
1136 # When interrupted or exit'd, cleanup temporary files, and complete
1137 # config.log.  We remove comments because anyway the quotes in there
1138 # would cause problems or look ugly.
1139 # WARNING: Be sure not to use single quotes in there, as some shells,
1140 # such as our DU 5.0 friend, will then `close' the trap.
1141 trap 'exit_status=$?
1142   # Save into config.log some information that might help in debugging.
1143   {
1144     echo
1145
1146     cat <<\_ASBOX
1147 ## ---------------- ##
1148 ## Cache variables. ##
1149 ## ---------------- ##
1150 _ASBOX
1151     echo
1152     # The following way of writing the cache mishandles newlines in values,
1153 {
1154   (set) 2>&1 |
1155     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156     *ac_space=\ *)
1157       sed -n \
1158         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160       ;;
1161     *)
1162       sed -n \
1163         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1164       ;;
1165     esac;
1166 }
1167     echo
1168
1169     cat <<\_ASBOX
1170 ## ----------------- ##
1171 ## Output variables. ##
1172 ## ----------------- ##
1173 _ASBOX
1174     echo
1175     for ac_var in $ac_subst_vars
1176     do
1177       eval ac_val=$`echo $ac_var`
1178       echo "$ac_var='"'"'$ac_val'"'"'"
1179     done | sort
1180     echo
1181
1182     if test -n "$ac_subst_files"; then
1183       cat <<\_ASBOX
1184 ## ------------- ##
1185 ## Output files. ##
1186 ## ------------- ##
1187 _ASBOX
1188       echo
1189       for ac_var in $ac_subst_files
1190       do
1191         eval ac_val=$`echo $ac_var`
1192         echo "$ac_var='"'"'$ac_val'"'"'"
1193       done | sort
1194       echo
1195     fi
1196
1197     if test -s confdefs.h; then
1198       cat <<\_ASBOX
1199 ## ----------- ##
1200 ## confdefs.h. ##
1201 ## ----------- ##
1202 _ASBOX
1203       echo
1204       sed "/^$/d" confdefs.h | sort
1205       echo
1206     fi
1207     test "$ac_signal" != 0 &&
1208       echo "$as_me: caught signal $ac_signal"
1209     echo "$as_me: exit $exit_status"
1210   } >&5
1211   rm -f core *.core &&
1212   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213     exit $exit_status
1214      ' 0
1215 for ac_signal in 1 2 13 15; do
1216   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 done
1218 ac_signal=0
1219
1220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1221 rm -rf conftest* confdefs.h
1222 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 echo >confdefs.h
1224
1225 # Predefined preprocessor variables.
1226
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 _ACEOF
1230
1231
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 _ACEOF
1235
1236
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 _ACEOF
1240
1241
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 _ACEOF
1245
1246
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 _ACEOF
1250
1251
1252 # Let the site file select an alternate cache file if it wants to.
1253 # Prefer explicitly selected file to automatically selected ones.
1254 if test -z "$CONFIG_SITE"; then
1255   if test "x$prefix" != xNONE; then
1256     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257   else
1258     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259   fi
1260 fi
1261 for ac_site_file in $CONFIG_SITE; do
1262   if test -r "$ac_site_file"; then
1263     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264 echo "$as_me: loading site script $ac_site_file" >&6;}
1265     sed 's/^/| /' "$ac_site_file" >&5
1266     . "$ac_site_file"
1267   fi
1268 done
1269
1270 if test -r "$cache_file"; then
1271   # Some versions of bash will fail to source /dev/null (special
1272   # files actually), so we avoid doing that.
1273   if test -f "$cache_file"; then
1274     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275 echo "$as_me: loading cache $cache_file" >&6;}
1276     case $cache_file in
1277       [\\/]* | ?:[\\/]* ) . $cache_file;;
1278       *)                      . ./$cache_file;;
1279     esac
1280   fi
1281 else
1282   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283 echo "$as_me: creating cache $cache_file" >&6;}
1284   >$cache_file
1285 fi
1286
1287 # Check that the precious variables saved in the cache have kept the same
1288 # value.
1289 ac_cache_corrupted=false
1290 for ac_var in `(set) 2>&1 |
1291                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293   eval ac_new_set=\$ac_env_${ac_var}_set
1294   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295   eval ac_new_val="\$ac_env_${ac_var}_value"
1296   case $ac_old_set,$ac_new_set in
1297     set,)
1298       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300       ac_cache_corrupted=: ;;
1301     ,set)
1302       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304       ac_cache_corrupted=: ;;
1305     ,);;
1306     *)
1307       if test "x$ac_old_val" != "x$ac_new_val"; then
1308         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1311 echo "$as_me:   former value:  $ac_old_val" >&2;}
1312         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1313 echo "$as_me:   current value: $ac_new_val" >&2;}
1314         ac_cache_corrupted=:
1315       fi;;
1316   esac
1317   # Pass precious variables to config.status.
1318   if test "$ac_new_set" = set; then
1319     case $ac_new_val in
1320     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322     *) ac_arg=$ac_var=$ac_new_val ;;
1323     esac
1324     case " $ac_configure_args " in
1325       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1326       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327     esac
1328   fi
1329 done
1330 if $ac_cache_corrupted; then
1331   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335    { (exit 1); exit 1; }; }
1336 fi
1337
1338 ac_ext=c
1339 ac_cpp='$CPP $CPPFLAGS'
1340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371           ac_config_headers="$ac_config_headers config.h"
1372
1373
1374 # This works around the fact that libtool configuration may change LD
1375 # for this particular configuration, but some shells, instead of
1376 # keeping the changes in LD private, export them just because LD is
1377 # exported.  Only used at the end of this file.
1378 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1379
1380 # For libtool versioning info, format is CURRENT:REVISION:AGE
1381 libtool_VERSION=6:9:0
1382
1383
1384 # Find the rest of the source tree framework.
1385 # Default to --enable-multilib
1386 # Check whether --enable-multilib or --disable-multilib was given.
1387 if test "${enable_multilib+set}" = set; then
1388   enableval="$enable_multilib"
1389   case "$enableval" in
1390   yes) multilib=yes ;;
1391   no)  multilib=no ;;
1392   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394    { (exit 1); exit 1; }; } ;;
1395  esac
1396 else
1397   multilib=yes
1398 fi;
1399
1400 # We may get other options which we leave undocumented:
1401 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1402 # See config-ml.in if you want the gory details.
1403
1404 if test "$srcdir" = "."; then
1405   if test "$with_target_subdir" != "."; then
1406     multi_basedir="$srcdir/$with_multisrctop../.."
1407   else
1408     multi_basedir="$srcdir/$with_multisrctop.."
1409   fi
1410 else
1411   multi_basedir="$srcdir/.."
1412 fi
1413
1414
1415 # Even if the default multilib is not a cross compilation,
1416 # it may be that some of the other multilibs are.
1417 if test $cross_compiling = no && test $multilib = yes \
1418    && test "x${with_multisubdir}" != x ; then
1419    cross_compiling=maybe
1420 fi
1421
1422           ac_config_commands="$ac_config_commands default-1"
1423
1424
1425 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1426 #
1427 # You will slowly go insane if you do not grok the following fact:  when
1428 # building v3 as part of the compiler, the top-level /target/ becomes the
1429 # library's /host/.  configure then causes --target to default to --host,
1430 # exactly like any other package using autoconf.  Therefore, 'target' and
1431 # 'host' will always be the same.  This makes sense both for native and
1432 # cross compilers, just think about it for a little while.  :-)
1433 #
1434 # Also, if v3 is being configured as part of a cross compiler, the top-level
1435 # configure script will pass the "real" host as $with_cross_host.
1436 #
1437 # Do not delete or change the following two lines.  For why, see
1438 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1439 ac_aux_dir=
1440 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1441   if test -f $ac_dir/install-sh; then
1442     ac_aux_dir=$ac_dir
1443     ac_install_sh="$ac_aux_dir/install-sh -c"
1444     break
1445   elif test -f $ac_dir/install.sh; then
1446     ac_aux_dir=$ac_dir
1447     ac_install_sh="$ac_aux_dir/install.sh -c"
1448     break
1449   elif test -f $ac_dir/shtool; then
1450     ac_aux_dir=$ac_dir
1451     ac_install_sh="$ac_aux_dir/shtool install -c"
1452     break
1453   fi
1454 done
1455 if test -z "$ac_aux_dir"; then
1456   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1457 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1458    { (exit 1); exit 1; }; }
1459 fi
1460 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1461 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1462 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1463
1464 # Make sure we can run config.sub.
1465 $ac_config_sub sun4 >/dev/null 2>&1 ||
1466   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1467 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1468    { (exit 1); exit 1; }; }
1469
1470 echo "$as_me:$LINENO: checking build system type" >&5
1471 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1472 if test "${ac_cv_build+set}" = set; then
1473   echo $ECHO_N "(cached) $ECHO_C" >&6
1474 else
1475   ac_cv_build_alias=$build_alias
1476 test -z "$ac_cv_build_alias" &&
1477   ac_cv_build_alias=`$ac_config_guess`
1478 test -z "$ac_cv_build_alias" &&
1479   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1480 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1481    { (exit 1); exit 1; }; }
1482 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1483   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1484 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1485    { (exit 1); exit 1; }; }
1486
1487 fi
1488 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1489 echo "${ECHO_T}$ac_cv_build" >&6
1490 build=$ac_cv_build
1491 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1492 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1493 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1494
1495
1496 echo "$as_me:$LINENO: checking host system type" >&5
1497 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1498 if test "${ac_cv_host+set}" = set; then
1499   echo $ECHO_N "(cached) $ECHO_C" >&6
1500 else
1501   ac_cv_host_alias=$host_alias
1502 test -z "$ac_cv_host_alias" &&
1503   ac_cv_host_alias=$ac_cv_build_alias
1504 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1505   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1506 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1507    { (exit 1); exit 1; }; }
1508
1509 fi
1510 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1511 echo "${ECHO_T}$ac_cv_host" >&6
1512 host=$ac_cv_host
1513 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1514 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1515 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1516
1517
1518 echo "$as_me:$LINENO: checking target system type" >&5
1519 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1520 if test "${ac_cv_target+set}" = set; then
1521   echo $ECHO_N "(cached) $ECHO_C" >&6
1522 else
1523   ac_cv_target_alias=$target_alias
1524 test "x$ac_cv_target_alias" = "x" &&
1525   ac_cv_target_alias=$ac_cv_host_alias
1526 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1527   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1528 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1529    { (exit 1); exit 1; }; }
1530
1531 fi
1532 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1533 echo "${ECHO_T}$ac_cv_target" >&6
1534 target=$ac_cv_target
1535 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1536 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1537 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1538
1539
1540 # The aliases save the names the user supplied, while $host etc.
1541 # will get canonicalized.
1542 test -n "$target_alias" &&
1543   test "$program_prefix$program_suffix$program_transform_name" = \
1544     NONENONEs,x,x, &&
1545   program_prefix=${target_alias}-
1546 target_alias=${target_alias-$host_alias}
1547
1548 # Handy for debugging:
1549 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1550
1551 if test "$build" != "$host"; then
1552   # We are being configured with some form of cross compiler.
1553   GLIBCXX_IS_NATIVE=false
1554   case "$host","$target" in
1555     # Darwin crosses can use the host system's libraries and headers,
1556     # because of the fat library support.  Of course, it must be the
1557     # same version of Darwin on both sides.  Allow the user to
1558     # just say --target=foo-darwin without a version number to mean
1559     # "the version on this system".
1560       *-*-darwin*,*-*-darwin*)
1561         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1562         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1563         if test $hostos = $targetos -o $targetos = darwin ; then
1564           GLIBCXX_IS_NATIVE=true
1565         fi
1566         ;;
1567
1568       *)
1569
1570         ;;
1571   esac
1572 else
1573   GLIBCXX_IS_NATIVE=true
1574 fi
1575
1576 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1577 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1578 #  1.x:  minimum required version
1579 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1580 #              of other PACKAGE_* variables will, however, and there's nothing
1581 #              we can do about that; they come from AC_INIT).
1582 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1583 #            file in the top srcdir, etc, etc), so stop complaining.
1584 #  no-dependencies:  turns off auto dependency generation (just for now)
1585 #  -Wall:  turns on all automake warnings...
1586 #  -Wno-portability:  ...except this one, since GNU make is now required.
1587 am__api_version="1.9"
1588 # Find a good install program.  We prefer a C program (faster),
1589 # so one script is as good as another.  But avoid the broken or
1590 # incompatible versions:
1591 # SysV /etc/install, /usr/sbin/install
1592 # SunOS /usr/etc/install
1593 # IRIX /sbin/install
1594 # AIX /bin/install
1595 # AmigaOS /C/install, which installs bootblocks on floppy discs
1596 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1597 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1598 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1599 # OS/2's system install, which has a completely different semantic
1600 # ./install, which can be erroneously created by make from ./install.sh.
1601 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1602 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1603 if test -z "$INSTALL"; then
1604 if test "${ac_cv_path_install+set}" = set; then
1605   echo $ECHO_N "(cached) $ECHO_C" >&6
1606 else
1607   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1608 for as_dir in $PATH
1609 do
1610   IFS=$as_save_IFS
1611   test -z "$as_dir" && as_dir=.
1612   # Account for people who put trailing slashes in PATH elements.
1613 case $as_dir/ in
1614   ./ | .// | /cC/* | \
1615   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1616   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1617   /usr/ucb/* ) ;;
1618   *)
1619     # OSF1 and SCO ODT 3.0 have their own names for install.
1620     # Don't use installbsd from OSF since it installs stuff as root
1621     # by default.
1622     for ac_prog in ginstall scoinst install; do
1623       for ac_exec_ext in '' $ac_executable_extensions; do
1624         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1625           if test $ac_prog = install &&
1626             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1627             # AIX install.  It has an incompatible calling convention.
1628             :
1629           elif test $ac_prog = install &&
1630             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1631             # program-specific install script used by HP pwplus--don't use.
1632             :
1633           else
1634             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1635             break 3
1636           fi
1637         fi
1638       done
1639     done
1640     ;;
1641 esac
1642 done
1643
1644
1645 fi
1646   if test "${ac_cv_path_install+set}" = set; then
1647     INSTALL=$ac_cv_path_install
1648   else
1649     # As a last resort, use the slow shell script.  We don't cache a
1650     # path for INSTALL within a source directory, because that will
1651     # break other packages using the cache if that directory is
1652     # removed, or if the path is relative.
1653     INSTALL=$ac_install_sh
1654   fi
1655 fi
1656 echo "$as_me:$LINENO: result: $INSTALL" >&5
1657 echo "${ECHO_T}$INSTALL" >&6
1658
1659 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1660 # It thinks the first close brace ends the variable substitution.
1661 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1662
1663 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1664
1665 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1666
1667 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1668 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1669 # Just in case
1670 sleep 1
1671 echo timestamp > conftest.file
1672 # Do `set' in a subshell so we don't clobber the current shell's
1673 # arguments.  Must try -L first in case configure is actually a
1674 # symlink; some systems play weird games with the mod time of symlinks
1675 # (eg FreeBSD returns the mod time of the symlink's containing
1676 # directory).
1677 if (
1678    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1679    if test "$*" = "X"; then
1680       # -L didn't work.
1681       set X `ls -t $srcdir/configure conftest.file`
1682    fi
1683    rm -f conftest.file
1684    if test "$*" != "X $srcdir/configure conftest.file" \
1685       && test "$*" != "X conftest.file $srcdir/configure"; then
1686
1687       # If neither matched, then we have a broken ls.  This can happen
1688       # if, for instance, CONFIG_SHELL is bash and it inherits a
1689       # broken ls alias from the environment.  This has actually
1690       # happened.  Such a system could not be considered "sane".
1691       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1692 alias in your environment" >&5
1693 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1694 alias in your environment" >&2;}
1695    { (exit 1); exit 1; }; }
1696    fi
1697
1698    test "$2" = conftest.file
1699    )
1700 then
1701    # Ok.
1702    :
1703 else
1704    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1705 Check your system clock" >&5
1706 echo "$as_me: error: newly created file is older than distributed files!
1707 Check your system clock" >&2;}
1708    { (exit 1); exit 1; }; }
1709 fi
1710 echo "$as_me:$LINENO: result: yes" >&5
1711 echo "${ECHO_T}yes" >&6
1712 test "$program_prefix" != NONE &&
1713   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1714 # Use a double $ so make ignores it.
1715 test "$program_suffix" != NONE &&
1716   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1717 # Double any \ or $.  echo might interpret backslashes.
1718 # By default was `s,x,x', remove it if useless.
1719 cat <<\_ACEOF >conftest.sed
1720 s/[\\$]/&&/g;s/;s,x,x,$//
1721 _ACEOF
1722 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1723 rm conftest.sed
1724
1725 # expand $ac_aux_dir to an absolute path
1726 am_aux_dir=`cd $ac_aux_dir && pwd`
1727
1728 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1729 # Use eval to expand $SHELL
1730 if eval "$MISSING --run true"; then
1731   am_missing_run="$MISSING --run "
1732 else
1733   am_missing_run=
1734   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1735 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1736 fi
1737
1738 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1739   # We used to keeping the `.' as first argument, in order to
1740   # allow $(mkdir_p) to be used without argument.  As in
1741   #   $(mkdir_p) $(somedir)
1742   # where $(somedir) is conditionally defined.  However this is wrong
1743   # for two reasons:
1744   #  1. if the package is installed by a user who cannot write `.'
1745   #     make install will fail,
1746   #  2. the above comment should most certainly read
1747   #     $(mkdir_p) $(DESTDIR)$(somedir)
1748   #     so it does not work when $(somedir) is undefined and
1749   #     $(DESTDIR) is not.
1750   #  To support the latter case, we have to write
1751   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1752   #  so the `.' trick is pointless.
1753   mkdir_p='mkdir -p --'
1754 else
1755   # On NextStep and OpenStep, the `mkdir' command does not
1756   # recognize any option.  It will interpret all options as
1757   # directories to create, and then abort because `.' already
1758   # exists.
1759   for d in ./-p ./--version;
1760   do
1761     test -d $d && rmdir $d
1762   done
1763   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1764   if test -f "$ac_aux_dir/mkinstalldirs"; then
1765     mkdir_p='$(mkinstalldirs)'
1766   else
1767     mkdir_p='$(install_sh) -d'
1768   fi
1769 fi
1770
1771 for ac_prog in gawk mawk nawk awk
1772 do
1773   # Extract the first word of "$ac_prog", so it can be a program name with args.
1774 set dummy $ac_prog; ac_word=$2
1775 echo "$as_me:$LINENO: checking for $ac_word" >&5
1776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1777 if test "${ac_cv_prog_AWK+set}" = set; then
1778   echo $ECHO_N "(cached) $ECHO_C" >&6
1779 else
1780   if test -n "$AWK"; then
1781   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1782 else
1783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1784 for as_dir in $PATH
1785 do
1786   IFS=$as_save_IFS
1787   test -z "$as_dir" && as_dir=.
1788   for ac_exec_ext in '' $ac_executable_extensions; do
1789   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1790     ac_cv_prog_AWK="$ac_prog"
1791     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1792     break 2
1793   fi
1794 done
1795 done
1796
1797 fi
1798 fi
1799 AWK=$ac_cv_prog_AWK
1800 if test -n "$AWK"; then
1801   echo "$as_me:$LINENO: result: $AWK" >&5
1802 echo "${ECHO_T}$AWK" >&6
1803 else
1804   echo "$as_me:$LINENO: result: no" >&5
1805 echo "${ECHO_T}no" >&6
1806 fi
1807
1808   test -n "$AWK" && break
1809 done
1810
1811 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1812 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1813 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1814 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1815   echo $ECHO_N "(cached) $ECHO_C" >&6
1816 else
1817   cat >conftest.make <<\_ACEOF
1818 all:
1819         @echo 'ac_maketemp="$(MAKE)"'
1820 _ACEOF
1821 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1822 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1823 if test -n "$ac_maketemp"; then
1824   eval ac_cv_prog_make_${ac_make}_set=yes
1825 else
1826   eval ac_cv_prog_make_${ac_make}_set=no
1827 fi
1828 rm -f conftest.make
1829 fi
1830 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1831   echo "$as_me:$LINENO: result: yes" >&5
1832 echo "${ECHO_T}yes" >&6
1833   SET_MAKE=
1834 else
1835   echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6
1837   SET_MAKE="MAKE=${MAKE-make}"
1838 fi
1839
1840 rm -rf .tst 2>/dev/null
1841 mkdir .tst 2>/dev/null
1842 if test -d .tst; then
1843   am__leading_dot=.
1844 else
1845   am__leading_dot=_
1846 fi
1847 rmdir .tst 2>/dev/null
1848
1849 # test to see if srcdir already configured
1850 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1851    test -f $srcdir/config.status; then
1852   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1853 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1854    { (exit 1); exit 1; }; }
1855 fi
1856
1857 # test whether we have cygpath
1858 if test -z "$CYGPATH_W"; then
1859   if (cygpath --version) >/dev/null 2>/dev/null; then
1860     CYGPATH_W='cygpath -w'
1861   else
1862     CYGPATH_W=echo
1863   fi
1864 fi
1865
1866
1867 # Define the identity of the package.
1868  PACKAGE='libstdc++'
1869  VERSION='version-unused'
1870
1871
1872 # Some tools Automake needs.
1873
1874 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1875
1876
1877 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1878
1879
1880 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1881
1882
1883 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1884
1885
1886 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1887
1888 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1889
1890 # Installed binaries are usually stripped using `strip' when the user
1891 # run `make install-strip'.  However `strip' might not be the right
1892 # tool to use in cross-compilation environments, therefore Automake
1893 # will honor the `STRIP' environment variable to overrule this program.
1894 if test "$cross_compiling" != no; then
1895   if test -n "$ac_tool_prefix"; then
1896   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1897 set dummy ${ac_tool_prefix}strip; ac_word=$2
1898 echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900 if test "${ac_cv_prog_STRIP+set}" = set; then
1901   echo $ECHO_N "(cached) $ECHO_C" >&6
1902 else
1903   if test -n "$STRIP"; then
1904   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1905 else
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 for as_dir in $PATH
1908 do
1909   IFS=$as_save_IFS
1910   test -z "$as_dir" && as_dir=.
1911   for ac_exec_ext in '' $ac_executable_extensions; do
1912   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1914     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1915     break 2
1916   fi
1917 done
1918 done
1919
1920 fi
1921 fi
1922 STRIP=$ac_cv_prog_STRIP
1923 if test -n "$STRIP"; then
1924   echo "$as_me:$LINENO: result: $STRIP" >&5
1925 echo "${ECHO_T}$STRIP" >&6
1926 else
1927   echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1929 fi
1930
1931 fi
1932 if test -z "$ac_cv_prog_STRIP"; then
1933   ac_ct_STRIP=$STRIP
1934   # Extract the first word of "strip", so it can be a program name with args.
1935 set dummy strip; ac_word=$2
1936 echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1939   echo $ECHO_N "(cached) $ECHO_C" >&6
1940 else
1941   if test -n "$ac_ct_STRIP"; then
1942   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1943 else
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945 for as_dir in $PATH
1946 do
1947   IFS=$as_save_IFS
1948   test -z "$as_dir" && as_dir=.
1949   for ac_exec_ext in '' $ac_executable_extensions; do
1950   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951     ac_cv_prog_ac_ct_STRIP="strip"
1952     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953     break 2
1954   fi
1955 done
1956 done
1957
1958   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1959 fi
1960 fi
1961 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1962 if test -n "$ac_ct_STRIP"; then
1963   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1964 echo "${ECHO_T}$ac_ct_STRIP" >&6
1965 else
1966   echo "$as_me:$LINENO: result: no" >&5
1967 echo "${ECHO_T}no" >&6
1968 fi
1969
1970   STRIP=$ac_ct_STRIP
1971 else
1972   STRIP="$ac_cv_prog_STRIP"
1973 fi
1974
1975 fi
1976 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1977
1978 # We need awk for the "check" target.  The system "awk" is bad on
1979 # some platforms.
1980 # Always define AMTAR for backward compatibility.
1981
1982 AMTAR=${AMTAR-"${am_missing_run}tar"}
1983
1984 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1996 # up critical shell variables.
1997
1998 ac_ext=c
1999 ac_cpp='$CPP $CPPFLAGS'
2000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2003 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2004 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2005 # On Suns, sometimes $CPP names a directory.
2006 if test -n "$CPP" && test -d "$CPP"; then
2007   CPP=
2008 fi
2009 if test -z "$CPP"; then
2010   if test "${ac_cv_prog_CPP+set}" = set; then
2011   echo $ECHO_N "(cached) $ECHO_C" >&6
2012 else
2013       # Double quotes because CPP needs to be expanded
2014     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2015     do
2016       ac_preproc_ok=false
2017 for ac_c_preproc_warn_flag in '' yes
2018 do
2019   # Use a header file that comes with gcc, so configuring glibc
2020   # with a fresh cross-compiler works.
2021   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2022   # <limits.h> exists even on freestanding compilers.
2023   # On the NeXT, cc -E runs the code through the compiler's parser,
2024   # not just through cpp. "Syntax error" is here to catch this case.
2025   cat >conftest.$ac_ext <<_ACEOF
2026 /* confdefs.h.  */
2027 _ACEOF
2028 cat confdefs.h >>conftest.$ac_ext
2029 cat >>conftest.$ac_ext <<_ACEOF
2030 /* end confdefs.h.  */
2031 #ifdef __STDC__
2032 # include <limits.h>
2033 #else
2034 # include <assert.h>
2035 #endif
2036                      Syntax error
2037 _ACEOF
2038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2039   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2040   ac_status=$?
2041   grep -v '^ *+' conftest.er1 >conftest.err
2042   rm -f conftest.er1
2043   cat conftest.err >&5
2044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045   (exit $ac_status); } >/dev/null; then
2046   if test -s conftest.err; then
2047     ac_cpp_err=$ac_c_preproc_warn_flag
2048     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2049   else
2050     ac_cpp_err=
2051   fi
2052 else
2053   ac_cpp_err=yes
2054 fi
2055 if test -z "$ac_cpp_err"; then
2056   :
2057 else
2058   echo "$as_me: failed program was:" >&5
2059 sed 's/^/| /' conftest.$ac_ext >&5
2060
2061   # Broken: fails on valid input.
2062 continue
2063 fi
2064 rm -f conftest.err conftest.$ac_ext
2065
2066   # OK, works on sane cases.  Now check whether non-existent headers
2067   # can be detected and how.
2068   cat >conftest.$ac_ext <<_ACEOF
2069 /* confdefs.h.  */
2070 _ACEOF
2071 cat confdefs.h >>conftest.$ac_ext
2072 cat >>conftest.$ac_ext <<_ACEOF
2073 /* end confdefs.h.  */
2074 #include <ac_nonexistent.h>
2075 _ACEOF
2076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2077   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2078   ac_status=$?
2079   grep -v '^ *+' conftest.er1 >conftest.err
2080   rm -f conftest.er1
2081   cat conftest.err >&5
2082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083   (exit $ac_status); } >/dev/null; then
2084   if test -s conftest.err; then
2085     ac_cpp_err=$ac_c_preproc_warn_flag
2086     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2087   else
2088     ac_cpp_err=
2089   fi
2090 else
2091   ac_cpp_err=yes
2092 fi
2093 if test -z "$ac_cpp_err"; then
2094   # Broken: success on invalid input.
2095 continue
2096 else
2097   echo "$as_me: failed program was:" >&5
2098 sed 's/^/| /' conftest.$ac_ext >&5
2099
2100   # Passes both tests.
2101 ac_preproc_ok=:
2102 break
2103 fi
2104 rm -f conftest.err conftest.$ac_ext
2105
2106 done
2107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2108 rm -f conftest.err conftest.$ac_ext
2109 if $ac_preproc_ok; then
2110   break
2111 fi
2112
2113     done
2114     ac_cv_prog_CPP=$CPP
2115
2116 fi
2117   CPP=$ac_cv_prog_CPP
2118 else
2119   ac_cv_prog_CPP=$CPP
2120 fi
2121 echo "$as_me:$LINENO: result: $CPP" >&5
2122 echo "${ECHO_T}$CPP" >&6
2123 ac_preproc_ok=false
2124 for ac_c_preproc_warn_flag in '' yes
2125 do
2126   # Use a header file that comes with gcc, so configuring glibc
2127   # with a fresh cross-compiler works.
2128   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2129   # <limits.h> exists even on freestanding compilers.
2130   # On the NeXT, cc -E runs the code through the compiler's parser,
2131   # not just through cpp. "Syntax error" is here to catch this case.
2132   cat >conftest.$ac_ext <<_ACEOF
2133 /* confdefs.h.  */
2134 _ACEOF
2135 cat confdefs.h >>conftest.$ac_ext
2136 cat >>conftest.$ac_ext <<_ACEOF
2137 /* end confdefs.h.  */
2138 #ifdef __STDC__
2139 # include <limits.h>
2140 #else
2141 # include <assert.h>
2142 #endif
2143                      Syntax error
2144 _ACEOF
2145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2146   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2147   ac_status=$?
2148   grep -v '^ *+' conftest.er1 >conftest.err
2149   rm -f conftest.er1
2150   cat conftest.err >&5
2151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152   (exit $ac_status); } >/dev/null; then
2153   if test -s conftest.err; then
2154     ac_cpp_err=$ac_c_preproc_warn_flag
2155     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2156   else
2157     ac_cpp_err=
2158   fi
2159 else
2160   ac_cpp_err=yes
2161 fi
2162 if test -z "$ac_cpp_err"; then
2163   :
2164 else
2165   echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.$ac_ext >&5
2167
2168   # Broken: fails on valid input.
2169 continue
2170 fi
2171 rm -f conftest.err conftest.$ac_ext
2172
2173   # OK, works on sane cases.  Now check whether non-existent headers
2174   # can be detected and how.
2175   cat >conftest.$ac_ext <<_ACEOF
2176 /* confdefs.h.  */
2177 _ACEOF
2178 cat confdefs.h >>conftest.$ac_ext
2179 cat >>conftest.$ac_ext <<_ACEOF
2180 /* end confdefs.h.  */
2181 #include <ac_nonexistent.h>
2182 _ACEOF
2183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2184   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2185   ac_status=$?
2186   grep -v '^ *+' conftest.er1 >conftest.err
2187   rm -f conftest.er1
2188   cat conftest.err >&5
2189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190   (exit $ac_status); } >/dev/null; then
2191   if test -s conftest.err; then
2192     ac_cpp_err=$ac_c_preproc_warn_flag
2193     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2194   else
2195     ac_cpp_err=
2196   fi
2197 else
2198   ac_cpp_err=yes
2199 fi
2200 if test -z "$ac_cpp_err"; then
2201   # Broken: success on invalid input.
2202 continue
2203 else
2204   echo "$as_me: failed program was:" >&5
2205 sed 's/^/| /' conftest.$ac_ext >&5
2206
2207   # Passes both tests.
2208 ac_preproc_ok=:
2209 break
2210 fi
2211 rm -f conftest.err conftest.$ac_ext
2212
2213 done
2214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2215 rm -f conftest.err conftest.$ac_ext
2216 if $ac_preproc_ok; then
2217   :
2218 else
2219   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2220 See \`config.log' for more details." >&5
2221 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2222 See \`config.log' for more details." >&2;}
2223    { (exit 1); exit 1; }; }
2224 fi
2225
2226 ac_ext=c
2227 ac_cpp='$CPP $CPPFLAGS'
2228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2231
2232
2233 echo "$as_me:$LINENO: checking for egrep" >&5
2234 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2235 if test "${ac_cv_prog_egrep+set}" = set; then
2236   echo $ECHO_N "(cached) $ECHO_C" >&6
2237 else
2238   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2239     then ac_cv_prog_egrep='grep -E'
2240     else ac_cv_prog_egrep='egrep'
2241     fi
2242 fi
2243 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2244 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2245  EGREP=$ac_cv_prog_egrep
2246
2247
2248
2249   # Keep these sync'd with the list in Makefile.am.  The first provides an
2250   # expandable list at autoconf time; the second provides an expandable list
2251   # (i.e., shell variable) at configure time.
2252
2253   SUBDIRS='include libmath libsupc++ src po testsuite'
2254
2255   # These need to be absolute paths, yet at the same time need to
2256   # canonicalize only relative paths, because then amd will not unmount
2257   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2258   glibcxx_builddir=`${PWDCMD-pwd}`
2259   case $srcdir in
2260     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2261     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2262   esac
2263   toplevel_srcdir=${glibcxx_srcdir}/..
2264
2265
2266
2267
2268   # We use these options to decide which functions to include.  They are
2269   # set from the top level.
2270
2271 # Check whether --with-target-subdir or --without-target-subdir was given.
2272 if test "${with_target_subdir+set}" = set; then
2273   withval="$with_target_subdir"
2274
2275 fi;
2276
2277
2278 # Check whether --with-cross-host or --without-cross-host was given.
2279 if test "${with_cross_host+set}" = set; then
2280   withval="$with_cross_host"
2281
2282 fi;
2283
2284
2285 # Check whether --with-newlib or --without-newlib was given.
2286 if test "${with_newlib+set}" = set; then
2287   withval="$with_newlib"
2288
2289 fi;
2290
2291   # We're almost certainly being configured before anything else which uses
2292   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2293   # we not cache the value of CXX that we "discover" here, because it's set
2294   # to something unique for us and libjava.  Other target libraries need to
2295   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2296   # process by sneakily renaming the cache variable.  This also lets us debug
2297   # the value of "our" CXX in postmortems.
2298   #
2299   # We must also force CXX to /not/ be a precious variable, otherwise the
2300   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2301   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2302   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2303   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2304   #
2305   # -fno-builtin must be present here so that a non-conflicting form of
2306   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2307
2308
2309
2310
2311   save_CXXFLAGS="$CXXFLAGS"
2312   CXXFLAGS="$CXXFLAGS -fno-builtin"
2313   ac_ext=c
2314 ac_cpp='$CPP $CPPFLAGS'
2315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2318 if test -n "$ac_tool_prefix"; then
2319   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2320 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2321 echo "$as_me:$LINENO: checking for $ac_word" >&5
2322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2323 if test "${ac_cv_prog_CC+set}" = set; then
2324   echo $ECHO_N "(cached) $ECHO_C" >&6
2325 else
2326   if test -n "$CC"; then
2327   ac_cv_prog_CC="$CC" # Let the user override the test.
2328 else
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 for as_dir in $PATH
2331 do
2332   IFS=$as_save_IFS
2333   test -z "$as_dir" && as_dir=.
2334   for ac_exec_ext in '' $ac_executable_extensions; do
2335   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2336     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2337     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338     break 2
2339   fi
2340 done
2341 done
2342
2343 fi
2344 fi
2345 CC=$ac_cv_prog_CC
2346 if test -n "$CC"; then
2347   echo "$as_me:$LINENO: result: $CC" >&5
2348 echo "${ECHO_T}$CC" >&6
2349 else
2350   echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6
2352 fi
2353
2354 fi
2355 if test -z "$ac_cv_prog_CC"; then
2356   ac_ct_CC=$CC
2357   # Extract the first word of "gcc", so it can be a program name with args.
2358 set dummy gcc; ac_word=$2
2359 echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2361 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2362   echo $ECHO_N "(cached) $ECHO_C" >&6
2363 else
2364   if test -n "$ac_ct_CC"; then
2365   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2366 else
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 for as_dir in $PATH
2369 do
2370   IFS=$as_save_IFS
2371   test -z "$as_dir" && as_dir=.
2372   for ac_exec_ext in '' $ac_executable_extensions; do
2373   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374     ac_cv_prog_ac_ct_CC="gcc"
2375     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376     break 2
2377   fi
2378 done
2379 done
2380
2381 fi
2382 fi
2383 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2384 if test -n "$ac_ct_CC"; then
2385   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2386 echo "${ECHO_T}$ac_ct_CC" >&6
2387 else
2388   echo "$as_me:$LINENO: result: no" >&5
2389 echo "${ECHO_T}no" >&6
2390 fi
2391
2392   CC=$ac_ct_CC
2393 else
2394   CC="$ac_cv_prog_CC"
2395 fi
2396
2397 if test -z "$CC"; then
2398   if test -n "$ac_tool_prefix"; then
2399   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2400 set dummy ${ac_tool_prefix}cc; ac_word=$2
2401 echo "$as_me:$LINENO: checking for $ac_word" >&5
2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2403 if test "${ac_cv_prog_CC+set}" = set; then
2404   echo $ECHO_N "(cached) $ECHO_C" >&6
2405 else
2406   if test -n "$CC"; then
2407   ac_cv_prog_CC="$CC" # Let the user override the test.
2408 else
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410 for as_dir in $PATH
2411 do
2412   IFS=$as_save_IFS
2413   test -z "$as_dir" && as_dir=.
2414   for ac_exec_ext in '' $ac_executable_extensions; do
2415   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416     ac_cv_prog_CC="${ac_tool_prefix}cc"
2417     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2418     break 2
2419   fi
2420 done
2421 done
2422
2423 fi
2424 fi
2425 CC=$ac_cv_prog_CC
2426 if test -n "$CC"; then
2427   echo "$as_me:$LINENO: result: $CC" >&5
2428 echo "${ECHO_T}$CC" >&6
2429 else
2430   echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6
2432 fi
2433
2434 fi
2435 if test -z "$ac_cv_prog_CC"; then
2436   ac_ct_CC=$CC
2437   # Extract the first word of "cc", so it can be a program name with args.
2438 set dummy cc; ac_word=$2
2439 echo "$as_me:$LINENO: checking for $ac_word" >&5
2440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2442   echo $ECHO_N "(cached) $ECHO_C" >&6
2443 else
2444   if test -n "$ac_ct_CC"; then
2445   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2446 else
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448 for as_dir in $PATH
2449 do
2450   IFS=$as_save_IFS
2451   test -z "$as_dir" && as_dir=.
2452   for ac_exec_ext in '' $ac_executable_extensions; do
2453   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2454     ac_cv_prog_ac_ct_CC="cc"
2455     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2456     break 2
2457   fi
2458 done
2459 done
2460
2461 fi
2462 fi
2463 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2464 if test -n "$ac_ct_CC"; then
2465   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2466 echo "${ECHO_T}$ac_ct_CC" >&6
2467 else
2468   echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2470 fi
2471
2472   CC=$ac_ct_CC
2473 else
2474   CC="$ac_cv_prog_CC"
2475 fi
2476
2477 fi
2478 if test -z "$CC"; then
2479   # Extract the first word of "cc", so it can be a program name with args.
2480 set dummy cc; ac_word=$2
2481 echo "$as_me:$LINENO: checking for $ac_word" >&5
2482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2483 if test "${ac_cv_prog_CC+set}" = set; then
2484   echo $ECHO_N "(cached) $ECHO_C" >&6
2485 else
2486   if test -n "$CC"; then
2487   ac_cv_prog_CC="$CC" # Let the user override the test.
2488 else
2489   ac_prog_rejected=no
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 for as_dir in $PATH
2492 do
2493   IFS=$as_save_IFS
2494   test -z "$as_dir" && as_dir=.
2495   for ac_exec_ext in '' $ac_executable_extensions; do
2496   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2497     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2498        ac_prog_rejected=yes
2499        continue
2500      fi
2501     ac_cv_prog_CC="cc"
2502     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503     break 2
2504   fi
2505 done
2506 done
2507
2508 if test $ac_prog_rejected = yes; then
2509   # We found a bogon in the path, so make sure we never use it.
2510   set dummy $ac_cv_prog_CC
2511   shift
2512   if test $# != 0; then
2513     # We chose a different compiler from the bogus one.
2514     # However, it has the same basename, so the bogon will be chosen
2515     # first if we set CC to just the basename; use the full file name.
2516     shift
2517     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2518   fi
2519 fi
2520 fi
2521 fi
2522 CC=$ac_cv_prog_CC
2523 if test -n "$CC"; then
2524   echo "$as_me:$LINENO: result: $CC" >&5
2525 echo "${ECHO_T}$CC" >&6
2526 else
2527   echo "$as_me:$LINENO: result: no" >&5
2528 echo "${ECHO_T}no" >&6
2529 fi
2530
2531 fi
2532 if test -z "$CC"; then
2533   if test -n "$ac_tool_prefix"; then
2534   for ac_prog in cl
2535   do
2536     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2537 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2538 echo "$as_me:$LINENO: checking for $ac_word" >&5
2539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2540 if test "${ac_cv_prog_CC+set}" = set; then
2541   echo $ECHO_N "(cached) $ECHO_C" >&6
2542 else
2543   if test -n "$CC"; then
2544   ac_cv_prog_CC="$CC" # Let the user override the test.
2545 else
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 for as_dir in $PATH
2548 do
2549   IFS=$as_save_IFS
2550   test -z "$as_dir" && as_dir=.
2551   for ac_exec_ext in '' $ac_executable_extensions; do
2552   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2553     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2554     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2555     break 2
2556   fi
2557 done
2558 done
2559
2560 fi
2561 fi
2562 CC=$ac_cv_prog_CC
2563 if test -n "$CC"; then
2564   echo "$as_me:$LINENO: result: $CC" >&5
2565 echo "${ECHO_T}$CC" >&6
2566 else
2567   echo "$as_me:$LINENO: result: no" >&5
2568 echo "${ECHO_T}no" >&6
2569 fi
2570
2571     test -n "$CC" && break
2572   done
2573 fi
2574 if test -z "$CC"; then
2575   ac_ct_CC=$CC
2576   for ac_prog in cl
2577 do
2578   # Extract the first word of "$ac_prog", so it can be a program name with args.
2579 set dummy $ac_prog; ac_word=$2
2580 echo "$as_me:$LINENO: checking for $ac_word" >&5
2581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2582 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2583   echo $ECHO_N "(cached) $ECHO_C" >&6
2584 else
2585   if test -n "$ac_ct_CC"; then
2586   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2587 else
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589 for as_dir in $PATH
2590 do
2591   IFS=$as_save_IFS
2592   test -z "$as_dir" && as_dir=.
2593   for ac_exec_ext in '' $ac_executable_extensions; do
2594   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2595     ac_cv_prog_ac_ct_CC="$ac_prog"
2596     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597     break 2
2598   fi
2599 done
2600 done
2601
2602 fi
2603 fi
2604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2605 if test -n "$ac_ct_CC"; then
2606   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2607 echo "${ECHO_T}$ac_ct_CC" >&6
2608 else
2609   echo "$as_me:$LINENO: result: no" >&5
2610 echo "${ECHO_T}no" >&6
2611 fi
2612
2613   test -n "$ac_ct_CC" && break
2614 done
2615
2616   CC=$ac_ct_CC
2617 fi
2618
2619 fi
2620
2621
2622 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2623 See \`config.log' for more details." >&5
2624 echo "$as_me: error: no acceptable C compiler found in \$PATH
2625 See \`config.log' for more details." >&2;}
2626    { (exit 1); exit 1; }; }
2627
2628 # Provide some information about the compiler.
2629 echo "$as_me:$LINENO:" \
2630      "checking for C compiler version" >&5
2631 ac_compiler=`set X $ac_compile; echo $2`
2632 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2633   (eval $ac_compiler --version </dev/null >&5) 2>&5
2634   ac_status=$?
2635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636   (exit $ac_status); }
2637 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2638   (eval $ac_compiler -v </dev/null >&5) 2>&5
2639   ac_status=$?
2640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641   (exit $ac_status); }
2642 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2643   (eval $ac_compiler -V </dev/null >&5) 2>&5
2644   ac_status=$?
2645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646   (exit $ac_status); }
2647
2648 cat >conftest.$ac_ext <<_ACEOF
2649 /* confdefs.h.  */
2650 _ACEOF
2651 cat confdefs.h >>conftest.$ac_ext
2652 cat >>conftest.$ac_ext <<_ACEOF
2653 /* end confdefs.h.  */
2654
2655 int
2656 main ()
2657 {
2658
2659   ;
2660   return 0;
2661 }
2662 _ACEOF
2663 # FIXME: Cleanup?
2664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2665   (eval $ac_link) 2>&5
2666   ac_status=$?
2667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668   (exit $ac_status); }; then
2669   gcc_no_link=no
2670 else
2671   gcc_no_link=yes
2672 fi
2673
2674 if test x$gcc_no_link = xyes; then
2675   # Setting cross_compile will disable run tests; it will
2676   # also disable AC_CHECK_FILE but that's generally
2677   # correct if we can't link.
2678   cross_compiling=yes
2679   EXEEXT=
2680 else
2681   cat >conftest.$ac_ext <<_ACEOF
2682 /* confdefs.h.  */
2683 _ACEOF
2684 cat confdefs.h >>conftest.$ac_ext
2685 cat >>conftest.$ac_ext <<_ACEOF
2686 /* end confdefs.h.  */
2687
2688 int
2689 main ()
2690 {
2691
2692   ;
2693   return 0;
2694 }
2695 _ACEOF
2696 ac_clean_files_save=$ac_clean_files
2697 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2698 # Try to create an executable without -o first, disregard a.out.
2699 # It will help us diagnose broken compilers, and finding out an intuition
2700 # of exeext.
2701 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2702 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2703 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2704 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2705   (eval $ac_link_default) 2>&5
2706   ac_status=$?
2707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708   (exit $ac_status); }; then
2709   # Find the output, starting from the most likely.  This scheme is
2710 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2711 # resort.
2712
2713 # Be careful to initialize this variable, since it used to be cached.
2714 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2715 ac_cv_exeext=
2716 # b.out is created by i960 compilers.
2717 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2718 do
2719   test -f "$ac_file" || continue
2720   case $ac_file in
2721     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2722         ;;
2723     conftest.$ac_ext )
2724         # This is the source file.
2725         ;;
2726     [ab].out )
2727         # We found the default executable, but exeext='' is most
2728         # certainly right.
2729         break;;
2730     *.* )
2731         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2732         # FIXME: I believe we export ac_cv_exeext for Libtool,
2733         # but it would be cool to find out if it's true.  Does anybody
2734         # maintain Libtool? --akim.
2735         export ac_cv_exeext
2736         break;;
2737     * )
2738         break;;
2739   esac
2740 done
2741 else
2742   echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2744
2745 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2746 See \`config.log' for more details." >&5
2747 echo "$as_me: error: C compiler cannot create executables
2748 See \`config.log' for more details." >&2;}
2749    { (exit 77); exit 77; }; }
2750 fi
2751
2752 ac_exeext=$ac_cv_exeext
2753 echo "$as_me:$LINENO: result: $ac_file" >&5
2754 echo "${ECHO_T}$ac_file" >&6
2755
2756 # Check the compiler produces executables we can run.  If not, either
2757 # the compiler is broken, or we cross compile.
2758 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2759 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2760 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2761 # If not cross compiling, check that we can run a simple program.
2762 if test "$cross_compiling" != yes; then
2763   if { ac_try='./$ac_file'
2764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765   (eval $ac_try) 2>&5
2766   ac_status=$?
2767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768   (exit $ac_status); }; }; then
2769     cross_compiling=no
2770   else
2771     if test "$cross_compiling" = maybe; then
2772         cross_compiling=yes
2773     else
2774         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2775 If you meant to cross compile, use \`--host'.
2776 See \`config.log' for more details." >&5
2777 echo "$as_me: error: cannot run C compiled programs.
2778 If you meant to cross compile, use \`--host'.
2779 See \`config.log' for more details." >&2;}
2780    { (exit 1); exit 1; }; }
2781     fi
2782   fi
2783 fi
2784 echo "$as_me:$LINENO: result: yes" >&5
2785 echo "${ECHO_T}yes" >&6
2786
2787 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2788 ac_clean_files=$ac_clean_files_save
2789 # Check the compiler produces executables we can run.  If not, either
2790 # the compiler is broken, or we cross compile.
2791 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2792 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2793 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2794 echo "${ECHO_T}$cross_compiling" >&6
2795
2796 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2797 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2799   (eval $ac_link) 2>&5
2800   ac_status=$?
2801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802   (exit $ac_status); }; then
2803   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2804 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2805 # work properly (i.e., refer to `conftest.exe'), while it won't with
2806 # `rm'.
2807 for ac_file in conftest.exe conftest conftest.*; do
2808   test -f "$ac_file" || continue
2809   case $ac_file in
2810     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2811     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2812           export ac_cv_exeext
2813           break;;
2814     * ) break;;
2815   esac
2816 done
2817 else
2818   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2819 See \`config.log' for more details." >&5
2820 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2821 See \`config.log' for more details." >&2;}
2822    { (exit 1); exit 1; }; }
2823 fi
2824
2825 rm -f conftest$ac_cv_exeext
2826 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2827 echo "${ECHO_T}$ac_cv_exeext" >&6
2828
2829 rm -f conftest.$ac_ext
2830 EXEEXT=$ac_cv_exeext
2831 ac_exeext=$EXEEXT
2832 fi
2833 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2834 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2835 if test "${ac_cv_objext+set}" = set; then
2836   echo $ECHO_N "(cached) $ECHO_C" >&6
2837 else
2838   cat >conftest.$ac_ext <<_ACEOF
2839 /* confdefs.h.  */
2840 _ACEOF
2841 cat confdefs.h >>conftest.$ac_ext
2842 cat >>conftest.$ac_ext <<_ACEOF
2843 /* end confdefs.h.  */
2844
2845 int
2846 main ()
2847 {
2848
2849   ;
2850   return 0;
2851 }
2852 _ACEOF
2853 rm -f conftest.o conftest.obj
2854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2855   (eval $ac_compile) 2>&5
2856   ac_status=$?
2857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858   (exit $ac_status); }; then
2859   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2860   case $ac_file in
2861     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2862     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2863        break;;
2864   esac
2865 done
2866 else
2867   echo "$as_me: failed program was:" >&5
2868 sed 's/^/| /' conftest.$ac_ext >&5
2869
2870 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2871 See \`config.log' for more details." >&5
2872 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2873 See \`config.log' for more details." >&2;}
2874    { (exit 1); exit 1; }; }
2875 fi
2876
2877 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2878 fi
2879 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2880 echo "${ECHO_T}$ac_cv_objext" >&6
2881 OBJEXT=$ac_cv_objext
2882 ac_objext=$OBJEXT
2883 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2884 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2885 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2886   echo $ECHO_N "(cached) $ECHO_C" >&6
2887 else
2888   cat >conftest.$ac_ext <<_ACEOF
2889 /* confdefs.h.  */
2890 _ACEOF
2891 cat confdefs.h >>conftest.$ac_ext
2892 cat >>conftest.$ac_ext <<_ACEOF
2893 /* end confdefs.h.  */
2894
2895 int
2896 main ()
2897 {
2898 #ifndef __GNUC__
2899        choke me
2900 #endif
2901
2902   ;
2903   return 0;
2904 }
2905 _ACEOF
2906 rm -f conftest.$ac_objext
2907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2908   (eval $ac_compile) 2>conftest.er1
2909   ac_status=$?
2910   grep -v '^ *+' conftest.er1 >conftest.err
2911   rm -f conftest.er1
2912   cat conftest.err >&5
2913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914   (exit $ac_status); } &&
2915          { ac_try='test -z "$ac_c_werror_flag"
2916                          || test ! -s conftest.err'
2917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918   (eval $ac_try) 2>&5
2919   ac_status=$?
2920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921   (exit $ac_status); }; } &&
2922          { ac_try='test -s conftest.$ac_objext'
2923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924   (eval $ac_try) 2>&5
2925   ac_status=$?
2926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927   (exit $ac_status); }; }; then
2928   ac_compiler_gnu=yes
2929 else
2930   echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2932
2933 ac_compiler_gnu=no
2934 fi
2935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2936 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2937
2938 fi
2939 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2940 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2941 GCC=`test $ac_compiler_gnu = yes && echo yes`
2942 ac_test_CFLAGS=${CFLAGS+set}
2943 ac_save_CFLAGS=$CFLAGS
2944 CFLAGS="-g"
2945 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2946 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2947 if test "${ac_cv_prog_cc_g+set}" = set; then
2948   echo $ECHO_N "(cached) $ECHO_C" >&6
2949 else
2950   cat >conftest.$ac_ext <<_ACEOF
2951 /* confdefs.h.  */
2952 _ACEOF
2953 cat confdefs.h >>conftest.$ac_ext
2954 cat >>conftest.$ac_ext <<_ACEOF
2955 /* end confdefs.h.  */
2956
2957 int
2958 main ()
2959 {
2960
2961   ;
2962   return 0;
2963 }
2964 _ACEOF
2965 rm -f conftest.$ac_objext
2966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2967   (eval $ac_compile) 2>conftest.er1
2968   ac_status=$?
2969   grep -v '^ *+' conftest.er1 >conftest.err
2970   rm -f conftest.er1
2971   cat conftest.err >&5
2972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973   (exit $ac_status); } &&
2974          { ac_try='test -z "$ac_c_werror_flag"
2975                          || test ! -s conftest.err'
2976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977   (eval $ac_try) 2>&5
2978   ac_status=$?
2979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980   (exit $ac_status); }; } &&
2981          { ac_try='test -s conftest.$ac_objext'
2982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2983   (eval $ac_try) 2>&5
2984   ac_status=$?
2985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986   (exit $ac_status); }; }; then
2987   ac_cv_prog_cc_g=yes
2988 else
2989   echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2991
2992 ac_cv_prog_cc_g=no
2993 fi
2994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2995 fi
2996 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2997 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2998 if test "$ac_test_CFLAGS" = set; then
2999   CFLAGS=$ac_save_CFLAGS
3000 elif test $ac_cv_prog_cc_g = yes; then
3001   if test "$GCC" = yes; then
3002     CFLAGS="-g -O2"
3003   else
3004     CFLAGS="-g"
3005   fi
3006 else
3007   if test "$GCC" = yes; then
3008     CFLAGS="-O2"
3009   else
3010     CFLAGS=
3011   fi
3012 fi
3013 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3014 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3015 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3016   echo $ECHO_N "(cached) $ECHO_C" >&6
3017 else
3018   ac_cv_prog_cc_stdc=no
3019 ac_save_CC=$CC
3020 cat >conftest.$ac_ext <<_ACEOF
3021 /* confdefs.h.  */
3022 _ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h.  */
3026 #include <stdarg.h>
3027 #include <stdio.h>
3028 #include <sys/types.h>
3029 #include <sys/stat.h>
3030 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3031 struct buf { int x; };
3032 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3033 static char *e (p, i)
3034      char **p;
3035      int i;
3036 {
3037   return p[i];
3038 }
3039 static char *f (char * (*g) (char **, int), char **p, ...)
3040 {
3041   char *s;
3042   va_list v;
3043   va_start (v,p);
3044   s = g (p, va_arg (v,int));
3045   va_end (v);
3046   return s;
3047 }
3048
3049 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3050    function prototypes and stuff, but not '\xHH' hex character constants.
3051    These don't provoke an error unfortunately, instead are silently treated
3052    as 'x'.  The following induces an error, until -std1 is added to get
3053    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3054    array size at least.  It's necessary to write '\x00'==0 to get something
3055    that's true only with -std1.  */
3056 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3057
3058 int test (int i, double x);
3059 struct s1 {int (*f) (int a);};
3060 struct s2 {int (*f) (double a);};
3061 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3062 int argc;
3063 char **argv;
3064 int
3065 main ()
3066 {
3067 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3068   ;
3069   return 0;
3070 }
3071 _ACEOF
3072 # Don't try gcc -ansi; that turns off useful extensions and
3073 # breaks some systems' header files.
3074 # AIX                   -qlanglvl=ansi
3075 # Ultrix and OSF/1      -std1
3076 # HP-UX 10.20 and later -Ae
3077 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3078 # SVR4                  -Xc -D__EXTENSIONS__
3079 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3080 do
3081   CC="$ac_save_CC $ac_arg"
3082   rm -f conftest.$ac_objext
3083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3084   (eval $ac_compile) 2>conftest.er1
3085   ac_status=$?
3086   grep -v '^ *+' conftest.er1 >conftest.err
3087   rm -f conftest.er1
3088   cat conftest.err >&5
3089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090   (exit $ac_status); } &&
3091          { ac_try='test -z "$ac_c_werror_flag"
3092                          || test ! -s conftest.err'
3093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3094   (eval $ac_try) 2>&5
3095   ac_status=$?
3096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097   (exit $ac_status); }; } &&
3098          { ac_try='test -s conftest.$ac_objext'
3099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3100   (eval $ac_try) 2>&5
3101   ac_status=$?
3102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103   (exit $ac_status); }; }; then
3104   ac_cv_prog_cc_stdc=$ac_arg
3105 break
3106 else
3107   echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3109
3110 fi
3111 rm -f conftest.err conftest.$ac_objext
3112 done
3113 rm -f conftest.$ac_ext conftest.$ac_objext
3114 CC=$ac_save_CC
3115
3116 fi
3117
3118 case "x$ac_cv_prog_cc_stdc" in
3119   x|xno)
3120     echo "$as_me:$LINENO: result: none needed" >&5
3121 echo "${ECHO_T}none needed" >&6 ;;
3122   *)
3123     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3124 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3125     CC="$CC $ac_cv_prog_cc_stdc" ;;
3126 esac
3127
3128 # Some people use a C++ compiler to compile C.  Since we use `exit',
3129 # in C++ we need to declare it.  In case someone uses the same compiler
3130 # for both compiling C and C++ we need to have the C++ compiler decide
3131 # the declaration of exit, since it's the most demanding environment.
3132 cat >conftest.$ac_ext <<_ACEOF
3133 #ifndef __cplusplus
3134   choke me
3135 #endif
3136 _ACEOF
3137 rm -f conftest.$ac_objext
3138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3139   (eval $ac_compile) 2>conftest.er1
3140   ac_status=$?
3141   grep -v '^ *+' conftest.er1 >conftest.err
3142   rm -f conftest.er1
3143   cat conftest.err >&5
3144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145   (exit $ac_status); } &&
3146          { ac_try='test -z "$ac_c_werror_flag"
3147                          || test ! -s conftest.err'
3148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149   (eval $ac_try) 2>&5
3150   ac_status=$?
3151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152   (exit $ac_status); }; } &&
3153          { ac_try='test -s conftest.$ac_objext'
3154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155   (eval $ac_try) 2>&5
3156   ac_status=$?
3157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158   (exit $ac_status); }; }; then
3159   for ac_declaration in \
3160    '' \
3161    'extern "C" void std::exit (int) throw (); using std::exit;' \
3162    'extern "C" void std::exit (int); using std::exit;' \
3163    'extern "C" void exit (int) throw ();' \
3164    'extern "C" void exit (int);' \
3165    'void exit (int);'
3166 do
3167   cat >conftest.$ac_ext <<_ACEOF
3168 /* confdefs.h.  */
3169 _ACEOF
3170 cat confdefs.h >>conftest.$ac_ext
3171 cat >>conftest.$ac_ext <<_ACEOF
3172 /* end confdefs.h.  */
3173 $ac_declaration
3174 #include <stdlib.h>
3175 int
3176 main ()
3177 {
3178 exit (42);
3179   ;
3180   return 0;
3181 }
3182 _ACEOF
3183 rm -f conftest.$ac_objext
3184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3185   (eval $ac_compile) 2>conftest.er1
3186   ac_status=$?
3187   grep -v '^ *+' conftest.er1 >conftest.err
3188   rm -f conftest.er1
3189   cat conftest.err >&5
3190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191   (exit $ac_status); } &&
3192          { ac_try='test -z "$ac_c_werror_flag"
3193                          || test ! -s conftest.err'
3194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195   (eval $ac_try) 2>&5
3196   ac_status=$?
3197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198   (exit $ac_status); }; } &&
3199          { ac_try='test -s conftest.$ac_objext'
3200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3201   (eval $ac_try) 2>&5
3202   ac_status=$?
3203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204   (exit $ac_status); }; }; then
3205   :
3206 else
3207   echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3209
3210 continue
3211 fi
3212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3213   cat >conftest.$ac_ext <<_ACEOF
3214 /* confdefs.h.  */
3215 _ACEOF
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h.  */
3219 $ac_declaration
3220 int
3221 main ()
3222 {
3223 exit (42);
3224   ;
3225   return 0;
3226 }
3227 _ACEOF
3228 rm -f conftest.$ac_objext
3229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3230   (eval $ac_compile) 2>conftest.er1
3231   ac_status=$?
3232   grep -v '^ *+' conftest.er1 >conftest.err
3233   rm -f conftest.er1
3234   cat conftest.err >&5
3235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236   (exit $ac_status); } &&
3237          { ac_try='test -z "$ac_c_werror_flag"
3238                          || test ! -s conftest.err'
3239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3240   (eval $ac_try) 2>&5
3241   ac_status=$?
3242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243   (exit $ac_status); }; } &&
3244          { ac_try='test -s conftest.$ac_objext'
3245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3246   (eval $ac_try) 2>&5
3247   ac_status=$?
3248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249   (exit $ac_status); }; }; then
3250   break
3251 else
3252   echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3254
3255 fi
3256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3257 done
3258 rm -f conftest*
3259 if test -n "$ac_declaration"; then
3260   echo '#ifdef __cplusplus' >>confdefs.h
3261   echo $ac_declaration      >>confdefs.h
3262   echo '#endif'             >>confdefs.h
3263 fi
3264
3265 else
3266   echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3268
3269 fi
3270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3271 ac_ext=c
3272 ac_cpp='$CPP $CPPFLAGS'
3273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3276
3277   ac_ext=cc
3278 ac_cpp='$CXXCPP $CPPFLAGS'
3279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3282 if test -n "$ac_tool_prefix"; then
3283   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3284   do
3285     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3287 echo "$as_me:$LINENO: checking for $ac_word" >&5
3288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3289 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3290   echo $ECHO_N "(cached) $ECHO_C" >&6
3291 else
3292   if test -n "$CXX"; then
3293   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3294 else
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 for as_dir in $PATH
3297 do
3298   IFS=$as_save_IFS
3299   test -z "$as_dir" && as_dir=.
3300   for ac_exec_ext in '' $ac_executable_extensions; do
3301   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3303     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3304     break 2
3305   fi
3306 done
3307 done
3308
3309 fi
3310 fi
3311 CXX=$glibcxx_cv_prog_CXX
3312 if test -n "$CXX"; then
3313   echo "$as_me:$LINENO: result: $CXX" >&5
3314 echo "${ECHO_T}$CXX" >&6
3315 else
3316   echo "$as_me:$LINENO: result: no" >&5
3317 echo "${ECHO_T}no" >&6
3318 fi
3319
3320     test -n "$CXX" && break
3321   done
3322 fi
3323 if test -z "$CXX"; then
3324   ac_ct_CXX=$CXX
3325   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3326 do
3327   # Extract the first word of "$ac_prog", so it can be a program name with args.
3328 set dummy $ac_prog; ac_word=$2
3329 echo "$as_me:$LINENO: checking for $ac_word" >&5
3330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3331 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3332   echo $ECHO_N "(cached) $ECHO_C" >&6
3333 else
3334   if test -n "$ac_ct_CXX"; then
3335   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3336 else
3337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338 for as_dir in $PATH
3339 do
3340   IFS=$as_save_IFS
3341   test -z "$as_dir" && as_dir=.
3342   for ac_exec_ext in '' $ac_executable_extensions; do
3343   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3344     ac_cv_prog_ac_ct_CXX="$ac_prog"
3345     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3346     break 2
3347   fi
3348 done
3349 done
3350
3351 fi
3352 fi
3353 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3354 if test -n "$ac_ct_CXX"; then
3355   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3356 echo "${ECHO_T}$ac_ct_CXX" >&6
3357 else
3358   echo "$as_me:$LINENO: result: no" >&5
3359 echo "${ECHO_T}no" >&6
3360 fi
3361
3362   test -n "$ac_ct_CXX" && break
3363 done
3364 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3365
3366   CXX=$ac_ct_CXX
3367 fi
3368
3369
3370 # Provide some information about the compiler.
3371 echo "$as_me:$LINENO:" \
3372      "checking for C++ compiler version" >&5
3373 ac_compiler=`set X $ac_compile; echo $2`
3374 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3375   (eval $ac_compiler --version </dev/null >&5) 2>&5
3376   ac_status=$?
3377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378   (exit $ac_status); }
3379 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3380   (eval $ac_compiler -v </dev/null >&5) 2>&5
3381   ac_status=$?
3382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383   (exit $ac_status); }
3384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3385   (eval $ac_compiler -V </dev/null >&5) 2>&5
3386   ac_status=$?
3387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388   (exit $ac_status); }
3389
3390 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3391 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3392 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3393   echo $ECHO_N "(cached) $ECHO_C" >&6
3394 else
3395   cat >conftest.$ac_ext <<_ACEOF
3396 /* confdefs.h.  */
3397 _ACEOF
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h.  */
3401
3402 int
3403 main ()
3404 {
3405 #ifndef __GNUC__
3406        choke me
3407 #endif
3408
3409   ;
3410   return 0;
3411 }
3412 _ACEOF
3413 rm -f conftest.$ac_objext
3414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3415   (eval $ac_compile) 2>conftest.er1
3416   ac_status=$?
3417   grep -v '^ *+' conftest.er1 >conftest.err
3418   rm -f conftest.er1
3419   cat conftest.err >&5
3420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421   (exit $ac_status); } &&
3422          { ac_try='test -z "$ac_cxx_werror_flag"
3423                          || test ! -s conftest.err'
3424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3425   (eval $ac_try) 2>&5
3426   ac_status=$?
3427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428   (exit $ac_status); }; } &&
3429          { ac_try='test -s conftest.$ac_objext'
3430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3431   (eval $ac_try) 2>&5
3432   ac_status=$?
3433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434   (exit $ac_status); }; }; then
3435   ac_compiler_gnu=yes
3436 else
3437   echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.$ac_ext >&5
3439
3440 ac_compiler_gnu=no
3441 fi
3442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3443 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3444
3445 fi
3446 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3447 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3448 GXX=`test $ac_compiler_gnu = yes && echo yes`
3449 ac_test_CXXFLAGS=${CXXFLAGS+set}
3450 ac_save_CXXFLAGS=$CXXFLAGS
3451 CXXFLAGS="-g"
3452 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3453 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3454 if test "${ac_cv_prog_cxx_g+set}" = set; then
3455   echo $ECHO_N "(cached) $ECHO_C" >&6
3456 else
3457   cat >conftest.$ac_ext <<_ACEOF
3458 /* confdefs.h.  */
3459 _ACEOF
3460 cat confdefs.h >>conftest.$ac_ext
3461 cat >>conftest.$ac_ext <<_ACEOF
3462 /* end confdefs.h.  */
3463
3464 int
3465 main ()
3466 {
3467
3468   ;
3469   return 0;
3470 }
3471 _ACEOF
3472 rm -f conftest.$ac_objext
3473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3474   (eval $ac_compile) 2>conftest.er1
3475   ac_status=$?
3476   grep -v '^ *+' conftest.er1 >conftest.err
3477   rm -f conftest.er1
3478   cat conftest.err >&5
3479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480   (exit $ac_status); } &&
3481          { ac_try='test -z "$ac_cxx_werror_flag"
3482                          || test ! -s conftest.err'
3483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3484   (eval $ac_try) 2>&5
3485   ac_status=$?
3486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487   (exit $ac_status); }; } &&
3488          { ac_try='test -s conftest.$ac_objext'
3489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3490   (eval $ac_try) 2>&5
3491   ac_status=$?
3492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493   (exit $ac_status); }; }; then
3494   ac_cv_prog_cxx_g=yes
3495 else
3496   echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3498
3499 ac_cv_prog_cxx_g=no
3500 fi
3501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3502 fi
3503 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3504 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3505 if test "$ac_test_CXXFLAGS" = set; then
3506   CXXFLAGS=$ac_save_CXXFLAGS
3507 elif test $ac_cv_prog_cxx_g = yes; then
3508   if test "$GXX" = yes; then
3509     CXXFLAGS="-g -O2"
3510   else
3511     CXXFLAGS="-g"
3512   fi
3513 else
3514   if test "$GXX" = yes; then
3515     CXXFLAGS="-O2"
3516   else
3517     CXXFLAGS=
3518   fi
3519 fi
3520 for ac_declaration in \
3521    '' \
3522    'extern "C" void std::exit (int) throw (); using std::exit;' \
3523    'extern "C" void std::exit (int); using std::exit;' \
3524    'extern "C" void exit (int) throw ();' \
3525    'extern "C" void exit (int);' \
3526    'void exit (int);'
3527 do
3528   cat >conftest.$ac_ext <<_ACEOF
3529 /* confdefs.h.  */
3530 _ACEOF
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h.  */
3534 $ac_declaration
3535 #include <stdlib.h>
3536 int
3537 main ()
3538 {
3539 exit (42);
3540   ;
3541   return 0;
3542 }
3543 _ACEOF
3544 rm -f conftest.$ac_objext
3545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3546   (eval $ac_compile) 2>conftest.er1
3547   ac_status=$?
3548   grep -v '^ *+' conftest.er1 >conftest.err
3549   rm -f conftest.er1
3550   cat conftest.err >&5
3551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552   (exit $ac_status); } &&
3553          { ac_try='test -z "$ac_cxx_werror_flag"
3554                          || test ! -s conftest.err'
3555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556   (eval $ac_try) 2>&5
3557   ac_status=$?
3558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559   (exit $ac_status); }; } &&
3560          { ac_try='test -s conftest.$ac_objext'
3561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3562   (eval $ac_try) 2>&5
3563   ac_status=$?
3564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565   (exit $ac_status); }; }; then
3566   :
3567 else
3568   echo "$as_me: failed program was:" >&5
3569 sed 's/^/| /' conftest.$ac_ext >&5
3570
3571 continue
3572 fi
3573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3574   cat >conftest.$ac_ext <<_ACEOF
3575 /* confdefs.h.  */
3576 _ACEOF
3577 cat confdefs.h >>conftest.$ac_ext
3578 cat >>conftest.$ac_ext <<_ACEOF
3579 /* end confdefs.h.  */
3580 $ac_declaration
3581 int
3582 main ()
3583 {
3584 exit (42);
3585   ;
3586   return 0;
3587 }
3588 _ACEOF
3589 rm -f conftest.$ac_objext
3590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3591   (eval $ac_compile) 2>conftest.er1
3592   ac_status=$?
3593   grep -v '^ *+' conftest.er1 >conftest.err
3594   rm -f conftest.er1
3595   cat conftest.err >&5
3596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597   (exit $ac_status); } &&
3598          { ac_try='test -z "$ac_cxx_werror_flag"
3599                          || test ! -s conftest.err'
3600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3601   (eval $ac_try) 2>&5
3602   ac_status=$?
3603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604   (exit $ac_status); }; } &&
3605          { ac_try='test -s conftest.$ac_objext'
3606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3607   (eval $ac_try) 2>&5
3608   ac_status=$?
3609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610   (exit $ac_status); }; }; then
3611   break
3612 else
3613   echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3615
3616 fi
3617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3618 done
3619 rm -f conftest*
3620 if test -n "$ac_declaration"; then
3621   echo '#ifdef __cplusplus' >>confdefs.h
3622   echo $ac_declaration      >>confdefs.h
3623   echo '#endif'             >>confdefs.h
3624 fi
3625
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631
3632   CXXFLAGS="$save_CXXFLAGS"
3633
3634
3635
3636
3637   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3638   # available).  Uncomment the next line to force a particular method.
3639   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3640 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3641 LN_S=$as_ln_s
3642 if test "$LN_S" = "ln -s"; then
3643   echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3645 else
3646   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3647 echo "${ECHO_T}no, using $LN_S" >&6
3648 fi
3649
3650   #LN_S='cp -p'
3651
3652   if test -n "$ac_tool_prefix"; then
3653   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3654 set dummy ${ac_tool_prefix}as; ac_word=$2
3655 echo "$as_me:$LINENO: checking for $ac_word" >&5
3656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3657 if test "${ac_cv_prog_AS+set}" = set; then
3658   echo $ECHO_N "(cached) $ECHO_C" >&6
3659 else
3660   if test -n "$AS"; then
3661   ac_cv_prog_AS="$AS" # Let the user override the test.
3662 else
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664 for as_dir in $PATH
3665 do
3666   IFS=$as_save_IFS
3667   test -z "$as_dir" && as_dir=.
3668   for ac_exec_ext in '' $ac_executable_extensions; do
3669   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3670     ac_cv_prog_AS="${ac_tool_prefix}as"
3671     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3672     break 2
3673   fi
3674 done
3675 done
3676
3677 fi
3678 fi
3679 AS=$ac_cv_prog_AS
3680 if test -n "$AS"; then
3681   echo "$as_me:$LINENO: result: $AS" >&5
3682 echo "${ECHO_T}$AS" >&6
3683 else
3684   echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3686 fi
3687
3688 fi
3689 if test -z "$ac_cv_prog_AS"; then
3690   ac_ct_AS=$AS
3691   # Extract the first word of "as", so it can be a program name with args.
3692 set dummy as; ac_word=$2
3693 echo "$as_me:$LINENO: checking for $ac_word" >&5
3694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3695 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3696   echo $ECHO_N "(cached) $ECHO_C" >&6
3697 else
3698   if test -n "$ac_ct_AS"; then
3699   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3700 else
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704   IFS=$as_save_IFS
3705   test -z "$as_dir" && as_dir=.
3706   for ac_exec_ext in '' $ac_executable_extensions; do
3707   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3708     ac_cv_prog_ac_ct_AS="as"
3709     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3710     break 2
3711   fi
3712 done
3713 done
3714
3715 fi
3716 fi
3717 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3718 if test -n "$ac_ct_AS"; then
3719   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3720 echo "${ECHO_T}$ac_ct_AS" >&6
3721 else
3722   echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6
3724 fi
3725
3726   AS=$ac_ct_AS
3727 else
3728   AS="$ac_cv_prog_AS"
3729 fi
3730
3731   if test -n "$ac_tool_prefix"; then
3732   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3733 set dummy ${ac_tool_prefix}ar; ac_word=$2
3734 echo "$as_me:$LINENO: checking for $ac_word" >&5
3735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3736 if test "${ac_cv_prog_AR+set}" = set; then
3737   echo $ECHO_N "(cached) $ECHO_C" >&6
3738 else
3739   if test -n "$AR"; then
3740   ac_cv_prog_AR="$AR" # Let the user override the test.
3741 else
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 for as_dir in $PATH
3744 do
3745   IFS=$as_save_IFS
3746   test -z "$as_dir" && as_dir=.
3747   for ac_exec_ext in '' $ac_executable_extensions; do
3748   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749     ac_cv_prog_AR="${ac_tool_prefix}ar"
3750     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751     break 2
3752   fi
3753 done
3754 done
3755
3756 fi
3757 fi
3758 AR=$ac_cv_prog_AR
3759 if test -n "$AR"; then
3760   echo "$as_me:$LINENO: result: $AR" >&5
3761 echo "${ECHO_T}$AR" >&6
3762 else
3763   echo "$as_me:$LINENO: result: no" >&5
3764 echo "${ECHO_T}no" >&6
3765 fi
3766
3767 fi
3768 if test -z "$ac_cv_prog_AR"; then
3769   ac_ct_AR=$AR
3770   # Extract the first word of "ar", so it can be a program name with args.
3771 set dummy ar; ac_word=$2
3772 echo "$as_me:$LINENO: checking for $ac_word" >&5
3773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3774 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3775   echo $ECHO_N "(cached) $ECHO_C" >&6
3776 else
3777   if test -n "$ac_ct_AR"; then
3778   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3779 else
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781 for as_dir in $PATH
3782 do
3783   IFS=$as_save_IFS
3784   test -z "$as_dir" && as_dir=.
3785   for ac_exec_ext in '' $ac_executable_extensions; do
3786   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3787     ac_cv_prog_ac_ct_AR="ar"
3788     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3789     break 2
3790   fi
3791 done
3792 done
3793
3794 fi
3795 fi
3796 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3797 if test -n "$ac_ct_AR"; then
3798   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3799 echo "${ECHO_T}$ac_ct_AR" >&6
3800 else
3801   echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6
3803 fi
3804
3805   AR=$ac_ct_AR
3806 else
3807   AR="$ac_cv_prog_AR"
3808 fi
3809
3810   if test -n "$ac_tool_prefix"; then
3811   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3812 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3813 echo "$as_me:$LINENO: checking for $ac_word" >&5
3814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3815 if test "${ac_cv_prog_RANLIB+set}" = set; then
3816   echo $ECHO_N "(cached) $ECHO_C" >&6
3817 else
3818   if test -n "$RANLIB"; then
3819   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3820 else
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 for as_dir in $PATH
3823 do
3824   IFS=$as_save_IFS
3825   test -z "$as_dir" && as_dir=.
3826   for ac_exec_ext in '' $ac_executable_extensions; do
3827   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3828     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3829     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3830     break 2
3831   fi
3832 done
3833 done
3834
3835 fi
3836 fi
3837 RANLIB=$ac_cv_prog_RANLIB
3838 if test -n "$RANLIB"; then
3839   echo "$as_me:$LINENO: result: $RANLIB" >&5
3840 echo "${ECHO_T}$RANLIB" >&6
3841 else
3842   echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3844 fi
3845
3846 fi
3847 if test -z "$ac_cv_prog_RANLIB"; then
3848   ac_ct_RANLIB=$RANLIB
3849   # Extract the first word of "ranlib", so it can be a program name with args.
3850 set dummy ranlib; ac_word=$2
3851 echo "$as_me:$LINENO: checking for $ac_word" >&5
3852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3853 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3854   echo $ECHO_N "(cached) $ECHO_C" >&6
3855 else
3856   if test -n "$ac_ct_RANLIB"; then
3857   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3858 else
3859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860 for as_dir in $PATH
3861 do
3862   IFS=$as_save_IFS
3863   test -z "$as_dir" && as_dir=.
3864   for ac_exec_ext in '' $ac_executable_extensions; do
3865   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3866     ac_cv_prog_ac_ct_RANLIB="ranlib"
3867     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3868     break 2
3869   fi
3870 done
3871 done
3872
3873   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3874 fi
3875 fi
3876 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3877 if test -n "$ac_ct_RANLIB"; then
3878   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3879 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3880 else
3881   echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3883 fi
3884
3885   RANLIB=$ac_ct_RANLIB
3886 else
3887   RANLIB="$ac_cv_prog_RANLIB"
3888 fi
3889
3890
3891   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3892 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3893     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3894 if test "${enable_maintainer_mode+set}" = set; then
3895   enableval="$enable_maintainer_mode"
3896   USE_MAINTAINER_MODE=$enableval
3897 else
3898   USE_MAINTAINER_MODE=no
3899 fi;
3900   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3901 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3902
3903
3904 if test $USE_MAINTAINER_MODE = yes; then
3905   MAINTAINER_MODE_TRUE=
3906   MAINTAINER_MODE_FALSE='#'
3907 else
3908   MAINTAINER_MODE_TRUE='#'
3909   MAINTAINER_MODE_FALSE=
3910 fi
3911
3912   MAINT=$MAINTAINER_MODE_TRUE
3913
3914
3915
3916   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3917   # which are themselves conditionally expanded.
3918   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3919   ## other macros from doing the same.  This should be automated.)  -pme
3920   need_libmath=no
3921
3922   # Check for uClibc since Linux platforms use different configuration
3923   # directories depending on the C library in use.
3924   cat >conftest.$ac_ext <<_ACEOF
3925 /* confdefs.h.  */
3926 _ACEOF
3927 cat confdefs.h >>conftest.$ac_ext
3928 cat >>conftest.$ac_ext <<_ACEOF
3929 /* end confdefs.h.  */
3930
3931   #include <stdio.h>
3932   #if __UCLIBC__
3933     _using_uclibc
3934   #endif
3935
3936 _ACEOF
3937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3938   $EGREP "_using_uclibc" >/dev/null 2>&1; then
3939   uclibc=yes
3940 else
3941   uclibc=no
3942 fi
3943 rm -f conftest*
3944
3945
3946   # Find platform-specific directories containing configuration info.
3947   # Also possibly modify flags used elsewhere, as needed by the platform.
3948
3949   . $glibcxx_srcdir/configure.host
3950   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3951 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3952   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3953 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3954
3955
3956
3957
3958 # Check whether --enable-shared or --disable-shared was given.
3959 if test "${enable_shared+set}" = set; then
3960   enableval="$enable_shared"
3961   p=${PACKAGE-default}
3962 case $enableval in
3963 yes) enable_shared=yes ;;
3964 no) enable_shared=no ;;
3965 *)
3966   enable_shared=no
3967   # Look at the argument we got.  We use all the common list separators.
3968   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3969   for pkg in $enableval; do
3970     if test "X$pkg" = "X$p"; then
3971       enable_shared=yes
3972     fi
3973   done
3974   IFS="$ac_save_ifs"
3975   ;;
3976 esac
3977 else
3978   enable_shared=yes
3979 fi;
3980 # Check whether --enable-static or --disable-static was given.
3981 if test "${enable_static+set}" = set; then
3982   enableval="$enable_static"
3983   p=${PACKAGE-default}
3984 case $enableval in
3985 yes) enable_static=yes ;;
3986 no) enable_static=no ;;
3987 *)
3988   enable_static=no
3989   # Look at the argument we got.  We use all the common list separators.
3990   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3991   for pkg in $enableval; do
3992     if test "X$pkg" = "X$p"; then
3993       enable_static=yes
3994     fi
3995   done
3996   IFS="$ac_save_ifs"
3997   ;;
3998 esac
3999 else
4000   enable_static=yes
4001 fi;
4002 # Check whether --enable-fast-install or --disable-fast-install was given.
4003 if test "${enable_fast_install+set}" = set; then
4004   enableval="$enable_fast_install"
4005   p=${PACKAGE-default}
4006 case $enableval in
4007 yes) enable_fast_install=yes ;;
4008 no) enable_fast_install=no ;;
4009 *)
4010   enable_fast_install=no
4011   # Look at the argument we got.  We use all the common list separators.
4012   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4013   for pkg in $enableval; do
4014     if test "X$pkg" = "X$p"; then
4015       enable_fast_install=yes
4016     fi
4017   done
4018   IFS="$ac_save_ifs"
4019   ;;
4020 esac
4021 else
4022   enable_fast_install=yes
4023 fi;
4024
4025 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4026 if test "${with_gnu_ld+set}" = set; then
4027   withval="$with_gnu_ld"
4028   test "$withval" = no || with_gnu_ld=yes
4029 else
4030   with_gnu_ld=no
4031 fi;
4032 ac_prog=ld
4033 if test "$GCC" = yes; then
4034   # Check if gcc -print-prog-name=ld gives a path.
4035   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4036 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4037   case $host in
4038   *-*-mingw*)
4039     # gcc leaves a trailing carriage return which upsets mingw
4040     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4041   *)
4042     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4043   esac
4044   case $ac_prog in
4045     # Accept absolute paths.
4046     [\\/]* | [A-Za-z]:[\\/]*)
4047       re_direlt='/[^/][^/]*/\.\./'
4048       # Canonicalize the path of ld
4049       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4050       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4051         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4052       done
4053       test -z "$LD" && LD="$ac_prog"
4054       ;;
4055   "")
4056     # If it fails, then pretend we aren't using GCC.
4057     ac_prog=ld
4058     ;;
4059   *)
4060     # If it is relative, then search for the first ld in PATH.
4061     with_gnu_ld=unknown
4062     ;;
4063   esac
4064 elif test "$with_gnu_ld" = yes; then
4065   echo "$as_me:$LINENO: checking for GNU ld" >&5
4066 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4067 else
4068   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4069 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4070 fi
4071 if test "${lt_cv_path_LD+set}" = set; then
4072   echo $ECHO_N "(cached) $ECHO_C" >&6
4073 else
4074   if test -z "$LD"; then
4075   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4076   for ac_dir in $PATH; do
4077     test -z "$ac_dir" && ac_dir=.
4078     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4079       lt_cv_path_LD="$ac_dir/$ac_prog"
4080       # Check to see if the program is GNU ld.  I'd rather use --version,
4081       # but apparently some GNU ld's only accept -v.
4082       # Break only if it was the GNU/non-GNU ld that we prefer.
4083       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4084         test "$with_gnu_ld" != no && break
4085       else
4086         test "$with_gnu_ld" != yes && break
4087       fi
4088     fi
4089   done
4090   IFS="$ac_save_ifs"
4091 else
4092   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4093 fi
4094 fi
4095
4096 LD="$lt_cv_path_LD"
4097 if test -n "$LD"; then
4098   echo "$as_me:$LINENO: result: $LD" >&5
4099 echo "${ECHO_T}$LD" >&6
4100 else
4101   echo "$as_me:$LINENO: result: no" >&5
4102 echo "${ECHO_T}no" >&6
4103 fi
4104 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4105 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4106    { (exit 1); exit 1; }; }
4107 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4108 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4109 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4110   echo $ECHO_N "(cached) $ECHO_C" >&6
4111 else
4112   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4113 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4114   lt_cv_prog_gnu_ld=yes
4115 else
4116   lt_cv_prog_gnu_ld=no
4117 fi
4118 fi
4119 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4120 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4121 with_gnu_ld=$lt_cv_prog_gnu_ld
4122
4123
4124 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4125 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4126 if test "${lt_cv_ld_reload_flag+set}" = set; then
4127   echo $ECHO_N "(cached) $ECHO_C" >&6
4128 else
4129   lt_cv_ld_reload_flag='-r'
4130 fi
4131 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4132 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4133 reload_flag=$lt_cv_ld_reload_flag
4134 test -n "$reload_flag" && reload_flag=" $reload_flag"
4135
4136 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4137 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4138 if test "${lt_cv_path_NM+set}" = set; then
4139   echo $ECHO_N "(cached) $ECHO_C" >&6
4140 else
4141   if test -n "$NM"; then
4142   # Let the user override the test.
4143   lt_cv_path_NM="$NM"
4144 else
4145   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4146   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4147     test -z "$ac_dir" && ac_dir=.
4148     tmp_nm=$ac_dir/${ac_tool_prefix}nm
4149     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4150       # Check to see if the nm accepts a BSD-compat flag.
4151       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4152       #   nm: unknown option "B" ignored
4153       # Tru64's nm complains that /dev/null is an invalid object file
4154       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4155         lt_cv_path_NM="$tmp_nm -B"
4156         break
4157       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4158         lt_cv_path_NM="$tmp_nm -p"
4159         break
4160       else
4161         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4162         continue # so that we can try to find one that supports BSD flags
4163       fi
4164     fi
4165   done
4166   IFS="$ac_save_ifs"
4167   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4168 fi
4169 fi
4170
4171 NM="$lt_cv_path_NM"
4172 echo "$as_me:$LINENO: result: $NM" >&5
4173 echo "${ECHO_T}$NM" >&6
4174
4175 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4176 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4177 if test "${lt_cv_deplibs_check_method+set}" = set; then
4178   echo $ECHO_N "(cached) $ECHO_C" >&6
4179 else
4180   lt_cv_file_magic_cmd='$MAGIC_CMD'
4181 lt_cv_file_magic_test_file=
4182 lt_cv_deplibs_check_method='unknown'
4183 # Need to set the preceding variable on all platforms that support
4184 # interlibrary dependencies.
4185 # 'none' -- dependencies not supported.
4186 # `unknown' -- same as none, but documents that we really don't know.
4187 # 'pass_all' -- all dependencies passed with no checks.
4188 # 'test_compile' -- check by making test program.
4189 # 'file_magic [regex]' -- check by looking for files in library path
4190 # which responds to the $file_magic_cmd with a given egrep regex.
4191 # If you have `file' or equivalent on your system and you're not sure
4192 # whether `pass_all' will *always* work, you probably want this one.
4193
4194 case $host_os in
4195 aix*)
4196   lt_cv_deplibs_check_method=pass_all
4197   ;;
4198
4199 beos*)
4200   lt_cv_deplibs_check_method=pass_all
4201   ;;
4202
4203 bsdi4*)
4204   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4205   lt_cv_file_magic_cmd='/usr/bin/file -L'
4206   lt_cv_file_magic_test_file=/shlib/libc.so
4207   ;;
4208
4209 cygwin* | mingw* |pw32*)
4210   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4211   lt_cv_file_magic_cmd='$OBJDUMP -f'
4212   ;;
4213
4214 darwin* | rhapsody*)
4215   # this will be overwritten by pass_all, but leave it in just in case
4216   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4217   lt_cv_file_magic_cmd='/usr/bin/file -L'
4218   case "$host_os" in
4219   rhapsody* | darwin1.012)
4220     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4221     ;;
4222   *) # Darwin 1.3 on
4223     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4224     ;;
4225   esac
4226   lt_cv_deplibs_check_method=pass_all
4227   ;;
4228
4229 freebsd* | kfreebsd*-gnu)
4230   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4231     case $host_cpu in
4232     i*86 )
4233       # Not sure whether the presence of OpenBSD here was a mistake.
4234       # Let's accept both of them until this is cleared up.
4235       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4236       lt_cv_file_magic_cmd=/usr/bin/file
4237       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4238       ;;
4239     esac
4240   else
4241     lt_cv_deplibs_check_method=pass_all
4242   fi
4243   ;;
4244
4245 gnu*)
4246   lt_cv_deplibs_check_method=pass_all
4247   ;;
4248
4249 hpux10.20*|hpux11*)
4250   case $host_cpu in
4251   hppa*)
4252     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4253     lt_cv_file_magic_cmd=/usr/bin/file
4254     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4255     ;;
4256   ia64*)
4257     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4258     lt_cv_file_magic_cmd=/usr/bin/file
4259     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4260     ;;
4261   esac
4262   ;;
4263
4264 irix5* | irix6*)
4265   case $host_os in
4266   irix5*)
4267     # this will be overridden with pass_all, but let us keep it just in case
4268     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4269     ;;
4270   *)
4271     case $LD in
4272     *-32|*"-32 ") libmagic=32-bit;;
4273     *-n32|*"-n32 ") libmagic=N32;;
4274     *-64|*"-64 ") libmagic=64-bit;;
4275     *) libmagic=never-match;;
4276     esac
4277     # this will be overridden with pass_all, but let us keep it just in case
4278     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4279     ;;
4280   esac
4281   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4282   lt_cv_deplibs_check_method=pass_all
4283   ;;
4284
4285 # This must be Linux ELF.
4286 linux-gnu*)
4287   lt_cv_deplibs_check_method=pass_all
4288   ;;
4289
4290 netbsd* | knetbsd*-gnu)
4291   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4292     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4293   else
4294     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4295   fi
4296   ;;
4297
4298 newsos6)
4299   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4300   lt_cv_file_magic_cmd=/usr/bin/file
4301   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4302   ;;
4303
4304 osf3* | osf4* | osf5*)
4305   # this will be overridden with pass_all, but let us keep it just in case
4306   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4307   lt_cv_file_magic_test_file=/shlib/libc.so
4308   lt_cv_deplibs_check_method=pass_all
4309   ;;
4310
4311 sco3.2v5*)
4312   lt_cv_deplibs_check_method=pass_all
4313   ;;
4314
4315 solaris*)
4316   lt_cv_deplibs_check_method=pass_all
4317   lt_cv_file_magic_test_file=/lib/libc.so
4318   ;;
4319
4320 sysv5uw[78]* | sysv4*uw2*)
4321   lt_cv_deplibs_check_method=pass_all
4322   ;;
4323
4324 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4325   case $host_vendor in
4326   ncr)
4327     lt_cv_deplibs_check_method=pass_all
4328     ;;
4329   motorola)
4330     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4331     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4332     ;;
4333   esac
4334   ;;
4335 esac
4336
4337 fi
4338 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4339 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4340 file_magic_cmd=$lt_cv_file_magic_cmd
4341 deplibs_check_method=$lt_cv_deplibs_check_method
4342
4343
4344
4345
4346 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4347
4348 # find the maximum length of command line arguments
4349 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4350 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4351 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4352   echo $ECHO_N "(cached) $ECHO_C" >&6
4353 else
4354     i=0
4355   teststring="ABCD"
4356
4357   case $build_os in
4358   msdosdjgpp*)
4359     # On DJGPP, this test can blow up pretty badly due to problems in libc
4360     # (any single argument exceeding 2000 bytes causes a buffer overrun
4361     # during glob expansion).  Even if it were fixed, the result of this
4362     # check would be larger than it should be.
4363     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4364     ;;
4365
4366   cygwin* | mingw*)
4367     # On Win9x/ME, this test blows up -- it succeeds, but takes
4368     # about 5 minutes as the teststring grows exponentially.
4369     # Worse, since 9x/ME are not pre-emptively multitasking,
4370     # you end up with a "frozen" computer, even though with patience
4371     # the test eventually succeeds (with a max line length of 256k).
4372     # Instead, let's just punt: use the minimum linelength reported by
4373     # all of the supported platforms: 8192 (on NT/2K/XP).
4374     lt_cv_sys_max_cmd_len=8192;
4375     ;;
4376
4377   amigaos*)
4378     # On AmigaOS with pdksh, this test takes hours, literally.
4379     # So we just punt and use a minimum line length of 8192.
4380     lt_cv_sys_max_cmd_len=8192;
4381     ;;
4382
4383   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4384     # This has been around since 386BSD, at least.  Likely further.
4385     if test -x /sbin/sysctl; then
4386       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4387     elif test -x /usr/sbin/sysctl; then
4388       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4389     else
4390       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4391     fi
4392     # And add a safety zone
4393     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4394     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4395     ;;
4396   esac
4397
4398 fi
4399
4400 if test -n "$lt_cv_sys_max_cmd_len" ; then
4401   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4402 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4403 else
4404   echo "$as_me:$LINENO: result: none" >&5
4405 echo "${ECHO_T}none" >&6
4406 fi
4407
4408
4409 # Only perform the check for file, if the check method requires it
4410 case $deplibs_check_method in
4411 file_magic*)
4412   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4413     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4414 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4415 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4416   echo $ECHO_N "(cached) $ECHO_C" >&6
4417 else
4418   case $MAGIC_CMD in
4419   /*)
4420   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4421   ;;
4422   ?:/*)
4423   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4424   ;;
4425   *)
4426   ac_save_MAGIC_CMD="$MAGIC_CMD"
4427   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4428   ac_dummy="/usr/bin:$PATH"
4429   for ac_dir in $ac_dummy; do
4430     test -z "$ac_dir" && ac_dir=.
4431     if test -f $ac_dir/${ac_tool_prefix}file; then
4432       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4433       if test -n "$file_magic_test_file"; then
4434         case $deplibs_check_method in
4435         "file_magic "*)
4436           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4437           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4438           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4439             egrep "$file_magic_regex" > /dev/null; then
4440             :
4441           else
4442             cat <<EOF 1>&2
4443
4444 *** Warning: the command libtool uses to detect shared libraries,
4445 *** $file_magic_cmd, produces output that libtool cannot recognize.
4446 *** The result is that libtool may fail to recognize shared libraries
4447 *** as such.  This will affect the creation of libtool libraries that
4448 *** depend on shared libraries, but programs linked with such libtool
4449 *** libraries will work regardless of this problem.  Nevertheless, you
4450 *** may want to report the problem to your system manager and/or to
4451 *** bug-libtool@gnu.org
4452
4453 EOF
4454           fi ;;
4455         esac
4456       fi
4457       break
4458     fi
4459   done
4460   IFS="$ac_save_ifs"
4461   MAGIC_CMD="$ac_save_MAGIC_CMD"
4462   ;;
4463 esac
4464 fi
4465
4466 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4467 if test -n "$MAGIC_CMD"; then
4468   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4469 echo "${ECHO_T}$MAGIC_CMD" >&6
4470 else
4471   echo "$as_me:$LINENO: result: no" >&5
4472 echo "${ECHO_T}no" >&6
4473 fi
4474
4475 if test -z "$lt_cv_path_MAGIC_CMD"; then
4476   if test -n "$ac_tool_prefix"; then
4477     echo "$as_me:$LINENO: checking for file" >&5
4478 echo $ECHO_N "checking for file... $ECHO_C" >&6
4479 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4480   echo $ECHO_N "(cached) $ECHO_C" >&6
4481 else
4482   case $MAGIC_CMD in
4483   /*)
4484   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4485   ;;
4486   ?:/*)
4487   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4488   ;;
4489   *)
4490   ac_save_MAGIC_CMD="$MAGIC_CMD"
4491   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4492   ac_dummy="/usr/bin:$PATH"
4493   for ac_dir in $ac_dummy; do
4494     test -z "$ac_dir" && ac_dir=.
4495     if test -f $ac_dir/file; then
4496       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4497       if test -n "$file_magic_test_file"; then
4498         case $deplibs_check_method in
4499         "file_magic "*)
4500           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4501           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4502           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4503             egrep "$file_magic_regex" > /dev/null; then
4504             :
4505           else
4506             cat <<EOF 1>&2
4507
4508 *** Warning: the command libtool uses to detect shared libraries,
4509 *** $file_magic_cmd, produces output that libtool cannot recognize.
4510 *** The result is that libtool may fail to recognize shared libraries
4511 *** as such.  This will affect the creation of libtool libraries that
4512 *** depend on shared libraries, but programs linked with such libtool
4513 *** libraries will work regardless of this problem.  Nevertheless, you
4514 *** may want to report the problem to your system manager and/or to
4515 *** bug-libtool@gnu.org
4516
4517 EOF
4518           fi ;;
4519         esac
4520       fi
4521       break
4522     fi
4523   done
4524   IFS="$ac_save_ifs"
4525   MAGIC_CMD="$ac_save_MAGIC_CMD"
4526   ;;
4527 esac
4528 fi
4529
4530 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4531 if test -n "$MAGIC_CMD"; then
4532   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4533 echo "${ECHO_T}$MAGIC_CMD" >&6
4534 else
4535   echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6
4537 fi
4538
4539   else
4540     MAGIC_CMD=:
4541   fi
4542 fi
4543
4544   fi
4545   ;;
4546 esac
4547
4548 if test -n "$ac_tool_prefix"; then
4549   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4550 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4551 echo "$as_me:$LINENO: checking for $ac_word" >&5
4552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4553 if test "${ac_cv_prog_RANLIB+set}" = set; then
4554   echo $ECHO_N "(cached) $ECHO_C" >&6
4555 else
4556   if test -n "$RANLIB"; then
4557   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4558 else
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 for as_dir in $PATH
4561 do
4562   IFS=$as_save_IFS
4563   test -z "$as_dir" && as_dir=.
4564   for ac_exec_ext in '' $ac_executable_extensions; do
4565   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4566     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4567     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4568     break 2
4569   fi
4570 done
4571 done
4572
4573 fi
4574 fi
4575 RANLIB=$ac_cv_prog_RANLIB
4576 if test -n "$RANLIB"; then
4577   echo "$as_me:$LINENO: result: $RANLIB" >&5
4578 echo "${ECHO_T}$RANLIB" >&6
4579 else
4580   echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4582 fi
4583
4584 fi
4585 if test -z "$ac_cv_prog_RANLIB"; then
4586   ac_ct_RANLIB=$RANLIB
4587   # Extract the first word of "ranlib", so it can be a program name with args.
4588 set dummy ranlib; ac_word=$2
4589 echo "$as_me:$LINENO: checking for $ac_word" >&5
4590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4591 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4592   echo $ECHO_N "(cached) $ECHO_C" >&6
4593 else
4594   if test -n "$ac_ct_RANLIB"; then
4595   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4596 else
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 for as_dir in $PATH
4599 do
4600   IFS=$as_save_IFS
4601   test -z "$as_dir" && as_dir=.
4602   for ac_exec_ext in '' $ac_executable_extensions; do
4603   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604     ac_cv_prog_ac_ct_RANLIB="ranlib"
4605     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4606     break 2
4607   fi
4608 done
4609 done
4610
4611   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4612 fi
4613 fi
4614 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4615 if test -n "$ac_ct_RANLIB"; then
4616   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4617 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4618 else
4619   echo "$as_me:$LINENO: result: no" >&5
4620 echo "${ECHO_T}no" >&6
4621 fi
4622
4623   RANLIB=$ac_ct_RANLIB
4624 else
4625   RANLIB="$ac_cv_prog_RANLIB"
4626 fi
4627
4628 if test -n "$ac_tool_prefix"; then
4629   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4630 set dummy ${ac_tool_prefix}strip; ac_word=$2
4631 echo "$as_me:$LINENO: checking for $ac_word" >&5
4632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4633 if test "${ac_cv_prog_STRIP+set}" = set; then
4634   echo $ECHO_N "(cached) $ECHO_C" >&6
4635 else
4636   if test -n "$STRIP"; then
4637   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4638 else
4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 for as_dir in $PATH
4641 do
4642   IFS=$as_save_IFS
4643   test -z "$as_dir" && as_dir=.
4644   for ac_exec_ext in '' $ac_executable_extensions; do
4645   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4646     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4647     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4648     break 2
4649   fi
4650 done
4651 done
4652
4653 fi
4654 fi
4655 STRIP=$ac_cv_prog_STRIP
4656 if test -n "$STRIP"; then
4657   echo "$as_me:$LINENO: result: $STRIP" >&5
4658 echo "${ECHO_T}$STRIP" >&6
4659 else
4660   echo "$as_me:$LINENO: result: no" >&5
4661 echo "${ECHO_T}no" >&6
4662 fi
4663
4664 fi
4665 if test -z "$ac_cv_prog_STRIP"; then
4666   ac_ct_STRIP=$STRIP
4667   # Extract the first word of "strip", so it can be a program name with args.
4668 set dummy strip; ac_word=$2
4669 echo "$as_me:$LINENO: checking for $ac_word" >&5
4670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4671 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4672   echo $ECHO_N "(cached) $ECHO_C" >&6
4673 else
4674   if test -n "$ac_ct_STRIP"; then
4675   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4676 else
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 for as_dir in $PATH
4679 do
4680   IFS=$as_save_IFS
4681   test -z "$as_dir" && as_dir=.
4682   for ac_exec_ext in '' $ac_executable_extensions; do
4683   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4684     ac_cv_prog_ac_ct_STRIP="strip"
4685     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4686     break 2
4687   fi
4688 done
4689 done
4690
4691   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4692 fi
4693 fi
4694 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4695 if test -n "$ac_ct_STRIP"; then
4696   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4697 echo "${ECHO_T}$ac_ct_STRIP" >&6
4698 else
4699   echo "$as_me:$LINENO: result: no" >&5
4700 echo "${ECHO_T}no" >&6
4701 fi
4702
4703   STRIP=$ac_ct_STRIP
4704 else
4705   STRIP="$ac_cv_prog_STRIP"
4706 fi
4707
4708
4709 # Check for any special flags to pass to ltconfig.
4710 libtool_flags="--cache-file=$cache_file"
4711 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4712 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4713 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4714 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4715 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4716
4717
4718 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4719 if test "${enable_libtool_lock+set}" = set; then
4720   enableval="$enable_libtool_lock"
4721
4722 fi;
4723 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4724 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4725
4726
4727 # Check whether --with-pic or --without-pic was given.
4728 if test "${with_pic+set}" = set; then
4729   withval="$with_pic"
4730   pic_mode="$withval"
4731 else
4732   pic_mode=default
4733 fi;
4734 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4735 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4736
4737 # Some flags need to be propagated to the compiler or linker for good
4738 # libtool support.
4739 case $host in
4740 *-*-irix6*)
4741   # Find out which ABI we are using.
4742   echo '#line 4742 "configure"' > conftest.$ac_ext
4743   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4744   (eval $ac_compile) 2>&5
4745   ac_status=$?
4746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747   (exit $ac_status); }; then
4748    if test "$lt_cv_prog_gnu_ld" = yes; then
4749     case `/usr/bin/file conftest.$ac_objext` in
4750     *32-bit*)
4751       LD="${LD-ld} -melf32bsmip"
4752       ;;
4753     *N32*)
4754       LD="${LD-ld} -melf32bmipn32"
4755       ;;
4756     *64-bit*)
4757       LD="${LD-ld} -melf64bmip"
4758       ;;
4759     esac
4760    else
4761     case `/usr/bin/file conftest.$ac_objext` in
4762     *32-bit*)
4763       LD="${LD-ld} -32"
4764       ;;
4765     *N32*)
4766       LD="${LD-ld} -n32"
4767       ;;
4768     *64-bit*)
4769       LD="${LD-ld} -64"
4770       ;;
4771     esac
4772    fi
4773   fi
4774   rm -rf conftest*
4775   ;;
4776
4777 ia64-*-hpux*)
4778   # Find out which ABI we are using.
4779   echo 'int i;' > conftest.$ac_ext
4780   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4781   (eval $ac_compile) 2>&5
4782   ac_status=$?
4783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784   (exit $ac_status); }; then
4785     case "`/usr/bin/file conftest.o`" in
4786     *ELF-32*)
4787       HPUX_IA64_MODE="32"
4788       ;;
4789     *ELF-64*)
4790       HPUX_IA64_MODE="64"
4791       ;;
4792     esac
4793   fi
4794   rm -rf conftest*
4795   ;;
4796
4797 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4798   # Find out which ABI we are using.
4799   echo 'int i;' > conftest.$ac_ext
4800   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4801   (eval $ac_compile) 2>&5
4802   ac_status=$?
4803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804   (exit $ac_status); }; then
4805     case "`/usr/bin/file conftest.o`" in
4806     *32-bit*)
4807       case $host in
4808         x86_64-*linux*)
4809           LD="${LD-ld} -m elf_i386"
4810           ;;
4811         ppc64-*linux*|powerpc64-*linux*)
4812           LD="${LD-ld} -m elf32ppclinux"
4813           ;;
4814         s390x-*linux*)
4815           LD="${LD-ld} -m elf_s390"
4816           ;;
4817         sparc64-*linux*)
4818           LD="${LD-ld} -m elf32_sparc"
4819           ;;
4820       esac
4821       ;;
4822     *64-bit*)
4823       case $host in
4824         x86_64-*linux*)
4825           LD="${LD-ld} -m elf_x86_64"
4826           ;;
4827         ppc*-*linux*|powerpc*-*linux*)
4828           LD="${LD-ld} -m elf64ppc"
4829           ;;
4830         s390*-*linux*)
4831           LD="${LD-ld} -m elf64_s390"
4832           ;;
4833         sparc*-*linux*)
4834           LD="${LD-ld} -m elf64_sparc"
4835           ;;
4836       esac
4837       ;;
4838     esac
4839   fi
4840   rm -rf conftest*
4841   ;;
4842
4843 *-*-sco3.2v5*)
4844   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4845   SAVE_CFLAGS="$CFLAGS"
4846   CFLAGS="$CFLAGS -belf"
4847   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4848 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4849 if test "${lt_cv_cc_needs_belf+set}" = set; then
4850   echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4852
4853
4854      ac_ext=c
4855 ac_cpp='$CPP $CPPFLAGS'
4856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4859
4860      if test x$gcc_no_link = xyes; then
4861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4863    { (exit 1); exit 1; }; }
4864 fi
4865 cat >conftest.$ac_ext <<_ACEOF
4866 /* confdefs.h.  */
4867 _ACEOF
4868 cat confdefs.h >>conftest.$ac_ext
4869 cat >>conftest.$ac_ext <<_ACEOF
4870 /* end confdefs.h.  */
4871
4872 int
4873 main ()
4874 {
4875
4876   ;
4877   return 0;
4878 }
4879 _ACEOF
4880 rm -f conftest.$ac_objext conftest$ac_exeext
4881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4882   (eval $ac_link) 2>conftest.er1
4883   ac_status=$?
4884   grep -v '^ *+' conftest.er1 >conftest.err
4885   rm -f conftest.er1
4886   cat conftest.err >&5
4887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888   (exit $ac_status); } &&
4889          { ac_try='test -z "$ac_c_werror_flag"
4890                          || test ! -s conftest.err'
4891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892   (eval $ac_try) 2>&5
4893   ac_status=$?
4894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895   (exit $ac_status); }; } &&
4896          { ac_try='test -s conftest$ac_exeext'
4897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898   (eval $ac_try) 2>&5
4899   ac_status=$?
4900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901   (exit $ac_status); }; }; then
4902   lt_cv_cc_needs_belf=yes
4903 else
4904   echo "$as_me: failed program was:" >&5
4905 sed 's/^/| /' conftest.$ac_ext >&5
4906
4907 lt_cv_cc_needs_belf=no
4908 fi
4909 rm -f conftest.err conftest.$ac_objext \
4910       conftest$ac_exeext conftest.$ac_ext
4911      ac_ext=c
4912 ac_cpp='$CPP $CPPFLAGS'
4913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4916
4917 fi
4918 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4919 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4920   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4921     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4922     CFLAGS="$SAVE_CFLAGS"
4923   fi
4924   ;;
4925
4926
4927 esac
4928
4929
4930 # Save cache, so that ltconfig can load it
4931 cat >confcache <<\_ACEOF
4932 # This file is a shell script that caches the results of configure
4933 # tests run on this system so they can be shared between configure
4934 # scripts and configure runs, see configure's option --config-cache.
4935 # It is not useful on other systems.  If it contains results you don't
4936 # want to keep, you may remove or edit it.
4937 #
4938 # config.status only pays attention to the cache file if you give it
4939 # the --recheck option to rerun configure.
4940 #
4941 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4942 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4943 # following values.
4944
4945 _ACEOF
4946
4947 # The following way of writing the cache mishandles newlines in values,
4948 # but we know of no workaround that is simple, portable, and efficient.
4949 # So, don't put newlines in cache variables' values.
4950 # Ultrix sh set writes to stderr and can't be redirected directly,
4951 # and sets the high bit in the cache file unless we assign to the vars.
4952 {
4953   (set) 2>&1 |
4954     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4955     *ac_space=\ *)
4956       # `set' does not quote correctly, so add quotes (double-quote
4957       # substitution turns \\\\ into \\, and sed turns \\ into \).
4958       sed -n \
4959         "s/'/'\\\\''/g;
4960           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4961       ;;
4962     *)
4963       # `set' quotes correctly as required by POSIX, so do not add quotes.
4964       sed -n \
4965         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4966       ;;
4967     esac;
4968 } |
4969   sed '
4970      t clear
4971      : clear
4972      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4973      t end
4974      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4975      : end' >>confcache
4976 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4977   if test -w $cache_file; then
4978     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4979     cat confcache >$cache_file
4980   else
4981     echo "not updating unwritable cache $cache_file"
4982   fi
4983 fi
4984 rm -f confcache
4985
4986 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4987 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4988 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4989 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4990 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4991 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4992 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4993 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4994 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4995 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4996 echo "$as_me: error: libtool configure failed" >&2;}
4997    { (exit 1); exit 1; }; }
4998
4999 # Reload cache, that may have been modified by ltconfig
5000 if test -r "$cache_file"; then
5001   # Some versions of bash will fail to source /dev/null (special
5002   # files actually), so we avoid doing that.
5003   if test -f "$cache_file"; then
5004     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5005 echo "$as_me: loading cache $cache_file" >&6;}
5006     case $cache_file in
5007       [\\/]* | ?:[\\/]* ) . $cache_file;;
5008       *)                      . ./$cache_file;;
5009     esac
5010   fi
5011 else
5012   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5013 echo "$as_me: creating cache $cache_file" >&6;}
5014   >$cache_file
5015 fi
5016
5017
5018 # This can be used to rebuild libtool when needed
5019 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5020
5021 # Always use our own libtool.
5022 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5023
5024 # Redirect the config.log output again, so that the ltconfig log is not
5025 # clobbered by the next message.
5026 exec 5>>./config.log
5027
5028 ac_ext=cc
5029 ac_cpp='$CXXCPP $CPPFLAGS'
5030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5033 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5034 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5035 if test -z "$CXXCPP"; then
5036   if test "${ac_cv_prog_CXXCPP+set}" = set; then
5037   echo $ECHO_N "(cached) $ECHO_C" >&6
5038 else
5039       # Double quotes because CXXCPP needs to be expanded
5040     for CXXCPP in "$CXX -E" "/lib/cpp"
5041     do
5042       ac_preproc_ok=false
5043 for ac_cxx_preproc_warn_flag in '' yes
5044 do
5045   # Use a header file that comes with gcc, so configuring glibc
5046   # with a fresh cross-compiler works.
5047   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5048   # <limits.h> exists even on freestanding compilers.
5049   # On the NeXT, cc -E runs the code through the compiler's parser,
5050   # not just through cpp. "Syntax error" is here to catch this case.
5051   cat >conftest.$ac_ext <<_ACEOF
5052 /* confdefs.h.  */
5053 _ACEOF
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h.  */
5057 #ifdef __STDC__
5058 # include <limits.h>
5059 #else
5060 # include <assert.h>
5061 #endif
5062                      Syntax error
5063 _ACEOF
5064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5065   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5066   ac_status=$?
5067   grep -v '^ *+' conftest.er1 >conftest.err
5068   rm -f conftest.er1
5069   cat conftest.err >&5
5070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071   (exit $ac_status); } >/dev/null; then
5072   if test -s conftest.err; then
5073     ac_cpp_err=$ac_cxx_preproc_warn_flag
5074     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5075   else
5076     ac_cpp_err=
5077   fi
5078 else
5079   ac_cpp_err=yes
5080 fi
5081 if test -z "$ac_cpp_err"; then
5082   :
5083 else
5084   echo "$as_me: failed program was:" >&5
5085 sed 's/^/| /' conftest.$ac_ext >&5
5086
5087   # Broken: fails on valid input.
5088 continue
5089 fi
5090 rm -f conftest.err conftest.$ac_ext
5091
5092   # OK, works on sane cases.  Now check whether non-existent headers
5093   # can be detected and how.
5094   cat >conftest.$ac_ext <<_ACEOF
5095 /* confdefs.h.  */
5096 _ACEOF
5097 cat confdefs.h >>conftest.$ac_ext
5098 cat >>conftest.$ac_ext <<_ACEOF
5099 /* end confdefs.h.  */
5100 #include <ac_nonexistent.h>
5101 _ACEOF
5102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5103   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5104   ac_status=$?
5105   grep -v '^ *+' conftest.er1 >conftest.err
5106   rm -f conftest.er1
5107   cat conftest.err >&5
5108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109   (exit $ac_status); } >/dev/null; then
5110   if test -s conftest.err; then
5111     ac_cpp_err=$ac_cxx_preproc_warn_flag
5112     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5113   else
5114     ac_cpp_err=
5115   fi
5116 else
5117   ac_cpp_err=yes
5118 fi
5119 if test -z "$ac_cpp_err"; then
5120   # Broken: success on invalid input.
5121 continue
5122 else
5123   echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.$ac_ext >&5
5125
5126   # Passes both tests.
5127 ac_preproc_ok=:
5128 break
5129 fi
5130 rm -f conftest.err conftest.$ac_ext
5131
5132 done
5133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5134 rm -f conftest.err conftest.$ac_ext
5135 if $ac_preproc_ok; then
5136   break
5137 fi
5138
5139     done
5140     ac_cv_prog_CXXCPP=$CXXCPP
5141
5142 fi
5143   CXXCPP=$ac_cv_prog_CXXCPP
5144 else
5145   ac_cv_prog_CXXCPP=$CXXCPP
5146 fi
5147 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5148 echo "${ECHO_T}$CXXCPP" >&6
5149 ac_preproc_ok=false
5150 for ac_cxx_preproc_warn_flag in '' yes
5151 do
5152   # Use a header file that comes with gcc, so configuring glibc
5153   # with a fresh cross-compiler works.
5154   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5155   # <limits.h> exists even on freestanding compilers.
5156   # On the NeXT, cc -E runs the code through the compiler's parser,
5157   # not just through cpp. "Syntax error" is here to catch this case.
5158   cat >conftest.$ac_ext <<_ACEOF
5159 /* confdefs.h.  */
5160 _ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h.  */
5164 #ifdef __STDC__
5165 # include <limits.h>
5166 #else
5167 # include <assert.h>
5168 #endif
5169                      Syntax error
5170 _ACEOF
5171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5172   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5173   ac_status=$?
5174   grep -v '^ *+' conftest.er1 >conftest.err
5175   rm -f conftest.er1
5176   cat conftest.err >&5
5177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178   (exit $ac_status); } >/dev/null; then
5179   if test -s conftest.err; then
5180     ac_cpp_err=$ac_cxx_preproc_warn_flag
5181     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5182   else
5183     ac_cpp_err=
5184   fi
5185 else
5186   ac_cpp_err=yes
5187 fi
5188 if test -z "$ac_cpp_err"; then
5189   :
5190 else
5191   echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.$ac_ext >&5
5193
5194   # Broken: fails on valid input.
5195 continue
5196 fi
5197 rm -f conftest.err conftest.$ac_ext
5198
5199   # OK, works on sane cases.  Now check whether non-existent headers
5200   # can be detected and how.
5201   cat >conftest.$ac_ext <<_ACEOF
5202 /* confdefs.h.  */
5203 _ACEOF
5204 cat confdefs.h >>conftest.$ac_ext
5205 cat >>conftest.$ac_ext <<_ACEOF
5206 /* end confdefs.h.  */
5207 #include <ac_nonexistent.h>
5208 _ACEOF
5209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5210   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5211   ac_status=$?
5212   grep -v '^ *+' conftest.er1 >conftest.err
5213   rm -f conftest.er1
5214   cat conftest.err >&5
5215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216   (exit $ac_status); } >/dev/null; then
5217   if test -s conftest.err; then
5218     ac_cpp_err=$ac_cxx_preproc_warn_flag
5219     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5220   else
5221     ac_cpp_err=
5222   fi
5223 else
5224   ac_cpp_err=yes
5225 fi
5226 if test -z "$ac_cpp_err"; then
5227   # Broken: success on invalid input.
5228 continue
5229 else
5230   echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.$ac_ext >&5
5232
5233   # Passes both tests.
5234 ac_preproc_ok=:
5235 break
5236 fi
5237 rm -f conftest.err conftest.$ac_ext
5238
5239 done
5240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5241 rm -f conftest.err conftest.$ac_ext
5242 if $ac_preproc_ok; then
5243   :
5244 else
5245   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5246 See \`config.log' for more details." >&5
5247 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5248 See \`config.log' for more details." >&2;}
5249    { (exit 1); exit 1; }; }
5250 fi
5251
5252 ac_ext=c
5253 ac_cpp='$CPP $CPPFLAGS'
5254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5257
5258
5259
5260 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5261 lt_save_CC="$CC"
5262 lt_save_CFLAGS="$CFLAGS"
5263 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5264 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5265 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5266 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5267 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5268 deplibs_check_method="$deplibs_check_method" \
5269 file_magic_cmd="$file_magic_cmd" \
5270 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5271 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5272 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5273 echo "$as_me: error: libtool tag configuration failed" >&2;}
5274    { (exit 1); exit 1; }; }
5275 CC="$lt_save_CC"
5276 CFLAGS="$lt_save_CFLAGS"
5277
5278 # Redirect the config.log output again, so that the ltconfig log is not
5279 # clobbered by the next message.
5280 exec 5>>./config.log
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290 # Possibly disable most of the library.
5291 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5292 ## than just ignoring the results.  Faster /and/ more correct, win win.
5293
5294   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5295 if test "${enable_hosted_libstdcxx+set}" = set; then
5296   enableval="$enable_hosted_libstdcxx"
5297
5298 else
5299   case "$host" in
5300         arm*-*-symbianelf*)
5301             enable_hosted_libstdcxx=no
5302             ;;
5303         *)
5304             enable_hosted_libstdcxx=yes
5305             ;;
5306      esac
5307 fi;
5308   if test "$enable_hosted_libstdcxx" = no; then
5309     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5310 echo "$as_me: Only freestanding libraries will be built" >&6;}
5311     is_hosted=no
5312     hosted_define=0
5313     enable_abi_check=no
5314     enable_libstdcxx_pch=no
5315   else
5316     is_hosted=yes
5317     hosted_define=1
5318   fi
5319
5320
5321 cat >>confdefs.h <<_ACEOF
5322 #define _GLIBCXX_HOSTED $hosted_define
5323 _ACEOF
5324
5325
5326
5327 # Check for compiler support that doesn't require linking.
5328
5329   echo "$as_me:$LINENO: checking for exception model to use" >&5
5330 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5331
5332
5333   ac_ext=cc
5334 ac_cpp='$CXXCPP $CPPFLAGS'
5335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5338
5339    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5340 if test "${enable_sjlj_exceptions+set}" = set; then
5341   enableval="$enable_sjlj_exceptions"
5342
5343       case "$enableval" in
5344        yes|no|auto) ;;
5345        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5346 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5347    { (exit 1); exit 1; }; } ;;
5348                           esac
5349
5350 else
5351   enable_sjlj_exceptions=auto
5352 fi;
5353
5354
5355   if test $enable_sjlj_exceptions = auto; then
5356     # Botheration.  Now we've got to detect the exception model.  Link tests
5357     # against libgcc.a are problematic since we've not been given proper -L
5358     # bits for single-tree newlib and libgloss.
5359     #
5360     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
5361     cat > conftest.$ac_ext << EOF
5362 #line 5362 "configure"
5363 struct S { ~S(); };
5364 void bar();
5365 void foo()
5366 {
5367   S s;
5368   bar();
5369 }
5370 EOF
5371     old_CXXFLAGS="$CXXFLAGS"
5372     CXXFLAGS=-S
5373     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5374   (eval $ac_compile) 2>&5
5375   ac_status=$?
5376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377   (exit $ac_status); }; then
5378       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5379         enable_sjlj_exceptions=yes
5380       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5381         enable_sjlj_exceptions=no
5382       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5383         enable_sjlj_exceptions=no
5384       fi
5385     fi
5386     CXXFLAGS="$old_CXXFLAGS"
5387     rm -f conftest*
5388   fi
5389
5390   # This is a tad weird, for hysterical raisins.  We have to map
5391   # enable/disable to two different models.
5392   case $enable_sjlj_exceptions in
5393     yes)
5394
5395 cat >>confdefs.h <<\_ACEOF
5396 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5397 _ACEOF
5398
5399       ac_exception_model_name=sjlj
5400       ;;
5401     no)
5402       ac_exception_model_name="call frame"
5403       ;;
5404     *)
5405       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5406 echo "$as_me: error: unable to detect exception model" >&2;}
5407    { (exit 1); exit 1; }; }
5408       ;;
5409   esac
5410  ac_ext=c
5411 ac_cpp='$CPP $CPPFLAGS'
5412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5415
5416  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5417 echo "${ECHO_T}$ac_exception_model_name" >&6
5418
5419
5420    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5421 if test "${enable_libstdcxx_pch+set}" = set; then
5422   enableval="$enable_libstdcxx_pch"
5423
5424       case "$enableval" in
5425        yes|no) ;;
5426        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5427 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5428    { (exit 1); exit 1; }; } ;;
5429       esac
5430
5431 else
5432   enable_libstdcxx_pch=$is_hosted
5433 fi;
5434
5435   if test $enable_libstdcxx_pch = yes; then
5436     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5437 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5438 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5439   echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441   ac_save_CXXFLAGS="$CXXFLAGS"
5442        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5443
5444
5445        ac_ext=cc
5446 ac_cpp='$CXXCPP $CPPFLAGS'
5447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5450
5451        echo '#include <math.h>' > conftest.h
5452        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5453                           -o conftest.h.gch 1>&5 2>&1 &&
5454                 echo '#error "pch failed"' > conftest.h &&
5455           echo '#include "conftest.h"' > conftest.cc &&
5456                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5457        then
5458          glibcxx_cv_prog_CXX_pch=yes
5459        else
5460          glibcxx_cv_prog_CXX_pch=no
5461        fi
5462        rm -f conftest*
5463        CXXFLAGS=$ac_save_CXXFLAGS
5464        ac_ext=c
5465 ac_cpp='$CPP $CPPFLAGS'
5466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5469
5470
5471 fi
5472 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5473 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5474     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5475   fi
5476
5477   echo "$as_me:$LINENO: checking for enabled PCH" >&5
5478 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5479   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5480 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5481
5482
5483   if test $enable_libstdcxx_pch = yes; then
5484     glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
5485   else
5486     glibcxx_PCHFLAGS=""
5487   fi
5488
5489
5490
5491 # Enable all the variable C++ runtime options.
5492
5493   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5494 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5495    # Check whether --enable-cstdio or --disable-cstdio was given.
5496 if test "${enable_cstdio+set}" = set; then
5497   enableval="$enable_cstdio"
5498
5499       case "$enableval" in
5500        stdio) ;;
5501        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5502 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5503    { (exit 1); exit 1; }; } ;;
5504                           esac
5505
5506 else
5507   enable_cstdio=stdio
5508 fi;
5509
5510
5511   # Now that libio has been removed, you can have any color you want as long
5512   # as it's black.  This is one big no-op until other packages are added, but
5513   # showing the framework never hurts.
5514   case ${enable_cstdio} in
5515     stdio)
5516       CSTDIO_H=config/io/c_io_stdio.h
5517       BASIC_FILE_H=config/io/basic_file_stdio.h
5518       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5519       echo "$as_me:$LINENO: result: stdio" >&5
5520 echo "${ECHO_T}stdio" >&6
5521       ;;
5522   esac
5523
5524
5525
5526
5527
5528 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5529 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5530 if test "${ac_cv_header_stdc+set}" = set; then
5531   echo $ECHO_N "(cached) $ECHO_C" >&6
5532 else
5533   cat >conftest.$ac_ext <<_ACEOF
5534 /* confdefs.h.  */
5535 _ACEOF
5536 cat confdefs.h >>conftest.$ac_ext
5537 cat >>conftest.$ac_ext <<_ACEOF
5538 /* end confdefs.h.  */
5539 #include <stdlib.h>
5540 #include <stdarg.h>
5541 #include <string.h>
5542 #include <float.h>
5543
5544 int
5545 main ()
5546 {
5547
5548   ;
5549   return 0;
5550 }
5551 _ACEOF
5552 rm -f conftest.$ac_objext
5553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5554   (eval $ac_compile) 2>conftest.er1
5555   ac_status=$?
5556   grep -v '^ *+' conftest.er1 >conftest.err
5557   rm -f conftest.er1
5558   cat conftest.err >&5
5559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560   (exit $ac_status); } &&
5561          { ac_try='test -z "$ac_c_werror_flag"
5562                          || test ! -s conftest.err'
5563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564   (eval $ac_try) 2>&5
5565   ac_status=$?
5566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567   (exit $ac_status); }; } &&
5568          { ac_try='test -s conftest.$ac_objext'
5569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570   (eval $ac_try) 2>&5
5571   ac_status=$?
5572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573   (exit $ac_status); }; }; then
5574   ac_cv_header_stdc=yes
5575 else
5576   echo "$as_me: failed program was:" >&5
5577 sed 's/^/| /' conftest.$ac_ext >&5
5578
5579 ac_cv_header_stdc=no
5580 fi
5581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5582
5583 if test $ac_cv_header_stdc = yes; then
5584   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5585   cat >conftest.$ac_ext <<_ACEOF
5586 /* confdefs.h.  */
5587 _ACEOF
5588 cat confdefs.h >>conftest.$ac_ext
5589 cat >>conftest.$ac_ext <<_ACEOF
5590 /* end confdefs.h.  */
5591 #include <string.h>
5592
5593 _ACEOF
5594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5595   $EGREP "memchr" >/dev/null 2>&1; then
5596   :
5597 else
5598   ac_cv_header_stdc=no
5599 fi
5600 rm -f conftest*
5601
5602 fi
5603
5604 if test $ac_cv_header_stdc = yes; then
5605   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5606   cat >conftest.$ac_ext <<_ACEOF
5607 /* confdefs.h.  */
5608 _ACEOF
5609 cat confdefs.h >>conftest.$ac_ext
5610 cat >>conftest.$ac_ext <<_ACEOF
5611 /* end confdefs.h.  */
5612 #include <stdlib.h>
5613
5614 _ACEOF
5615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5616   $EGREP "free" >/dev/null 2>&1; then
5617   :
5618 else
5619   ac_cv_header_stdc=no
5620 fi
5621 rm -f conftest*
5622
5623 fi
5624
5625 if test $ac_cv_header_stdc = yes; then
5626   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5627   if test "$cross_compiling" = yes; then
5628   :
5629 else
5630   cat >conftest.$ac_ext <<_ACEOF
5631 /* confdefs.h.  */
5632 _ACEOF
5633 cat confdefs.h >>conftest.$ac_ext
5634 cat >>conftest.$ac_ext <<_ACEOF
5635 /* end confdefs.h.  */
5636 #include <ctype.h>
5637 #if ((' ' & 0x0FF) == 0x020)
5638 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5639 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5640 #else
5641 # define ISLOWER(c) \
5642                    (('a' <= (c) && (c) <= 'i') \
5643                      || ('j' <= (c) && (c) <= 'r') \
5644                      || ('s' <= (c) && (c) <= 'z'))
5645 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5646 #endif
5647
5648 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5649 int
5650 main ()
5651 {
5652   int i;
5653   for (i = 0; i < 256; i++)
5654     if (XOR (islower (i), ISLOWER (i))
5655         || toupper (i) != TOUPPER (i))
5656       exit(2);
5657   exit (0);
5658 }
5659 _ACEOF
5660 rm -f conftest$ac_exeext
5661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5662   (eval $ac_link) 2>&5
5663   ac_status=$?
5664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5667   (eval $ac_try) 2>&5
5668   ac_status=$?
5669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670   (exit $ac_status); }; }; then
5671   :
5672 else
5673   echo "$as_me: program exited with status $ac_status" >&5
5674 echo "$as_me: failed program was:" >&5
5675 sed 's/^/| /' conftest.$ac_ext >&5
5676
5677 ( exit $ac_status )
5678 ac_cv_header_stdc=no
5679 fi
5680 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5681 fi
5682 fi
5683 fi
5684 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5685 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5686 if test $ac_cv_header_stdc = yes; then
5687
5688 cat >>confdefs.h <<\_ACEOF
5689 #define STDC_HEADERS 1
5690 _ACEOF
5691
5692 fi
5693
5694 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5705                   inttypes.h stdint.h unistd.h
5706 do
5707 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5708 echo "$as_me:$LINENO: checking for $ac_header" >&5
5709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5711   echo $ECHO_N "(cached) $ECHO_C" >&6
5712 else
5713   cat >conftest.$ac_ext <<_ACEOF
5714 /* confdefs.h.  */
5715 _ACEOF
5716 cat confdefs.h >>conftest.$ac_ext
5717 cat >>conftest.$ac_ext <<_ACEOF
5718 /* end confdefs.h.  */
5719 $ac_includes_default
5720
5721 #include <$ac_header>
5722 _ACEOF
5723 rm -f conftest.$ac_objext
5724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5725   (eval $ac_compile) 2>conftest.er1
5726   ac_status=$?
5727   grep -v '^ *+' conftest.er1 >conftest.err
5728   rm -f conftest.er1
5729   cat conftest.err >&5
5730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731   (exit $ac_status); } &&
5732          { ac_try='test -z "$ac_c_werror_flag"
5733                          || test ! -s conftest.err'
5734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5735   (eval $ac_try) 2>&5
5736   ac_status=$?
5737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738   (exit $ac_status); }; } &&
5739          { ac_try='test -s conftest.$ac_objext'
5740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741   (eval $ac_try) 2>&5
5742   ac_status=$?
5743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744   (exit $ac_status); }; }; then
5745   eval "$as_ac_Header=yes"
5746 else
5747   echo "$as_me: failed program was:" >&5
5748 sed 's/^/| /' conftest.$ac_ext >&5
5749
5750 eval "$as_ac_Header=no"
5751 fi
5752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5753 fi
5754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5757   cat >>confdefs.h <<_ACEOF
5758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5759 _ACEOF
5760
5761 fi
5762
5763 done
5764
5765
5766
5767   echo "$as_me:$LINENO: checking for C locale to use" >&5
5768 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5769    # Check whether --enable-clocale or --disable-clocale was given.
5770 if test "${enable_clocale+set}" = set; then
5771   enableval="$enable_clocale"
5772
5773       case "$enableval" in
5774        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5775        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5776 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5777    { (exit 1); exit 1; }; } ;;
5778                           esac
5779
5780 else
5781   enable_clocale=auto
5782 fi;
5783
5784
5785   # If they didn't use this option switch, or if they specified --enable
5786   # with no specific model, we'll have to look for one.  If they
5787   # specified --disable (???), do likewise.
5788   if test $enable_clocale = no || test $enable_clocale = yes; then
5789      enable_clocale=auto
5790   fi
5791
5792   # Either a known package, or "auto"
5793   enable_clocale_flag=$enable_clocale
5794
5795   # Probe for locale support if no specific model is specified.
5796   # Default to "generic".
5797   if test $enable_clocale_flag = auto; then
5798     case ${target_os} in
5799       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5800         cat >conftest.$ac_ext <<_ACEOF
5801 /* confdefs.h.  */
5802 _ACEOF
5803 cat confdefs.h >>conftest.$ac_ext
5804 cat >>conftest.$ac_ext <<_ACEOF
5805 /* end confdefs.h.  */
5806
5807         #include <features.h>
5808         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5809           _GLIBCXX_ok
5810         #endif
5811
5812 _ACEOF
5813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5814   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5815   enable_clocale_flag=gnu
5816 else
5817   enable_clocale_flag=generic
5818 fi
5819 rm -f conftest*
5820
5821
5822         # Test for bugs early in glibc-2.2.x series
5823           if test $enable_clocale_flag = gnu; then
5824           if test "$cross_compiling" = yes; then
5825   enable_clocale_flag=generic
5826 else
5827   cat >conftest.$ac_ext <<_ACEOF
5828 /* confdefs.h.  */
5829 _ACEOF
5830 cat confdefs.h >>conftest.$ac_ext
5831 cat >>conftest.$ac_ext <<_ACEOF
5832 /* end confdefs.h.  */
5833
5834           #define _GNU_SOURCE 1
5835           #include <locale.h>
5836           #include <string.h>
5837           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5838           extern __typeof(newlocale) __newlocale;
5839           extern __typeof(duplocale) __duplocale;
5840           extern __typeof(strcoll_l) __strcoll_l;
5841           #endif
5842           int main()
5843           {
5844               const char __one[] = "Äuglein Augmen";
5845               const char __two[] = "Äuglein";
5846               int i;
5847               int j;
5848               __locale_t        loc;
5849                __locale_t        loc_dup;
5850               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5851               loc_dup = __duplocale(loc);
5852               i = __strcoll_l(__one, __two, loc);
5853               j = __strcoll_l(__one, __two, loc_dup);
5854               return 0;
5855           }
5856
5857 _ACEOF
5858 rm -f conftest$ac_exeext
5859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5860   (eval $ac_link) 2>&5
5861   ac_status=$?
5862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5865   (eval $ac_try) 2>&5
5866   ac_status=$?
5867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868   (exit $ac_status); }; }; then
5869   enable_clocale_flag=gnu
5870 else
5871   echo "$as_me: program exited with status $ac_status" >&5
5872 echo "$as_me: failed program was:" >&5
5873 sed 's/^/| /' conftest.$ac_ext >&5
5874
5875 ( exit $ac_status )
5876 enable_clocale_flag=generic
5877 fi
5878 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5879 fi
5880           fi
5881
5882         # ... at some point put __strxfrm_l tests in as well.
5883         ;;
5884       darwin* | freebsd*)
5885         enable_clocale_flag=darwin
5886         ;;
5887       *)
5888         enable_clocale_flag=generic
5889         ;;
5890     esac
5891   fi
5892
5893   # Deal with gettext issues.  Default to not using it (=no) until we detect
5894   # support for it later.  Let the user turn it off via --e/d, but let that
5895   # default to on for easier handling.
5896   USE_NLS=no
5897   # Check whether --enable-nls or --disable-nls was given.
5898 if test "${enable_nls+set}" = set; then
5899   enableval="$enable_nls"
5900
5901 else
5902   enable_nls=yes
5903 fi;
5904
5905   # Set configure bits for specified locale package
5906   case ${enable_clocale_flag} in
5907     generic)
5908       echo "$as_me:$LINENO: result: generic" >&5
5909 echo "${ECHO_T}generic" >&6
5910
5911       CLOCALE_H=config/locale/generic/c_locale.h
5912       CLOCALE_CC=config/locale/generic/c_locale.cc
5913       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5914       CCOLLATE_CC=config/locale/generic/collate_members.cc
5915       CCTYPE_CC=config/locale/generic/ctype_members.cc
5916       CMESSAGES_H=config/locale/generic/messages_members.h
5917       CMESSAGES_CC=config/locale/generic/messages_members.cc
5918       CMONEY_CC=config/locale/generic/monetary_members.cc
5919       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5920       CTIME_H=config/locale/generic/time_members.h
5921       CTIME_CC=config/locale/generic/time_members.cc
5922       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5923       ;;
5924     darwin)
5925       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5926 echo "${ECHO_T}darwin or freebsd" >&6
5927
5928       CLOCALE_H=config/locale/generic/c_locale.h
5929       CLOCALE_CC=config/locale/generic/c_locale.cc
5930       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5931       CCOLLATE_CC=config/locale/generic/collate_members.cc
5932       CCTYPE_CC=config/locale/darwin/ctype_members.cc
5933       CMESSAGES_H=config/locale/generic/messages_members.h
5934       CMESSAGES_CC=config/locale/generic/messages_members.cc
5935       CMONEY_CC=config/locale/generic/monetary_members.cc
5936       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5937       CTIME_H=config/locale/generic/time_members.h
5938       CTIME_CC=config/locale/generic/time_members.cc
5939       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5940       ;;
5941
5942     gnu)
5943       echo "$as_me:$LINENO: result: gnu" >&5
5944 echo "${ECHO_T}gnu" >&6
5945
5946       # Declare intention to use gettext, and add support for specific
5947       # languages.
5948       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5949       ALL_LINGUAS="de fr"
5950
5951       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5952       # Extract the first word of "msgfmt", so it can be a program name with args.
5953 set dummy msgfmt; ac_word=$2
5954 echo "$as_me:$LINENO: checking for $ac_word" >&5
5955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5956 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5957   echo $ECHO_N "(cached) $ECHO_C" >&6
5958 else
5959   if test -n "$check_msgfmt"; then
5960   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5964 do
5965   IFS=$as_save_IFS
5966   test -z "$as_dir" && as_dir=.
5967   for ac_exec_ext in '' $ac_executable_extensions; do
5968   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969     ac_cv_prog_check_msgfmt="yes"
5970     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5971     break 2
5972   fi
5973 done
5974 done
5975
5976   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5977 fi
5978 fi
5979 check_msgfmt=$ac_cv_prog_check_msgfmt
5980 if test -n "$check_msgfmt"; then
5981   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5982 echo "${ECHO_T}$check_msgfmt" >&6
5983 else
5984   echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5986 fi
5987
5988       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5989         USE_NLS=yes
5990       fi
5991       # Export the build objects.
5992       for ling in $ALL_LINGUAS; do \
5993         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5994         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5995       done
5996
5997
5998
5999       CLOCALE_H=config/locale/gnu/c_locale.h
6000       CLOCALE_CC=config/locale/gnu/c_locale.cc
6001       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
6002       CCOLLATE_CC=config/locale/gnu/collate_members.cc
6003       CCTYPE_CC=config/locale/gnu/ctype_members.cc
6004       CMESSAGES_H=config/locale/gnu/messages_members.h
6005       CMESSAGES_CC=config/locale/gnu/messages_members.cc
6006       CMONEY_CC=config/locale/gnu/monetary_members.cc
6007       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
6008       CTIME_H=config/locale/gnu/time_members.h
6009       CTIME_CC=config/locale/gnu/time_members.cc
6010       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
6011       ;;
6012     ieee_1003.1-2001)
6013       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
6014 echo "${ECHO_T}IEEE 1003.1" >&6
6015
6016       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
6017       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
6018       CCODECVT_CC=config/locale/generic/codecvt_members.cc
6019       CCOLLATE_CC=config/locale/generic/collate_members.cc
6020       CCTYPE_CC=config/locale/generic/ctype_members.cc
6021       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6022       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6023       CMONEY_CC=config/locale/generic/monetary_members.cc
6024       CNUMERIC_CC=config/locale/generic/numeric_members.cc
6025       CTIME_H=config/locale/generic/time_members.h
6026       CTIME_CC=config/locale/generic/time_members.cc
6027       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6028       ;;
6029   esac
6030
6031   # This is where the testsuite looks for locale catalogs, using the
6032   # -DLOCALEDIR define during testsuite compilation.
6033   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6034
6035
6036   # A standalone libintl (e.g., GNU libintl) may be in use.
6037   if test $USE_NLS = yes; then
6038
6039 for ac_header in libintl.h
6040 do
6041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6043   echo "$as_me:$LINENO: checking for $ac_header" >&5
6044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6046   echo $ECHO_N "(cached) $ECHO_C" >&6
6047 fi
6048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6050 else
6051   # Is the header compilable?
6052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6054 cat >conftest.$ac_ext <<_ACEOF
6055 /* confdefs.h.  */
6056 _ACEOF
6057 cat confdefs.h >>conftest.$ac_ext
6058 cat >>conftest.$ac_ext <<_ACEOF
6059 /* end confdefs.h.  */
6060 $ac_includes_default
6061 #include <$ac_header>
6062 _ACEOF
6063 rm -f conftest.$ac_objext
6064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6065   (eval $ac_compile) 2>conftest.er1
6066   ac_status=$?
6067   grep -v '^ *+' conftest.er1 >conftest.err
6068   rm -f conftest.er1
6069   cat conftest.err >&5
6070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071   (exit $ac_status); } &&
6072          { ac_try='test -z "$ac_c_werror_flag"
6073                          || test ! -s conftest.err'
6074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6075   (eval $ac_try) 2>&5
6076   ac_status=$?
6077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078   (exit $ac_status); }; } &&
6079          { ac_try='test -s conftest.$ac_objext'
6080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6081   (eval $ac_try) 2>&5
6082   ac_status=$?
6083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084   (exit $ac_status); }; }; then
6085   ac_header_compiler=yes
6086 else
6087   echo "$as_me: failed program was:" >&5
6088 sed 's/^/| /' conftest.$ac_ext >&5
6089
6090 ac_header_compiler=no
6091 fi
6092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6094 echo "${ECHO_T}$ac_header_compiler" >&6
6095
6096 # Is the header present?
6097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6099 cat >conftest.$ac_ext <<_ACEOF
6100 /* confdefs.h.  */
6101 _ACEOF
6102 cat confdefs.h >>conftest.$ac_ext
6103 cat >>conftest.$ac_ext <<_ACEOF
6104 /* end confdefs.h.  */
6105 #include <$ac_header>
6106 _ACEOF
6107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6108   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6109   ac_status=$?
6110   grep -v '^ *+' conftest.er1 >conftest.err
6111   rm -f conftest.er1
6112   cat conftest.err >&5
6113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114   (exit $ac_status); } >/dev/null; then
6115   if test -s conftest.err; then
6116     ac_cpp_err=$ac_c_preproc_warn_flag
6117     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6118   else
6119     ac_cpp_err=
6120   fi
6121 else
6122   ac_cpp_err=yes
6123 fi
6124 if test -z "$ac_cpp_err"; then
6125   ac_header_preproc=yes
6126 else
6127   echo "$as_me: failed program was:" >&5
6128 sed 's/^/| /' conftest.$ac_ext >&5
6129
6130   ac_header_preproc=no
6131 fi
6132 rm -f conftest.err conftest.$ac_ext
6133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6134 echo "${ECHO_T}$ac_header_preproc" >&6
6135
6136 # So?  What about this header?
6137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6138   yes:no: )
6139     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6141     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6143     ac_header_preproc=yes
6144     ;;
6145   no:yes:* )
6146     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6148     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6149 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6150     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6152     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6153 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6154     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6156     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6158     (
6159       cat <<\_ASBOX
6160 ## ----------------------------------------- ##
6161 ## Report this to the package-unused lists.  ##
6162 ## ----------------------------------------- ##
6163 _ASBOX
6164     ) |
6165       sed "s/^/$as_me: WARNING:     /" >&2
6166     ;;
6167 esac
6168 echo "$as_me:$LINENO: checking for $ac_header" >&5
6169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6171   echo $ECHO_N "(cached) $ECHO_C" >&6
6172 else
6173   eval "$as_ac_Header=\$ac_header_preproc"
6174 fi
6175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6177
6178 fi
6179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6180   cat >>confdefs.h <<_ACEOF
6181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6182 _ACEOF
6183
6184 else
6185   USE_NLS=no
6186 fi
6187
6188 done
6189
6190     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6191 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6192 if test "${ac_cv_search_gettext+set}" = set; then
6193   echo $ECHO_N "(cached) $ECHO_C" >&6
6194 else
6195   ac_func_search_save_LIBS=$LIBS
6196 ac_cv_search_gettext=no
6197 if test x$gcc_no_link = xyes; then
6198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6200    { (exit 1); exit 1; }; }
6201 fi
6202 cat >conftest.$ac_ext <<_ACEOF
6203 /* confdefs.h.  */
6204 _ACEOF
6205 cat confdefs.h >>conftest.$ac_ext
6206 cat >>conftest.$ac_ext <<_ACEOF
6207 /* end confdefs.h.  */
6208
6209 /* Override any gcc2 internal prototype to avoid an error.  */
6210 #ifdef __cplusplus
6211 extern "C"
6212 #endif
6213 /* We use char because int might match the return type of a gcc2
6214    builtin and then its argument prototype would still apply.  */
6215 char gettext ();
6216 int
6217 main ()
6218 {
6219 gettext ();
6220   ;
6221   return 0;
6222 }
6223 _ACEOF
6224 rm -f conftest.$ac_objext conftest$ac_exeext
6225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6226   (eval $ac_link) 2>conftest.er1
6227   ac_status=$?
6228   grep -v '^ *+' conftest.er1 >conftest.err
6229   rm -f conftest.er1
6230   cat conftest.err >&5
6231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232   (exit $ac_status); } &&
6233          { ac_try='test -z "$ac_c_werror_flag"
6234                          || test ! -s conftest.err'
6235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6236   (eval $ac_try) 2>&5
6237   ac_status=$?
6238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239   (exit $ac_status); }; } &&
6240          { ac_try='test -s conftest$ac_exeext'
6241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6242   (eval $ac_try) 2>&5
6243   ac_status=$?
6244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245   (exit $ac_status); }; }; then
6246   ac_cv_search_gettext="none required"
6247 else
6248   echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.$ac_ext >&5
6250
6251 fi
6252 rm -f conftest.err conftest.$ac_objext \
6253       conftest$ac_exeext conftest.$ac_ext
6254 if test "$ac_cv_search_gettext" = no; then
6255   for ac_lib in intl; do
6256     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6257     if test x$gcc_no_link = xyes; then
6258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6260    { (exit 1); exit 1; }; }
6261 fi
6262 cat >conftest.$ac_ext <<_ACEOF
6263 /* confdefs.h.  */
6264 _ACEOF
6265 cat confdefs.h >>conftest.$ac_ext
6266 cat >>conftest.$ac_ext <<_ACEOF
6267 /* end confdefs.h.  */
6268
6269 /* Override any gcc2 internal prototype to avoid an error.  */
6270 #ifdef __cplusplus
6271 extern "C"
6272 #endif
6273 /* We use char because int might match the return type of a gcc2
6274    builtin and then its argument prototype would still apply.  */
6275 char gettext ();
6276 int
6277 main ()
6278 {
6279 gettext ();
6280   ;
6281   return 0;
6282 }
6283 _ACEOF
6284 rm -f conftest.$ac_objext conftest$ac_exeext
6285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6286   (eval $ac_link) 2>conftest.er1
6287   ac_status=$?
6288   grep -v '^ *+' conftest.er1 >conftest.err
6289   rm -f conftest.er1
6290   cat conftest.err >&5
6291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292   (exit $ac_status); } &&
6293          { ac_try='test -z "$ac_c_werror_flag"
6294                          || test ! -s conftest.err'
6295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296   (eval $ac_try) 2>&5
6297   ac_status=$?
6298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299   (exit $ac_status); }; } &&
6300          { ac_try='test -s conftest$ac_exeext'
6301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6302   (eval $ac_try) 2>&5
6303   ac_status=$?
6304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305   (exit $ac_status); }; }; then
6306   ac_cv_search_gettext="-l$ac_lib"
6307 break
6308 else
6309   echo "$as_me: failed program was:" >&5
6310 sed 's/^/| /' conftest.$ac_ext >&5
6311
6312 fi
6313 rm -f conftest.err conftest.$ac_objext \
6314       conftest$ac_exeext conftest.$ac_ext
6315   done
6316 fi
6317 LIBS=$ac_func_search_save_LIBS
6318 fi
6319 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6320 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6321 if test "$ac_cv_search_gettext" != no; then
6322   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6323
6324 else
6325   USE_NLS=no
6326 fi
6327
6328   fi
6329   if test $USE_NLS = yes; then
6330
6331 cat >>confdefs.h <<\_ACEOF
6332 #define _GLIBCXX_USE_NLS 1
6333 _ACEOF
6334
6335   fi
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6353 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6354    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6355 if test "${enable_libstdcxx_allocator+set}" = set; then
6356   enableval="$enable_libstdcxx_allocator"
6357
6358       case "$enableval" in
6359        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6360        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6361 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6362    { (exit 1); exit 1; }; } ;;
6363                           esac
6364
6365 else
6366   enable_libstdcxx_allocator=auto
6367 fi;
6368
6369
6370   # If they didn't use this option switch, or if they specified --enable
6371   # with no specific model, we'll have to look for one.  If they
6372   # specified --disable (???), do likewise.
6373   if test $enable_libstdcxx_allocator = no ||
6374      test $enable_libstdcxx_allocator = yes;
6375   then
6376      enable_libstdcxx_allocator=auto
6377   fi
6378
6379   # Either a known package, or "auto". Auto implies the default choice
6380   # for a particular platform.
6381   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6382
6383   # Probe for host-specific support if no specific model is specified.
6384   # Default to "new".
6385   if test $enable_libstdcxx_allocator_flag = auto; then
6386     case ${target_os} in
6387       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6388         enable_libstdcxx_allocator_flag=new
6389         ;;
6390       *)
6391         enable_libstdcxx_allocator_flag=new
6392         ;;
6393     esac
6394   fi
6395   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6396 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6397
6398
6399   # Set configure bits for specified locale package
6400   case ${enable_libstdcxx_allocator_flag} in
6401     bitmap)
6402       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6403       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6404       ;;
6405     malloc)
6406       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6407       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6408       ;;
6409     mt)
6410       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6411       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6412       ;;
6413     new)
6414       ALLOCATOR_H=config/allocator/new_allocator_base.h
6415       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6416       ;;
6417     pool)
6418       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6419       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6420       ;;
6421   esac
6422
6423
6424
6425
6426
6427    # Check whether --enable-cheaders or --disable-cheaders was given.
6428 if test "${enable_cheaders+set}" = set; then
6429   enableval="$enable_cheaders"
6430
6431       case "$enableval" in
6432        c|c_std) ;;
6433        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6434 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6435    { (exit 1); exit 1; }; } ;;
6436                           esac
6437
6438 else
6439   enable_cheaders=$c_model
6440 fi;
6441
6442   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6443 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6444
6445   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6446
6447
6448
6449
6450
6451
6452    # Check whether --enable-long-long or --disable-long-long was given.
6453 if test "${enable_long_long+set}" = set; then
6454   enableval="$enable_long_long"
6455
6456       case "$enableval" in
6457        yes|no) ;;
6458        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6459 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6460    { (exit 1); exit 1; }; } ;;
6461       esac
6462
6463 else
6464   enable_long_long=yes
6465 fi;
6466
6467   if test $enable_long_long = yes; then
6468
6469 cat >>confdefs.h <<\_ACEOF
6470 #define _GLIBCXX_USE_LONG_LONG 1
6471 _ACEOF
6472
6473   fi
6474   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6475 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6476   echo "$as_me:$LINENO: result: $enable_long_long" >&5
6477 echo "${ECHO_T}$enable_long_long" >&6
6478
6479
6480
6481    # Check whether --enable-wchar_t or --disable-wchar_t was given.
6482 if test "${enable_wchar_t+set}" = set; then
6483   enableval="$enable_wchar_t"
6484
6485       case "$enableval" in
6486        yes|no) ;;
6487        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6488 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6489    { (exit 1); exit 1; }; } ;;
6490       esac
6491
6492 else
6493   enable_wchar_t=yes
6494 fi;
6495
6496
6497   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6498
6499 for ac_header in wchar.h
6500 do
6501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6503   echo "$as_me:$LINENO: checking for $ac_header" >&5
6504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6506   echo $ECHO_N "(cached) $ECHO_C" >&6
6507 fi
6508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6510 else
6511   # Is the header compilable?
6512 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6513 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6514 cat >conftest.$ac_ext <<_ACEOF
6515 /* confdefs.h.  */
6516 _ACEOF
6517 cat confdefs.h >>conftest.$ac_ext
6518 cat >>conftest.$ac_ext <<_ACEOF
6519 /* end confdefs.h.  */
6520 $ac_includes_default
6521 #include <$ac_header>
6522 _ACEOF
6523 rm -f conftest.$ac_objext
6524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6525   (eval $ac_compile) 2>conftest.er1
6526   ac_status=$?
6527   grep -v '^ *+' conftest.er1 >conftest.err
6528   rm -f conftest.er1
6529   cat conftest.err >&5
6530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531   (exit $ac_status); } &&
6532          { ac_try='test -z "$ac_c_werror_flag"
6533                          || test ! -s conftest.err'
6534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535   (eval $ac_try) 2>&5
6536   ac_status=$?
6537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538   (exit $ac_status); }; } &&
6539          { ac_try='test -s conftest.$ac_objext'
6540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541   (eval $ac_try) 2>&5
6542   ac_status=$?
6543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544   (exit $ac_status); }; }; then
6545   ac_header_compiler=yes
6546 else
6547   echo "$as_me: failed program was:" >&5
6548 sed 's/^/| /' conftest.$ac_ext >&5
6549
6550 ac_header_compiler=no
6551 fi
6552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6553 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6554 echo "${ECHO_T}$ac_header_compiler" >&6
6555
6556 # Is the header present?
6557 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6559 cat >conftest.$ac_ext <<_ACEOF
6560 /* confdefs.h.  */
6561 _ACEOF
6562 cat confdefs.h >>conftest.$ac_ext
6563 cat >>conftest.$ac_ext <<_ACEOF
6564 /* end confdefs.h.  */
6565 #include <$ac_header>
6566 _ACEOF
6567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6568   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6569   ac_status=$?
6570   grep -v '^ *+' conftest.er1 >conftest.err
6571   rm -f conftest.er1
6572   cat conftest.err >&5
6573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574   (exit $ac_status); } >/dev/null; then
6575   if test -s conftest.err; then
6576     ac_cpp_err=$ac_c_preproc_warn_flag
6577     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6578   else
6579     ac_cpp_err=
6580   fi
6581 else
6582   ac_cpp_err=yes
6583 fi
6584 if test -z "$ac_cpp_err"; then
6585   ac_header_preproc=yes
6586 else
6587   echo "$as_me: failed program was:" >&5
6588 sed 's/^/| /' conftest.$ac_ext >&5
6589
6590   ac_header_preproc=no
6591 fi
6592 rm -f conftest.err conftest.$ac_ext
6593 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6594 echo "${ECHO_T}$ac_header_preproc" >&6
6595
6596 # So?  What about this header?
6597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6598   yes:no: )
6599     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6601     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6602 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6603     ac_header_preproc=yes
6604     ;;
6605   no:yes:* )
6606     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6608     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6609 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6610     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6611 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6612     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6613 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6614     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6616     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6617 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6618     (
6619       cat <<\_ASBOX
6620 ## ----------------------------------------- ##
6621 ## Report this to the package-unused lists.  ##
6622 ## ----------------------------------------- ##
6623 _ASBOX
6624     ) |
6625       sed "s/^/$as_me: WARNING:     /" >&2
6626     ;;
6627 esac
6628 echo "$as_me:$LINENO: checking for $ac_header" >&5
6629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6631   echo $ECHO_N "(cached) $ECHO_C" >&6
6632 else
6633   eval "$as_ac_Header=\$ac_header_preproc"
6634 fi
6635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6637
6638 fi
6639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6640   cat >>confdefs.h <<_ACEOF
6641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6642 _ACEOF
6643  ac_has_wchar_h=yes
6644 else
6645   ac_has_wchar_h=no
6646 fi
6647
6648 done
6649
6650   echo "$as_me:$LINENO: checking for mbstate_t" >&5
6651 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6652   cat >conftest.$ac_ext <<_ACEOF
6653 /* confdefs.h.  */
6654 _ACEOF
6655 cat confdefs.h >>conftest.$ac_ext
6656 cat >>conftest.$ac_ext <<_ACEOF
6657 /* end confdefs.h.  */
6658 #include <wchar.h>
6659 int
6660 main ()
6661 {
6662 mbstate_t teststate;
6663   ;
6664   return 0;
6665 }
6666 _ACEOF
6667 rm -f conftest.$ac_objext
6668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6669   (eval $ac_compile) 2>conftest.er1
6670   ac_status=$?
6671   grep -v '^ *+' conftest.er1 >conftest.err
6672   rm -f conftest.er1
6673   cat conftest.err >&5
6674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675   (exit $ac_status); } &&
6676          { ac_try='test -z "$ac_c_werror_flag"
6677                          || test ! -s conftest.err'
6678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6679   (eval $ac_try) 2>&5
6680   ac_status=$?
6681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682   (exit $ac_status); }; } &&
6683          { ac_try='test -s conftest.$ac_objext'
6684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6685   (eval $ac_try) 2>&5
6686   ac_status=$?
6687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688   (exit $ac_status); }; }; then
6689   have_mbstate_t=yes
6690 else
6691   echo "$as_me: failed program was:" >&5
6692 sed 's/^/| /' conftest.$ac_ext >&5
6693
6694 have_mbstate_t=no
6695 fi
6696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6697   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6698 echo "${ECHO_T}$have_mbstate_t" >&6
6699   if test x"$have_mbstate_t" = xyes; then
6700
6701 cat >>confdefs.h <<\_ACEOF
6702 #define HAVE_MBSTATE_T 1
6703 _ACEOF
6704
6705   fi
6706
6707   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6708   # ac_has_wchar_h.
6709
6710 for ac_header in wctype.h
6711 do
6712 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6714   echo "$as_me:$LINENO: checking for $ac_header" >&5
6715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6717   echo $ECHO_N "(cached) $ECHO_C" >&6
6718 fi
6719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6721 else
6722   # Is the header compilable?
6723 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6724 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6725 cat >conftest.$ac_ext <<_ACEOF
6726 /* confdefs.h.  */
6727 _ACEOF
6728 cat confdefs.h >>conftest.$ac_ext
6729 cat >>conftest.$ac_ext <<_ACEOF
6730 /* end confdefs.h.  */
6731 $ac_includes_default
6732 #include <$ac_header>
6733 _ACEOF
6734 rm -f conftest.$ac_objext
6735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6736   (eval $ac_compile) 2>conftest.er1
6737   ac_status=$?
6738   grep -v '^ *+' conftest.er1 >conftest.err
6739   rm -f conftest.er1
6740   cat conftest.err >&5
6741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742   (exit $ac_status); } &&
6743          { ac_try='test -z "$ac_c_werror_flag"
6744                          || test ! -s conftest.err'
6745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6746   (eval $ac_try) 2>&5
6747   ac_status=$?
6748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749   (exit $ac_status); }; } &&
6750          { ac_try='test -s conftest.$ac_objext'
6751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6752   (eval $ac_try) 2>&5
6753   ac_status=$?
6754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755   (exit $ac_status); }; }; then
6756   ac_header_compiler=yes
6757 else
6758   echo "$as_me: failed program was:" >&5
6759 sed 's/^/| /' conftest.$ac_ext >&5
6760
6761 ac_header_compiler=no
6762 fi
6763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6765 echo "${ECHO_T}$ac_header_compiler" >&6
6766
6767 # Is the header present?
6768 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6770 cat >conftest.$ac_ext <<_ACEOF
6771 /* confdefs.h.  */
6772 _ACEOF
6773 cat confdefs.h >>conftest.$ac_ext
6774 cat >>conftest.$ac_ext <<_ACEOF
6775 /* end confdefs.h.  */
6776 #include <$ac_header>
6777 _ACEOF
6778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6779   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6780   ac_status=$?
6781   grep -v '^ *+' conftest.er1 >conftest.err
6782   rm -f conftest.er1
6783   cat conftest.err >&5
6784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785   (exit $ac_status); } >/dev/null; then
6786   if test -s conftest.err; then
6787     ac_cpp_err=$ac_c_preproc_warn_flag
6788     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6789   else
6790     ac_cpp_err=
6791   fi
6792 else
6793   ac_cpp_err=yes
6794 fi
6795 if test -z "$ac_cpp_err"; then
6796   ac_header_preproc=yes
6797 else
6798   echo "$as_me: failed program was:" >&5
6799 sed 's/^/| /' conftest.$ac_ext >&5
6800
6801   ac_header_preproc=no
6802 fi
6803 rm -f conftest.err conftest.$ac_ext
6804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6805 echo "${ECHO_T}$ac_header_preproc" >&6
6806
6807 # So?  What about this header?
6808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6809   yes:no: )
6810     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6812     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6813 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6814     ac_header_preproc=yes
6815     ;;
6816   no:yes:* )
6817     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6818 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6819     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6820 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6821     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6822 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6823     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6824 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6825     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6827     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6828 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6829     (
6830       cat <<\_ASBOX
6831 ## ----------------------------------------- ##
6832 ## Report this to the package-unused lists.  ##
6833 ## ----------------------------------------- ##
6834 _ASBOX
6835     ) |
6836       sed "s/^/$as_me: WARNING:     /" >&2
6837     ;;
6838 esac
6839 echo "$as_me:$LINENO: checking for $ac_header" >&5
6840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6842   echo $ECHO_N "(cached) $ECHO_C" >&6
6843 else
6844   eval "$as_ac_Header=\$ac_header_preproc"
6845 fi
6846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6848
6849 fi
6850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6851   cat >>confdefs.h <<_ACEOF
6852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6853 _ACEOF
6854  ac_has_wctype_h=yes
6855 else
6856   ac_has_wctype_h=no
6857 fi
6858
6859 done
6860
6861
6862   if test x"$enable_wchar_t" = x"yes"; then
6863
6864
6865
6866     ac_ext=cc
6867 ac_cpp='$CXXCPP $CPPFLAGS'
6868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6871
6872
6873     if test x"$ac_has_wchar_h" = xyes &&
6874        test x"$ac_has_wctype_h" = xyes; then
6875       cat >conftest.$ac_ext <<_ACEOF
6876 /* confdefs.h.  */
6877 _ACEOF
6878 cat confdefs.h >>conftest.$ac_ext
6879 cat >>conftest.$ac_ext <<_ACEOF
6880 /* end confdefs.h.  */
6881 #include <wchar.h>
6882                       #include <stddef.h>
6883                       wint_t i;
6884                       long l = WEOF;
6885                       long j = WCHAR_MIN;
6886                       long k = WCHAR_MAX;
6887                       namespace test
6888                       {
6889                         using ::btowc;
6890                         using ::fgetwc;
6891                         using ::fgetws;
6892                         using ::fputwc;
6893                         using ::fputws;
6894                         using ::fwide;
6895                         using ::fwprintf;
6896                         using ::fwscanf;
6897                         using ::getwc;
6898                         using ::getwchar;
6899                         using ::mbrlen;
6900                         using ::mbrtowc;
6901                         using ::mbsinit;
6902                         using ::mbsrtowcs;
6903                         using ::putwc;
6904                         using ::putwchar;
6905                         using ::swprintf;
6906                         using ::swscanf;
6907                         using ::ungetwc;
6908                         using ::vfwprintf;
6909                         using ::vswprintf;
6910                         using ::vwprintf;
6911                         using ::wcrtomb;
6912                         using ::wcscat;
6913                         using ::wcschr;
6914                         using ::wcscmp;
6915                         using ::wcscoll;
6916                         using ::wcscpy;
6917                         using ::wcscspn;
6918                         using ::wcsftime;
6919                         using ::wcslen;
6920                         using ::wcsncat;
6921                         using ::wcsncmp;
6922                         using ::wcsncpy;
6923                         using ::wcspbrk;
6924                         using ::wcsrchr;
6925                         using ::wcsrtombs;
6926                         using ::wcsspn;
6927                         using ::wcsstr;
6928                         using ::wcstod;
6929                         using ::wcstok;
6930                         using ::wcstol;
6931                         using ::wcstoul;
6932                         using ::wcsxfrm;
6933                         using ::wctob;
6934                         using ::wmemchr;
6935                         using ::wmemcmp;
6936                         using ::wmemcpy;
6937                         using ::wmemmove;
6938                         using ::wmemset;
6939                         using ::wprintf;
6940                         using ::wscanf;
6941                       }
6942
6943 int
6944 main ()
6945 {
6946
6947   ;
6948   return 0;
6949 }
6950 _ACEOF
6951 rm -f conftest.$ac_objext
6952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6953   (eval $ac_compile) 2>conftest.er1
6954   ac_status=$?
6955   grep -v '^ *+' conftest.er1 >conftest.err
6956   rm -f conftest.er1
6957   cat conftest.err >&5
6958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959   (exit $ac_status); } &&
6960          { ac_try='test -z "$ac_cxx_werror_flag"
6961                          || test ! -s conftest.err'
6962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963   (eval $ac_try) 2>&5
6964   ac_status=$?
6965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966   (exit $ac_status); }; } &&
6967          { ac_try='test -s conftest.$ac_objext'
6968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969   (eval $ac_try) 2>&5
6970   ac_status=$?
6971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972   (exit $ac_status); }; }; then
6973   :
6974 else
6975   echo "$as_me: failed program was:" >&5
6976 sed 's/^/| /' conftest.$ac_ext >&5
6977
6978 enable_wchar_t=no
6979 fi
6980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6981     else
6982       enable_wchar_t=no
6983     fi
6984
6985     ac_ext=c
6986 ac_cpp='$CPP $CPPFLAGS'
6987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6990
6991   fi
6992
6993   if test x"$enable_wchar_t" = x"yes"; then
6994
6995 cat >>confdefs.h <<\_ACEOF
6996 #define _GLIBCXX_USE_WCHAR_T 1
6997 _ACEOF
6998
6999   fi
7000
7001   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7002 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7003   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7004 echo "${ECHO_T}$enable_wchar_t" >&6
7005
7006
7007
7008    # Check whether --enable-c99 or --disable-c99 was given.
7009 if test "${enable_c99+set}" = set; then
7010   enableval="$enable_c99"
7011
7012       case "$enableval" in
7013        yes|no) ;;
7014        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7015 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7016    { (exit 1); exit 1; }; } ;;
7017       esac
7018
7019 else
7020   enable_c99=yes
7021 fi;
7022
7023
7024   if test x"$enable_c99" = x"yes"; then
7025
7026
7027
7028   ac_ext=cc
7029 ac_cpp='$CXXCPP $CPPFLAGS'
7030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7033
7034
7035   # Check for the existence of <math.h> functions used if C99 is enabled.
7036   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7037 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7038   if test "${ac_c99_math+set}" = set; then
7039   echo $ECHO_N "(cached) $ECHO_C" >&6
7040 else
7041
7042   cat >conftest.$ac_ext <<_ACEOF
7043 /* confdefs.h.  */
7044 _ACEOF
7045 cat confdefs.h >>conftest.$ac_ext
7046 cat >>conftest.$ac_ext <<_ACEOF
7047 /* end confdefs.h.  */
7048 #include <math.h>
7049 int
7050 main ()
7051 {
7052 fpclassify(0.0);
7053                   isfinite(0.0);
7054                   isinf(0.0);
7055                   isnan(0.0);
7056                   isnormal(0.0);
7057                   signbit(0.0);
7058                   isgreater(0.0,0.0);
7059                   isgreaterequal(0.0,0.0);
7060                   isless(0.0,0.0);
7061                   islessequal(0.0,0.0);
7062                   islessgreater(0.0,0.0);
7063                   islessgreater(0.0,0.0);
7064                   isunordered(0.0,0.0);
7065
7066   ;
7067   return 0;
7068 }
7069 _ACEOF
7070 rm -f conftest.$ac_objext
7071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7072   (eval $ac_compile) 2>conftest.er1
7073   ac_status=$?
7074   grep -v '^ *+' conftest.er1 >conftest.err
7075   rm -f conftest.er1
7076   cat conftest.err >&5
7077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078   (exit $ac_status); } &&
7079          { ac_try='test -z "$ac_cxx_werror_flag"
7080                          || test ! -s conftest.err'
7081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082   (eval $ac_try) 2>&5
7083   ac_status=$?
7084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085   (exit $ac_status); }; } &&
7086          { ac_try='test -s conftest.$ac_objext'
7087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088   (eval $ac_try) 2>&5
7089   ac_status=$?
7090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091   (exit $ac_status); }; }; then
7092   ac_c99_math=yes
7093 else
7094   echo "$as_me: failed program was:" >&5
7095 sed 's/^/| /' conftest.$ac_ext >&5
7096
7097 ac_c99_math=no
7098 fi
7099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7100
7101 fi
7102
7103   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7104 echo "${ECHO_T}$ac_c99_math" >&6
7105   if test x"$ac_c99_math" = x"yes"; then
7106
7107 cat >>confdefs.h <<\_ACEOF
7108 #define _GLIBCXX_USE_C99_MATH 1
7109 _ACEOF
7110
7111   fi
7112
7113   # Check for the existence of <complex.h> complex math functions.
7114   # This is necessary even though libstdc++ uses the builtin versions
7115   # of these functions, because if the builtin cannot be used, a reference
7116   # to the library function is emitted.
7117
7118 for ac_header in complex.h
7119 do
7120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7122   echo "$as_me:$LINENO: checking for $ac_header" >&5
7123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7125   echo $ECHO_N "(cached) $ECHO_C" >&6
7126 fi
7127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7129 else
7130   # Is the header compilable?
7131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7133 cat >conftest.$ac_ext <<_ACEOF
7134 /* confdefs.h.  */
7135 _ACEOF
7136 cat confdefs.h >>conftest.$ac_ext
7137 cat >>conftest.$ac_ext <<_ACEOF
7138 /* end confdefs.h.  */
7139 $ac_includes_default
7140 #include <$ac_header>
7141 _ACEOF
7142 rm -f conftest.$ac_objext
7143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7144   (eval $ac_compile) 2>conftest.er1
7145   ac_status=$?
7146   grep -v '^ *+' conftest.er1 >conftest.err
7147   rm -f conftest.er1
7148   cat conftest.err >&5
7149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150   (exit $ac_status); } &&
7151          { ac_try='test -z "$ac_cxx_werror_flag"
7152                          || test ! -s conftest.err'
7153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7154   (eval $ac_try) 2>&5
7155   ac_status=$?
7156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157   (exit $ac_status); }; } &&
7158          { ac_try='test -s conftest.$ac_objext'
7159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7160   (eval $ac_try) 2>&5
7161   ac_status=$?
7162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163   (exit $ac_status); }; }; then
7164   ac_header_compiler=yes
7165 else
7166   echo "$as_me: failed program was:" >&5
7167 sed 's/^/| /' conftest.$ac_ext >&5
7168
7169 ac_header_compiler=no
7170 fi
7171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7173 echo "${ECHO_T}$ac_header_compiler" >&6
7174
7175 # Is the header present?
7176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7178 cat >conftest.$ac_ext <<_ACEOF
7179 /* confdefs.h.  */
7180 _ACEOF
7181 cat confdefs.h >>conftest.$ac_ext
7182 cat >>conftest.$ac_ext <<_ACEOF
7183 /* end confdefs.h.  */
7184 #include <$ac_header>
7185 _ACEOF
7186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7187   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7188   ac_status=$?
7189   grep -v '^ *+' conftest.er1 >conftest.err
7190   rm -f conftest.er1
7191   cat conftest.err >&5
7192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193   (exit $ac_status); } >/dev/null; then
7194   if test -s conftest.err; then
7195     ac_cpp_err=$ac_cxx_preproc_warn_flag
7196     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7197   else
7198     ac_cpp_err=
7199   fi
7200 else
7201   ac_cpp_err=yes
7202 fi
7203 if test -z "$ac_cpp_err"; then
7204   ac_header_preproc=yes
7205 else
7206   echo "$as_me: failed program was:" >&5
7207 sed 's/^/| /' conftest.$ac_ext >&5
7208
7209   ac_header_preproc=no
7210 fi
7211 rm -f conftest.err conftest.$ac_ext
7212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7213 echo "${ECHO_T}$ac_header_preproc" >&6
7214
7215 # So?  What about this header?
7216 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7217   yes:no: )
7218     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7220     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7221 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7222     ac_header_preproc=yes
7223     ;;
7224   no:yes:* )
7225     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7226 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7227     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7228 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7229     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7230 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7231     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7232 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7233     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7235     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7236 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7237     (
7238       cat <<\_ASBOX
7239 ## ----------------------------------------- ##
7240 ## Report this to the package-unused lists.  ##
7241 ## ----------------------------------------- ##
7242 _ASBOX
7243     ) |
7244       sed "s/^/$as_me: WARNING:     /" >&2
7245     ;;
7246 esac
7247 echo "$as_me:$LINENO: checking for $ac_header" >&5
7248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7250   echo $ECHO_N "(cached) $ECHO_C" >&6
7251 else
7252   eval "$as_ac_Header=\$ac_header_preproc"
7253 fi
7254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7256
7257 fi
7258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7259   cat >>confdefs.h <<_ACEOF
7260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7261 _ACEOF
7262  ac_has_complex_h=yes
7263 else
7264   ac_has_complex_h=no
7265 fi
7266
7267 done
7268
7269   ac_c99_complex=no;
7270   if test x"$ac_has_complex_h" = x"yes"; then
7271     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7272 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7273     cat >conftest.$ac_ext <<_ACEOF
7274 /* confdefs.h.  */
7275 _ACEOF
7276 cat confdefs.h >>conftest.$ac_ext
7277 cat >>conftest.$ac_ext <<_ACEOF
7278 /* end confdefs.h.  */
7279 #include <complex.h>
7280 int
7281 main ()
7282 {
7283 typedef __complex__ float float_type; float_type tmpf;
7284                     cabsf(tmpf);
7285                     cargf(tmpf);
7286                     ccosf(tmpf);
7287                     ccoshf(tmpf);
7288                     cexpf(tmpf);
7289                     clogf(tmpf);
7290                     csinf(tmpf);
7291                     csinhf(tmpf);
7292                     csqrtf(tmpf);
7293                     ctanf(tmpf);
7294                     ctanhf(tmpf);
7295                     cpowf(tmpf, tmpf);
7296                     typedef __complex__ double double_type; double_type tmpd;
7297                     cabs(tmpd);
7298                     carg(tmpd);
7299                     ccos(tmpd);
7300                     ccosh(tmpd);
7301                     cexp(tmpd);
7302                     clog(tmpd);
7303                     csin(tmpd);
7304                     csinh(tmpd);
7305                     csqrt(tmpd);
7306                     ctan(tmpd);
7307                     ctanh(tmpd);
7308                     cpow(tmpd, tmpd);
7309                     typedef __complex__ long double ld_type; ld_type tmpld;
7310                     cabsl(tmpld);
7311                     cargl(tmpld);
7312                     ccosl(tmpld);
7313                     ccoshl(tmpld);
7314                     cexpl(tmpld);
7315                     clogl(tmpld);
7316                     csinl(tmpld);
7317                     csinhl(tmpld);
7318                     csqrtl(tmpld);
7319                     ctanl(tmpld);
7320                     ctanhl(tmpld);
7321                     cpowl(tmpld, tmpld);
7322
7323   ;
7324   return 0;
7325 }
7326 _ACEOF
7327 rm -f conftest.$ac_objext
7328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7329   (eval $ac_compile) 2>conftest.er1
7330   ac_status=$?
7331   grep -v '^ *+' conftest.er1 >conftest.err
7332   rm -f conftest.er1
7333   cat conftest.err >&5
7334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335   (exit $ac_status); } &&
7336          { ac_try='test -z "$ac_cxx_werror_flag"
7337                          || test ! -s conftest.err'
7338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7339   (eval $ac_try) 2>&5
7340   ac_status=$?
7341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342   (exit $ac_status); }; } &&
7343          { ac_try='test -s conftest.$ac_objext'
7344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7345   (eval $ac_try) 2>&5
7346   ac_status=$?
7347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348   (exit $ac_status); }; }; then
7349   ac_c99_complex=yes
7350 else
7351   echo "$as_me: failed program was:" >&5
7352 sed 's/^/| /' conftest.$ac_ext >&5
7353
7354 ac_c99_complex=no
7355 fi
7356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7357   fi
7358   echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7359 echo "${ECHO_T}$ac_c99_complex" >&6
7360   if test x"$ac_c99_complex" = x"yes"; then
7361
7362 cat >>confdefs.h <<\_ACEOF
7363 #define _GLIBCXX_USE_C99_COMPLEX 1
7364 _ACEOF
7365
7366   fi
7367
7368   # Check for the existence in <stdio.h> of vscanf, et. al.
7369   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7370 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7371   if test "${ac_c99_stdio+set}" = set; then
7372   echo $ECHO_N "(cached) $ECHO_C" >&6
7373 else
7374
7375   cat >conftest.$ac_ext <<_ACEOF
7376 /* confdefs.h.  */
7377 _ACEOF
7378 cat confdefs.h >>conftest.$ac_ext
7379 cat >>conftest.$ac_ext <<_ACEOF
7380 /* end confdefs.h.  */
7381 #include <stdio.h>
7382                   #include <stdarg.h>
7383                   void foo(char* fmt, ...)
7384                   {
7385                     va_list args; va_start(args, fmt);
7386                     vfscanf(stderr, "%i", args);
7387                     vscanf("%i", args);
7388                     vsnprintf(fmt, 0, "%i", args);
7389                     vsscanf(fmt, "%i", args);
7390                   }
7391 int
7392 main ()
7393 {
7394 snprintf("12", 0, "%i");
7395   ;
7396   return 0;
7397 }
7398 _ACEOF
7399 rm -f conftest.$ac_objext
7400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7401   (eval $ac_compile) 2>conftest.er1
7402   ac_status=$?
7403   grep -v '^ *+' conftest.er1 >conftest.err
7404   rm -f conftest.er1
7405   cat conftest.err >&5
7406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407   (exit $ac_status); } &&
7408          { ac_try='test -z "$ac_cxx_werror_flag"
7409                          || test ! -s conftest.err'
7410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411   (eval $ac_try) 2>&5
7412   ac_status=$?
7413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414   (exit $ac_status); }; } &&
7415          { ac_try='test -s conftest.$ac_objext'
7416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417   (eval $ac_try) 2>&5
7418   ac_status=$?
7419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420   (exit $ac_status); }; }; then
7421   ac_c99_stdio=yes
7422 else
7423   echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7425
7426 ac_c99_stdio=no
7427 fi
7428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7429
7430 fi
7431
7432   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7433 echo "${ECHO_T}$ac_c99_stdio" >&6
7434
7435   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7436   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7437 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7438   if test "${ac_c99_stdlib+set}" = set; then
7439   echo $ECHO_N "(cached) $ECHO_C" >&6
7440 else
7441
7442   cat >conftest.$ac_ext <<_ACEOF
7443 /* confdefs.h.  */
7444 _ACEOF
7445 cat confdefs.h >>conftest.$ac_ext
7446 cat >>conftest.$ac_ext <<_ACEOF
7447 /* end confdefs.h.  */
7448 #include <stdlib.h>
7449 int
7450 main ()
7451 {
7452 char* tmp;
7453                   strtof("gnu", &tmp);
7454                   strtold("gnu", &tmp);
7455                   strtoll("gnu", &tmp, 10);
7456                   strtoull("gnu", &tmp, 10);
7457                   llabs(10);
7458                   lldiv(10,1);
7459                   atoll("10");
7460                   _Exit(0);
7461                   lldiv_t mydivt;
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_cxx_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   ac_c99_stdlib=yes
7489 else
7490   echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.$ac_ext >&5
7492
7493 ac_c99_stdlib=no
7494 fi
7495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7496
7497 fi
7498
7499   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7500 echo "${ECHO_T}$ac_c99_stdlib" >&6
7501
7502   # Check for the existence in <wchar.h> of wcstold, etc.
7503   ac_c99_wchar=no;
7504   if test x"$ac_has_wchar_h" = xyes &&
7505      test x"$ac_has_wctype_h" = xyes; then
7506     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7507 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7508     cat >conftest.$ac_ext <<_ACEOF
7509 /* confdefs.h.  */
7510 _ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h.  */
7514 #include <wchar.h>
7515                     namespace test
7516                     {
7517                       using ::wcstold;
7518                       using ::wcstoll;
7519                       using ::wcstoull;
7520                     }
7521
7522 int
7523 main ()
7524 {
7525
7526   ;
7527   return 0;
7528 }
7529 _ACEOF
7530 rm -f conftest.$ac_objext
7531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7532   (eval $ac_compile) 2>conftest.er1
7533   ac_status=$?
7534   grep -v '^ *+' conftest.er1 >conftest.err
7535   rm -f conftest.er1
7536   cat conftest.err >&5
7537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538   (exit $ac_status); } &&
7539          { ac_try='test -z "$ac_cxx_werror_flag"
7540                          || test ! -s conftest.err'
7541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542   (eval $ac_try) 2>&5
7543   ac_status=$?
7544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545   (exit $ac_status); }; } &&
7546          { ac_try='test -s conftest.$ac_objext'
7547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7548   (eval $ac_try) 2>&5
7549   ac_status=$?
7550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551   (exit $ac_status); }; }; then
7552   ac_c99_wchar=yes
7553 else
7554   echo "$as_me: failed program was:" >&5
7555 sed 's/^/| /' conftest.$ac_ext >&5
7556
7557 ac_c99_wchar=no
7558 fi
7559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7560
7561     # Checks for wide character functions that may not be present.
7562     # Injection of these is wrapped with guard macros.
7563     # NB: only put functions here, instead of immediately above, if
7564     # absolutely necessary.
7565     cat >conftest.$ac_ext <<_ACEOF
7566 /* confdefs.h.  */
7567 _ACEOF
7568 cat confdefs.h >>conftest.$ac_ext
7569 cat >>conftest.$ac_ext <<_ACEOF
7570 /* end confdefs.h.  */
7571 #include <wchar.h>
7572                     namespace test { using ::vfwscanf; }
7573 int
7574 main ()
7575 {
7576
7577   ;
7578   return 0;
7579 }
7580 _ACEOF
7581 rm -f conftest.$ac_objext
7582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7583   (eval $ac_compile) 2>conftest.er1
7584   ac_status=$?
7585   grep -v '^ *+' conftest.er1 >conftest.err
7586   rm -f conftest.er1
7587   cat conftest.err >&5
7588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589   (exit $ac_status); } &&
7590          { ac_try='test -z "$ac_cxx_werror_flag"
7591                          || test ! -s conftest.err'
7592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7593   (eval $ac_try) 2>&5
7594   ac_status=$?
7595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596   (exit $ac_status); }; } &&
7597          { ac_try='test -s conftest.$ac_objext'
7598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7599   (eval $ac_try) 2>&5
7600   ac_status=$?
7601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602   (exit $ac_status); }; }; then
7603
7604 cat >>confdefs.h <<\_ACEOF
7605 #define HAVE_VFWSCANF 1
7606 _ACEOF
7607
7608 else
7609   echo "$as_me: failed program was:" >&5
7610 sed 's/^/| /' conftest.$ac_ext >&5
7611
7612 fi
7613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7614
7615     cat >conftest.$ac_ext <<_ACEOF
7616 /* confdefs.h.  */
7617 _ACEOF
7618 cat confdefs.h >>conftest.$ac_ext
7619 cat >>conftest.$ac_ext <<_ACEOF
7620 /* end confdefs.h.  */
7621 #include <wchar.h>
7622                     namespace test { using ::vswscanf; }
7623 int
7624 main ()
7625 {
7626
7627   ;
7628   return 0;
7629 }
7630 _ACEOF
7631 rm -f conftest.$ac_objext
7632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7633   (eval $ac_compile) 2>conftest.er1
7634   ac_status=$?
7635   grep -v '^ *+' conftest.er1 >conftest.err
7636   rm -f conftest.er1
7637   cat conftest.err >&5
7638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639   (exit $ac_status); } &&
7640          { ac_try='test -z "$ac_cxx_werror_flag"
7641                          || test ! -s conftest.err'
7642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643   (eval $ac_try) 2>&5
7644   ac_status=$?
7645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646   (exit $ac_status); }; } &&
7647          { ac_try='test -s conftest.$ac_objext'
7648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7649   (eval $ac_try) 2>&5
7650   ac_status=$?
7651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652   (exit $ac_status); }; }; then
7653
7654 cat >>confdefs.h <<\_ACEOF
7655 #define HAVE_VSWSCANF 1
7656 _ACEOF
7657
7658 else
7659   echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5
7661
7662 fi
7663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7664
7665     cat >conftest.$ac_ext <<_ACEOF
7666 /* confdefs.h.  */
7667 _ACEOF
7668 cat confdefs.h >>conftest.$ac_ext
7669 cat >>conftest.$ac_ext <<_ACEOF
7670 /* end confdefs.h.  */
7671 #include <wchar.h>
7672                     namespace test { using ::vwscanf; }
7673 int
7674 main ()
7675 {
7676
7677   ;
7678   return 0;
7679 }
7680 _ACEOF
7681 rm -f conftest.$ac_objext
7682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7683   (eval $ac_compile) 2>conftest.er1
7684   ac_status=$?
7685   grep -v '^ *+' conftest.er1 >conftest.err
7686   rm -f conftest.er1
7687   cat conftest.err >&5
7688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689   (exit $ac_status); } &&
7690          { ac_try='test -z "$ac_cxx_werror_flag"
7691                          || test ! -s conftest.err'
7692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7693   (eval $ac_try) 2>&5
7694   ac_status=$?
7695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696   (exit $ac_status); }; } &&
7697          { ac_try='test -s conftest.$ac_objext'
7698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7699   (eval $ac_try) 2>&5
7700   ac_status=$?
7701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702   (exit $ac_status); }; }; then
7703
7704 cat >>confdefs.h <<\_ACEOF
7705 #define HAVE_VWSCANF 1
7706 _ACEOF
7707
7708 else
7709   echo "$as_me: failed program was:" >&5
7710 sed 's/^/| /' conftest.$ac_ext >&5
7711
7712 fi
7713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7714
7715     cat >conftest.$ac_ext <<_ACEOF
7716 /* confdefs.h.  */
7717 _ACEOF
7718 cat confdefs.h >>conftest.$ac_ext
7719 cat >>conftest.$ac_ext <<_ACEOF
7720 /* end confdefs.h.  */
7721 #include <wchar.h>
7722                     namespace test { using ::wcstof; }
7723 int
7724 main ()
7725 {
7726
7727   ;
7728   return 0;
7729 }
7730 _ACEOF
7731 rm -f conftest.$ac_objext
7732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7733   (eval $ac_compile) 2>conftest.er1
7734   ac_status=$?
7735   grep -v '^ *+' conftest.er1 >conftest.err
7736   rm -f conftest.er1
7737   cat conftest.err >&5
7738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739   (exit $ac_status); } &&
7740          { ac_try='test -z "$ac_cxx_werror_flag"
7741                          || test ! -s conftest.err'
7742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7743   (eval $ac_try) 2>&5
7744   ac_status=$?
7745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746   (exit $ac_status); }; } &&
7747          { ac_try='test -s conftest.$ac_objext'
7748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7749   (eval $ac_try) 2>&5
7750   ac_status=$?
7751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752   (exit $ac_status); }; }; then
7753
7754 cat >>confdefs.h <<\_ACEOF
7755 #define HAVE_WCSTOF 1
7756 _ACEOF
7757
7758 else
7759   echo "$as_me: failed program was:" >&5
7760 sed 's/^/| /' conftest.$ac_ext >&5
7761
7762 fi
7763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7764
7765     cat >conftest.$ac_ext <<_ACEOF
7766 /* confdefs.h.  */
7767 _ACEOF
7768 cat confdefs.h >>conftest.$ac_ext
7769 cat >>conftest.$ac_ext <<_ACEOF
7770 /* end confdefs.h.  */
7771 #include <wctype.h>
7772 int
7773 main ()
7774 {
7775  wint_t t; int i = iswblank(t);
7776   ;
7777   return 0;
7778 }
7779 _ACEOF
7780 rm -f conftest.$ac_objext
7781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7782   (eval $ac_compile) 2>conftest.er1
7783   ac_status=$?
7784   grep -v '^ *+' conftest.er1 >conftest.err
7785   rm -f conftest.er1
7786   cat conftest.err >&5
7787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788   (exit $ac_status); } &&
7789          { ac_try='test -z "$ac_cxx_werror_flag"
7790                          || test ! -s conftest.err'
7791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7792   (eval $ac_try) 2>&5
7793   ac_status=$?
7794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795   (exit $ac_status); }; } &&
7796          { ac_try='test -s conftest.$ac_objext'
7797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7798   (eval $ac_try) 2>&5
7799   ac_status=$?
7800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801   (exit $ac_status); }; }; then
7802
7803 cat >>confdefs.h <<\_ACEOF
7804 #define HAVE_ISWBLANK 1
7805 _ACEOF
7806
7807 else
7808   echo "$as_me: failed program was:" >&5
7809 sed 's/^/| /' conftest.$ac_ext >&5
7810
7811 fi
7812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7813
7814     echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7815 echo "${ECHO_T}$ac_c99_wchar" >&6
7816   fi
7817
7818   # Option parsed, now set things appropriately.
7819   if test x"$ac_c99_math" = x"no" ||
7820      test x"$ac_c99_complex" = x"no" ||
7821      test x"$ac_c99_stdio" = x"no" ||
7822      test x"$ac_c99_stdlib" = x"no" ||
7823      test x"$ac_c99_wchar" = x"no"; then
7824     enable_c99=no;
7825   else
7826
7827 cat >>confdefs.h <<\_ACEOF
7828 #define _GLIBCXX_USE_C99 1
7829 _ACEOF
7830
7831   fi
7832
7833   ac_ext=c
7834 ac_cpp='$CPP $CPPFLAGS'
7835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7838
7839   fi
7840
7841   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7842 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7843   echo "$as_me:$LINENO: result: $enable_c99" >&5
7844 echo "${ECHO_T}$enable_c99" >&6
7845
7846
7847    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7848 if test "${enable_concept_checks+set}" = set; then
7849   enableval="$enable_concept_checks"
7850
7851       case "$enableval" in
7852        yes|no) ;;
7853        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7854 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7855    { (exit 1); exit 1; }; } ;;
7856       esac
7857
7858 else
7859   enable_concept_checks=no
7860 fi;
7861
7862   if test $enable_concept_checks = yes; then
7863
7864 cat >>confdefs.h <<\_ACEOF
7865 #define _GLIBCXX_CONCEPT_CHECKS 1
7866 _ACEOF
7867
7868   fi
7869
7870
7871    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7872 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7873   enableval="$enable_libstdcxx_debug_flags"
7874   case "x$enable_libstdcxx_debug_flags" in
7875       xno | x)    enable_libstdcxx_debug_flags= ;;
7876       x-*)        ;;
7877       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7878 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7879    { (exit 1); exit 1; }; } ;;
7880      esac
7881 else
7882   enable_libstdcxx_debug_flags="-g3 -O0"
7883 fi;
7884
7885
7886   # Option parsed, now set things appropriately
7887   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7888
7889
7890   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7891 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7892
7893
7894   echo "$as_me:$LINENO: checking for additional debug build" >&5
7895 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7896    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7897 if test "${enable_libstdcxx_debug+set}" = set; then
7898   enableval="$enable_libstdcxx_debug"
7899
7900       case "$enableval" in
7901        yes|no) ;;
7902        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7903 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7904    { (exit 1); exit 1; }; } ;;
7905       esac
7906
7907 else
7908   enable_libstdcxx_debug=no
7909 fi;
7910
7911   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7912 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7913
7914
7915   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7916 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7917    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7918 if test "${enable_cxx_flags+set}" = set; then
7919   enableval="$enable_cxx_flags"
7920   case "x$enable_cxx_flags" in
7921       xno | x)   enable_cxx_flags= ;;
7922       x-*)       ;;
7923       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7924 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7925    { (exit 1); exit 1; }; } ;;
7926      esac
7927 else
7928   enable_cxx_flags=
7929 fi;
7930
7931
7932   # Run through flags (either default or command-line) and set anything
7933   # extra (e.g., #defines) that must accompany particular g++ options.
7934   if test -n "$enable_cxx_flags"; then
7935     for f in $enable_cxx_flags; do
7936       case "$f" in
7937         -fhonor-std)  ;;
7938         -*)  ;;
7939         *)   # and we're trying to pass /what/ exactly?
7940              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7941 echo "$as_me: error: compiler flags start with a -" >&2;}
7942    { (exit 1); exit 1; }; } ;;
7943       esac
7944     done
7945   fi
7946
7947   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7948   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7949 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7950
7951
7952
7953    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7954 if test "${enable_fully_dynamic_string+set}" = set; then
7955   enableval="$enable_fully_dynamic_string"
7956
7957       case "$enableval" in
7958        yes|no) ;;
7959        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7960 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7961    { (exit 1); exit 1; }; } ;;
7962       esac
7963
7964 else
7965   enable_fully_dynamic_string=no
7966 fi;
7967
7968   if test $enable_fully_dynamic_string = yes; then
7969
7970 cat >>confdefs.h <<\_ACEOF
7971 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7972 _ACEOF
7973
7974   fi
7975
7976
7977 # No surprises, no surprises...
7978
7979   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7980 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7981   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7982   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7983 echo "${ECHO_T}$target_thread_file" >&6
7984
7985   if test $target_thread_file != single; then
7986
7987 cat >>confdefs.h <<\_ACEOF
7988 #define HAVE_GTHR_DEFAULT 1
7989 _ACEOF
7990
7991   fi
7992
7993   glibcxx_thread_h=gthr-$target_thread_file.h
7994
7995     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7996   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7997     enable_thread=yes
7998   else
7999    enable_thread=no
8000   fi
8001
8002
8003
8004
8005   echo "$as_me:$LINENO: checking for atomic builtins" >&5
8006 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
8007
8008
8009   ac_ext=cc
8010 ac_cpp='$CXXCPP $CPPFLAGS'
8011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8014
8015
8016   # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
8017     cat > conftest.$ac_ext << EOF
8018 #line 8018 "configure"
8019 int main()
8020 {
8021   // NB: _Atomic_word not necessarily int.
8022   typedef int atomic_type;
8023   atomic_type c1;
8024   atomic_type c2;
8025   const atomic_type c3(0);
8026   if (__sync_fetch_and_add(&c1, c2) == c3)
8027     {
8028       // Do something.
8029     }
8030    return 0;
8031 }
8032 EOF
8033     old_CXXFLAGS="$CXXFLAGS"
8034     CXXFLAGS=-S
8035     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8036   (eval $ac_compile) 2>&5
8037   ac_status=$?
8038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039   (exit $ac_status); }; then
8040       if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
8041         enable_atomic_builtins=no
8042       else
8043
8044 cat >>confdefs.h <<\_ACEOF
8045 #define _GLIBCXX_ATOMIC_BUILTINS 1
8046 _ACEOF
8047
8048         enable_atomic_builtins=yes
8049         atomicity_dir=cpu/generic/atomicity_builtins
8050       fi
8051     fi
8052     CXXFLAGS="$old_CXXFLAGS"
8053     rm -f conftest*
8054
8055    # Now, if still generic, set to mutex.
8056   if test $atomicity_dir = "cpu/generic" ; then
8057         atomicity_dir=cpu/generic/atomicity_mutex
8058   fi
8059  ac_ext=c
8060 ac_cpp='$CPP $CPPFLAGS'
8061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8064
8065  echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
8066 echo "${ECHO_T}$enable_atomic_builtins" >&6
8067
8068 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
8069   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
8070 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8071   if test $target_thread_file = single; then
8072     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8073 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8074     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8075 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8076   else
8077     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8078 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8079     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8080 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8081   fi
8082 fi
8083
8084
8085   # All these tests are for C++; save the language and the compiler flags.
8086   # The CXXFLAGS thing is suspicious, but based on similar bits previously
8087   # found in GLIBCXX_CONFIGURE.
8088
8089
8090   ac_ext=cc
8091 ac_cpp='$CXXCPP $CPPFLAGS'
8092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8095
8096   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8097   ac_save_CXXFLAGS="$CXXFLAGS"
8098
8099   # Check for maintainer-mode bits.
8100   if test x"$USE_MAINTAINER_MODE" = xno; then
8101     WERROR=''
8102   else
8103     WERROR='-Werror'
8104   fi
8105
8106   # Check for -ffunction-sections -fdata-sections
8107   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8108 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8109   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8110   cat >conftest.$ac_ext <<_ACEOF
8111 /* confdefs.h.  */
8112 _ACEOF
8113 cat confdefs.h >>conftest.$ac_ext
8114 cat >>conftest.$ac_ext <<_ACEOF
8115 /* end confdefs.h.  */
8116
8117 int
8118 main ()
8119 {
8120 int foo;
8121   ;
8122   return 0;
8123 }
8124 _ACEOF
8125 rm -f conftest.$ac_objext
8126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8127   (eval $ac_compile) 2>conftest.er1
8128   ac_status=$?
8129   grep -v '^ *+' conftest.er1 >conftest.err
8130   rm -f conftest.er1
8131   cat conftest.err >&5
8132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133   (exit $ac_status); } &&
8134          { ac_try='test -z "$ac_cxx_werror_flag"
8135                          || test ! -s conftest.err'
8136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8137   (eval $ac_try) 2>&5
8138   ac_status=$?
8139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140   (exit $ac_status); }; } &&
8141          { ac_try='test -s conftest.$ac_objext'
8142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8143   (eval $ac_try) 2>&5
8144   ac_status=$?
8145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146   (exit $ac_status); }; }; then
8147   ac_fdsections=yes
8148 else
8149   echo "$as_me: failed program was:" >&5
8150 sed 's/^/| /' conftest.$ac_ext >&5
8151
8152 ac_fdsections=no
8153 fi
8154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8155   if test "$ac_test_CXXFLAGS" = set; then
8156     CXXFLAGS="$ac_save_CXXFLAGS"
8157   else
8158     # this is the suspicious part
8159     CXXFLAGS=''
8160   fi
8161   if test x"$ac_fdsections" = x"yes"; then
8162     SECTION_FLAGS='-ffunction-sections -fdata-sections'
8163   fi
8164   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8165 echo "${ECHO_T}$ac_fdsections" >&6
8166
8167   ac_ext=c
8168 ac_cpp='$CPP $CPPFLAGS'
8169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8172
8173
8174
8175
8176
8177 if $GLIBCXX_IS_NATIVE; then
8178
8179   # We can do more elaborate tests that assume a working linker.
8180   CANADIAN=no
8181
8182   # Check for available headers.
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8199   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8200   sys/types.h sys/ipc.h sys/sem.h
8201 do
8202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8204   echo "$as_me:$LINENO: checking for $ac_header" >&5
8205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8207   echo $ECHO_N "(cached) $ECHO_C" >&6
8208 fi
8209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8211 else
8212   # Is the header compilable?
8213 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8215 cat >conftest.$ac_ext <<_ACEOF
8216 /* confdefs.h.  */
8217 _ACEOF
8218 cat confdefs.h >>conftest.$ac_ext
8219 cat >>conftest.$ac_ext <<_ACEOF
8220 /* end confdefs.h.  */
8221 $ac_includes_default
8222 #include <$ac_header>
8223 _ACEOF
8224 rm -f conftest.$ac_objext
8225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8226   (eval $ac_compile) 2>conftest.er1
8227   ac_status=$?
8228   grep -v '^ *+' conftest.er1 >conftest.err
8229   rm -f conftest.er1
8230   cat conftest.err >&5
8231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232   (exit $ac_status); } &&
8233          { ac_try='test -z "$ac_c_werror_flag"
8234                          || test ! -s conftest.err'
8235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8236   (eval $ac_try) 2>&5
8237   ac_status=$?
8238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239   (exit $ac_status); }; } &&
8240          { ac_try='test -s conftest.$ac_objext'
8241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8242   (eval $ac_try) 2>&5
8243   ac_status=$?
8244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245   (exit $ac_status); }; }; then
8246   ac_header_compiler=yes
8247 else
8248   echo "$as_me: failed program was:" >&5
8249 sed 's/^/| /' conftest.$ac_ext >&5
8250
8251 ac_header_compiler=no
8252 fi
8253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8255 echo "${ECHO_T}$ac_header_compiler" >&6
8256
8257 # Is the header present?
8258 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8259 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8260 cat >conftest.$ac_ext <<_ACEOF
8261 /* confdefs.h.  */
8262 _ACEOF
8263 cat confdefs.h >>conftest.$ac_ext
8264 cat >>conftest.$ac_ext <<_ACEOF
8265 /* end confdefs.h.  */
8266 #include <$ac_header>
8267 _ACEOF
8268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8269   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8270   ac_status=$?
8271   grep -v '^ *+' conftest.er1 >conftest.err
8272   rm -f conftest.er1
8273   cat conftest.err >&5
8274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275   (exit $ac_status); } >/dev/null; then
8276   if test -s conftest.err; then
8277     ac_cpp_err=$ac_c_preproc_warn_flag
8278     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8279   else
8280     ac_cpp_err=
8281   fi
8282 else
8283   ac_cpp_err=yes
8284 fi
8285 if test -z "$ac_cpp_err"; then
8286   ac_header_preproc=yes
8287 else
8288   echo "$as_me: failed program was:" >&5
8289 sed 's/^/| /' conftest.$ac_ext >&5
8290
8291   ac_header_preproc=no
8292 fi
8293 rm -f conftest.err conftest.$ac_ext
8294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8295 echo "${ECHO_T}$ac_header_preproc" >&6
8296
8297 # So?  What about this header?
8298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8299   yes:no: )
8300     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8301 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8302     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8303 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8304     ac_header_preproc=yes
8305     ;;
8306   no:yes:* )
8307     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8308 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8309     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8310 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8311     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8312 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8313     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8314 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8315     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8316 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8317     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8318 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8319     (
8320       cat <<\_ASBOX
8321 ## ----------------------------------------- ##
8322 ## Report this to the package-unused lists.  ##
8323 ## ----------------------------------------- ##
8324 _ASBOX
8325     ) |
8326       sed "s/^/$as_me: WARNING:     /" >&2
8327     ;;
8328 esac
8329 echo "$as_me:$LINENO: checking for $ac_header" >&5
8330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8332   echo $ECHO_N "(cached) $ECHO_C" >&6
8333 else
8334   eval "$as_ac_Header=\$ac_header_preproc"
8335 fi
8336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8338
8339 fi
8340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8341   cat >>confdefs.h <<_ACEOF
8342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8343 _ACEOF
8344
8345 fi
8346
8347 done
8348
8349
8350
8351   # If we're not using GNU ld, then there's no point in even trying these
8352   # tests.  Check for that first.  We should have already tested for gld
8353   # by now (in libtool), but require it now just to be safe...
8354   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8355   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8356
8357
8358
8359   # The name set by libtool depends on the version of libtool.  Shame on us
8360   # for depending on an impl detail, but c'est la vie.  Older versions used
8361   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8362   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8363   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
8364   # set (hence we're using an older libtool), then set it.
8365   if test x${with_gnu_ld+set} != xset; then
8366     if test x${ac_cv_prog_gnu_ld+set} != xset; then
8367       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
8368       with_gnu_ld=no
8369     else
8370       with_gnu_ld=$ac_cv_prog_gnu_ld
8371     fi
8372   fi
8373
8374   # Start by getting the version number.  I think the libtool test already
8375   # does some of this, but throws away the result.
8376   if test x"$with_gnu_ld" = x"yes"; then
8377     echo "$as_me:$LINENO: checking for ld version" >&5
8378 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8379
8380     ldver=`$LD --version 2>/dev/null | head -1 | \
8381            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
8382
8383     glibcxx_gnu_ld_version=`echo $ldver | \
8384            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8385     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8386 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8387   fi
8388
8389   # Set --gc-sections.
8390   glibcxx_gcsections_min_ld=21602
8391   if test x"$with_gnu_ld" = x"yes" &&
8392         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8393
8394     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
8395     # NB: This flag only works reliably after 2.16.1. Configure tests
8396     # for this are difficult, so hard wire a value that should work.
8397
8398     # All these tests are for C++, but run with the "C" compiler driver.
8399     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8400     ac_test_CFLAGS="${CFLAGS+set}"
8401     ac_save_CFLAGS="$CFLAGS"
8402     CFLAGS='-x c++ -Wl,--gc-sections'
8403
8404     # Check for -Wl,--gc-sections
8405     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8406 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8407     if test x$gcc_no_link = xyes; then
8408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8410    { (exit 1); exit 1; }; }
8411 fi
8412 cat >conftest.$ac_ext <<_ACEOF
8413 /* confdefs.h.  */
8414 _ACEOF
8415 cat confdefs.h >>conftest.$ac_ext
8416 cat >>conftest.$ac_ext <<_ACEOF
8417 /* end confdefs.h.  */
8418  int one(void) { return 1; }
8419      int two(void) { return 2; }
8420
8421 int
8422 main ()
8423 {
8424  two();
8425   ;
8426   return 0;
8427 }
8428 _ACEOF
8429 rm -f conftest.$ac_objext conftest$ac_exeext
8430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8431   (eval $ac_link) 2>conftest.er1
8432   ac_status=$?
8433   grep -v '^ *+' conftest.er1 >conftest.err
8434   rm -f conftest.er1
8435   cat conftest.err >&5
8436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437   (exit $ac_status); } &&
8438          { ac_try='test -z "$ac_c_werror_flag"
8439                          || test ! -s conftest.err'
8440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8441   (eval $ac_try) 2>&5
8442   ac_status=$?
8443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444   (exit $ac_status); }; } &&
8445          { ac_try='test -s conftest$ac_exeext'
8446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8447   (eval $ac_try) 2>&5
8448   ac_status=$?
8449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450   (exit $ac_status); }; }; then
8451   ac_gcsections=yes
8452 else
8453   echo "$as_me: failed program was:" >&5
8454 sed 's/^/| /' conftest.$ac_ext >&5
8455
8456 ac_gcsections=no
8457 fi
8458 rm -f conftest.err conftest.$ac_objext \
8459       conftest$ac_exeext conftest.$ac_ext
8460     if test "$ac_gcsections" = "yes"; then
8461       rm -f conftest.c
8462       touch conftest.c
8463       if $CC -c conftest.c; then
8464         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8465            grep "Warning: gc-sections option ignored" > /dev/null; then
8466           ac_gcsections=no
8467         fi
8468       fi
8469       rm -f conftest.c conftest.o conftest
8470     fi
8471     if test "$ac_gcsections" = "yes"; then
8472       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8473     fi
8474     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8475 echo "${ECHO_T}$ac_gcsections" >&6
8476
8477     if test "$ac_test_CFLAGS" = set; then
8478       CFLAGS="$ac_save_CFLAGS"
8479     else
8480       # this is the suspicious part
8481       CFLAGS=''
8482     fi
8483   fi
8484
8485   # Set -z,relro.
8486   # Note this is only for shared objects.
8487   ac_ld_relro=no
8488   if test x"$with_gnu_ld" = x"yes"; then
8489     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8490 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8491     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8492     if test -n "$cxx_z_relo"; then
8493       OPT_LDFLAGS="-Wl,-z,relro"
8494       ac_ld_relro=yes
8495     fi
8496     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8497 echo "${ECHO_T}$ac_ld_relro" >&6
8498   fi
8499
8500   # Set linker optimization flags.
8501   if test x"$with_gnu_ld" = x"yes"; then
8502     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8503   fi
8504
8505
8506
8507
8508
8509   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8510   ac_save_CXXFLAGS="$CXXFLAGS"
8511   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8512
8513     echo "$as_me:$LINENO: checking for sin in -lm" >&5
8514 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8515 if test "${ac_cv_lib_m_sin+set}" = set; then
8516   echo $ECHO_N "(cached) $ECHO_C" >&6
8517 else
8518   ac_check_lib_save_LIBS=$LIBS
8519 LIBS="-lm  $LIBS"
8520 if test x$gcc_no_link = xyes; then
8521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8523    { (exit 1); exit 1; }; }
8524 fi
8525 cat >conftest.$ac_ext <<_ACEOF
8526 /* confdefs.h.  */
8527 _ACEOF
8528 cat confdefs.h >>conftest.$ac_ext
8529 cat >>conftest.$ac_ext <<_ACEOF
8530 /* end confdefs.h.  */
8531
8532 /* Override any gcc2 internal prototype to avoid an error.  */
8533 #ifdef __cplusplus
8534 extern "C"
8535 #endif
8536 /* We use char because int might match the return type of a gcc2
8537    builtin and then its argument prototype would still apply.  */
8538 char sin ();
8539 int
8540 main ()
8541 {
8542 sin ();
8543   ;
8544   return 0;
8545 }
8546 _ACEOF
8547 rm -f conftest.$ac_objext conftest$ac_exeext
8548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8549   (eval $ac_link) 2>conftest.er1
8550   ac_status=$?
8551   grep -v '^ *+' conftest.er1 >conftest.err
8552   rm -f conftest.er1
8553   cat conftest.err >&5
8554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555   (exit $ac_status); } &&
8556          { ac_try='test -z "$ac_c_werror_flag"
8557                          || test ! -s conftest.err'
8558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8559   (eval $ac_try) 2>&5
8560   ac_status=$?
8561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562   (exit $ac_status); }; } &&
8563          { ac_try='test -s conftest$ac_exeext'
8564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8565   (eval $ac_try) 2>&5
8566   ac_status=$?
8567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568   (exit $ac_status); }; }; then
8569   ac_cv_lib_m_sin=yes
8570 else
8571   echo "$as_me: failed program was:" >&5
8572 sed 's/^/| /' conftest.$ac_ext >&5
8573
8574 ac_cv_lib_m_sin=no
8575 fi
8576 rm -f conftest.err conftest.$ac_objext \
8577       conftest$ac_exeext conftest.$ac_ext
8578 LIBS=$ac_check_lib_save_LIBS
8579 fi
8580 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8581 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8582 if test $ac_cv_lib_m_sin = yes; then
8583   libm="-lm"
8584 fi
8585
8586   ac_save_LIBS="$LIBS"
8587   LIBS="$LIBS $libm"
8588
8589
8590
8591   echo "$as_me:$LINENO: checking for isinf declaration" >&5
8592 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8593   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8594     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8595   echo $ECHO_N "(cached) $ECHO_C" >&6
8596 else
8597
8598
8599
8600       ac_ext=cc
8601 ac_cpp='$CXXCPP $CPPFLAGS'
8602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8605
8606       cat >conftest.$ac_ext <<_ACEOF
8607 /* confdefs.h.  */
8608 _ACEOF
8609 cat confdefs.h >>conftest.$ac_ext
8610 cat >>conftest.$ac_ext <<_ACEOF
8611 /* end confdefs.h.  */
8612 #include <math.h>
8613                       #ifdef HAVE_IEEEFP_H
8614                       #include <ieeefp.h>
8615                       #endif
8616
8617 int
8618 main ()
8619 {
8620  isinf(0);
8621   ;
8622   return 0;
8623 }
8624 _ACEOF
8625 rm -f conftest.$ac_objext
8626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8627   (eval $ac_compile) 2>conftest.er1
8628   ac_status=$?
8629   grep -v '^ *+' conftest.er1 >conftest.err
8630   rm -f conftest.er1
8631   cat conftest.err >&5
8632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633   (exit $ac_status); } &&
8634          { ac_try='test -z "$ac_cxx_werror_flag"
8635                          || test ! -s conftest.err'
8636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8637   (eval $ac_try) 2>&5
8638   ac_status=$?
8639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640   (exit $ac_status); }; } &&
8641          { ac_try='test -s conftest.$ac_objext'
8642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8643   (eval $ac_try) 2>&5
8644   ac_status=$?
8645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646   (exit $ac_status); }; }; then
8647   glibcxx_cv_func_isinf_use=yes
8648 else
8649   echo "$as_me: failed program was:" >&5
8650 sed 's/^/| /' conftest.$ac_ext >&5
8651
8652 glibcxx_cv_func_isinf_use=no
8653 fi
8654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8655       ac_ext=c
8656 ac_cpp='$CPP $CPPFLAGS'
8657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8660
8661
8662 fi
8663
8664   fi
8665   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8666 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8667
8668   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8669
8670 for ac_func in isinf
8671 do
8672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8673 echo "$as_me:$LINENO: checking for $ac_func" >&5
8674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8675 if eval "test \"\${$as_ac_var+set}\" = set"; then
8676   echo $ECHO_N "(cached) $ECHO_C" >&6
8677 else
8678   if test x$gcc_no_link = xyes; then
8679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8681    { (exit 1); exit 1; }; }
8682 fi
8683 cat >conftest.$ac_ext <<_ACEOF
8684 /* confdefs.h.  */
8685 _ACEOF
8686 cat confdefs.h >>conftest.$ac_ext
8687 cat >>conftest.$ac_ext <<_ACEOF
8688 /* end confdefs.h.  */
8689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8690    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8691 #define $ac_func innocuous_$ac_func
8692
8693 /* System header to define __stub macros and hopefully few prototypes,
8694     which can conflict with char $ac_func (); below.
8695     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8696     <limits.h> exists even on freestanding compilers.  */
8697
8698 #ifdef __STDC__
8699 # include <limits.h>
8700 #else
8701 # include <assert.h>
8702 #endif
8703
8704 #undef $ac_func
8705
8706 /* Override any gcc2 internal prototype to avoid an error.  */
8707 #ifdef __cplusplus
8708 extern "C"
8709 {
8710 #endif
8711 /* We use char because int might match the return type of a gcc2
8712    builtin and then its argument prototype would still apply.  */
8713 char $ac_func ();
8714 /* The GNU C library defines this for functions which it implements
8715     to always fail with ENOSYS.  Some functions are actually named
8716     something starting with __ and the normal name is an alias.  */
8717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8718 choke me
8719 #else
8720 char (*f) () = $ac_func;
8721 #endif
8722 #ifdef __cplusplus
8723 }
8724 #endif
8725
8726 int
8727 main ()
8728 {
8729 return f != $ac_func;
8730   ;
8731   return 0;
8732 }
8733 _ACEOF
8734 rm -f conftest.$ac_objext conftest$ac_exeext
8735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8736   (eval $ac_link) 2>conftest.er1
8737   ac_status=$?
8738   grep -v '^ *+' conftest.er1 >conftest.err
8739   rm -f conftest.er1
8740   cat conftest.err >&5
8741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742   (exit $ac_status); } &&
8743          { ac_try='test -z "$ac_c_werror_flag"
8744                          || test ! -s conftest.err'
8745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8746   (eval $ac_try) 2>&5
8747   ac_status=$?
8748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749   (exit $ac_status); }; } &&
8750          { ac_try='test -s conftest$ac_exeext'
8751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8752   (eval $ac_try) 2>&5
8753   ac_status=$?
8754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755   (exit $ac_status); }; }; then
8756   eval "$as_ac_var=yes"
8757 else
8758   echo "$as_me: failed program was:" >&5
8759 sed 's/^/| /' conftest.$ac_ext >&5
8760
8761 eval "$as_ac_var=no"
8762 fi
8763 rm -f conftest.err conftest.$ac_objext \
8764       conftest$ac_exeext conftest.$ac_ext
8765 fi
8766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8768 if test `eval echo '${'$as_ac_var'}'` = yes; then
8769   cat >>confdefs.h <<_ACEOF
8770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8771 _ACEOF
8772
8773 fi
8774 done
8775
8776   else
8777
8778   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8779 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8780   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8781     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8782   echo $ECHO_N "(cached) $ECHO_C" >&6
8783 else
8784
8785
8786
8787       ac_ext=cc
8788 ac_cpp='$CXXCPP $CPPFLAGS'
8789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8792
8793       cat >conftest.$ac_ext <<_ACEOF
8794 /* confdefs.h.  */
8795 _ACEOF
8796 cat confdefs.h >>conftest.$ac_ext
8797 cat >>conftest.$ac_ext <<_ACEOF
8798 /* end confdefs.h.  */
8799 #include <math.h>
8800                       #ifdef HAVE_IEEEFP_H
8801                       #include <ieeefp.h>
8802                       #endif
8803
8804 int
8805 main ()
8806 {
8807  _isinf(0);
8808   ;
8809   return 0;
8810 }
8811 _ACEOF
8812 rm -f conftest.$ac_objext
8813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8814   (eval $ac_compile) 2>conftest.er1
8815   ac_status=$?
8816   grep -v '^ *+' conftest.er1 >conftest.err
8817   rm -f conftest.er1
8818   cat conftest.err >&5
8819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820   (exit $ac_status); } &&
8821          { ac_try='test -z "$ac_cxx_werror_flag"
8822                          || test ! -s conftest.err'
8823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824   (eval $ac_try) 2>&5
8825   ac_status=$?
8826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827   (exit $ac_status); }; } &&
8828          { ac_try='test -s conftest.$ac_objext'
8829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830   (eval $ac_try) 2>&5
8831   ac_status=$?
8832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833   (exit $ac_status); }; }; then
8834   glibcxx_cv_func__isinf_use=yes
8835 else
8836   echo "$as_me: failed program was:" >&5
8837 sed 's/^/| /' conftest.$ac_ext >&5
8838
8839 glibcxx_cv_func__isinf_use=no
8840 fi
8841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8842       ac_ext=c
8843 ac_cpp='$CPP $CPPFLAGS'
8844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8847
8848
8849 fi
8850
8851   fi
8852   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8853 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8854
8855     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8856
8857 for ac_func in _isinf
8858 do
8859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8860 echo "$as_me:$LINENO: checking for $ac_func" >&5
8861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8862 if eval "test \"\${$as_ac_var+set}\" = set"; then
8863   echo $ECHO_N "(cached) $ECHO_C" >&6
8864 else
8865   if test x$gcc_no_link = xyes; then
8866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8868    { (exit 1); exit 1; }; }
8869 fi
8870 cat >conftest.$ac_ext <<_ACEOF
8871 /* confdefs.h.  */
8872 _ACEOF
8873 cat confdefs.h >>conftest.$ac_ext
8874 cat >>conftest.$ac_ext <<_ACEOF
8875 /* end confdefs.h.  */
8876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8878 #define $ac_func innocuous_$ac_func
8879
8880 /* System header to define __stub macros and hopefully few prototypes,
8881     which can conflict with char $ac_func (); below.
8882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8883     <limits.h> exists even on freestanding compilers.  */
8884
8885 #ifdef __STDC__
8886 # include <limits.h>
8887 #else
8888 # include <assert.h>
8889 #endif
8890
8891 #undef $ac_func
8892
8893 /* Override any gcc2 internal prototype to avoid an error.  */
8894 #ifdef __cplusplus
8895 extern "C"
8896 {
8897 #endif
8898 /* We use char because int might match the return type of a gcc2
8899    builtin and then its argument prototype would still apply.  */
8900 char $ac_func ();
8901 /* The GNU C library defines this for functions which it implements
8902     to always fail with ENOSYS.  Some functions are actually named
8903     something starting with __ and the normal name is an alias.  */
8904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8905 choke me
8906 #else
8907 char (*f) () = $ac_func;
8908 #endif
8909 #ifdef __cplusplus
8910 }
8911 #endif
8912
8913 int
8914 main ()
8915 {
8916 return f != $ac_func;
8917   ;
8918   return 0;
8919 }
8920 _ACEOF
8921 rm -f conftest.$ac_objext conftest$ac_exeext
8922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8923   (eval $ac_link) 2>conftest.er1
8924   ac_status=$?
8925   grep -v '^ *+' conftest.er1 >conftest.err
8926   rm -f conftest.er1
8927   cat conftest.err >&5
8928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929   (exit $ac_status); } &&
8930          { ac_try='test -z "$ac_c_werror_flag"
8931                          || test ! -s conftest.err'
8932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8933   (eval $ac_try) 2>&5
8934   ac_status=$?
8935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936   (exit $ac_status); }; } &&
8937          { ac_try='test -s conftest$ac_exeext'
8938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8939   (eval $ac_try) 2>&5
8940   ac_status=$?
8941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942   (exit $ac_status); }; }; then
8943   eval "$as_ac_var=yes"
8944 else
8945   echo "$as_me: failed program was:" >&5
8946 sed 's/^/| /' conftest.$ac_ext >&5
8947
8948 eval "$as_ac_var=no"
8949 fi
8950 rm -f conftest.err conftest.$ac_objext \
8951       conftest$ac_exeext conftest.$ac_ext
8952 fi
8953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8955 if test `eval echo '${'$as_ac_var'}'` = yes; then
8956   cat >>confdefs.h <<_ACEOF
8957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8958 _ACEOF
8959
8960 fi
8961 done
8962
8963     fi
8964   fi
8965
8966
8967
8968
8969
8970
8971   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8972 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8973   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8974     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8975   echo $ECHO_N "(cached) $ECHO_C" >&6
8976 else
8977
8978
8979
8980       ac_ext=cc
8981 ac_cpp='$CXXCPP $CPPFLAGS'
8982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8985
8986       cat >conftest.$ac_ext <<_ACEOF
8987 /* confdefs.h.  */
8988 _ACEOF
8989 cat confdefs.h >>conftest.$ac_ext
8990 cat >>conftest.$ac_ext <<_ACEOF
8991 /* end confdefs.h.  */
8992 #include <math.h>
8993                       #ifdef HAVE_IEEEFP_H
8994                       #include <ieeefp.h>
8995                       #endif
8996
8997 int
8998 main ()
8999 {
9000  isnan(0);
9001   ;
9002   return 0;
9003 }
9004 _ACEOF
9005 rm -f conftest.$ac_objext
9006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9007   (eval $ac_compile) 2>conftest.er1
9008   ac_status=$?
9009   grep -v '^ *+' conftest.er1 >conftest.err
9010   rm -f conftest.er1
9011   cat conftest.err >&5
9012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013   (exit $ac_status); } &&
9014          { ac_try='test -z "$ac_cxx_werror_flag"
9015                          || test ! -s conftest.err'
9016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9017   (eval $ac_try) 2>&5
9018   ac_status=$?
9019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020   (exit $ac_status); }; } &&
9021          { ac_try='test -s conftest.$ac_objext'
9022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9023   (eval $ac_try) 2>&5
9024   ac_status=$?
9025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026   (exit $ac_status); }; }; then
9027   glibcxx_cv_func_isnan_use=yes
9028 else
9029   echo "$as_me: failed program was:" >&5
9030 sed 's/^/| /' conftest.$ac_ext >&5
9031
9032 glibcxx_cv_func_isnan_use=no
9033 fi
9034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9035       ac_ext=c
9036 ac_cpp='$CPP $CPPFLAGS'
9037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9040
9041
9042 fi
9043
9044   fi
9045   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
9046 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
9047
9048   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9049
9050 for ac_func in isnan
9051 do
9052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9053 echo "$as_me:$LINENO: checking for $ac_func" >&5
9054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9055 if eval "test \"\${$as_ac_var+set}\" = set"; then
9056   echo $ECHO_N "(cached) $ECHO_C" >&6
9057 else
9058   if test x$gcc_no_link = xyes; then
9059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9061    { (exit 1); exit 1; }; }
9062 fi
9063 cat >conftest.$ac_ext <<_ACEOF
9064 /* confdefs.h.  */
9065 _ACEOF
9066 cat confdefs.h >>conftest.$ac_ext
9067 cat >>conftest.$ac_ext <<_ACEOF
9068 /* end confdefs.h.  */
9069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9071 #define $ac_func innocuous_$ac_func
9072
9073 /* System header to define __stub macros and hopefully few prototypes,
9074     which can conflict with char $ac_func (); below.
9075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9076     <limits.h> exists even on freestanding compilers.  */
9077
9078 #ifdef __STDC__
9079 # include <limits.h>
9080 #else
9081 # include <assert.h>
9082 #endif
9083
9084 #undef $ac_func
9085
9086 /* Override any gcc2 internal prototype to avoid an error.  */
9087 #ifdef __cplusplus
9088 extern "C"
9089 {
9090 #endif
9091 /* We use char because int might match the return type of a gcc2
9092    builtin and then its argument prototype would still apply.  */
9093 char $ac_func ();
9094 /* The GNU C library defines this for functions which it implements
9095     to always fail with ENOSYS.  Some functions are actually named
9096     something starting with __ and the normal name is an alias.  */
9097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9098 choke me
9099 #else
9100 char (*f) () = $ac_func;
9101 #endif
9102 #ifdef __cplusplus
9103 }
9104 #endif
9105
9106 int
9107 main ()
9108 {
9109 return f != $ac_func;
9110   ;
9111   return 0;
9112 }
9113 _ACEOF
9114 rm -f conftest.$ac_objext conftest$ac_exeext
9115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9116   (eval $ac_link) 2>conftest.er1
9117   ac_status=$?
9118   grep -v '^ *+' conftest.er1 >conftest.err
9119   rm -f conftest.er1
9120   cat conftest.err >&5
9121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122   (exit $ac_status); } &&
9123          { ac_try='test -z "$ac_c_werror_flag"
9124                          || test ! -s conftest.err'
9125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9126   (eval $ac_try) 2>&5
9127   ac_status=$?
9128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129   (exit $ac_status); }; } &&
9130          { ac_try='test -s conftest$ac_exeext'
9131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132   (eval $ac_try) 2>&5
9133   ac_status=$?
9134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135   (exit $ac_status); }; }; then
9136   eval "$as_ac_var=yes"
9137 else
9138   echo "$as_me: failed program was:" >&5
9139 sed 's/^/| /' conftest.$ac_ext >&5
9140
9141 eval "$as_ac_var=no"
9142 fi
9143 rm -f conftest.err conftest.$ac_objext \
9144       conftest$ac_exeext conftest.$ac_ext
9145 fi
9146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9148 if test `eval echo '${'$as_ac_var'}'` = yes; then
9149   cat >>confdefs.h <<_ACEOF
9150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9151 _ACEOF
9152
9153 fi
9154 done
9155
9156   else
9157
9158   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9159 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9160   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9161     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9162   echo $ECHO_N "(cached) $ECHO_C" >&6
9163 else
9164
9165
9166
9167       ac_ext=cc
9168 ac_cpp='$CXXCPP $CPPFLAGS'
9169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9172
9173       cat >conftest.$ac_ext <<_ACEOF
9174 /* confdefs.h.  */
9175 _ACEOF
9176 cat confdefs.h >>conftest.$ac_ext
9177 cat >>conftest.$ac_ext <<_ACEOF
9178 /* end confdefs.h.  */
9179 #include <math.h>
9180                       #ifdef HAVE_IEEEFP_H
9181                       #include <ieeefp.h>
9182                       #endif
9183
9184 int
9185 main ()
9186 {
9187  _isnan(0);
9188   ;
9189   return 0;
9190 }
9191 _ACEOF
9192 rm -f conftest.$ac_objext
9193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9194   (eval $ac_compile) 2>conftest.er1
9195   ac_status=$?
9196   grep -v '^ *+' conftest.er1 >conftest.err
9197   rm -f conftest.er1
9198   cat conftest.err >&5
9199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200   (exit $ac_status); } &&
9201          { ac_try='test -z "$ac_cxx_werror_flag"
9202                          || test ! -s conftest.err'
9203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9204   (eval $ac_try) 2>&5
9205   ac_status=$?
9206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207   (exit $ac_status); }; } &&
9208          { ac_try='test -s conftest.$ac_objext'
9209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9210   (eval $ac_try) 2>&5
9211   ac_status=$?
9212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213   (exit $ac_status); }; }; then
9214   glibcxx_cv_func__isnan_use=yes
9215 else
9216   echo "$as_me: failed program was:" >&5
9217 sed 's/^/| /' conftest.$ac_ext >&5
9218
9219 glibcxx_cv_func__isnan_use=no
9220 fi
9221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9222       ac_ext=c
9223 ac_cpp='$CPP $CPPFLAGS'
9224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9227
9228
9229 fi
9230
9231   fi
9232   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9233 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9234
9235     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9236
9237 for ac_func in _isnan
9238 do
9239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9240 echo "$as_me:$LINENO: checking for $ac_func" >&5
9241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9242 if eval "test \"\${$as_ac_var+set}\" = set"; then
9243   echo $ECHO_N "(cached) $ECHO_C" >&6
9244 else
9245   if test x$gcc_no_link = xyes; then
9246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9248    { (exit 1); exit 1; }; }
9249 fi
9250 cat >conftest.$ac_ext <<_ACEOF
9251 /* confdefs.h.  */
9252 _ACEOF
9253 cat confdefs.h >>conftest.$ac_ext
9254 cat >>conftest.$ac_ext <<_ACEOF
9255 /* end confdefs.h.  */
9256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9257    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9258 #define $ac_func innocuous_$ac_func
9259
9260 /* System header to define __stub macros and hopefully few prototypes,
9261     which can conflict with char $ac_func (); below.
9262     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9263     <limits.h> exists even on freestanding compilers.  */
9264
9265 #ifdef __STDC__
9266 # include <limits.h>
9267 #else
9268 # include <assert.h>
9269 #endif
9270
9271 #undef $ac_func
9272
9273 /* Override any gcc2 internal prototype to avoid an error.  */
9274 #ifdef __cplusplus
9275 extern "C"
9276 {
9277 #endif
9278 /* We use char because int might match the return type of a gcc2
9279    builtin and then its argument prototype would still apply.  */
9280 char $ac_func ();
9281 /* The GNU C library defines this for functions which it implements
9282     to always fail with ENOSYS.  Some functions are actually named
9283     something starting with __ and the normal name is an alias.  */
9284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9285 choke me
9286 #else
9287 char (*f) () = $ac_func;
9288 #endif
9289 #ifdef __cplusplus
9290 }
9291 #endif
9292
9293 int
9294 main ()
9295 {
9296 return f != $ac_func;
9297   ;
9298   return 0;
9299 }
9300 _ACEOF
9301 rm -f conftest.$ac_objext conftest$ac_exeext
9302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9303   (eval $ac_link) 2>conftest.er1
9304   ac_status=$?
9305   grep -v '^ *+' conftest.er1 >conftest.err
9306   rm -f conftest.er1
9307   cat conftest.err >&5
9308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9309   (exit $ac_status); } &&
9310          { ac_try='test -z "$ac_c_werror_flag"
9311                          || test ! -s conftest.err'
9312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9313   (eval $ac_try) 2>&5
9314   ac_status=$?
9315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316   (exit $ac_status); }; } &&
9317          { ac_try='test -s conftest$ac_exeext'
9318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9319   (eval $ac_try) 2>&5
9320   ac_status=$?
9321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322   (exit $ac_status); }; }; then
9323   eval "$as_ac_var=yes"
9324 else
9325   echo "$as_me: failed program was:" >&5
9326 sed 's/^/| /' conftest.$ac_ext >&5
9327
9328 eval "$as_ac_var=no"
9329 fi
9330 rm -f conftest.err conftest.$ac_objext \
9331       conftest$ac_exeext conftest.$ac_ext
9332 fi
9333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9335 if test `eval echo '${'$as_ac_var'}'` = yes; then
9336   cat >>confdefs.h <<_ACEOF
9337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9338 _ACEOF
9339
9340 fi
9341 done
9342
9343     fi
9344   fi
9345
9346
9347
9348
9349
9350
9351   echo "$as_me:$LINENO: checking for finite declaration" >&5
9352 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9353   if test x${glibcxx_cv_func_finite_use+set} != xset; then
9354     if test "${glibcxx_cv_func_finite_use+set}" = set; then
9355   echo $ECHO_N "(cached) $ECHO_C" >&6
9356 else
9357
9358
9359
9360       ac_ext=cc
9361 ac_cpp='$CXXCPP $CPPFLAGS'
9362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9365
9366       cat >conftest.$ac_ext <<_ACEOF
9367 /* confdefs.h.  */
9368 _ACEOF
9369 cat confdefs.h >>conftest.$ac_ext
9370 cat >>conftest.$ac_ext <<_ACEOF
9371 /* end confdefs.h.  */
9372 #include <math.h>
9373                       #ifdef HAVE_IEEEFP_H
9374                       #include <ieeefp.h>
9375                       #endif
9376
9377 int
9378 main ()
9379 {
9380  finite(0);
9381   ;
9382   return 0;
9383 }
9384 _ACEOF
9385 rm -f conftest.$ac_objext
9386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9387   (eval $ac_compile) 2>conftest.er1
9388   ac_status=$?
9389   grep -v '^ *+' conftest.er1 >conftest.err
9390   rm -f conftest.er1
9391   cat conftest.err >&5
9392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393   (exit $ac_status); } &&
9394          { ac_try='test -z "$ac_cxx_werror_flag"
9395                          || test ! -s conftest.err'
9396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9397   (eval $ac_try) 2>&5
9398   ac_status=$?
9399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400   (exit $ac_status); }; } &&
9401          { ac_try='test -s conftest.$ac_objext'
9402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9403   (eval $ac_try) 2>&5
9404   ac_status=$?
9405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406   (exit $ac_status); }; }; then
9407   glibcxx_cv_func_finite_use=yes
9408 else
9409   echo "$as_me: failed program was:" >&5
9410 sed 's/^/| /' conftest.$ac_ext >&5
9411
9412 glibcxx_cv_func_finite_use=no
9413 fi
9414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9415       ac_ext=c
9416 ac_cpp='$CPP $CPPFLAGS'
9417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9420
9421
9422 fi
9423
9424   fi
9425   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9426 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9427
9428   if test x$glibcxx_cv_func_finite_use = x"yes"; then
9429
9430 for ac_func in finite
9431 do
9432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9433 echo "$as_me:$LINENO: checking for $ac_func" >&5
9434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9435 if eval "test \"\${$as_ac_var+set}\" = set"; then
9436   echo $ECHO_N "(cached) $ECHO_C" >&6
9437 else
9438   if test x$gcc_no_link = xyes; then
9439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9441    { (exit 1); exit 1; }; }
9442 fi
9443 cat >conftest.$ac_ext <<_ACEOF
9444 /* confdefs.h.  */
9445 _ACEOF
9446 cat confdefs.h >>conftest.$ac_ext
9447 cat >>conftest.$ac_ext <<_ACEOF
9448 /* end confdefs.h.  */
9449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9451 #define $ac_func innocuous_$ac_func
9452
9453 /* System header to define __stub macros and hopefully few prototypes,
9454     which can conflict with char $ac_func (); below.
9455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9456     <limits.h> exists even on freestanding compilers.  */
9457
9458 #ifdef __STDC__
9459 # include <limits.h>
9460 #else
9461 # include <assert.h>
9462 #endif
9463
9464 #undef $ac_func
9465
9466 /* Override any gcc2 internal prototype to avoid an error.  */
9467 #ifdef __cplusplus
9468 extern "C"
9469 {
9470 #endif
9471 /* We use char because int might match the return type of a gcc2
9472    builtin and then its argument prototype would still apply.  */
9473 char $ac_func ();
9474 /* The GNU C library defines this for functions which it implements
9475     to always fail with ENOSYS.  Some functions are actually named
9476     something starting with __ and the normal name is an alias.  */
9477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9478 choke me
9479 #else
9480 char (*f) () = $ac_func;
9481 #endif
9482 #ifdef __cplusplus
9483 }
9484 #endif
9485
9486 int
9487 main ()
9488 {
9489 return f != $ac_func;
9490   ;
9491   return 0;
9492 }
9493 _ACEOF
9494 rm -f conftest.$ac_objext conftest$ac_exeext
9495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9496   (eval $ac_link) 2>conftest.er1
9497   ac_status=$?
9498   grep -v '^ *+' conftest.er1 >conftest.err
9499   rm -f conftest.er1
9500   cat conftest.err >&5
9501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502   (exit $ac_status); } &&
9503          { ac_try='test -z "$ac_c_werror_flag"
9504                          || test ! -s conftest.err'
9505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9506   (eval $ac_try) 2>&5
9507   ac_status=$?
9508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509   (exit $ac_status); }; } &&
9510          { ac_try='test -s conftest$ac_exeext'
9511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9512   (eval $ac_try) 2>&5
9513   ac_status=$?
9514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515   (exit $ac_status); }; }; then
9516   eval "$as_ac_var=yes"
9517 else
9518   echo "$as_me: failed program was:" >&5
9519 sed 's/^/| /' conftest.$ac_ext >&5
9520
9521 eval "$as_ac_var=no"
9522 fi
9523 rm -f conftest.err conftest.$ac_objext \
9524       conftest$ac_exeext conftest.$ac_ext
9525 fi
9526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9528 if test `eval echo '${'$as_ac_var'}'` = yes; then
9529   cat >>confdefs.h <<_ACEOF
9530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9531 _ACEOF
9532
9533 fi
9534 done
9535
9536   else
9537
9538   echo "$as_me:$LINENO: checking for _finite declaration" >&5
9539 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9540   if test x${glibcxx_cv_func__finite_use+set} != xset; then
9541     if test "${glibcxx_cv_func__finite_use+set}" = set; then
9542   echo $ECHO_N "(cached) $ECHO_C" >&6
9543 else
9544
9545
9546
9547       ac_ext=cc
9548 ac_cpp='$CXXCPP $CPPFLAGS'
9549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9552
9553       cat >conftest.$ac_ext <<_ACEOF
9554 /* confdefs.h.  */
9555 _ACEOF
9556 cat confdefs.h >>conftest.$ac_ext
9557 cat >>conftest.$ac_ext <<_ACEOF
9558 /* end confdefs.h.  */
9559 #include <math.h>
9560                       #ifdef HAVE_IEEEFP_H
9561                       #include <ieeefp.h>
9562                       #endif
9563
9564 int
9565 main ()
9566 {
9567  _finite(0);
9568   ;
9569   return 0;
9570 }
9571 _ACEOF
9572 rm -f conftest.$ac_objext
9573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9574   (eval $ac_compile) 2>conftest.er1
9575   ac_status=$?
9576   grep -v '^ *+' conftest.er1 >conftest.err
9577   rm -f conftest.er1
9578   cat conftest.err >&5
9579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580   (exit $ac_status); } &&
9581          { ac_try='test -z "$ac_cxx_werror_flag"
9582                          || test ! -s conftest.err'
9583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9584   (eval $ac_try) 2>&5
9585   ac_status=$?
9586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587   (exit $ac_status); }; } &&
9588          { ac_try='test -s conftest.$ac_objext'
9589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9590   (eval $ac_try) 2>&5
9591   ac_status=$?
9592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593   (exit $ac_status); }; }; then
9594   glibcxx_cv_func__finite_use=yes
9595 else
9596   echo "$as_me: failed program was:" >&5
9597 sed 's/^/| /' conftest.$ac_ext >&5
9598
9599 glibcxx_cv_func__finite_use=no
9600 fi
9601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9602       ac_ext=c
9603 ac_cpp='$CPP $CPPFLAGS'
9604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9607
9608
9609 fi
9610
9611   fi
9612   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9613 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9614
9615     if test x$glibcxx_cv_func__finite_use = x"yes"; then
9616
9617 for ac_func in _finite
9618 do
9619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9620 echo "$as_me:$LINENO: checking for $ac_func" >&5
9621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9622 if eval "test \"\${$as_ac_var+set}\" = set"; then
9623   echo $ECHO_N "(cached) $ECHO_C" >&6
9624 else
9625   if test x$gcc_no_link = xyes; then
9626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9628    { (exit 1); exit 1; }; }
9629 fi
9630 cat >conftest.$ac_ext <<_ACEOF
9631 /* confdefs.h.  */
9632 _ACEOF
9633 cat confdefs.h >>conftest.$ac_ext
9634 cat >>conftest.$ac_ext <<_ACEOF
9635 /* end confdefs.h.  */
9636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9637    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9638 #define $ac_func innocuous_$ac_func
9639
9640 /* System header to define __stub macros and hopefully few prototypes,
9641     which can conflict with char $ac_func (); below.
9642     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9643     <limits.h> exists even on freestanding compilers.  */
9644
9645 #ifdef __STDC__
9646 # include <limits.h>
9647 #else
9648 # include <assert.h>
9649 #endif
9650
9651 #undef $ac_func
9652
9653 /* Override any gcc2 internal prototype to avoid an error.  */
9654 #ifdef __cplusplus
9655 extern "C"
9656 {
9657 #endif
9658 /* We use char because int might match the return type of a gcc2
9659    builtin and then its argument prototype would still apply.  */
9660 char $ac_func ();
9661 /* The GNU C library defines this for functions which it implements
9662     to always fail with ENOSYS.  Some functions are actually named
9663     something starting with __ and the normal name is an alias.  */
9664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9665 choke me
9666 #else
9667 char (*f) () = $ac_func;
9668 #endif
9669 #ifdef __cplusplus
9670 }
9671 #endif
9672
9673 int
9674 main ()
9675 {
9676 return f != $ac_func;
9677   ;
9678   return 0;
9679 }
9680 _ACEOF
9681 rm -f conftest.$ac_objext conftest$ac_exeext
9682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9683   (eval $ac_link) 2>conftest.er1
9684   ac_status=$?
9685   grep -v '^ *+' conftest.er1 >conftest.err
9686   rm -f conftest.er1
9687   cat conftest.err >&5
9688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689   (exit $ac_status); } &&
9690          { ac_try='test -z "$ac_c_werror_flag"
9691                          || test ! -s conftest.err'
9692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693   (eval $ac_try) 2>&5
9694   ac_status=$?
9695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696   (exit $ac_status); }; } &&
9697          { ac_try='test -s conftest$ac_exeext'
9698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9699   (eval $ac_try) 2>&5
9700   ac_status=$?
9701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702   (exit $ac_status); }; }; then
9703   eval "$as_ac_var=yes"
9704 else
9705   echo "$as_me: failed program was:" >&5
9706 sed 's/^/| /' conftest.$ac_ext >&5
9707
9708 eval "$as_ac_var=no"
9709 fi
9710 rm -f conftest.err conftest.$ac_objext \
9711       conftest$ac_exeext conftest.$ac_ext
9712 fi
9713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9715 if test `eval echo '${'$as_ac_var'}'` = yes; then
9716   cat >>confdefs.h <<_ACEOF
9717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9718 _ACEOF
9719
9720 fi
9721 done
9722
9723     fi
9724   fi
9725
9726
9727
9728
9729
9730
9731   echo "$as_me:$LINENO: checking for copysign declaration" >&5
9732 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9733   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9734     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9735   echo $ECHO_N "(cached) $ECHO_C" >&6
9736 else
9737
9738
9739
9740       ac_ext=cc
9741 ac_cpp='$CXXCPP $CPPFLAGS'
9742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9745
9746       cat >conftest.$ac_ext <<_ACEOF
9747 /* confdefs.h.  */
9748 _ACEOF
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h.  */
9752 #include <math.h>
9753 int
9754 main ()
9755 {
9756  copysign(0, 0);
9757   ;
9758   return 0;
9759 }
9760 _ACEOF
9761 rm -f conftest.$ac_objext
9762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9763   (eval $ac_compile) 2>conftest.er1
9764   ac_status=$?
9765   grep -v '^ *+' conftest.er1 >conftest.err
9766   rm -f conftest.er1
9767   cat conftest.err >&5
9768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769   (exit $ac_status); } &&
9770          { ac_try='test -z "$ac_cxx_werror_flag"
9771                          || test ! -s conftest.err'
9772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9773   (eval $ac_try) 2>&5
9774   ac_status=$?
9775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776   (exit $ac_status); }; } &&
9777          { ac_try='test -s conftest.$ac_objext'
9778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9779   (eval $ac_try) 2>&5
9780   ac_status=$?
9781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782   (exit $ac_status); }; }; then
9783   glibcxx_cv_func_copysign_use=yes
9784 else
9785   echo "$as_me: failed program was:" >&5
9786 sed 's/^/| /' conftest.$ac_ext >&5
9787
9788 glibcxx_cv_func_copysign_use=no
9789 fi
9790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9791       ac_ext=c
9792 ac_cpp='$CPP $CPPFLAGS'
9793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9796
9797
9798 fi
9799
9800   fi
9801   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9802 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9803
9804   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9805
9806 for ac_func in copysign
9807 do
9808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9809 echo "$as_me:$LINENO: checking for $ac_func" >&5
9810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9811 if eval "test \"\${$as_ac_var+set}\" = set"; then
9812   echo $ECHO_N "(cached) $ECHO_C" >&6
9813 else
9814   if test x$gcc_no_link = xyes; then
9815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9817    { (exit 1); exit 1; }; }
9818 fi
9819 cat >conftest.$ac_ext <<_ACEOF
9820 /* confdefs.h.  */
9821 _ACEOF
9822 cat confdefs.h >>conftest.$ac_ext
9823 cat >>conftest.$ac_ext <<_ACEOF
9824 /* end confdefs.h.  */
9825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9827 #define $ac_func innocuous_$ac_func
9828
9829 /* System header to define __stub macros and hopefully few prototypes,
9830     which can conflict with char $ac_func (); below.
9831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9832     <limits.h> exists even on freestanding compilers.  */
9833
9834 #ifdef __STDC__
9835 # include <limits.h>
9836 #else
9837 # include <assert.h>
9838 #endif
9839
9840 #undef $ac_func
9841
9842 /* Override any gcc2 internal prototype to avoid an error.  */
9843 #ifdef __cplusplus
9844 extern "C"
9845 {
9846 #endif
9847 /* We use char because int might match the return type of a gcc2
9848    builtin and then its argument prototype would still apply.  */
9849 char $ac_func ();
9850 /* The GNU C library defines this for functions which it implements
9851     to always fail with ENOSYS.  Some functions are actually named
9852     something starting with __ and the normal name is an alias.  */
9853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9854 choke me
9855 #else
9856 char (*f) () = $ac_func;
9857 #endif
9858 #ifdef __cplusplus
9859 }
9860 #endif
9861
9862 int
9863 main ()
9864 {
9865 return f != $ac_func;
9866   ;
9867   return 0;
9868 }
9869 _ACEOF
9870 rm -f conftest.$ac_objext conftest$ac_exeext
9871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9872   (eval $ac_link) 2>conftest.er1
9873   ac_status=$?
9874   grep -v '^ *+' conftest.er1 >conftest.err
9875   rm -f conftest.er1
9876   cat conftest.err >&5
9877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878   (exit $ac_status); } &&
9879          { ac_try='test -z "$ac_c_werror_flag"
9880                          || test ! -s conftest.err'
9881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9882   (eval $ac_try) 2>&5
9883   ac_status=$?
9884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885   (exit $ac_status); }; } &&
9886          { ac_try='test -s conftest$ac_exeext'
9887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9888   (eval $ac_try) 2>&5
9889   ac_status=$?
9890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9891   (exit $ac_status); }; }; then
9892   eval "$as_ac_var=yes"
9893 else
9894   echo "$as_me: failed program was:" >&5
9895 sed 's/^/| /' conftest.$ac_ext >&5
9896
9897 eval "$as_ac_var=no"
9898 fi
9899 rm -f conftest.err conftest.$ac_objext \
9900       conftest$ac_exeext conftest.$ac_ext
9901 fi
9902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9904 if test `eval echo '${'$as_ac_var'}'` = yes; then
9905   cat >>confdefs.h <<_ACEOF
9906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9907 _ACEOF
9908
9909 fi
9910 done
9911
9912   else
9913
9914   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9915 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9916   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9917     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9918   echo $ECHO_N "(cached) $ECHO_C" >&6
9919 else
9920
9921
9922
9923       ac_ext=cc
9924 ac_cpp='$CXXCPP $CPPFLAGS'
9925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9928
9929       cat >conftest.$ac_ext <<_ACEOF
9930 /* confdefs.h.  */
9931 _ACEOF
9932 cat confdefs.h >>conftest.$ac_ext
9933 cat >>conftest.$ac_ext <<_ACEOF
9934 /* end confdefs.h.  */
9935 #include <math.h>
9936 int
9937 main ()
9938 {
9939  _copysign(0, 0);
9940   ;
9941   return 0;
9942 }
9943 _ACEOF
9944 rm -f conftest.$ac_objext
9945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9946   (eval $ac_compile) 2>conftest.er1
9947   ac_status=$?
9948   grep -v '^ *+' conftest.er1 >conftest.err
9949   rm -f conftest.er1
9950   cat conftest.err >&5
9951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952   (exit $ac_status); } &&
9953          { ac_try='test -z "$ac_cxx_werror_flag"
9954                          || test ! -s conftest.err'
9955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956   (eval $ac_try) 2>&5
9957   ac_status=$?
9958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959   (exit $ac_status); }; } &&
9960          { ac_try='test -s conftest.$ac_objext'
9961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9962   (eval $ac_try) 2>&5
9963   ac_status=$?
9964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965   (exit $ac_status); }; }; then
9966   glibcxx_cv_func__copysign_use=yes
9967 else
9968   echo "$as_me: failed program was:" >&5
9969 sed 's/^/| /' conftest.$ac_ext >&5
9970
9971 glibcxx_cv_func__copysign_use=no
9972 fi
9973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9974       ac_ext=c
9975 ac_cpp='$CPP $CPPFLAGS'
9976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9979
9980
9981 fi
9982
9983   fi
9984   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9985 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9986
9987     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9988
9989 for ac_func in _copysign
9990 do
9991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9992 echo "$as_me:$LINENO: checking for $ac_func" >&5
9993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9994 if eval "test \"\${$as_ac_var+set}\" = set"; then
9995   echo $ECHO_N "(cached) $ECHO_C" >&6
9996 else
9997   if test x$gcc_no_link = xyes; then
9998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10000    { (exit 1); exit 1; }; }
10001 fi
10002 cat >conftest.$ac_ext <<_ACEOF
10003 /* confdefs.h.  */
10004 _ACEOF
10005 cat confdefs.h >>conftest.$ac_ext
10006 cat >>conftest.$ac_ext <<_ACEOF
10007 /* end confdefs.h.  */
10008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10010 #define $ac_func innocuous_$ac_func
10011
10012 /* System header to define __stub macros and hopefully few prototypes,
10013     which can conflict with char $ac_func (); below.
10014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10015     <limits.h> exists even on freestanding compilers.  */
10016
10017 #ifdef __STDC__
10018 # include <limits.h>
10019 #else
10020 # include <assert.h>
10021 #endif
10022
10023 #undef $ac_func
10024
10025 /* Override any gcc2 internal prototype to avoid an error.  */
10026 #ifdef __cplusplus
10027 extern "C"
10028 {
10029 #endif
10030 /* We use char because int might match the return type of a gcc2
10031    builtin and then its argument prototype would still apply.  */
10032 char $ac_func ();
10033 /* The GNU C library defines this for functions which it implements
10034     to always fail with ENOSYS.  Some functions are actually named
10035     something starting with __ and the normal name is an alias.  */
10036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10037 choke me
10038 #else
10039 char (*f) () = $ac_func;
10040 #endif
10041 #ifdef __cplusplus
10042 }
10043 #endif
10044
10045 int
10046 main ()
10047 {
10048 return f != $ac_func;
10049   ;
10050   return 0;
10051 }
10052 _ACEOF
10053 rm -f conftest.$ac_objext conftest$ac_exeext
10054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10055   (eval $ac_link) 2>conftest.er1
10056   ac_status=$?
10057   grep -v '^ *+' conftest.er1 >conftest.err
10058   rm -f conftest.er1
10059   cat conftest.err >&5
10060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061   (exit $ac_status); } &&
10062          { ac_try='test -z "$ac_c_werror_flag"
10063                          || test ! -s conftest.err'
10064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10065   (eval $ac_try) 2>&5
10066   ac_status=$?
10067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068   (exit $ac_status); }; } &&
10069          { ac_try='test -s conftest$ac_exeext'
10070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10071   (eval $ac_try) 2>&5
10072   ac_status=$?
10073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10074   (exit $ac_status); }; }; then
10075   eval "$as_ac_var=yes"
10076 else
10077   echo "$as_me: failed program was:" >&5
10078 sed 's/^/| /' conftest.$ac_ext >&5
10079
10080 eval "$as_ac_var=no"
10081 fi
10082 rm -f conftest.err conftest.$ac_objext \
10083       conftest$ac_exeext conftest.$ac_ext
10084 fi
10085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10087 if test `eval echo '${'$as_ac_var'}'` = yes; then
10088   cat >>confdefs.h <<_ACEOF
10089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10090 _ACEOF
10091
10092 fi
10093 done
10094
10095     fi
10096   fi
10097
10098
10099
10100
10101
10102
10103   echo "$as_me:$LINENO: checking for sincos declaration" >&5
10104 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10105   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10106     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10107   echo $ECHO_N "(cached) $ECHO_C" >&6
10108 else
10109
10110
10111
10112       ac_ext=cc
10113 ac_cpp='$CXXCPP $CPPFLAGS'
10114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10117
10118       cat >conftest.$ac_ext <<_ACEOF
10119 /* confdefs.h.  */
10120 _ACEOF
10121 cat confdefs.h >>conftest.$ac_ext
10122 cat >>conftest.$ac_ext <<_ACEOF
10123 /* end confdefs.h.  */
10124 #include <math.h>
10125 int
10126 main ()
10127 {
10128  sincos(0, 0, 0);
10129   ;
10130   return 0;
10131 }
10132 _ACEOF
10133 rm -f conftest.$ac_objext
10134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10135   (eval $ac_compile) 2>conftest.er1
10136   ac_status=$?
10137   grep -v '^ *+' conftest.er1 >conftest.err
10138   rm -f conftest.er1
10139   cat conftest.err >&5
10140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141   (exit $ac_status); } &&
10142          { ac_try='test -z "$ac_cxx_werror_flag"
10143                          || test ! -s conftest.err'
10144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10145   (eval $ac_try) 2>&5
10146   ac_status=$?
10147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148   (exit $ac_status); }; } &&
10149          { ac_try='test -s conftest.$ac_objext'
10150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10151   (eval $ac_try) 2>&5
10152   ac_status=$?
10153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154   (exit $ac_status); }; }; then
10155   glibcxx_cv_func_sincos_use=yes
10156 else
10157   echo "$as_me: failed program was:" >&5
10158 sed 's/^/| /' conftest.$ac_ext >&5
10159
10160 glibcxx_cv_func_sincos_use=no
10161 fi
10162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10163       ac_ext=c
10164 ac_cpp='$CPP $CPPFLAGS'
10165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10168
10169
10170 fi
10171
10172   fi
10173   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10174 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10175
10176   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10177
10178 for ac_func in sincos
10179 do
10180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10181 echo "$as_me:$LINENO: checking for $ac_func" >&5
10182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10183 if eval "test \"\${$as_ac_var+set}\" = set"; then
10184   echo $ECHO_N "(cached) $ECHO_C" >&6
10185 else
10186   if test x$gcc_no_link = xyes; then
10187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10189    { (exit 1); exit 1; }; }
10190 fi
10191 cat >conftest.$ac_ext <<_ACEOF
10192 /* confdefs.h.  */
10193 _ACEOF
10194 cat confdefs.h >>conftest.$ac_ext
10195 cat >>conftest.$ac_ext <<_ACEOF
10196 /* end confdefs.h.  */
10197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10198    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10199 #define $ac_func innocuous_$ac_func
10200
10201 /* System header to define __stub macros and hopefully few prototypes,
10202     which can conflict with char $ac_func (); below.
10203     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10204     <limits.h> exists even on freestanding compilers.  */
10205
10206 #ifdef __STDC__
10207 # include <limits.h>
10208 #else
10209 # include <assert.h>
10210 #endif
10211
10212 #undef $ac_func
10213
10214 /* Override any gcc2 internal prototype to avoid an error.  */
10215 #ifdef __cplusplus
10216 extern "C"
10217 {
10218 #endif
10219 /* We use char because int might match the return type of a gcc2
10220    builtin and then its argument prototype would still apply.  */
10221 char $ac_func ();
10222 /* The GNU C library defines this for functions which it implements
10223     to always fail with ENOSYS.  Some functions are actually named
10224     something starting with __ and the normal name is an alias.  */
10225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10226 choke me
10227 #else
10228 char (*f) () = $ac_func;
10229 #endif
10230 #ifdef __cplusplus
10231 }
10232 #endif
10233
10234 int
10235 main ()
10236 {
10237 return f != $ac_func;
10238   ;
10239   return 0;
10240 }
10241 _ACEOF
10242 rm -f conftest.$ac_objext conftest$ac_exeext
10243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10244   (eval $ac_link) 2>conftest.er1
10245   ac_status=$?
10246   grep -v '^ *+' conftest.er1 >conftest.err
10247   rm -f conftest.er1
10248   cat conftest.err >&5
10249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250   (exit $ac_status); } &&
10251          { ac_try='test -z "$ac_c_werror_flag"
10252                          || test ! -s conftest.err'
10253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10254   (eval $ac_try) 2>&5
10255   ac_status=$?
10256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257   (exit $ac_status); }; } &&
10258          { ac_try='test -s conftest$ac_exeext'
10259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10260   (eval $ac_try) 2>&5
10261   ac_status=$?
10262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263   (exit $ac_status); }; }; then
10264   eval "$as_ac_var=yes"
10265 else
10266   echo "$as_me: failed program was:" >&5
10267 sed 's/^/| /' conftest.$ac_ext >&5
10268
10269 eval "$as_ac_var=no"
10270 fi
10271 rm -f conftest.err conftest.$ac_objext \
10272       conftest$ac_exeext conftest.$ac_ext
10273 fi
10274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10276 if test `eval echo '${'$as_ac_var'}'` = yes; then
10277   cat >>confdefs.h <<_ACEOF
10278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10279 _ACEOF
10280
10281 fi
10282 done
10283
10284   else
10285
10286   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10287 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10288   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10289     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10290   echo $ECHO_N "(cached) $ECHO_C" >&6
10291 else
10292
10293
10294
10295       ac_ext=cc
10296 ac_cpp='$CXXCPP $CPPFLAGS'
10297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10300
10301       cat >conftest.$ac_ext <<_ACEOF
10302 /* confdefs.h.  */
10303 _ACEOF
10304 cat confdefs.h >>conftest.$ac_ext
10305 cat >>conftest.$ac_ext <<_ACEOF
10306 /* end confdefs.h.  */
10307 #include <math.h>
10308 int
10309 main ()
10310 {
10311  _sincos(0, 0, 0);
10312   ;
10313   return 0;
10314 }
10315 _ACEOF
10316 rm -f conftest.$ac_objext
10317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10318   (eval $ac_compile) 2>conftest.er1
10319   ac_status=$?
10320   grep -v '^ *+' conftest.er1 >conftest.err
10321   rm -f conftest.er1
10322   cat conftest.err >&5
10323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324   (exit $ac_status); } &&
10325          { ac_try='test -z "$ac_cxx_werror_flag"
10326                          || test ! -s conftest.err'
10327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10328   (eval $ac_try) 2>&5
10329   ac_status=$?
10330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331   (exit $ac_status); }; } &&
10332          { ac_try='test -s conftest.$ac_objext'
10333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10334   (eval $ac_try) 2>&5
10335   ac_status=$?
10336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337   (exit $ac_status); }; }; then
10338   glibcxx_cv_func__sincos_use=yes
10339 else
10340   echo "$as_me: failed program was:" >&5
10341 sed 's/^/| /' conftest.$ac_ext >&5
10342
10343 glibcxx_cv_func__sincos_use=no
10344 fi
10345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10346       ac_ext=c
10347 ac_cpp='$CPP $CPPFLAGS'
10348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10351
10352
10353 fi
10354
10355   fi
10356   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10357 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10358
10359     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10360
10361 for ac_func in _sincos
10362 do
10363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10364 echo "$as_me:$LINENO: checking for $ac_func" >&5
10365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10366 if eval "test \"\${$as_ac_var+set}\" = set"; then
10367   echo $ECHO_N "(cached) $ECHO_C" >&6
10368 else
10369   if test x$gcc_no_link = xyes; then
10370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10372    { (exit 1); exit 1; }; }
10373 fi
10374 cat >conftest.$ac_ext <<_ACEOF
10375 /* confdefs.h.  */
10376 _ACEOF
10377 cat confdefs.h >>conftest.$ac_ext
10378 cat >>conftest.$ac_ext <<_ACEOF
10379 /* end confdefs.h.  */
10380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10381    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10382 #define $ac_func innocuous_$ac_func
10383
10384 /* System header to define __stub macros and hopefully few prototypes,
10385     which can conflict with char $ac_func (); below.
10386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10387     <limits.h> exists even on freestanding compilers.  */
10388
10389 #ifdef __STDC__
10390 # include <limits.h>
10391 #else
10392 # include <assert.h>
10393 #endif
10394
10395 #undef $ac_func
10396
10397 /* Override any gcc2 internal prototype to avoid an error.  */
10398 #ifdef __cplusplus
10399 extern "C"
10400 {
10401 #endif
10402 /* We use char because int might match the return type of a gcc2
10403    builtin and then its argument prototype would still apply.  */
10404 char $ac_func ();
10405 /* The GNU C library defines this for functions which it implements
10406     to always fail with ENOSYS.  Some functions are actually named
10407     something starting with __ and the normal name is an alias.  */
10408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10409 choke me
10410 #else
10411 char (*f) () = $ac_func;
10412 #endif
10413 #ifdef __cplusplus
10414 }
10415 #endif
10416
10417 int
10418 main ()
10419 {
10420 return f != $ac_func;
10421   ;
10422   return 0;
10423 }
10424 _ACEOF
10425 rm -f conftest.$ac_objext conftest$ac_exeext
10426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10427   (eval $ac_link) 2>conftest.er1
10428   ac_status=$?
10429   grep -v '^ *+' conftest.er1 >conftest.err
10430   rm -f conftest.er1
10431   cat conftest.err >&5
10432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433   (exit $ac_status); } &&
10434          { ac_try='test -z "$ac_c_werror_flag"
10435                          || test ! -s conftest.err'
10436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10437   (eval $ac_try) 2>&5
10438   ac_status=$?
10439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440   (exit $ac_status); }; } &&
10441          { ac_try='test -s conftest$ac_exeext'
10442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10443   (eval $ac_try) 2>&5
10444   ac_status=$?
10445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446   (exit $ac_status); }; }; then
10447   eval "$as_ac_var=yes"
10448 else
10449   echo "$as_me: failed program was:" >&5
10450 sed 's/^/| /' conftest.$ac_ext >&5
10451
10452 eval "$as_ac_var=no"
10453 fi
10454 rm -f conftest.err conftest.$ac_objext \
10455       conftest$ac_exeext conftest.$ac_ext
10456 fi
10457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10459 if test `eval echo '${'$as_ac_var'}'` = yes; then
10460   cat >>confdefs.h <<_ACEOF
10461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10462 _ACEOF
10463
10464 fi
10465 done
10466
10467     fi
10468   fi
10469
10470
10471
10472
10473
10474
10475   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10476 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10477   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10478     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10479   echo $ECHO_N "(cached) $ECHO_C" >&6
10480 else
10481
10482
10483
10484       ac_ext=cc
10485 ac_cpp='$CXXCPP $CPPFLAGS'
10486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10489
10490       cat >conftest.$ac_ext <<_ACEOF
10491 /* confdefs.h.  */
10492 _ACEOF
10493 cat confdefs.h >>conftest.$ac_ext
10494 cat >>conftest.$ac_ext <<_ACEOF
10495 /* end confdefs.h.  */
10496 #include <math.h>
10497                       #ifdef HAVE_IEEEFP_H
10498                       #include <ieeefp.h>
10499                       #endif
10500
10501 int
10502 main ()
10503 {
10504  fpclass(0);
10505   ;
10506   return 0;
10507 }
10508 _ACEOF
10509 rm -f conftest.$ac_objext
10510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10511   (eval $ac_compile) 2>conftest.er1
10512   ac_status=$?
10513   grep -v '^ *+' conftest.er1 >conftest.err
10514   rm -f conftest.er1
10515   cat conftest.err >&5
10516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517   (exit $ac_status); } &&
10518          { ac_try='test -z "$ac_cxx_werror_flag"
10519                          || test ! -s conftest.err'
10520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10521   (eval $ac_try) 2>&5
10522   ac_status=$?
10523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524   (exit $ac_status); }; } &&
10525          { ac_try='test -s conftest.$ac_objext'
10526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10527   (eval $ac_try) 2>&5
10528   ac_status=$?
10529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10530   (exit $ac_status); }; }; then
10531   glibcxx_cv_func_fpclass_use=yes
10532 else
10533   echo "$as_me: failed program was:" >&5
10534 sed 's/^/| /' conftest.$ac_ext >&5
10535
10536 glibcxx_cv_func_fpclass_use=no
10537 fi
10538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10539       ac_ext=c
10540 ac_cpp='$CPP $CPPFLAGS'
10541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10544
10545
10546 fi
10547
10548   fi
10549   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10550 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10551
10552   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10553
10554 for ac_func in fpclass
10555 do
10556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10557 echo "$as_me:$LINENO: checking for $ac_func" >&5
10558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10559 if eval "test \"\${$as_ac_var+set}\" = set"; then
10560   echo $ECHO_N "(cached) $ECHO_C" >&6
10561 else
10562   if test x$gcc_no_link = xyes; then
10563   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10565    { (exit 1); exit 1; }; }
10566 fi
10567 cat >conftest.$ac_ext <<_ACEOF
10568 /* confdefs.h.  */
10569 _ACEOF
10570 cat confdefs.h >>conftest.$ac_ext
10571 cat >>conftest.$ac_ext <<_ACEOF
10572 /* end confdefs.h.  */
10573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10574    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10575 #define $ac_func innocuous_$ac_func
10576
10577 /* System header to define __stub macros and hopefully few prototypes,
10578     which can conflict with char $ac_func (); below.
10579     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10580     <limits.h> exists even on freestanding compilers.  */
10581
10582 #ifdef __STDC__
10583 # include <limits.h>
10584 #else
10585 # include <assert.h>
10586 #endif
10587
10588 #undef $ac_func
10589
10590 /* Override any gcc2 internal prototype to avoid an error.  */
10591 #ifdef __cplusplus
10592 extern "C"
10593 {
10594 #endif
10595 /* We use char because int might match the return type of a gcc2
10596    builtin and then its argument prototype would still apply.  */
10597 char $ac_func ();
10598 /* The GNU C library defines this for functions which it implements
10599     to always fail with ENOSYS.  Some functions are actually named
10600     something starting with __ and the normal name is an alias.  */
10601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10602 choke me
10603 #else
10604 char (*f) () = $ac_func;
10605 #endif
10606 #ifdef __cplusplus
10607 }
10608 #endif
10609
10610 int
10611 main ()
10612 {
10613 return f != $ac_func;
10614   ;
10615   return 0;
10616 }
10617 _ACEOF
10618 rm -f conftest.$ac_objext conftest$ac_exeext
10619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10620   (eval $ac_link) 2>conftest.er1
10621   ac_status=$?
10622   grep -v '^ *+' conftest.er1 >conftest.err
10623   rm -f conftest.er1
10624   cat conftest.err >&5
10625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626   (exit $ac_status); } &&
10627          { ac_try='test -z "$ac_c_werror_flag"
10628                          || test ! -s conftest.err'
10629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10630   (eval $ac_try) 2>&5
10631   ac_status=$?
10632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633   (exit $ac_status); }; } &&
10634          { ac_try='test -s conftest$ac_exeext'
10635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10636   (eval $ac_try) 2>&5
10637   ac_status=$?
10638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639   (exit $ac_status); }; }; then
10640   eval "$as_ac_var=yes"
10641 else
10642   echo "$as_me: failed program was:" >&5
10643 sed 's/^/| /' conftest.$ac_ext >&5
10644
10645 eval "$as_ac_var=no"
10646 fi
10647 rm -f conftest.err conftest.$ac_objext \
10648       conftest$ac_exeext conftest.$ac_ext
10649 fi
10650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10652 if test `eval echo '${'$as_ac_var'}'` = yes; then
10653   cat >>confdefs.h <<_ACEOF
10654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10655 _ACEOF
10656
10657 fi
10658 done
10659
10660   else
10661
10662   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10663 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10664   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10665     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10666   echo $ECHO_N "(cached) $ECHO_C" >&6
10667 else
10668
10669
10670
10671       ac_ext=cc
10672 ac_cpp='$CXXCPP $CPPFLAGS'
10673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10676
10677       cat >conftest.$ac_ext <<_ACEOF
10678 /* confdefs.h.  */
10679 _ACEOF
10680 cat confdefs.h >>conftest.$ac_ext
10681 cat >>conftest.$ac_ext <<_ACEOF
10682 /* end confdefs.h.  */
10683 #include <math.h>
10684                       #ifdef HAVE_IEEEFP_H
10685                       #include <ieeefp.h>
10686                       #endif
10687
10688 int
10689 main ()
10690 {
10691  _fpclass(0);
10692   ;
10693   return 0;
10694 }
10695 _ACEOF
10696 rm -f conftest.$ac_objext
10697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10698   (eval $ac_compile) 2>conftest.er1
10699   ac_status=$?
10700   grep -v '^ *+' conftest.er1 >conftest.err
10701   rm -f conftest.er1
10702   cat conftest.err >&5
10703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704   (exit $ac_status); } &&
10705          { ac_try='test -z "$ac_cxx_werror_flag"
10706                          || test ! -s conftest.err'
10707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10708   (eval $ac_try) 2>&5
10709   ac_status=$?
10710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711   (exit $ac_status); }; } &&
10712          { ac_try='test -s conftest.$ac_objext'
10713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10714   (eval $ac_try) 2>&5
10715   ac_status=$?
10716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717   (exit $ac_status); }; }; then
10718   glibcxx_cv_func__fpclass_use=yes
10719 else
10720   echo "$as_me: failed program was:" >&5
10721 sed 's/^/| /' conftest.$ac_ext >&5
10722
10723 glibcxx_cv_func__fpclass_use=no
10724 fi
10725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10726       ac_ext=c
10727 ac_cpp='$CPP $CPPFLAGS'
10728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10731
10732
10733 fi
10734
10735   fi
10736   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10737 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10738
10739     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10740
10741 for ac_func in _fpclass
10742 do
10743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10744 echo "$as_me:$LINENO: checking for $ac_func" >&5
10745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10746 if eval "test \"\${$as_ac_var+set}\" = set"; then
10747   echo $ECHO_N "(cached) $ECHO_C" >&6
10748 else
10749   if test x$gcc_no_link = xyes; then
10750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10752    { (exit 1); exit 1; }; }
10753 fi
10754 cat >conftest.$ac_ext <<_ACEOF
10755 /* confdefs.h.  */
10756 _ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h.  */
10760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10761    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10762 #define $ac_func innocuous_$ac_func
10763
10764 /* System header to define __stub macros and hopefully few prototypes,
10765     which can conflict with char $ac_func (); below.
10766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10767     <limits.h> exists even on freestanding compilers.  */
10768
10769 #ifdef __STDC__
10770 # include <limits.h>
10771 #else
10772 # include <assert.h>
10773 #endif
10774
10775 #undef $ac_func
10776
10777 /* Override any gcc2 internal prototype to avoid an error.  */
10778 #ifdef __cplusplus
10779 extern "C"
10780 {
10781 #endif
10782 /* We use char because int might match the return type of a gcc2
10783    builtin and then its argument prototype would still apply.  */
10784 char $ac_func ();
10785 /* The GNU C library defines this for functions which it implements
10786     to always fail with ENOSYS.  Some functions are actually named
10787     something starting with __ and the normal name is an alias.  */
10788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10789 choke me
10790 #else
10791 char (*f) () = $ac_func;
10792 #endif
10793 #ifdef __cplusplus
10794 }
10795 #endif
10796
10797 int
10798 main ()
10799 {
10800 return f != $ac_func;
10801   ;
10802   return 0;
10803 }
10804 _ACEOF
10805 rm -f conftest.$ac_objext conftest$ac_exeext
10806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10807   (eval $ac_link) 2>conftest.er1
10808   ac_status=$?
10809   grep -v '^ *+' conftest.er1 >conftest.err
10810   rm -f conftest.er1
10811   cat conftest.err >&5
10812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813   (exit $ac_status); } &&
10814          { ac_try='test -z "$ac_c_werror_flag"
10815                          || test ! -s conftest.err'
10816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10817   (eval $ac_try) 2>&5
10818   ac_status=$?
10819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820   (exit $ac_status); }; } &&
10821          { ac_try='test -s conftest$ac_exeext'
10822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10823   (eval $ac_try) 2>&5
10824   ac_status=$?
10825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10826   (exit $ac_status); }; }; then
10827   eval "$as_ac_var=yes"
10828 else
10829   echo "$as_me: failed program was:" >&5
10830 sed 's/^/| /' conftest.$ac_ext >&5
10831
10832 eval "$as_ac_var=no"
10833 fi
10834 rm -f conftest.err conftest.$ac_objext \
10835       conftest$ac_exeext conftest.$ac_ext
10836 fi
10837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10839 if test `eval echo '${'$as_ac_var'}'` = yes; then
10840   cat >>confdefs.h <<_ACEOF
10841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10842 _ACEOF
10843
10844 fi
10845 done
10846
10847     fi
10848   fi
10849
10850
10851
10852
10853
10854
10855   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10856 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10857   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10858     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10859   echo $ECHO_N "(cached) $ECHO_C" >&6
10860 else
10861
10862
10863
10864       ac_ext=cc
10865 ac_cpp='$CXXCPP $CPPFLAGS'
10866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10869
10870       cat >conftest.$ac_ext <<_ACEOF
10871 /* confdefs.h.  */
10872 _ACEOF
10873 cat confdefs.h >>conftest.$ac_ext
10874 cat >>conftest.$ac_ext <<_ACEOF
10875 /* end confdefs.h.  */
10876 #include <math.h>
10877                       #ifdef HAVE_IEEEFP_H
10878                       #include <ieeefp.h>
10879                       #endif
10880
10881 int
10882 main ()
10883 {
10884  qfpclass(0);
10885   ;
10886   return 0;
10887 }
10888 _ACEOF
10889 rm -f conftest.$ac_objext
10890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10891   (eval $ac_compile) 2>conftest.er1
10892   ac_status=$?
10893   grep -v '^ *+' conftest.er1 >conftest.err
10894   rm -f conftest.er1
10895   cat conftest.err >&5
10896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897   (exit $ac_status); } &&
10898          { ac_try='test -z "$ac_cxx_werror_flag"
10899                          || test ! -s conftest.err'
10900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10901   (eval $ac_try) 2>&5
10902   ac_status=$?
10903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904   (exit $ac_status); }; } &&
10905          { ac_try='test -s conftest.$ac_objext'
10906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10907   (eval $ac_try) 2>&5
10908   ac_status=$?
10909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910   (exit $ac_status); }; }; then
10911   glibcxx_cv_func_qfpclass_use=yes
10912 else
10913   echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.$ac_ext >&5
10915
10916 glibcxx_cv_func_qfpclass_use=no
10917 fi
10918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10919       ac_ext=c
10920 ac_cpp='$CPP $CPPFLAGS'
10921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10924
10925
10926 fi
10927
10928   fi
10929   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10930 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10931
10932   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10933
10934 for ac_func in qfpclass
10935 do
10936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10937 echo "$as_me:$LINENO: checking for $ac_func" >&5
10938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10939 if eval "test \"\${$as_ac_var+set}\" = set"; then
10940   echo $ECHO_N "(cached) $ECHO_C" >&6
10941 else
10942   if test x$gcc_no_link = xyes; then
10943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10945    { (exit 1); exit 1; }; }
10946 fi
10947 cat >conftest.$ac_ext <<_ACEOF
10948 /* confdefs.h.  */
10949 _ACEOF
10950 cat confdefs.h >>conftest.$ac_ext
10951 cat >>conftest.$ac_ext <<_ACEOF
10952 /* end confdefs.h.  */
10953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10954    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10955 #define $ac_func innocuous_$ac_func
10956
10957 /* System header to define __stub macros and hopefully few prototypes,
10958     which can conflict with char $ac_func (); below.
10959     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10960     <limits.h> exists even on freestanding compilers.  */
10961
10962 #ifdef __STDC__
10963 # include <limits.h>
10964 #else
10965 # include <assert.h>
10966 #endif
10967
10968 #undef $ac_func
10969
10970 /* Override any gcc2 internal prototype to avoid an error.  */
10971 #ifdef __cplusplus
10972 extern "C"
10973 {
10974 #endif
10975 /* We use char because int might match the return type of a gcc2
10976    builtin and then its argument prototype would still apply.  */
10977 char $ac_func ();
10978 /* The GNU C library defines this for functions which it implements
10979     to always fail with ENOSYS.  Some functions are actually named
10980     something starting with __ and the normal name is an alias.  */
10981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10982 choke me
10983 #else
10984 char (*f) () = $ac_func;
10985 #endif
10986 #ifdef __cplusplus
10987 }
10988 #endif
10989
10990 int
10991 main ()
10992 {
10993 return f != $ac_func;
10994   ;
10995   return 0;
10996 }
10997 _ACEOF
10998 rm -f conftest.$ac_objext conftest$ac_exeext
10999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11000   (eval $ac_link) 2>conftest.er1
11001   ac_status=$?
11002   grep -v '^ *+' conftest.er1 >conftest.err
11003   rm -f conftest.er1
11004   cat conftest.err >&5
11005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006   (exit $ac_status); } &&
11007          { ac_try='test -z "$ac_c_werror_flag"
11008                          || test ! -s conftest.err'
11009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11010   (eval $ac_try) 2>&5
11011   ac_status=$?
11012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11013   (exit $ac_status); }; } &&
11014          { ac_try='test -s conftest$ac_exeext'
11015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11016   (eval $ac_try) 2>&5
11017   ac_status=$?
11018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019   (exit $ac_status); }; }; then
11020   eval "$as_ac_var=yes"
11021 else
11022   echo "$as_me: failed program was:" >&5
11023 sed 's/^/| /' conftest.$ac_ext >&5
11024
11025 eval "$as_ac_var=no"
11026 fi
11027 rm -f conftest.err conftest.$ac_objext \
11028       conftest$ac_exeext conftest.$ac_ext
11029 fi
11030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11032 if test `eval echo '${'$as_ac_var'}'` = yes; then
11033   cat >>confdefs.h <<_ACEOF
11034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11035 _ACEOF
11036
11037 fi
11038 done
11039
11040   else
11041
11042   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
11043 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
11044   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
11045     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
11046   echo $ECHO_N "(cached) $ECHO_C" >&6
11047 else
11048
11049
11050
11051       ac_ext=cc
11052 ac_cpp='$CXXCPP $CPPFLAGS'
11053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11056
11057       cat >conftest.$ac_ext <<_ACEOF
11058 /* confdefs.h.  */
11059 _ACEOF
11060 cat confdefs.h >>conftest.$ac_ext
11061 cat >>conftest.$ac_ext <<_ACEOF
11062 /* end confdefs.h.  */
11063 #include <math.h>
11064                       #ifdef HAVE_IEEEFP_H
11065                       #include <ieeefp.h>
11066                       #endif
11067
11068 int
11069 main ()
11070 {
11071  _qfpclass(0);
11072   ;
11073   return 0;
11074 }
11075 _ACEOF
11076 rm -f conftest.$ac_objext
11077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11078   (eval $ac_compile) 2>conftest.er1
11079   ac_status=$?
11080   grep -v '^ *+' conftest.er1 >conftest.err
11081   rm -f conftest.er1
11082   cat conftest.err >&5
11083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084   (exit $ac_status); } &&
11085          { ac_try='test -z "$ac_cxx_werror_flag"
11086                          || test ! -s conftest.err'
11087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11088   (eval $ac_try) 2>&5
11089   ac_status=$?
11090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091   (exit $ac_status); }; } &&
11092          { ac_try='test -s conftest.$ac_objext'
11093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11094   (eval $ac_try) 2>&5
11095   ac_status=$?
11096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097   (exit $ac_status); }; }; then
11098   glibcxx_cv_func__qfpclass_use=yes
11099 else
11100   echo "$as_me: failed program was:" >&5
11101 sed 's/^/| /' conftest.$ac_ext >&5
11102
11103 glibcxx_cv_func__qfpclass_use=no
11104 fi
11105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11106       ac_ext=c
11107 ac_cpp='$CPP $CPPFLAGS'
11108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11111
11112
11113 fi
11114
11115   fi
11116   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11117 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11118
11119     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11120
11121 for ac_func in _qfpclass
11122 do
11123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11124 echo "$as_me:$LINENO: checking for $ac_func" >&5
11125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11126 if eval "test \"\${$as_ac_var+set}\" = set"; then
11127   echo $ECHO_N "(cached) $ECHO_C" >&6
11128 else
11129   if test x$gcc_no_link = xyes; then
11130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11132    { (exit 1); exit 1; }; }
11133 fi
11134 cat >conftest.$ac_ext <<_ACEOF
11135 /* confdefs.h.  */
11136 _ACEOF
11137 cat confdefs.h >>conftest.$ac_ext
11138 cat >>conftest.$ac_ext <<_ACEOF
11139 /* end confdefs.h.  */
11140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11141    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11142 #define $ac_func innocuous_$ac_func
11143
11144 /* System header to define __stub macros and hopefully few prototypes,
11145     which can conflict with char $ac_func (); below.
11146     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11147     <limits.h> exists even on freestanding compilers.  */
11148
11149 #ifdef __STDC__
11150 # include <limits.h>
11151 #else
11152 # include <assert.h>
11153 #endif
11154
11155 #undef $ac_func
11156
11157 /* Override any gcc2 internal prototype to avoid an error.  */
11158 #ifdef __cplusplus
11159 extern "C"
11160 {
11161 #endif
11162 /* We use char because int might match the return type of a gcc2
11163    builtin and then its argument prototype would still apply.  */
11164 char $ac_func ();
11165 /* The GNU C library defines this for functions which it implements
11166     to always fail with ENOSYS.  Some functions are actually named
11167     something starting with __ and the normal name is an alias.  */
11168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11169 choke me
11170 #else
11171 char (*f) () = $ac_func;
11172 #endif
11173 #ifdef __cplusplus
11174 }
11175 #endif
11176
11177 int
11178 main ()
11179 {
11180 return f != $ac_func;
11181   ;
11182   return 0;
11183 }
11184 _ACEOF
11185 rm -f conftest.$ac_objext conftest$ac_exeext
11186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11187   (eval $ac_link) 2>conftest.er1
11188   ac_status=$?
11189   grep -v '^ *+' conftest.er1 >conftest.err
11190   rm -f conftest.er1
11191   cat conftest.err >&5
11192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193   (exit $ac_status); } &&
11194          { ac_try='test -z "$ac_c_werror_flag"
11195                          || test ! -s conftest.err'
11196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197   (eval $ac_try) 2>&5
11198   ac_status=$?
11199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200   (exit $ac_status); }; } &&
11201          { ac_try='test -s conftest$ac_exeext'
11202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203   (eval $ac_try) 2>&5
11204   ac_status=$?
11205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206   (exit $ac_status); }; }; then
11207   eval "$as_ac_var=yes"
11208 else
11209   echo "$as_me: failed program was:" >&5
11210 sed 's/^/| /' conftest.$ac_ext >&5
11211
11212 eval "$as_ac_var=no"
11213 fi
11214 rm -f conftest.err conftest.$ac_objext \
11215       conftest$ac_exeext conftest.$ac_ext
11216 fi
11217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11219 if test `eval echo '${'$as_ac_var'}'` = yes; then
11220   cat >>confdefs.h <<_ACEOF
11221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11222 _ACEOF
11223
11224 fi
11225 done
11226
11227     fi
11228   fi
11229
11230
11231
11232
11233
11234
11235   echo "$as_me:$LINENO: checking for hypot declaration" >&5
11236 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11237   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11238     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11239   echo $ECHO_N "(cached) $ECHO_C" >&6
11240 else
11241
11242
11243
11244       ac_ext=cc
11245 ac_cpp='$CXXCPP $CPPFLAGS'
11246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11249
11250       cat >conftest.$ac_ext <<_ACEOF
11251 /* confdefs.h.  */
11252 _ACEOF
11253 cat confdefs.h >>conftest.$ac_ext
11254 cat >>conftest.$ac_ext <<_ACEOF
11255 /* end confdefs.h.  */
11256 #include <math.h>
11257 int
11258 main ()
11259 {
11260  hypot(0, 0);
11261   ;
11262   return 0;
11263 }
11264 _ACEOF
11265 rm -f conftest.$ac_objext
11266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11267   (eval $ac_compile) 2>conftest.er1
11268   ac_status=$?
11269   grep -v '^ *+' conftest.er1 >conftest.err
11270   rm -f conftest.er1
11271   cat conftest.err >&5
11272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273   (exit $ac_status); } &&
11274          { ac_try='test -z "$ac_cxx_werror_flag"
11275                          || test ! -s conftest.err'
11276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11277   (eval $ac_try) 2>&5
11278   ac_status=$?
11279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280   (exit $ac_status); }; } &&
11281          { ac_try='test -s conftest.$ac_objext'
11282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11283   (eval $ac_try) 2>&5
11284   ac_status=$?
11285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286   (exit $ac_status); }; }; then
11287   glibcxx_cv_func_hypot_use=yes
11288 else
11289   echo "$as_me: failed program was:" >&5
11290 sed 's/^/| /' conftest.$ac_ext >&5
11291
11292 glibcxx_cv_func_hypot_use=no
11293 fi
11294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11295       ac_ext=c
11296 ac_cpp='$CPP $CPPFLAGS'
11297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11300
11301
11302 fi
11303
11304   fi
11305   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11306 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11307
11308   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11309
11310 for ac_func in hypot
11311 do
11312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11313 echo "$as_me:$LINENO: checking for $ac_func" >&5
11314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11315 if eval "test \"\${$as_ac_var+set}\" = set"; then
11316   echo $ECHO_N "(cached) $ECHO_C" >&6
11317 else
11318   if test x$gcc_no_link = xyes; then
11319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11321    { (exit 1); exit 1; }; }
11322 fi
11323 cat >conftest.$ac_ext <<_ACEOF
11324 /* confdefs.h.  */
11325 _ACEOF
11326 cat confdefs.h >>conftest.$ac_ext
11327 cat >>conftest.$ac_ext <<_ACEOF
11328 /* end confdefs.h.  */
11329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11330    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11331 #define $ac_func innocuous_$ac_func
11332
11333 /* System header to define __stub macros and hopefully few prototypes,
11334     which can conflict with char $ac_func (); below.
11335     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11336     <limits.h> exists even on freestanding compilers.  */
11337
11338 #ifdef __STDC__
11339 # include <limits.h>
11340 #else
11341 # include <assert.h>
11342 #endif
11343
11344 #undef $ac_func
11345
11346 /* Override any gcc2 internal prototype to avoid an error.  */
11347 #ifdef __cplusplus
11348 extern "C"
11349 {
11350 #endif
11351 /* We use char because int might match the return type of a gcc2
11352    builtin and then its argument prototype would still apply.  */
11353 char $ac_func ();
11354 /* The GNU C library defines this for functions which it implements
11355     to always fail with ENOSYS.  Some functions are actually named
11356     something starting with __ and the normal name is an alias.  */
11357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11358 choke me
11359 #else
11360 char (*f) () = $ac_func;
11361 #endif
11362 #ifdef __cplusplus
11363 }
11364 #endif
11365
11366 int
11367 main ()
11368 {
11369 return f != $ac_func;
11370   ;
11371   return 0;
11372 }
11373 _ACEOF
11374 rm -f conftest.$ac_objext conftest$ac_exeext
11375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11376   (eval $ac_link) 2>conftest.er1
11377   ac_status=$?
11378   grep -v '^ *+' conftest.er1 >conftest.err
11379   rm -f conftest.er1
11380   cat conftest.err >&5
11381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382   (exit $ac_status); } &&
11383          { ac_try='test -z "$ac_c_werror_flag"
11384                          || test ! -s conftest.err'
11385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11386   (eval $ac_try) 2>&5
11387   ac_status=$?
11388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389   (exit $ac_status); }; } &&
11390          { ac_try='test -s conftest$ac_exeext'
11391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11392   (eval $ac_try) 2>&5
11393   ac_status=$?
11394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395   (exit $ac_status); }; }; then
11396   eval "$as_ac_var=yes"
11397 else
11398   echo "$as_me: failed program was:" >&5
11399 sed 's/^/| /' conftest.$ac_ext >&5
11400
11401 eval "$as_ac_var=no"
11402 fi
11403 rm -f conftest.err conftest.$ac_objext \
11404       conftest$ac_exeext conftest.$ac_ext
11405 fi
11406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11408 if test `eval echo '${'$as_ac_var'}'` = yes; then
11409   cat >>confdefs.h <<_ACEOF
11410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11411 _ACEOF
11412
11413 fi
11414 done
11415
11416   else
11417
11418   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11419 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11420   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11421     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11422   echo $ECHO_N "(cached) $ECHO_C" >&6
11423 else
11424
11425
11426
11427       ac_ext=cc
11428 ac_cpp='$CXXCPP $CPPFLAGS'
11429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11432
11433       cat >conftest.$ac_ext <<_ACEOF
11434 /* confdefs.h.  */
11435 _ACEOF
11436 cat confdefs.h >>conftest.$ac_ext
11437 cat >>conftest.$ac_ext <<_ACEOF
11438 /* end confdefs.h.  */
11439 #include <math.h>
11440 int
11441 main ()
11442 {
11443  _hypot(0, 0);
11444   ;
11445   return 0;
11446 }
11447 _ACEOF
11448 rm -f conftest.$ac_objext
11449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11450   (eval $ac_compile) 2>conftest.er1
11451   ac_status=$?
11452   grep -v '^ *+' conftest.er1 >conftest.err
11453   rm -f conftest.er1
11454   cat conftest.err >&5
11455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456   (exit $ac_status); } &&
11457          { ac_try='test -z "$ac_cxx_werror_flag"
11458                          || test ! -s conftest.err'
11459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460   (eval $ac_try) 2>&5
11461   ac_status=$?
11462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463   (exit $ac_status); }; } &&
11464          { ac_try='test -s conftest.$ac_objext'
11465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11466   (eval $ac_try) 2>&5
11467   ac_status=$?
11468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469   (exit $ac_status); }; }; then
11470   glibcxx_cv_func__hypot_use=yes
11471 else
11472   echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.$ac_ext >&5
11474
11475 glibcxx_cv_func__hypot_use=no
11476 fi
11477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11478       ac_ext=c
11479 ac_cpp='$CPP $CPPFLAGS'
11480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11483
11484
11485 fi
11486
11487   fi
11488   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11489 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11490
11491     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11492
11493 for ac_func in _hypot
11494 do
11495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11496 echo "$as_me:$LINENO: checking for $ac_func" >&5
11497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11498 if eval "test \"\${$as_ac_var+set}\" = set"; then
11499   echo $ECHO_N "(cached) $ECHO_C" >&6
11500 else
11501   if test x$gcc_no_link = xyes; then
11502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11504    { (exit 1); exit 1; }; }
11505 fi
11506 cat >conftest.$ac_ext <<_ACEOF
11507 /* confdefs.h.  */
11508 _ACEOF
11509 cat confdefs.h >>conftest.$ac_ext
11510 cat >>conftest.$ac_ext <<_ACEOF
11511 /* end confdefs.h.  */
11512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11513    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11514 #define $ac_func innocuous_$ac_func
11515
11516 /* System header to define __stub macros and hopefully few prototypes,
11517     which can conflict with char $ac_func (); below.
11518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11519     <limits.h> exists even on freestanding compilers.  */
11520
11521 #ifdef __STDC__
11522 # include <limits.h>
11523 #else
11524 # include <assert.h>
11525 #endif
11526
11527 #undef $ac_func
11528
11529 /* Override any gcc2 internal prototype to avoid an error.  */
11530 #ifdef __cplusplus
11531 extern "C"
11532 {
11533 #endif
11534 /* We use char because int might match the return type of a gcc2
11535    builtin and then its argument prototype would still apply.  */
11536 char $ac_func ();
11537 /* The GNU C library defines this for functions which it implements
11538     to always fail with ENOSYS.  Some functions are actually named
11539     something starting with __ and the normal name is an alias.  */
11540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11541 choke me
11542 #else
11543 char (*f) () = $ac_func;
11544 #endif
11545 #ifdef __cplusplus
11546 }
11547 #endif
11548
11549 int
11550 main ()
11551 {
11552 return f != $ac_func;
11553   ;
11554   return 0;
11555 }
11556 _ACEOF
11557 rm -f conftest.$ac_objext conftest$ac_exeext
11558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11559   (eval $ac_link) 2>conftest.er1
11560   ac_status=$?
11561   grep -v '^ *+' conftest.er1 >conftest.err
11562   rm -f conftest.er1
11563   cat conftest.err >&5
11564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565   (exit $ac_status); } &&
11566          { ac_try='test -z "$ac_c_werror_flag"
11567                          || test ! -s conftest.err'
11568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11569   (eval $ac_try) 2>&5
11570   ac_status=$?
11571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572   (exit $ac_status); }; } &&
11573          { ac_try='test -s conftest$ac_exeext'
11574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11575   (eval $ac_try) 2>&5
11576   ac_status=$?
11577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578   (exit $ac_status); }; }; then
11579   eval "$as_ac_var=yes"
11580 else
11581   echo "$as_me: failed program was:" >&5
11582 sed 's/^/| /' conftest.$ac_ext >&5
11583
11584 eval "$as_ac_var=no"
11585 fi
11586 rm -f conftest.err conftest.$ac_objext \
11587       conftest$ac_exeext conftest.$ac_ext
11588 fi
11589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11591 if test `eval echo '${'$as_ac_var'}'` = yes; then
11592   cat >>confdefs.h <<_ACEOF
11593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11594 _ACEOF
11595
11596 fi
11597 done
11598
11599     fi
11600   fi
11601
11602
11603
11604
11605
11606
11607     echo "$as_me:$LINENO: checking for float trig functions" >&5
11608 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11609   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11610   echo $ECHO_N "(cached) $ECHO_C" >&6
11611 else
11612
11613
11614
11615     ac_ext=cc
11616 ac_cpp='$CXXCPP $CPPFLAGS'
11617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11620
11621     cat >conftest.$ac_ext <<_ACEOF
11622 /* confdefs.h.  */
11623 _ACEOF
11624 cat confdefs.h >>conftest.$ac_ext
11625 cat >>conftest.$ac_ext <<_ACEOF
11626 /* end confdefs.h.  */
11627 #include <math.h>
11628 int
11629 main ()
11630 {
11631 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11632   ;
11633   return 0;
11634 }
11635 _ACEOF
11636 rm -f conftest.$ac_objext
11637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11638   (eval $ac_compile) 2>conftest.er1
11639   ac_status=$?
11640   grep -v '^ *+' conftest.er1 >conftest.err
11641   rm -f conftest.er1
11642   cat conftest.err >&5
11643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644   (exit $ac_status); } &&
11645          { ac_try='test -z "$ac_cxx_werror_flag"
11646                          || test ! -s conftest.err'
11647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11648   (eval $ac_try) 2>&5
11649   ac_status=$?
11650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651   (exit $ac_status); }; } &&
11652          { ac_try='test -s conftest.$ac_objext'
11653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11654   (eval $ac_try) 2>&5
11655   ac_status=$?
11656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657   (exit $ac_status); }; }; then
11658   glibcxx_cv_func_float_trig_use=yes
11659 else
11660   echo "$as_me: failed program was:" >&5
11661 sed 's/^/| /' conftest.$ac_ext >&5
11662
11663 glibcxx_cv_func_float_trig_use=no
11664 fi
11665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11666     ac_ext=c
11667 ac_cpp='$CPP $CPPFLAGS'
11668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11671
11672 fi
11673
11674   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11675 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11676   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11687 do
11688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11689 echo "$as_me:$LINENO: checking for $ac_func" >&5
11690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11691 if eval "test \"\${$as_ac_var+set}\" = set"; then
11692   echo $ECHO_N "(cached) $ECHO_C" >&6
11693 else
11694   if test x$gcc_no_link = xyes; then
11695   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11697    { (exit 1); exit 1; }; }
11698 fi
11699 cat >conftest.$ac_ext <<_ACEOF
11700 /* confdefs.h.  */
11701 _ACEOF
11702 cat confdefs.h >>conftest.$ac_ext
11703 cat >>conftest.$ac_ext <<_ACEOF
11704 /* end confdefs.h.  */
11705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11706    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11707 #define $ac_func innocuous_$ac_func
11708
11709 /* System header to define __stub macros and hopefully few prototypes,
11710     which can conflict with char $ac_func (); below.
11711     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11712     <limits.h> exists even on freestanding compilers.  */
11713
11714 #ifdef __STDC__
11715 # include <limits.h>
11716 #else
11717 # include <assert.h>
11718 #endif
11719
11720 #undef $ac_func
11721
11722 /* Override any gcc2 internal prototype to avoid an error.  */
11723 #ifdef __cplusplus
11724 extern "C"
11725 {
11726 #endif
11727 /* We use char because int might match the return type of a gcc2
11728    builtin and then its argument prototype would still apply.  */
11729 char $ac_func ();
11730 /* The GNU C library defines this for functions which it implements
11731     to always fail with ENOSYS.  Some functions are actually named
11732     something starting with __ and the normal name is an alias.  */
11733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11734 choke me
11735 #else
11736 char (*f) () = $ac_func;
11737 #endif
11738 #ifdef __cplusplus
11739 }
11740 #endif
11741
11742 int
11743 main ()
11744 {
11745 return f != $ac_func;
11746   ;
11747   return 0;
11748 }
11749 _ACEOF
11750 rm -f conftest.$ac_objext conftest$ac_exeext
11751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11752   (eval $ac_link) 2>conftest.er1
11753   ac_status=$?
11754   grep -v '^ *+' conftest.er1 >conftest.err
11755   rm -f conftest.er1
11756   cat conftest.err >&5
11757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758   (exit $ac_status); } &&
11759          { ac_try='test -z "$ac_c_werror_flag"
11760                          || test ! -s conftest.err'
11761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11762   (eval $ac_try) 2>&5
11763   ac_status=$?
11764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765   (exit $ac_status); }; } &&
11766          { ac_try='test -s conftest$ac_exeext'
11767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11768   (eval $ac_try) 2>&5
11769   ac_status=$?
11770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771   (exit $ac_status); }; }; then
11772   eval "$as_ac_var=yes"
11773 else
11774   echo "$as_me: failed program was:" >&5
11775 sed 's/^/| /' conftest.$ac_ext >&5
11776
11777 eval "$as_ac_var=no"
11778 fi
11779 rm -f conftest.err conftest.$ac_objext \
11780       conftest$ac_exeext conftest.$ac_ext
11781 fi
11782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11784 if test `eval echo '${'$as_ac_var'}'` = yes; then
11785   cat >>confdefs.h <<_ACEOF
11786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11787 _ACEOF
11788
11789 fi
11790 done
11791
11792   else
11793     echo "$as_me:$LINENO: checking for _float trig functions" >&5
11794 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11795     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11796   echo $ECHO_N "(cached) $ECHO_C" >&6
11797 else
11798
11799
11800
11801       ac_ext=cc
11802 ac_cpp='$CXXCPP $CPPFLAGS'
11803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11806
11807       cat >conftest.$ac_ext <<_ACEOF
11808 /* confdefs.h.  */
11809 _ACEOF
11810 cat confdefs.h >>conftest.$ac_ext
11811 cat >>conftest.$ac_ext <<_ACEOF
11812 /* end confdefs.h.  */
11813 #include <math.h>
11814 int
11815 main ()
11816 {
11817 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11818   ;
11819   return 0;
11820 }
11821 _ACEOF
11822 rm -f conftest.$ac_objext
11823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11824   (eval $ac_compile) 2>conftest.er1
11825   ac_status=$?
11826   grep -v '^ *+' conftest.er1 >conftest.err
11827   rm -f conftest.er1
11828   cat conftest.err >&5
11829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830   (exit $ac_status); } &&
11831          { ac_try='test -z "$ac_cxx_werror_flag"
11832                          || test ! -s conftest.err'
11833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11834   (eval $ac_try) 2>&5
11835   ac_status=$?
11836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837   (exit $ac_status); }; } &&
11838          { ac_try='test -s conftest.$ac_objext'
11839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11840   (eval $ac_try) 2>&5
11841   ac_status=$?
11842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11843   (exit $ac_status); }; }; then
11844   glibcxx_cv_func__float_trig_use=yes
11845 else
11846   echo "$as_me: failed program was:" >&5
11847 sed 's/^/| /' conftest.$ac_ext >&5
11848
11849 glibcxx_cv_func__float_trig_use=no
11850 fi
11851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11852       ac_ext=c
11853 ac_cpp='$CPP $CPPFLAGS'
11854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11857
11858 fi
11859
11860     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11861 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11862     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11873 do
11874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11875 echo "$as_me:$LINENO: checking for $ac_func" >&5
11876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11877 if eval "test \"\${$as_ac_var+set}\" = set"; then
11878   echo $ECHO_N "(cached) $ECHO_C" >&6
11879 else
11880   if test x$gcc_no_link = xyes; then
11881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11883    { (exit 1); exit 1; }; }
11884 fi
11885 cat >conftest.$ac_ext <<_ACEOF
11886 /* confdefs.h.  */
11887 _ACEOF
11888 cat confdefs.h >>conftest.$ac_ext
11889 cat >>conftest.$ac_ext <<_ACEOF
11890 /* end confdefs.h.  */
11891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11893 #define $ac_func innocuous_$ac_func
11894
11895 /* System header to define __stub macros and hopefully few prototypes,
11896     which can conflict with char $ac_func (); below.
11897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11898     <limits.h> exists even on freestanding compilers.  */
11899
11900 #ifdef __STDC__
11901 # include <limits.h>
11902 #else
11903 # include <assert.h>
11904 #endif
11905
11906 #undef $ac_func
11907
11908 /* Override any gcc2 internal prototype to avoid an error.  */
11909 #ifdef __cplusplus
11910 extern "C"
11911 {
11912 #endif
11913 /* We use char because int might match the return type of a gcc2
11914    builtin and then its argument prototype would still apply.  */
11915 char $ac_func ();
11916 /* The GNU C library defines this for functions which it implements
11917     to always fail with ENOSYS.  Some functions are actually named
11918     something starting with __ and the normal name is an alias.  */
11919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11920 choke me
11921 #else
11922 char (*f) () = $ac_func;
11923 #endif
11924 #ifdef __cplusplus
11925 }
11926 #endif
11927
11928 int
11929 main ()
11930 {
11931 return f != $ac_func;
11932   ;
11933   return 0;
11934 }
11935 _ACEOF
11936 rm -f conftest.$ac_objext conftest$ac_exeext
11937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11938   (eval $ac_link) 2>conftest.er1
11939   ac_status=$?
11940   grep -v '^ *+' conftest.er1 >conftest.err
11941   rm -f conftest.er1
11942   cat conftest.err >&5
11943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944   (exit $ac_status); } &&
11945          { ac_try='test -z "$ac_c_werror_flag"
11946                          || test ! -s conftest.err'
11947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948   (eval $ac_try) 2>&5
11949   ac_status=$?
11950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951   (exit $ac_status); }; } &&
11952          { ac_try='test -s conftest$ac_exeext'
11953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954   (eval $ac_try) 2>&5
11955   ac_status=$?
11956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957   (exit $ac_status); }; }; then
11958   eval "$as_ac_var=yes"
11959 else
11960   echo "$as_me: failed program was:" >&5
11961 sed 's/^/| /' conftest.$ac_ext >&5
11962
11963 eval "$as_ac_var=no"
11964 fi
11965 rm -f conftest.err conftest.$ac_objext \
11966       conftest$ac_exeext conftest.$ac_ext
11967 fi
11968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11970 if test `eval echo '${'$as_ac_var'}'` = yes; then
11971   cat >>confdefs.h <<_ACEOF
11972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11973 _ACEOF
11974
11975 fi
11976 done
11977
11978     fi
11979   fi
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994     echo "$as_me:$LINENO: checking for float round functions" >&5
11995 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11996   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11997   echo $ECHO_N "(cached) $ECHO_C" >&6
11998 else
11999
12000
12001
12002     ac_ext=cc
12003 ac_cpp='$CXXCPP $CPPFLAGS'
12004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12007
12008     cat >conftest.$ac_ext <<_ACEOF
12009 /* confdefs.h.  */
12010 _ACEOF
12011 cat confdefs.h >>conftest.$ac_ext
12012 cat >>conftest.$ac_ext <<_ACEOF
12013 /* end confdefs.h.  */
12014 #include <math.h>
12015 int
12016 main ()
12017 {
12018 ceilf (0); floorf (0);
12019   ;
12020   return 0;
12021 }
12022 _ACEOF
12023 rm -f conftest.$ac_objext
12024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12025   (eval $ac_compile) 2>conftest.er1
12026   ac_status=$?
12027   grep -v '^ *+' conftest.er1 >conftest.err
12028   rm -f conftest.er1
12029   cat conftest.err >&5
12030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031   (exit $ac_status); } &&
12032          { ac_try='test -z "$ac_cxx_werror_flag"
12033                          || test ! -s conftest.err'
12034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12035   (eval $ac_try) 2>&5
12036   ac_status=$?
12037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038   (exit $ac_status); }; } &&
12039          { ac_try='test -s conftest.$ac_objext'
12040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12041   (eval $ac_try) 2>&5
12042   ac_status=$?
12043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044   (exit $ac_status); }; }; then
12045   glibcxx_cv_func_float_round_use=yes
12046 else
12047   echo "$as_me: failed program was:" >&5
12048 sed 's/^/| /' conftest.$ac_ext >&5
12049
12050 glibcxx_cv_func_float_round_use=no
12051 fi
12052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12053     ac_ext=c
12054 ac_cpp='$CPP $CPPFLAGS'
12055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12058
12059 fi
12060
12061   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
12062 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
12063   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12064
12065
12066 for ac_func in ceilf floorf
12067 do
12068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12069 echo "$as_me:$LINENO: checking for $ac_func" >&5
12070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12071 if eval "test \"\${$as_ac_var+set}\" = set"; then
12072   echo $ECHO_N "(cached) $ECHO_C" >&6
12073 else
12074   if test x$gcc_no_link = xyes; then
12075   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12077    { (exit 1); exit 1; }; }
12078 fi
12079 cat >conftest.$ac_ext <<_ACEOF
12080 /* confdefs.h.  */
12081 _ACEOF
12082 cat confdefs.h >>conftest.$ac_ext
12083 cat >>conftest.$ac_ext <<_ACEOF
12084 /* end confdefs.h.  */
12085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12086    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12087 #define $ac_func innocuous_$ac_func
12088
12089 /* System header to define __stub macros and hopefully few prototypes,
12090     which can conflict with char $ac_func (); below.
12091     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12092     <limits.h> exists even on freestanding compilers.  */
12093
12094 #ifdef __STDC__
12095 # include <limits.h>
12096 #else
12097 # include <assert.h>
12098 #endif
12099
12100 #undef $ac_func
12101
12102 /* Override any gcc2 internal prototype to avoid an error.  */
12103 #ifdef __cplusplus
12104 extern "C"
12105 {
12106 #endif
12107 /* We use char because int might match the return type of a gcc2
12108    builtin and then its argument prototype would still apply.  */
12109 char $ac_func ();
12110 /* The GNU C library defines this for functions which it implements
12111     to always fail with ENOSYS.  Some functions are actually named
12112     something starting with __ and the normal name is an alias.  */
12113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12114 choke me
12115 #else
12116 char (*f) () = $ac_func;
12117 #endif
12118 #ifdef __cplusplus
12119 }
12120 #endif
12121
12122 int
12123 main ()
12124 {
12125 return f != $ac_func;
12126   ;
12127   return 0;
12128 }
12129 _ACEOF
12130 rm -f conftest.$ac_objext conftest$ac_exeext
12131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12132   (eval $ac_link) 2>conftest.er1
12133   ac_status=$?
12134   grep -v '^ *+' conftest.er1 >conftest.err
12135   rm -f conftest.er1
12136   cat conftest.err >&5
12137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138   (exit $ac_status); } &&
12139          { ac_try='test -z "$ac_c_werror_flag"
12140                          || test ! -s conftest.err'
12141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142   (eval $ac_try) 2>&5
12143   ac_status=$?
12144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145   (exit $ac_status); }; } &&
12146          { ac_try='test -s conftest$ac_exeext'
12147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12148   (eval $ac_try) 2>&5
12149   ac_status=$?
12150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151   (exit $ac_status); }; }; then
12152   eval "$as_ac_var=yes"
12153 else
12154   echo "$as_me: failed program was:" >&5
12155 sed 's/^/| /' conftest.$ac_ext >&5
12156
12157 eval "$as_ac_var=no"
12158 fi
12159 rm -f conftest.err conftest.$ac_objext \
12160       conftest$ac_exeext conftest.$ac_ext
12161 fi
12162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12164 if test `eval echo '${'$as_ac_var'}'` = yes; then
12165   cat >>confdefs.h <<_ACEOF
12166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12167 _ACEOF
12168
12169 fi
12170 done
12171
12172   else
12173     echo "$as_me:$LINENO: checking for _float round functions" >&5
12174 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12175     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12176   echo $ECHO_N "(cached) $ECHO_C" >&6
12177 else
12178
12179
12180
12181       ac_ext=cc
12182 ac_cpp='$CXXCPP $CPPFLAGS'
12183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12186
12187       cat >conftest.$ac_ext <<_ACEOF
12188 /* confdefs.h.  */
12189 _ACEOF
12190 cat confdefs.h >>conftest.$ac_ext
12191 cat >>conftest.$ac_ext <<_ACEOF
12192 /* end confdefs.h.  */
12193 #include <math.h>
12194 int
12195 main ()
12196 {
12197 _ceilf (0); _floorf (0);
12198   ;
12199   return 0;
12200 }
12201 _ACEOF
12202 rm -f conftest.$ac_objext
12203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12204   (eval $ac_compile) 2>conftest.er1
12205   ac_status=$?
12206   grep -v '^ *+' conftest.er1 >conftest.err
12207   rm -f conftest.er1
12208   cat conftest.err >&5
12209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210   (exit $ac_status); } &&
12211          { ac_try='test -z "$ac_cxx_werror_flag"
12212                          || test ! -s conftest.err'
12213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12214   (eval $ac_try) 2>&5
12215   ac_status=$?
12216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217   (exit $ac_status); }; } &&
12218          { ac_try='test -s conftest.$ac_objext'
12219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12220   (eval $ac_try) 2>&5
12221   ac_status=$?
12222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223   (exit $ac_status); }; }; then
12224   glibcxx_cv_func__float_round_use=yes
12225 else
12226   echo "$as_me: failed program was:" >&5
12227 sed 's/^/| /' conftest.$ac_ext >&5
12228
12229 glibcxx_cv_func__float_round_use=no
12230 fi
12231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12232       ac_ext=c
12233 ac_cpp='$CPP $CPPFLAGS'
12234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12237
12238 fi
12239
12240     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12241 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12242     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12243
12244
12245 for ac_func in _ceilf _floorf
12246 do
12247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12248 echo "$as_me:$LINENO: checking for $ac_func" >&5
12249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12250 if eval "test \"\${$as_ac_var+set}\" = set"; then
12251   echo $ECHO_N "(cached) $ECHO_C" >&6
12252 else
12253   if test x$gcc_no_link = xyes; then
12254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12256    { (exit 1); exit 1; }; }
12257 fi
12258 cat >conftest.$ac_ext <<_ACEOF
12259 /* confdefs.h.  */
12260 _ACEOF
12261 cat confdefs.h >>conftest.$ac_ext
12262 cat >>conftest.$ac_ext <<_ACEOF
12263 /* end confdefs.h.  */
12264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12265    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12266 #define $ac_func innocuous_$ac_func
12267
12268 /* System header to define __stub macros and hopefully few prototypes,
12269     which can conflict with char $ac_func (); below.
12270     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12271     <limits.h> exists even on freestanding compilers.  */
12272
12273 #ifdef __STDC__
12274 # include <limits.h>
12275 #else
12276 # include <assert.h>
12277 #endif
12278
12279 #undef $ac_func
12280
12281 /* Override any gcc2 internal prototype to avoid an error.  */
12282 #ifdef __cplusplus
12283 extern "C"
12284 {
12285 #endif
12286 /* We use char because int might match the return type of a gcc2
12287    builtin and then its argument prototype would still apply.  */
12288 char $ac_func ();
12289 /* The GNU C library defines this for functions which it implements
12290     to always fail with ENOSYS.  Some functions are actually named
12291     something starting with __ and the normal name is an alias.  */
12292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12293 choke me
12294 #else
12295 char (*f) () = $ac_func;
12296 #endif
12297 #ifdef __cplusplus
12298 }
12299 #endif
12300
12301 int
12302 main ()
12303 {
12304 return f != $ac_func;
12305   ;
12306   return 0;
12307 }
12308 _ACEOF
12309 rm -f conftest.$ac_objext conftest$ac_exeext
12310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12311   (eval $ac_link) 2>conftest.er1
12312   ac_status=$?
12313   grep -v '^ *+' conftest.er1 >conftest.err
12314   rm -f conftest.er1
12315   cat conftest.err >&5
12316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317   (exit $ac_status); } &&
12318          { ac_try='test -z "$ac_c_werror_flag"
12319                          || test ! -s conftest.err'
12320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321   (eval $ac_try) 2>&5
12322   ac_status=$?
12323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324   (exit $ac_status); }; } &&
12325          { ac_try='test -s conftest$ac_exeext'
12326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12327   (eval $ac_try) 2>&5
12328   ac_status=$?
12329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12330   (exit $ac_status); }; }; then
12331   eval "$as_ac_var=yes"
12332 else
12333   echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.$ac_ext >&5
12335
12336 eval "$as_ac_var=no"
12337 fi
12338 rm -f conftest.err conftest.$ac_objext \
12339       conftest$ac_exeext conftest.$ac_ext
12340 fi
12341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12343 if test `eval echo '${'$as_ac_var'}'` = yes; then
12344   cat >>confdefs.h <<_ACEOF
12345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12346 _ACEOF
12347
12348 fi
12349 done
12350
12351     fi
12352   fi
12353
12354
12355
12356
12357
12358
12359
12360
12361   echo "$as_me:$LINENO: checking for expf declaration" >&5
12362 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12363   if test x${glibcxx_cv_func_expf_use+set} != xset; then
12364     if test "${glibcxx_cv_func_expf_use+set}" = set; then
12365   echo $ECHO_N "(cached) $ECHO_C" >&6
12366 else
12367
12368
12369
12370       ac_ext=cc
12371 ac_cpp='$CXXCPP $CPPFLAGS'
12372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12375
12376       cat >conftest.$ac_ext <<_ACEOF
12377 /* confdefs.h.  */
12378 _ACEOF
12379 cat confdefs.h >>conftest.$ac_ext
12380 cat >>conftest.$ac_ext <<_ACEOF
12381 /* end confdefs.h.  */
12382 #include <math.h>
12383                       #ifdef HAVE_IEEEFP_H
12384                       #include <ieeefp.h>
12385                       #endif
12386
12387 int
12388 main ()
12389 {
12390  expf(0);
12391   ;
12392   return 0;
12393 }
12394 _ACEOF
12395 rm -f conftest.$ac_objext
12396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12397   (eval $ac_compile) 2>conftest.er1
12398   ac_status=$?
12399   grep -v '^ *+' conftest.er1 >conftest.err
12400   rm -f conftest.er1
12401   cat conftest.err >&5
12402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403   (exit $ac_status); } &&
12404          { ac_try='test -z "$ac_cxx_werror_flag"
12405                          || test ! -s conftest.err'
12406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12407   (eval $ac_try) 2>&5
12408   ac_status=$?
12409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410   (exit $ac_status); }; } &&
12411          { ac_try='test -s conftest.$ac_objext'
12412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12413   (eval $ac_try) 2>&5
12414   ac_status=$?
12415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416   (exit $ac_status); }; }; then
12417   glibcxx_cv_func_expf_use=yes
12418 else
12419   echo "$as_me: failed program was:" >&5
12420 sed 's/^/| /' conftest.$ac_ext >&5
12421
12422 glibcxx_cv_func_expf_use=no
12423 fi
12424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12425       ac_ext=c
12426 ac_cpp='$CPP $CPPFLAGS'
12427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12430
12431
12432 fi
12433
12434   fi
12435   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12436 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12437
12438   if test x$glibcxx_cv_func_expf_use = x"yes"; then
12439
12440 for ac_func in expf
12441 do
12442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12443 echo "$as_me:$LINENO: checking for $ac_func" >&5
12444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12445 if eval "test \"\${$as_ac_var+set}\" = set"; then
12446   echo $ECHO_N "(cached) $ECHO_C" >&6
12447 else
12448   if test x$gcc_no_link = xyes; then
12449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12451    { (exit 1); exit 1; }; }
12452 fi
12453 cat >conftest.$ac_ext <<_ACEOF
12454 /* confdefs.h.  */
12455 _ACEOF
12456 cat confdefs.h >>conftest.$ac_ext
12457 cat >>conftest.$ac_ext <<_ACEOF
12458 /* end confdefs.h.  */
12459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12461 #define $ac_func innocuous_$ac_func
12462
12463 /* System header to define __stub macros and hopefully few prototypes,
12464     which can conflict with char $ac_func (); below.
12465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12466     <limits.h> exists even on freestanding compilers.  */
12467
12468 #ifdef __STDC__
12469 # include <limits.h>
12470 #else
12471 # include <assert.h>
12472 #endif
12473
12474 #undef $ac_func
12475
12476 /* Override any gcc2 internal prototype to avoid an error.  */
12477 #ifdef __cplusplus
12478 extern "C"
12479 {
12480 #endif
12481 /* We use char because int might match the return type of a gcc2
12482    builtin and then its argument prototype would still apply.  */
12483 char $ac_func ();
12484 /* The GNU C library defines this for functions which it implements
12485     to always fail with ENOSYS.  Some functions are actually named
12486     something starting with __ and the normal name is an alias.  */
12487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12488 choke me
12489 #else
12490 char (*f) () = $ac_func;
12491 #endif
12492 #ifdef __cplusplus
12493 }
12494 #endif
12495
12496 int
12497 main ()
12498 {
12499 return f != $ac_func;
12500   ;
12501   return 0;
12502 }
12503 _ACEOF
12504 rm -f conftest.$ac_objext conftest$ac_exeext
12505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12506   (eval $ac_link) 2>conftest.er1
12507   ac_status=$?
12508   grep -v '^ *+' conftest.er1 >conftest.err
12509   rm -f conftest.er1
12510   cat conftest.err >&5
12511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512   (exit $ac_status); } &&
12513          { ac_try='test -z "$ac_c_werror_flag"
12514                          || test ! -s conftest.err'
12515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12516   (eval $ac_try) 2>&5
12517   ac_status=$?
12518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519   (exit $ac_status); }; } &&
12520          { ac_try='test -s conftest$ac_exeext'
12521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12522   (eval $ac_try) 2>&5
12523   ac_status=$?
12524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525   (exit $ac_status); }; }; then
12526   eval "$as_ac_var=yes"
12527 else
12528   echo "$as_me: failed program was:" >&5
12529 sed 's/^/| /' conftest.$ac_ext >&5
12530
12531 eval "$as_ac_var=no"
12532 fi
12533 rm -f conftest.err conftest.$ac_objext \
12534       conftest$ac_exeext conftest.$ac_ext
12535 fi
12536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12538 if test `eval echo '${'$as_ac_var'}'` = yes; then
12539   cat >>confdefs.h <<_ACEOF
12540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12541 _ACEOF
12542
12543 fi
12544 done
12545
12546   else
12547
12548   echo "$as_me:$LINENO: checking for _expf declaration" >&5
12549 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12550   if test x${glibcxx_cv_func__expf_use+set} != xset; then
12551     if test "${glibcxx_cv_func__expf_use+set}" = set; then
12552   echo $ECHO_N "(cached) $ECHO_C" >&6
12553 else
12554
12555
12556
12557       ac_ext=cc
12558 ac_cpp='$CXXCPP $CPPFLAGS'
12559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12562
12563       cat >conftest.$ac_ext <<_ACEOF
12564 /* confdefs.h.  */
12565 _ACEOF
12566 cat confdefs.h >>conftest.$ac_ext
12567 cat >>conftest.$ac_ext <<_ACEOF
12568 /* end confdefs.h.  */
12569 #include <math.h>
12570                       #ifdef HAVE_IEEEFP_H
12571                       #include <ieeefp.h>
12572                       #endif
12573
12574 int
12575 main ()
12576 {
12577  _expf(0);
12578   ;
12579   return 0;
12580 }
12581 _ACEOF
12582 rm -f conftest.$ac_objext
12583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12584   (eval $ac_compile) 2>conftest.er1
12585   ac_status=$?
12586   grep -v '^ *+' conftest.er1 >conftest.err
12587   rm -f conftest.er1
12588   cat conftest.err >&5
12589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590   (exit $ac_status); } &&
12591          { ac_try='test -z "$ac_cxx_werror_flag"
12592                          || test ! -s conftest.err'
12593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12594   (eval $ac_try) 2>&5
12595   ac_status=$?
12596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597   (exit $ac_status); }; } &&
12598          { ac_try='test -s conftest.$ac_objext'
12599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12600   (eval $ac_try) 2>&5
12601   ac_status=$?
12602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603   (exit $ac_status); }; }; then
12604   glibcxx_cv_func__expf_use=yes
12605 else
12606   echo "$as_me: failed program was:" >&5
12607 sed 's/^/| /' conftest.$ac_ext >&5
12608
12609 glibcxx_cv_func__expf_use=no
12610 fi
12611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12612       ac_ext=c
12613 ac_cpp='$CPP $CPPFLAGS'
12614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12617
12618
12619 fi
12620
12621   fi
12622   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12623 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12624
12625     if test x$glibcxx_cv_func__expf_use = x"yes"; then
12626
12627 for ac_func in _expf
12628 do
12629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12630 echo "$as_me:$LINENO: checking for $ac_func" >&5
12631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12632 if eval "test \"\${$as_ac_var+set}\" = set"; then
12633   echo $ECHO_N "(cached) $ECHO_C" >&6
12634 else
12635   if test x$gcc_no_link = xyes; then
12636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12638    { (exit 1); exit 1; }; }
12639 fi
12640 cat >conftest.$ac_ext <<_ACEOF
12641 /* confdefs.h.  */
12642 _ACEOF
12643 cat confdefs.h >>conftest.$ac_ext
12644 cat >>conftest.$ac_ext <<_ACEOF
12645 /* end confdefs.h.  */
12646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12648 #define $ac_func innocuous_$ac_func
12649
12650 /* System header to define __stub macros and hopefully few prototypes,
12651     which can conflict with char $ac_func (); below.
12652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12653     <limits.h> exists even on freestanding compilers.  */
12654
12655 #ifdef __STDC__
12656 # include <limits.h>
12657 #else
12658 # include <assert.h>
12659 #endif
12660
12661 #undef $ac_func
12662
12663 /* Override any gcc2 internal prototype to avoid an error.  */
12664 #ifdef __cplusplus
12665 extern "C"
12666 {
12667 #endif
12668 /* We use char because int might match the return type of a gcc2
12669    builtin and then its argument prototype would still apply.  */
12670 char $ac_func ();
12671 /* The GNU C library defines this for functions which it implements
12672     to always fail with ENOSYS.  Some functions are actually named
12673     something starting with __ and the normal name is an alias.  */
12674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12675 choke me
12676 #else
12677 char (*f) () = $ac_func;
12678 #endif
12679 #ifdef __cplusplus
12680 }
12681 #endif
12682
12683 int
12684 main ()
12685 {
12686 return f != $ac_func;
12687   ;
12688   return 0;
12689 }
12690 _ACEOF
12691 rm -f conftest.$ac_objext conftest$ac_exeext
12692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12693   (eval $ac_link) 2>conftest.er1
12694   ac_status=$?
12695   grep -v '^ *+' conftest.er1 >conftest.err
12696   rm -f conftest.er1
12697   cat conftest.err >&5
12698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699   (exit $ac_status); } &&
12700          { ac_try='test -z "$ac_c_werror_flag"
12701                          || test ! -s conftest.err'
12702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12703   (eval $ac_try) 2>&5
12704   ac_status=$?
12705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706   (exit $ac_status); }; } &&
12707          { ac_try='test -s conftest$ac_exeext'
12708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12709   (eval $ac_try) 2>&5
12710   ac_status=$?
12711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712   (exit $ac_status); }; }; then
12713   eval "$as_ac_var=yes"
12714 else
12715   echo "$as_me: failed program was:" >&5
12716 sed 's/^/| /' conftest.$ac_ext >&5
12717
12718 eval "$as_ac_var=no"
12719 fi
12720 rm -f conftest.err conftest.$ac_objext \
12721       conftest$ac_exeext conftest.$ac_ext
12722 fi
12723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12725 if test `eval echo '${'$as_ac_var'}'` = yes; then
12726   cat >>confdefs.h <<_ACEOF
12727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12728 _ACEOF
12729
12730 fi
12731 done
12732
12733     fi
12734   fi
12735
12736
12737
12738
12739
12740
12741   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12742 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12743   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12744     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12745   echo $ECHO_N "(cached) $ECHO_C" >&6
12746 else
12747
12748
12749
12750       ac_ext=cc
12751 ac_cpp='$CXXCPP $CPPFLAGS'
12752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12755
12756       cat >conftest.$ac_ext <<_ACEOF
12757 /* confdefs.h.  */
12758 _ACEOF
12759 cat confdefs.h >>conftest.$ac_ext
12760 cat >>conftest.$ac_ext <<_ACEOF
12761 /* end confdefs.h.  */
12762 #include <math.h>
12763                       #ifdef HAVE_IEEEFP_H
12764                       #include <ieeefp.h>
12765                       #endif
12766
12767 int
12768 main ()
12769 {
12770  isnanf(0);
12771   ;
12772   return 0;
12773 }
12774 _ACEOF
12775 rm -f conftest.$ac_objext
12776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12777   (eval $ac_compile) 2>conftest.er1
12778   ac_status=$?
12779   grep -v '^ *+' conftest.er1 >conftest.err
12780   rm -f conftest.er1
12781   cat conftest.err >&5
12782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783   (exit $ac_status); } &&
12784          { ac_try='test -z "$ac_cxx_werror_flag"
12785                          || test ! -s conftest.err'
12786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787   (eval $ac_try) 2>&5
12788   ac_status=$?
12789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790   (exit $ac_status); }; } &&
12791          { ac_try='test -s conftest.$ac_objext'
12792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12793   (eval $ac_try) 2>&5
12794   ac_status=$?
12795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796   (exit $ac_status); }; }; then
12797   glibcxx_cv_func_isnanf_use=yes
12798 else
12799   echo "$as_me: failed program was:" >&5
12800 sed 's/^/| /' conftest.$ac_ext >&5
12801
12802 glibcxx_cv_func_isnanf_use=no
12803 fi
12804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12805       ac_ext=c
12806 ac_cpp='$CPP $CPPFLAGS'
12807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12810
12811
12812 fi
12813
12814   fi
12815   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12816 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12817
12818   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12819
12820 for ac_func in isnanf
12821 do
12822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12823 echo "$as_me:$LINENO: checking for $ac_func" >&5
12824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12825 if eval "test \"\${$as_ac_var+set}\" = set"; then
12826   echo $ECHO_N "(cached) $ECHO_C" >&6
12827 else
12828   if test x$gcc_no_link = xyes; then
12829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12831    { (exit 1); exit 1; }; }
12832 fi
12833 cat >conftest.$ac_ext <<_ACEOF
12834 /* confdefs.h.  */
12835 _ACEOF
12836 cat confdefs.h >>conftest.$ac_ext
12837 cat >>conftest.$ac_ext <<_ACEOF
12838 /* end confdefs.h.  */
12839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12841 #define $ac_func innocuous_$ac_func
12842
12843 /* System header to define __stub macros and hopefully few prototypes,
12844     which can conflict with char $ac_func (); below.
12845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12846     <limits.h> exists even on freestanding compilers.  */
12847
12848 #ifdef __STDC__
12849 # include <limits.h>
12850 #else
12851 # include <assert.h>
12852 #endif
12853
12854 #undef $ac_func
12855
12856 /* Override any gcc2 internal prototype to avoid an error.  */
12857 #ifdef __cplusplus
12858 extern "C"
12859 {
12860 #endif
12861 /* We use char because int might match the return type of a gcc2
12862    builtin and then its argument prototype would still apply.  */
12863 char $ac_func ();
12864 /* The GNU C library defines this for functions which it implements
12865     to always fail with ENOSYS.  Some functions are actually named
12866     something starting with __ and the normal name is an alias.  */
12867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12868 choke me
12869 #else
12870 char (*f) () = $ac_func;
12871 #endif
12872 #ifdef __cplusplus
12873 }
12874 #endif
12875
12876 int
12877 main ()
12878 {
12879 return f != $ac_func;
12880   ;
12881   return 0;
12882 }
12883 _ACEOF
12884 rm -f conftest.$ac_objext conftest$ac_exeext
12885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12886   (eval $ac_link) 2>conftest.er1
12887   ac_status=$?
12888   grep -v '^ *+' conftest.er1 >conftest.err
12889   rm -f conftest.er1
12890   cat conftest.err >&5
12891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892   (exit $ac_status); } &&
12893          { ac_try='test -z "$ac_c_werror_flag"
12894                          || test ! -s conftest.err'
12895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12896   (eval $ac_try) 2>&5
12897   ac_status=$?
12898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899   (exit $ac_status); }; } &&
12900          { ac_try='test -s conftest$ac_exeext'
12901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902   (eval $ac_try) 2>&5
12903   ac_status=$?
12904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905   (exit $ac_status); }; }; then
12906   eval "$as_ac_var=yes"
12907 else
12908   echo "$as_me: failed program was:" >&5
12909 sed 's/^/| /' conftest.$ac_ext >&5
12910
12911 eval "$as_ac_var=no"
12912 fi
12913 rm -f conftest.err conftest.$ac_objext \
12914       conftest$ac_exeext conftest.$ac_ext
12915 fi
12916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12918 if test `eval echo '${'$as_ac_var'}'` = yes; then
12919   cat >>confdefs.h <<_ACEOF
12920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12921 _ACEOF
12922
12923 fi
12924 done
12925
12926   else
12927
12928   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12929 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12930   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12931     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12932   echo $ECHO_N "(cached) $ECHO_C" >&6
12933 else
12934
12935
12936
12937       ac_ext=cc
12938 ac_cpp='$CXXCPP $CPPFLAGS'
12939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12942
12943       cat >conftest.$ac_ext <<_ACEOF
12944 /* confdefs.h.  */
12945 _ACEOF
12946 cat confdefs.h >>conftest.$ac_ext
12947 cat >>conftest.$ac_ext <<_ACEOF
12948 /* end confdefs.h.  */
12949 #include <math.h>
12950                       #ifdef HAVE_IEEEFP_H
12951                       #include <ieeefp.h>
12952                       #endif
12953
12954 int
12955 main ()
12956 {
12957  _isnanf(0);
12958   ;
12959   return 0;
12960 }
12961 _ACEOF
12962 rm -f conftest.$ac_objext
12963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12964   (eval $ac_compile) 2>conftest.er1
12965   ac_status=$?
12966   grep -v '^ *+' conftest.er1 >conftest.err
12967   rm -f conftest.er1
12968   cat conftest.err >&5
12969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970   (exit $ac_status); } &&
12971          { ac_try='test -z "$ac_cxx_werror_flag"
12972                          || test ! -s conftest.err'
12973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12974   (eval $ac_try) 2>&5
12975   ac_status=$?
12976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977   (exit $ac_status); }; } &&
12978          { ac_try='test -s conftest.$ac_objext'
12979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12980   (eval $ac_try) 2>&5
12981   ac_status=$?
12982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983   (exit $ac_status); }; }; then
12984   glibcxx_cv_func__isnanf_use=yes
12985 else
12986   echo "$as_me: failed program was:" >&5
12987 sed 's/^/| /' conftest.$ac_ext >&5
12988
12989 glibcxx_cv_func__isnanf_use=no
12990 fi
12991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12992       ac_ext=c
12993 ac_cpp='$CPP $CPPFLAGS'
12994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12997
12998
12999 fi
13000
13001   fi
13002   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
13003 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
13004
13005     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13006
13007 for ac_func in _isnanf
13008 do
13009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13010 echo "$as_me:$LINENO: checking for $ac_func" >&5
13011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13012 if eval "test \"\${$as_ac_var+set}\" = set"; then
13013   echo $ECHO_N "(cached) $ECHO_C" >&6
13014 else
13015   if test x$gcc_no_link = xyes; then
13016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13018    { (exit 1); exit 1; }; }
13019 fi
13020 cat >conftest.$ac_ext <<_ACEOF
13021 /* confdefs.h.  */
13022 _ACEOF
13023 cat confdefs.h >>conftest.$ac_ext
13024 cat >>conftest.$ac_ext <<_ACEOF
13025 /* end confdefs.h.  */
13026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13028 #define $ac_func innocuous_$ac_func
13029
13030 /* System header to define __stub macros and hopefully few prototypes,
13031     which can conflict with char $ac_func (); below.
13032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13033     <limits.h> exists even on freestanding compilers.  */
13034
13035 #ifdef __STDC__
13036 # include <limits.h>
13037 #else
13038 # include <assert.h>
13039 #endif
13040
13041 #undef $ac_func
13042
13043 /* Override any gcc2 internal prototype to avoid an error.  */
13044 #ifdef __cplusplus
13045 extern "C"
13046 {
13047 #endif
13048 /* We use char because int might match the return type of a gcc2
13049    builtin and then its argument prototype would still apply.  */
13050 char $ac_func ();
13051 /* The GNU C library defines this for functions which it implements
13052     to always fail with ENOSYS.  Some functions are actually named
13053     something starting with __ and the normal name is an alias.  */
13054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13055 choke me
13056 #else
13057 char (*f) () = $ac_func;
13058 #endif
13059 #ifdef __cplusplus
13060 }
13061 #endif
13062
13063 int
13064 main ()
13065 {
13066 return f != $ac_func;
13067   ;
13068   return 0;
13069 }
13070 _ACEOF
13071 rm -f conftest.$ac_objext conftest$ac_exeext
13072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13073   (eval $ac_link) 2>conftest.er1
13074   ac_status=$?
13075   grep -v '^ *+' conftest.er1 >conftest.err
13076   rm -f conftest.er1
13077   cat conftest.err >&5
13078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079   (exit $ac_status); } &&
13080          { ac_try='test -z "$ac_c_werror_flag"
13081                          || test ! -s conftest.err'
13082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13083   (eval $ac_try) 2>&5
13084   ac_status=$?
13085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086   (exit $ac_status); }; } &&
13087          { ac_try='test -s conftest$ac_exeext'
13088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13089   (eval $ac_try) 2>&5
13090   ac_status=$?
13091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092   (exit $ac_status); }; }; then
13093   eval "$as_ac_var=yes"
13094 else
13095   echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.$ac_ext >&5
13097
13098 eval "$as_ac_var=no"
13099 fi
13100 rm -f conftest.err conftest.$ac_objext \
13101       conftest$ac_exeext conftest.$ac_ext
13102 fi
13103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13105 if test `eval echo '${'$as_ac_var'}'` = yes; then
13106   cat >>confdefs.h <<_ACEOF
13107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13108 _ACEOF
13109
13110 fi
13111 done
13112
13113     fi
13114   fi
13115
13116
13117
13118
13119
13120
13121   echo "$as_me:$LINENO: checking for isinff declaration" >&5
13122 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13123   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13124     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13125   echo $ECHO_N "(cached) $ECHO_C" >&6
13126 else
13127
13128
13129
13130       ac_ext=cc
13131 ac_cpp='$CXXCPP $CPPFLAGS'
13132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13135
13136       cat >conftest.$ac_ext <<_ACEOF
13137 /* confdefs.h.  */
13138 _ACEOF
13139 cat confdefs.h >>conftest.$ac_ext
13140 cat >>conftest.$ac_ext <<_ACEOF
13141 /* end confdefs.h.  */
13142 #include <math.h>
13143                       #ifdef HAVE_IEEEFP_H
13144                       #include <ieeefp.h>
13145                       #endif
13146
13147 int
13148 main ()
13149 {
13150  isinff(0);
13151   ;
13152   return 0;
13153 }
13154 _ACEOF
13155 rm -f conftest.$ac_objext
13156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13157   (eval $ac_compile) 2>conftest.er1
13158   ac_status=$?
13159   grep -v '^ *+' conftest.er1 >conftest.err
13160   rm -f conftest.er1
13161   cat conftest.err >&5
13162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163   (exit $ac_status); } &&
13164          { ac_try='test -z "$ac_cxx_werror_flag"
13165                          || test ! -s conftest.err'
13166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167   (eval $ac_try) 2>&5
13168   ac_status=$?
13169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170   (exit $ac_status); }; } &&
13171          { ac_try='test -s conftest.$ac_objext'
13172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13173   (eval $ac_try) 2>&5
13174   ac_status=$?
13175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176   (exit $ac_status); }; }; then
13177   glibcxx_cv_func_isinff_use=yes
13178 else
13179   echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.$ac_ext >&5
13181
13182 glibcxx_cv_func_isinff_use=no
13183 fi
13184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13185       ac_ext=c
13186 ac_cpp='$CPP $CPPFLAGS'
13187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13190
13191
13192 fi
13193
13194   fi
13195   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13196 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13197
13198   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13199
13200 for ac_func in isinff
13201 do
13202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13203 echo "$as_me:$LINENO: checking for $ac_func" >&5
13204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13205 if eval "test \"\${$as_ac_var+set}\" = set"; then
13206   echo $ECHO_N "(cached) $ECHO_C" >&6
13207 else
13208   if test x$gcc_no_link = xyes; then
13209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13211    { (exit 1); exit 1; }; }
13212 fi
13213 cat >conftest.$ac_ext <<_ACEOF
13214 /* confdefs.h.  */
13215 _ACEOF
13216 cat confdefs.h >>conftest.$ac_ext
13217 cat >>conftest.$ac_ext <<_ACEOF
13218 /* end confdefs.h.  */
13219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13220    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13221 #define $ac_func innocuous_$ac_func
13222
13223 /* System header to define __stub macros and hopefully few prototypes,
13224     which can conflict with char $ac_func (); below.
13225     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13226     <limits.h> exists even on freestanding compilers.  */
13227
13228 #ifdef __STDC__
13229 # include <limits.h>
13230 #else
13231 # include <assert.h>
13232 #endif
13233
13234 #undef $ac_func
13235
13236 /* Override any gcc2 internal prototype to avoid an error.  */
13237 #ifdef __cplusplus
13238 extern "C"
13239 {
13240 #endif
13241 /* We use char because int might match the return type of a gcc2
13242    builtin and then its argument prototype would still apply.  */
13243 char $ac_func ();
13244 /* The GNU C library defines this for functions which it implements
13245     to always fail with ENOSYS.  Some functions are actually named
13246     something starting with __ and the normal name is an alias.  */
13247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13248 choke me
13249 #else
13250 char (*f) () = $ac_func;
13251 #endif
13252 #ifdef __cplusplus
13253 }
13254 #endif
13255
13256 int
13257 main ()
13258 {
13259 return f != $ac_func;
13260   ;
13261   return 0;
13262 }
13263 _ACEOF
13264 rm -f conftest.$ac_objext conftest$ac_exeext
13265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13266   (eval $ac_link) 2>conftest.er1
13267   ac_status=$?
13268   grep -v '^ *+' conftest.er1 >conftest.err
13269   rm -f conftest.er1
13270   cat conftest.err >&5
13271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272   (exit $ac_status); } &&
13273          { ac_try='test -z "$ac_c_werror_flag"
13274                          || test ! -s conftest.err'
13275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13276   (eval $ac_try) 2>&5
13277   ac_status=$?
13278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279   (exit $ac_status); }; } &&
13280          { ac_try='test -s conftest$ac_exeext'
13281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13282   (eval $ac_try) 2>&5
13283   ac_status=$?
13284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285   (exit $ac_status); }; }; then
13286   eval "$as_ac_var=yes"
13287 else
13288   echo "$as_me: failed program was:" >&5
13289 sed 's/^/| /' conftest.$ac_ext >&5
13290
13291 eval "$as_ac_var=no"
13292 fi
13293 rm -f conftest.err conftest.$ac_objext \
13294       conftest$ac_exeext conftest.$ac_ext
13295 fi
13296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13298 if test `eval echo '${'$as_ac_var'}'` = yes; then
13299   cat >>confdefs.h <<_ACEOF
13300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13301 _ACEOF
13302
13303 fi
13304 done
13305
13306   else
13307
13308   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13309 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13310   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13311     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13312   echo $ECHO_N "(cached) $ECHO_C" >&6
13313 else
13314
13315
13316
13317       ac_ext=cc
13318 ac_cpp='$CXXCPP $CPPFLAGS'
13319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13322
13323       cat >conftest.$ac_ext <<_ACEOF
13324 /* confdefs.h.  */
13325 _ACEOF
13326 cat confdefs.h >>conftest.$ac_ext
13327 cat >>conftest.$ac_ext <<_ACEOF
13328 /* end confdefs.h.  */
13329 #include <math.h>
13330                       #ifdef HAVE_IEEEFP_H
13331                       #include <ieeefp.h>
13332                       #endif
13333
13334 int
13335 main ()
13336 {
13337  _isinff(0);
13338   ;
13339   return 0;
13340 }
13341 _ACEOF
13342 rm -f conftest.$ac_objext
13343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13344   (eval $ac_compile) 2>conftest.er1
13345   ac_status=$?
13346   grep -v '^ *+' conftest.er1 >conftest.err
13347   rm -f conftest.er1
13348   cat conftest.err >&5
13349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350   (exit $ac_status); } &&
13351          { ac_try='test -z "$ac_cxx_werror_flag"
13352                          || test ! -s conftest.err'
13353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13354   (eval $ac_try) 2>&5
13355   ac_status=$?
13356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357   (exit $ac_status); }; } &&
13358          { ac_try='test -s conftest.$ac_objext'
13359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13360   (eval $ac_try) 2>&5
13361   ac_status=$?
13362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363   (exit $ac_status); }; }; then
13364   glibcxx_cv_func__isinff_use=yes
13365 else
13366   echo "$as_me: failed program was:" >&5
13367 sed 's/^/| /' conftest.$ac_ext >&5
13368
13369 glibcxx_cv_func__isinff_use=no
13370 fi
13371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13372       ac_ext=c
13373 ac_cpp='$CPP $CPPFLAGS'
13374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13377
13378
13379 fi
13380
13381   fi
13382   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13383 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13384
13385     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13386
13387 for ac_func in _isinff
13388 do
13389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13390 echo "$as_me:$LINENO: checking for $ac_func" >&5
13391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13392 if eval "test \"\${$as_ac_var+set}\" = set"; then
13393   echo $ECHO_N "(cached) $ECHO_C" >&6
13394 else
13395   if test x$gcc_no_link = xyes; then
13396   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13398    { (exit 1); exit 1; }; }
13399 fi
13400 cat >conftest.$ac_ext <<_ACEOF
13401 /* confdefs.h.  */
13402 _ACEOF
13403 cat confdefs.h >>conftest.$ac_ext
13404 cat >>conftest.$ac_ext <<_ACEOF
13405 /* end confdefs.h.  */
13406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13407    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13408 #define $ac_func innocuous_$ac_func
13409
13410 /* System header to define __stub macros and hopefully few prototypes,
13411     which can conflict with char $ac_func (); below.
13412     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13413     <limits.h> exists even on freestanding compilers.  */
13414
13415 #ifdef __STDC__
13416 # include <limits.h>
13417 #else
13418 # include <assert.h>
13419 #endif
13420
13421 #undef $ac_func
13422
13423 /* Override any gcc2 internal prototype to avoid an error.  */
13424 #ifdef __cplusplus
13425 extern "C"
13426 {
13427 #endif
13428 /* We use char because int might match the return type of a gcc2
13429    builtin and then its argument prototype would still apply.  */
13430 char $ac_func ();
13431 /* The GNU C library defines this for functions which it implements
13432     to always fail with ENOSYS.  Some functions are actually named
13433     something starting with __ and the normal name is an alias.  */
13434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13435 choke me
13436 #else
13437 char (*f) () = $ac_func;
13438 #endif
13439 #ifdef __cplusplus
13440 }
13441 #endif
13442
13443 int
13444 main ()
13445 {
13446 return f != $ac_func;
13447   ;
13448   return 0;
13449 }
13450 _ACEOF
13451 rm -f conftest.$ac_objext conftest$ac_exeext
13452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13453   (eval $ac_link) 2>conftest.er1
13454   ac_status=$?
13455   grep -v '^ *+' conftest.er1 >conftest.err
13456   rm -f conftest.er1
13457   cat conftest.err >&5
13458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459   (exit $ac_status); } &&
13460          { ac_try='test -z "$ac_c_werror_flag"
13461                          || test ! -s conftest.err'
13462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13463   (eval $ac_try) 2>&5
13464   ac_status=$?
13465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466   (exit $ac_status); }; } &&
13467          { ac_try='test -s conftest$ac_exeext'
13468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469   (eval $ac_try) 2>&5
13470   ac_status=$?
13471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472   (exit $ac_status); }; }; then
13473   eval "$as_ac_var=yes"
13474 else
13475   echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.$ac_ext >&5
13477
13478 eval "$as_ac_var=no"
13479 fi
13480 rm -f conftest.err conftest.$ac_objext \
13481       conftest$ac_exeext conftest.$ac_ext
13482 fi
13483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13485 if test `eval echo '${'$as_ac_var'}'` = yes; then
13486   cat >>confdefs.h <<_ACEOF
13487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13488 _ACEOF
13489
13490 fi
13491 done
13492
13493     fi
13494   fi
13495
13496
13497
13498
13499
13500
13501   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13502 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13503   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13504     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13505   echo $ECHO_N "(cached) $ECHO_C" >&6
13506 else
13507
13508
13509
13510       ac_ext=cc
13511 ac_cpp='$CXXCPP $CPPFLAGS'
13512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13515
13516       cat >conftest.$ac_ext <<_ACEOF
13517 /* confdefs.h.  */
13518 _ACEOF
13519 cat confdefs.h >>conftest.$ac_ext
13520 cat >>conftest.$ac_ext <<_ACEOF
13521 /* end confdefs.h.  */
13522 #include <math.h>
13523 int
13524 main ()
13525 {
13526  atan2f(0, 0);
13527   ;
13528   return 0;
13529 }
13530 _ACEOF
13531 rm -f conftest.$ac_objext
13532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13533   (eval $ac_compile) 2>conftest.er1
13534   ac_status=$?
13535   grep -v '^ *+' conftest.er1 >conftest.err
13536   rm -f conftest.er1
13537   cat conftest.err >&5
13538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539   (exit $ac_status); } &&
13540          { ac_try='test -z "$ac_cxx_werror_flag"
13541                          || test ! -s conftest.err'
13542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13543   (eval $ac_try) 2>&5
13544   ac_status=$?
13545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13546   (exit $ac_status); }; } &&
13547          { ac_try='test -s conftest.$ac_objext'
13548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13549   (eval $ac_try) 2>&5
13550   ac_status=$?
13551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552   (exit $ac_status); }; }; then
13553   glibcxx_cv_func_atan2f_use=yes
13554 else
13555   echo "$as_me: failed program was:" >&5
13556 sed 's/^/| /' conftest.$ac_ext >&5
13557
13558 glibcxx_cv_func_atan2f_use=no
13559 fi
13560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13561       ac_ext=c
13562 ac_cpp='$CPP $CPPFLAGS'
13563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13566
13567
13568 fi
13569
13570   fi
13571   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13572 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13573
13574   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13575
13576 for ac_func in atan2f
13577 do
13578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13579 echo "$as_me:$LINENO: checking for $ac_func" >&5
13580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13581 if eval "test \"\${$as_ac_var+set}\" = set"; then
13582   echo $ECHO_N "(cached) $ECHO_C" >&6
13583 else
13584   if test x$gcc_no_link = xyes; then
13585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13587    { (exit 1); exit 1; }; }
13588 fi
13589 cat >conftest.$ac_ext <<_ACEOF
13590 /* confdefs.h.  */
13591 _ACEOF
13592 cat confdefs.h >>conftest.$ac_ext
13593 cat >>conftest.$ac_ext <<_ACEOF
13594 /* end confdefs.h.  */
13595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13597 #define $ac_func innocuous_$ac_func
13598
13599 /* System header to define __stub macros and hopefully few prototypes,
13600     which can conflict with char $ac_func (); below.
13601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13602     <limits.h> exists even on freestanding compilers.  */
13603
13604 #ifdef __STDC__
13605 # include <limits.h>
13606 #else
13607 # include <assert.h>
13608 #endif
13609
13610 #undef $ac_func
13611
13612 /* Override any gcc2 internal prototype to avoid an error.  */
13613 #ifdef __cplusplus
13614 extern "C"
13615 {
13616 #endif
13617 /* We use char because int might match the return type of a gcc2
13618    builtin and then its argument prototype would still apply.  */
13619 char $ac_func ();
13620 /* The GNU C library defines this for functions which it implements
13621     to always fail with ENOSYS.  Some functions are actually named
13622     something starting with __ and the normal name is an alias.  */
13623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13624 choke me
13625 #else
13626 char (*f) () = $ac_func;
13627 #endif
13628 #ifdef __cplusplus
13629 }
13630 #endif
13631
13632 int
13633 main ()
13634 {
13635 return f != $ac_func;
13636   ;
13637   return 0;
13638 }
13639 _ACEOF
13640 rm -f conftest.$ac_objext conftest$ac_exeext
13641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13642   (eval $ac_link) 2>conftest.er1
13643   ac_status=$?
13644   grep -v '^ *+' conftest.er1 >conftest.err
13645   rm -f conftest.er1
13646   cat conftest.err >&5
13647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648   (exit $ac_status); } &&
13649          { ac_try='test -z "$ac_c_werror_flag"
13650                          || test ! -s conftest.err'
13651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13652   (eval $ac_try) 2>&5
13653   ac_status=$?
13654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655   (exit $ac_status); }; } &&
13656          { ac_try='test -s conftest$ac_exeext'
13657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13658   (eval $ac_try) 2>&5
13659   ac_status=$?
13660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661   (exit $ac_status); }; }; then
13662   eval "$as_ac_var=yes"
13663 else
13664   echo "$as_me: failed program was:" >&5
13665 sed 's/^/| /' conftest.$ac_ext >&5
13666
13667 eval "$as_ac_var=no"
13668 fi
13669 rm -f conftest.err conftest.$ac_objext \
13670       conftest$ac_exeext conftest.$ac_ext
13671 fi
13672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13674 if test `eval echo '${'$as_ac_var'}'` = yes; then
13675   cat >>confdefs.h <<_ACEOF
13676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13677 _ACEOF
13678
13679 fi
13680 done
13681
13682   else
13683
13684   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13685 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13686   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13687     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13688   echo $ECHO_N "(cached) $ECHO_C" >&6
13689 else
13690
13691
13692
13693       ac_ext=cc
13694 ac_cpp='$CXXCPP $CPPFLAGS'
13695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13698
13699       cat >conftest.$ac_ext <<_ACEOF
13700 /* confdefs.h.  */
13701 _ACEOF
13702 cat confdefs.h >>conftest.$ac_ext
13703 cat >>conftest.$ac_ext <<_ACEOF
13704 /* end confdefs.h.  */
13705 #include <math.h>
13706 int
13707 main ()
13708 {
13709  _atan2f(0, 0);
13710   ;
13711   return 0;
13712 }
13713 _ACEOF
13714 rm -f conftest.$ac_objext
13715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13716   (eval $ac_compile) 2>conftest.er1
13717   ac_status=$?
13718   grep -v '^ *+' conftest.er1 >conftest.err
13719   rm -f conftest.er1
13720   cat conftest.err >&5
13721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722   (exit $ac_status); } &&
13723          { ac_try='test -z "$ac_cxx_werror_flag"
13724                          || test ! -s conftest.err'
13725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726   (eval $ac_try) 2>&5
13727   ac_status=$?
13728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729   (exit $ac_status); }; } &&
13730          { ac_try='test -s conftest.$ac_objext'
13731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13732   (eval $ac_try) 2>&5
13733   ac_status=$?
13734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735   (exit $ac_status); }; }; then
13736   glibcxx_cv_func__atan2f_use=yes
13737 else
13738   echo "$as_me: failed program was:" >&5
13739 sed 's/^/| /' conftest.$ac_ext >&5
13740
13741 glibcxx_cv_func__atan2f_use=no
13742 fi
13743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13744       ac_ext=c
13745 ac_cpp='$CPP $CPPFLAGS'
13746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13749
13750
13751 fi
13752
13753   fi
13754   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13755 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13756
13757     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13758
13759 for ac_func in _atan2f
13760 do
13761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13762 echo "$as_me:$LINENO: checking for $ac_func" >&5
13763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13764 if eval "test \"\${$as_ac_var+set}\" = set"; then
13765   echo $ECHO_N "(cached) $ECHO_C" >&6
13766 else
13767   if test x$gcc_no_link = xyes; then
13768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13770    { (exit 1); exit 1; }; }
13771 fi
13772 cat >conftest.$ac_ext <<_ACEOF
13773 /* confdefs.h.  */
13774 _ACEOF
13775 cat confdefs.h >>conftest.$ac_ext
13776 cat >>conftest.$ac_ext <<_ACEOF
13777 /* end confdefs.h.  */
13778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13779    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13780 #define $ac_func innocuous_$ac_func
13781
13782 /* System header to define __stub macros and hopefully few prototypes,
13783     which can conflict with char $ac_func (); below.
13784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13785     <limits.h> exists even on freestanding compilers.  */
13786
13787 #ifdef __STDC__
13788 # include <limits.h>
13789 #else
13790 # include <assert.h>
13791 #endif
13792
13793 #undef $ac_func
13794
13795 /* Override any gcc2 internal prototype to avoid an error.  */
13796 #ifdef __cplusplus
13797 extern "C"
13798 {
13799 #endif
13800 /* We use char because int might match the return type of a gcc2
13801    builtin and then its argument prototype would still apply.  */
13802 char $ac_func ();
13803 /* The GNU C library defines this for functions which it implements
13804     to always fail with ENOSYS.  Some functions are actually named
13805     something starting with __ and the normal name is an alias.  */
13806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13807 choke me
13808 #else
13809 char (*f) () = $ac_func;
13810 #endif
13811 #ifdef __cplusplus
13812 }
13813 #endif
13814
13815 int
13816 main ()
13817 {
13818 return f != $ac_func;
13819   ;
13820   return 0;
13821 }
13822 _ACEOF
13823 rm -f conftest.$ac_objext conftest$ac_exeext
13824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13825   (eval $ac_link) 2>conftest.er1
13826   ac_status=$?
13827   grep -v '^ *+' conftest.er1 >conftest.err
13828   rm -f conftest.er1
13829   cat conftest.err >&5
13830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831   (exit $ac_status); } &&
13832          { ac_try='test -z "$ac_c_werror_flag"
13833                          || test ! -s conftest.err'
13834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13835   (eval $ac_try) 2>&5
13836   ac_status=$?
13837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838   (exit $ac_status); }; } &&
13839          { ac_try='test -s conftest$ac_exeext'
13840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13841   (eval $ac_try) 2>&5
13842   ac_status=$?
13843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844   (exit $ac_status); }; }; then
13845   eval "$as_ac_var=yes"
13846 else
13847   echo "$as_me: failed program was:" >&5
13848 sed 's/^/| /' conftest.$ac_ext >&5
13849
13850 eval "$as_ac_var=no"
13851 fi
13852 rm -f conftest.err conftest.$ac_objext \
13853       conftest$ac_exeext conftest.$ac_ext
13854 fi
13855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13857 if test `eval echo '${'$as_ac_var'}'` = yes; then
13858   cat >>confdefs.h <<_ACEOF
13859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13860 _ACEOF
13861
13862 fi
13863 done
13864
13865     fi
13866   fi
13867
13868
13869
13870
13871
13872
13873   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13874 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13875   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13876     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13877   echo $ECHO_N "(cached) $ECHO_C" >&6
13878 else
13879
13880
13881
13882       ac_ext=cc
13883 ac_cpp='$CXXCPP $CPPFLAGS'
13884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13887
13888       cat >conftest.$ac_ext <<_ACEOF
13889 /* confdefs.h.  */
13890 _ACEOF
13891 cat confdefs.h >>conftest.$ac_ext
13892 cat >>conftest.$ac_ext <<_ACEOF
13893 /* end confdefs.h.  */
13894 #include <math.h>
13895                       #ifdef HAVE_IEEEFP_H
13896                       #include <ieeefp.h>
13897                       #endif
13898
13899 int
13900 main ()
13901 {
13902  fabsf(0);
13903   ;
13904   return 0;
13905 }
13906 _ACEOF
13907 rm -f conftest.$ac_objext
13908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13909   (eval $ac_compile) 2>conftest.er1
13910   ac_status=$?
13911   grep -v '^ *+' conftest.er1 >conftest.err
13912   rm -f conftest.er1
13913   cat conftest.err >&5
13914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915   (exit $ac_status); } &&
13916          { ac_try='test -z "$ac_cxx_werror_flag"
13917                          || test ! -s conftest.err'
13918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13919   (eval $ac_try) 2>&5
13920   ac_status=$?
13921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922   (exit $ac_status); }; } &&
13923          { ac_try='test -s conftest.$ac_objext'
13924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13925   (eval $ac_try) 2>&5
13926   ac_status=$?
13927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928   (exit $ac_status); }; }; then
13929   glibcxx_cv_func_fabsf_use=yes
13930 else
13931   echo "$as_me: failed program was:" >&5
13932 sed 's/^/| /' conftest.$ac_ext >&5
13933
13934 glibcxx_cv_func_fabsf_use=no
13935 fi
13936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13937       ac_ext=c
13938 ac_cpp='$CPP $CPPFLAGS'
13939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13942
13943
13944 fi
13945
13946   fi
13947   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13948 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13949
13950   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13951
13952 for ac_func in fabsf
13953 do
13954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13955 echo "$as_me:$LINENO: checking for $ac_func" >&5
13956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13957 if eval "test \"\${$as_ac_var+set}\" = set"; then
13958   echo $ECHO_N "(cached) $ECHO_C" >&6
13959 else
13960   if test x$gcc_no_link = xyes; then
13961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13963    { (exit 1); exit 1; }; }
13964 fi
13965 cat >conftest.$ac_ext <<_ACEOF
13966 /* confdefs.h.  */
13967 _ACEOF
13968 cat confdefs.h >>conftest.$ac_ext
13969 cat >>conftest.$ac_ext <<_ACEOF
13970 /* end confdefs.h.  */
13971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13972    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13973 #define $ac_func innocuous_$ac_func
13974
13975 /* System header to define __stub macros and hopefully few prototypes,
13976     which can conflict with char $ac_func (); below.
13977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13978     <limits.h> exists even on freestanding compilers.  */
13979
13980 #ifdef __STDC__
13981 # include <limits.h>
13982 #else
13983 # include <assert.h>
13984 #endif
13985
13986 #undef $ac_func
13987
13988 /* Override any gcc2 internal prototype to avoid an error.  */
13989 #ifdef __cplusplus
13990 extern "C"
13991 {
13992 #endif
13993 /* We use char because int might match the return type of a gcc2
13994    builtin and then its argument prototype would still apply.  */
13995 char $ac_func ();
13996 /* The GNU C library defines this for functions which it implements
13997     to always fail with ENOSYS.  Some functions are actually named
13998     something starting with __ and the normal name is an alias.  */
13999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14000 choke me
14001 #else
14002 char (*f) () = $ac_func;
14003 #endif
14004 #ifdef __cplusplus
14005 }
14006 #endif
14007
14008 int
14009 main ()
14010 {
14011 return f != $ac_func;
14012   ;
14013   return 0;
14014 }
14015 _ACEOF
14016 rm -f conftest.$ac_objext conftest$ac_exeext
14017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14018   (eval $ac_link) 2>conftest.er1
14019   ac_status=$?
14020   grep -v '^ *+' conftest.er1 >conftest.err
14021   rm -f conftest.er1
14022   cat conftest.err >&5
14023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024   (exit $ac_status); } &&
14025          { ac_try='test -z "$ac_c_werror_flag"
14026                          || test ! -s conftest.err'
14027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14028   (eval $ac_try) 2>&5
14029   ac_status=$?
14030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031   (exit $ac_status); }; } &&
14032          { ac_try='test -s conftest$ac_exeext'
14033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14034   (eval $ac_try) 2>&5
14035   ac_status=$?
14036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037   (exit $ac_status); }; }; then
14038   eval "$as_ac_var=yes"
14039 else
14040   echo "$as_me: failed program was:" >&5
14041 sed 's/^/| /' conftest.$ac_ext >&5
14042
14043 eval "$as_ac_var=no"
14044 fi
14045 rm -f conftest.err conftest.$ac_objext \
14046       conftest$ac_exeext conftest.$ac_ext
14047 fi
14048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14050 if test `eval echo '${'$as_ac_var'}'` = yes; then
14051   cat >>confdefs.h <<_ACEOF
14052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14053 _ACEOF
14054
14055 fi
14056 done
14057
14058   else
14059
14060   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
14061 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
14062   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
14063     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
14064   echo $ECHO_N "(cached) $ECHO_C" >&6
14065 else
14066
14067
14068
14069       ac_ext=cc
14070 ac_cpp='$CXXCPP $CPPFLAGS'
14071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14074
14075       cat >conftest.$ac_ext <<_ACEOF
14076 /* confdefs.h.  */
14077 _ACEOF
14078 cat confdefs.h >>conftest.$ac_ext
14079 cat >>conftest.$ac_ext <<_ACEOF
14080 /* end confdefs.h.  */
14081 #include <math.h>
14082                       #ifdef HAVE_IEEEFP_H
14083                       #include <ieeefp.h>
14084                       #endif
14085
14086 int
14087 main ()
14088 {
14089  _fabsf(0);
14090   ;
14091   return 0;
14092 }
14093 _ACEOF
14094 rm -f conftest.$ac_objext
14095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14096   (eval $ac_compile) 2>conftest.er1
14097   ac_status=$?
14098   grep -v '^ *+' conftest.er1 >conftest.err
14099   rm -f conftest.er1
14100   cat conftest.err >&5
14101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102   (exit $ac_status); } &&
14103          { ac_try='test -z "$ac_cxx_werror_flag"
14104                          || test ! -s conftest.err'
14105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14106   (eval $ac_try) 2>&5
14107   ac_status=$?
14108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109   (exit $ac_status); }; } &&
14110          { ac_try='test -s conftest.$ac_objext'
14111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14112   (eval $ac_try) 2>&5
14113   ac_status=$?
14114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115   (exit $ac_status); }; }; then
14116   glibcxx_cv_func__fabsf_use=yes
14117 else
14118   echo "$as_me: failed program was:" >&5
14119 sed 's/^/| /' conftest.$ac_ext >&5
14120
14121 glibcxx_cv_func__fabsf_use=no
14122 fi
14123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14124       ac_ext=c
14125 ac_cpp='$CPP $CPPFLAGS'
14126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14129
14130
14131 fi
14132
14133   fi
14134   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14135 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14136
14137     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14138
14139 for ac_func in _fabsf
14140 do
14141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14142 echo "$as_me:$LINENO: checking for $ac_func" >&5
14143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14144 if eval "test \"\${$as_ac_var+set}\" = set"; then
14145   echo $ECHO_N "(cached) $ECHO_C" >&6
14146 else
14147   if test x$gcc_no_link = xyes; then
14148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14150    { (exit 1); exit 1; }; }
14151 fi
14152 cat >conftest.$ac_ext <<_ACEOF
14153 /* confdefs.h.  */
14154 _ACEOF
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h.  */
14158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14159    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14160 #define $ac_func innocuous_$ac_func
14161
14162 /* System header to define __stub macros and hopefully few prototypes,
14163     which can conflict with char $ac_func (); below.
14164     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14165     <limits.h> exists even on freestanding compilers.  */
14166
14167 #ifdef __STDC__
14168 # include <limits.h>
14169 #else
14170 # include <assert.h>
14171 #endif
14172
14173 #undef $ac_func
14174
14175 /* Override any gcc2 internal prototype to avoid an error.  */
14176 #ifdef __cplusplus
14177 extern "C"
14178 {
14179 #endif
14180 /* We use char because int might match the return type of a gcc2
14181    builtin and then its argument prototype would still apply.  */
14182 char $ac_func ();
14183 /* The GNU C library defines this for functions which it implements
14184     to always fail with ENOSYS.  Some functions are actually named
14185     something starting with __ and the normal name is an alias.  */
14186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14187 choke me
14188 #else
14189 char (*f) () = $ac_func;
14190 #endif
14191 #ifdef __cplusplus
14192 }
14193 #endif
14194
14195 int
14196 main ()
14197 {
14198 return f != $ac_func;
14199   ;
14200   return 0;
14201 }
14202 _ACEOF
14203 rm -f conftest.$ac_objext conftest$ac_exeext
14204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14205   (eval $ac_link) 2>conftest.er1
14206   ac_status=$?
14207   grep -v '^ *+' conftest.er1 >conftest.err
14208   rm -f conftest.er1
14209   cat conftest.err >&5
14210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211   (exit $ac_status); } &&
14212          { ac_try='test -z "$ac_c_werror_flag"
14213                          || test ! -s conftest.err'
14214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215   (eval $ac_try) 2>&5
14216   ac_status=$?
14217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218   (exit $ac_status); }; } &&
14219          { ac_try='test -s conftest$ac_exeext'
14220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14221   (eval $ac_try) 2>&5
14222   ac_status=$?
14223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224   (exit $ac_status); }; }; then
14225   eval "$as_ac_var=yes"
14226 else
14227   echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.$ac_ext >&5
14229
14230 eval "$as_ac_var=no"
14231 fi
14232 rm -f conftest.err conftest.$ac_objext \
14233       conftest$ac_exeext conftest.$ac_ext
14234 fi
14235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14237 if test `eval echo '${'$as_ac_var'}'` = yes; then
14238   cat >>confdefs.h <<_ACEOF
14239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14240 _ACEOF
14241
14242 fi
14243 done
14244
14245     fi
14246   fi
14247
14248
14249
14250
14251
14252
14253   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14254 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14255   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14256     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14257   echo $ECHO_N "(cached) $ECHO_C" >&6
14258 else
14259
14260
14261
14262       ac_ext=cc
14263 ac_cpp='$CXXCPP $CPPFLAGS'
14264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14267
14268       cat >conftest.$ac_ext <<_ACEOF
14269 /* confdefs.h.  */
14270 _ACEOF
14271 cat confdefs.h >>conftest.$ac_ext
14272 cat >>conftest.$ac_ext <<_ACEOF
14273 /* end confdefs.h.  */
14274 #include <math.h>
14275 int
14276 main ()
14277 {
14278  fmodf(0, 0);
14279   ;
14280   return 0;
14281 }
14282 _ACEOF
14283 rm -f conftest.$ac_objext
14284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14285   (eval $ac_compile) 2>conftest.er1
14286   ac_status=$?
14287   grep -v '^ *+' conftest.er1 >conftest.err
14288   rm -f conftest.er1
14289   cat conftest.err >&5
14290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291   (exit $ac_status); } &&
14292          { ac_try='test -z "$ac_cxx_werror_flag"
14293                          || test ! -s conftest.err'
14294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295   (eval $ac_try) 2>&5
14296   ac_status=$?
14297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298   (exit $ac_status); }; } &&
14299          { ac_try='test -s conftest.$ac_objext'
14300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14301   (eval $ac_try) 2>&5
14302   ac_status=$?
14303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304   (exit $ac_status); }; }; then
14305   glibcxx_cv_func_fmodf_use=yes
14306 else
14307   echo "$as_me: failed program was:" >&5
14308 sed 's/^/| /' conftest.$ac_ext >&5
14309
14310 glibcxx_cv_func_fmodf_use=no
14311 fi
14312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14313       ac_ext=c
14314 ac_cpp='$CPP $CPPFLAGS'
14315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14318
14319
14320 fi
14321
14322   fi
14323   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14324 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14325
14326   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14327
14328 for ac_func in fmodf
14329 do
14330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14331 echo "$as_me:$LINENO: checking for $ac_func" >&5
14332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14333 if eval "test \"\${$as_ac_var+set}\" = set"; then
14334   echo $ECHO_N "(cached) $ECHO_C" >&6
14335 else
14336   if test x$gcc_no_link = xyes; then
14337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14339    { (exit 1); exit 1; }; }
14340 fi
14341 cat >conftest.$ac_ext <<_ACEOF
14342 /* confdefs.h.  */
14343 _ACEOF
14344 cat confdefs.h >>conftest.$ac_ext
14345 cat >>conftest.$ac_ext <<_ACEOF
14346 /* end confdefs.h.  */
14347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14348    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14349 #define $ac_func innocuous_$ac_func
14350
14351 /* System header to define __stub macros and hopefully few prototypes,
14352     which can conflict with char $ac_func (); below.
14353     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14354     <limits.h> exists even on freestanding compilers.  */
14355
14356 #ifdef __STDC__
14357 # include <limits.h>
14358 #else
14359 # include <assert.h>
14360 #endif
14361
14362 #undef $ac_func
14363
14364 /* Override any gcc2 internal prototype to avoid an error.  */
14365 #ifdef __cplusplus
14366 extern "C"
14367 {
14368 #endif
14369 /* We use char because int might match the return type of a gcc2
14370    builtin and then its argument prototype would still apply.  */
14371 char $ac_func ();
14372 /* The GNU C library defines this for functions which it implements
14373     to always fail with ENOSYS.  Some functions are actually named
14374     something starting with __ and the normal name is an alias.  */
14375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14376 choke me
14377 #else
14378 char (*f) () = $ac_func;
14379 #endif
14380 #ifdef __cplusplus
14381 }
14382 #endif
14383
14384 int
14385 main ()
14386 {
14387 return f != $ac_func;
14388   ;
14389   return 0;
14390 }
14391 _ACEOF
14392 rm -f conftest.$ac_objext conftest$ac_exeext
14393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14394   (eval $ac_link) 2>conftest.er1
14395   ac_status=$?
14396   grep -v '^ *+' conftest.er1 >conftest.err
14397   rm -f conftest.er1
14398   cat conftest.err >&5
14399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400   (exit $ac_status); } &&
14401          { ac_try='test -z "$ac_c_werror_flag"
14402                          || test ! -s conftest.err'
14403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14404   (eval $ac_try) 2>&5
14405   ac_status=$?
14406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407   (exit $ac_status); }; } &&
14408          { ac_try='test -s conftest$ac_exeext'
14409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410   (eval $ac_try) 2>&5
14411   ac_status=$?
14412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413   (exit $ac_status); }; }; then
14414   eval "$as_ac_var=yes"
14415 else
14416   echo "$as_me: failed program was:" >&5
14417 sed 's/^/| /' conftest.$ac_ext >&5
14418
14419 eval "$as_ac_var=no"
14420 fi
14421 rm -f conftest.err conftest.$ac_objext \
14422       conftest$ac_exeext conftest.$ac_ext
14423 fi
14424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14426 if test `eval echo '${'$as_ac_var'}'` = yes; then
14427   cat >>confdefs.h <<_ACEOF
14428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14429 _ACEOF
14430
14431 fi
14432 done
14433
14434   else
14435
14436   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14437 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14438   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14439     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14440   echo $ECHO_N "(cached) $ECHO_C" >&6
14441 else
14442
14443
14444
14445       ac_ext=cc
14446 ac_cpp='$CXXCPP $CPPFLAGS'
14447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14450
14451       cat >conftest.$ac_ext <<_ACEOF
14452 /* confdefs.h.  */
14453 _ACEOF
14454 cat confdefs.h >>conftest.$ac_ext
14455 cat >>conftest.$ac_ext <<_ACEOF
14456 /* end confdefs.h.  */
14457 #include <math.h>
14458 int
14459 main ()
14460 {
14461  _fmodf(0, 0);
14462   ;
14463   return 0;
14464 }
14465 _ACEOF
14466 rm -f conftest.$ac_objext
14467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14468   (eval $ac_compile) 2>conftest.er1
14469   ac_status=$?
14470   grep -v '^ *+' conftest.er1 >conftest.err
14471   rm -f conftest.er1
14472   cat conftest.err >&5
14473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474   (exit $ac_status); } &&
14475          { ac_try='test -z "$ac_cxx_werror_flag"
14476                          || test ! -s conftest.err'
14477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478   (eval $ac_try) 2>&5
14479   ac_status=$?
14480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481   (exit $ac_status); }; } &&
14482          { ac_try='test -s conftest.$ac_objext'
14483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14484   (eval $ac_try) 2>&5
14485   ac_status=$?
14486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487   (exit $ac_status); }; }; then
14488   glibcxx_cv_func__fmodf_use=yes
14489 else
14490   echo "$as_me: failed program was:" >&5
14491 sed 's/^/| /' conftest.$ac_ext >&5
14492
14493 glibcxx_cv_func__fmodf_use=no
14494 fi
14495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14496       ac_ext=c
14497 ac_cpp='$CPP $CPPFLAGS'
14498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14501
14502
14503 fi
14504
14505   fi
14506   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14507 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14508
14509     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14510
14511 for ac_func in _fmodf
14512 do
14513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14514 echo "$as_me:$LINENO: checking for $ac_func" >&5
14515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14516 if eval "test \"\${$as_ac_var+set}\" = set"; then
14517   echo $ECHO_N "(cached) $ECHO_C" >&6
14518 else
14519   if test x$gcc_no_link = xyes; then
14520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14522    { (exit 1); exit 1; }; }
14523 fi
14524 cat >conftest.$ac_ext <<_ACEOF
14525 /* confdefs.h.  */
14526 _ACEOF
14527 cat confdefs.h >>conftest.$ac_ext
14528 cat >>conftest.$ac_ext <<_ACEOF
14529 /* end confdefs.h.  */
14530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14531    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14532 #define $ac_func innocuous_$ac_func
14533
14534 /* System header to define __stub macros and hopefully few prototypes,
14535     which can conflict with char $ac_func (); below.
14536     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14537     <limits.h> exists even on freestanding compilers.  */
14538
14539 #ifdef __STDC__
14540 # include <limits.h>
14541 #else
14542 # include <assert.h>
14543 #endif
14544
14545 #undef $ac_func
14546
14547 /* Override any gcc2 internal prototype to avoid an error.  */
14548 #ifdef __cplusplus
14549 extern "C"
14550 {
14551 #endif
14552 /* We use char because int might match the return type of a gcc2
14553    builtin and then its argument prototype would still apply.  */
14554 char $ac_func ();
14555 /* The GNU C library defines this for functions which it implements
14556     to always fail with ENOSYS.  Some functions are actually named
14557     something starting with __ and the normal name is an alias.  */
14558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14559 choke me
14560 #else
14561 char (*f) () = $ac_func;
14562 #endif
14563 #ifdef __cplusplus
14564 }
14565 #endif
14566
14567 int
14568 main ()
14569 {
14570 return f != $ac_func;
14571   ;
14572   return 0;
14573 }
14574 _ACEOF
14575 rm -f conftest.$ac_objext conftest$ac_exeext
14576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14577   (eval $ac_link) 2>conftest.er1
14578   ac_status=$?
14579   grep -v '^ *+' conftest.er1 >conftest.err
14580   rm -f conftest.er1
14581   cat conftest.err >&5
14582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583   (exit $ac_status); } &&
14584          { ac_try='test -z "$ac_c_werror_flag"
14585                          || test ! -s conftest.err'
14586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587   (eval $ac_try) 2>&5
14588   ac_status=$?
14589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590   (exit $ac_status); }; } &&
14591          { ac_try='test -s conftest$ac_exeext'
14592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593   (eval $ac_try) 2>&5
14594   ac_status=$?
14595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596   (exit $ac_status); }; }; then
14597   eval "$as_ac_var=yes"
14598 else
14599   echo "$as_me: failed program was:" >&5
14600 sed 's/^/| /' conftest.$ac_ext >&5
14601
14602 eval "$as_ac_var=no"
14603 fi
14604 rm -f conftest.err conftest.$ac_objext \
14605       conftest$ac_exeext conftest.$ac_ext
14606 fi
14607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14609 if test `eval echo '${'$as_ac_var'}'` = yes; then
14610   cat >>confdefs.h <<_ACEOF
14611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14612 _ACEOF
14613
14614 fi
14615 done
14616
14617     fi
14618   fi
14619
14620
14621
14622
14623
14624
14625   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14626 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14627   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14628     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14629   echo $ECHO_N "(cached) $ECHO_C" >&6
14630 else
14631
14632
14633
14634       ac_ext=cc
14635 ac_cpp='$CXXCPP $CPPFLAGS'
14636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14639
14640       cat >conftest.$ac_ext <<_ACEOF
14641 /* confdefs.h.  */
14642 _ACEOF
14643 cat confdefs.h >>conftest.$ac_ext
14644 cat >>conftest.$ac_ext <<_ACEOF
14645 /* end confdefs.h.  */
14646 #include <math.h>
14647 int
14648 main ()
14649 {
14650  frexpf(0, 0);
14651   ;
14652   return 0;
14653 }
14654 _ACEOF
14655 rm -f conftest.$ac_objext
14656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14657   (eval $ac_compile) 2>conftest.er1
14658   ac_status=$?
14659   grep -v '^ *+' conftest.er1 >conftest.err
14660   rm -f conftest.er1
14661   cat conftest.err >&5
14662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663   (exit $ac_status); } &&
14664          { ac_try='test -z "$ac_cxx_werror_flag"
14665                          || test ! -s conftest.err'
14666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14667   (eval $ac_try) 2>&5
14668   ac_status=$?
14669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670   (exit $ac_status); }; } &&
14671          { ac_try='test -s conftest.$ac_objext'
14672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673   (eval $ac_try) 2>&5
14674   ac_status=$?
14675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676   (exit $ac_status); }; }; then
14677   glibcxx_cv_func_frexpf_use=yes
14678 else
14679   echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.$ac_ext >&5
14681
14682 glibcxx_cv_func_frexpf_use=no
14683 fi
14684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14685       ac_ext=c
14686 ac_cpp='$CPP $CPPFLAGS'
14687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14690
14691
14692 fi
14693
14694   fi
14695   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14696 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14697
14698   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14699
14700 for ac_func in frexpf
14701 do
14702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14703 echo "$as_me:$LINENO: checking for $ac_func" >&5
14704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14705 if eval "test \"\${$as_ac_var+set}\" = set"; then
14706   echo $ECHO_N "(cached) $ECHO_C" >&6
14707 else
14708   if test x$gcc_no_link = xyes; then
14709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14711    { (exit 1); exit 1; }; }
14712 fi
14713 cat >conftest.$ac_ext <<_ACEOF
14714 /* confdefs.h.  */
14715 _ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h.  */
14719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14720    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14721 #define $ac_func innocuous_$ac_func
14722
14723 /* System header to define __stub macros and hopefully few prototypes,
14724     which can conflict with char $ac_func (); below.
14725     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14726     <limits.h> exists even on freestanding compilers.  */
14727
14728 #ifdef __STDC__
14729 # include <limits.h>
14730 #else
14731 # include <assert.h>
14732 #endif
14733
14734 #undef $ac_func
14735
14736 /* Override any gcc2 internal prototype to avoid an error.  */
14737 #ifdef __cplusplus
14738 extern "C"
14739 {
14740 #endif
14741 /* We use char because int might match the return type of a gcc2
14742    builtin and then its argument prototype would still apply.  */
14743 char $ac_func ();
14744 /* The GNU C library defines this for functions which it implements
14745     to always fail with ENOSYS.  Some functions are actually named
14746     something starting with __ and the normal name is an alias.  */
14747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14748 choke me
14749 #else
14750 char (*f) () = $ac_func;
14751 #endif
14752 #ifdef __cplusplus
14753 }
14754 #endif
14755
14756 int
14757 main ()
14758 {
14759 return f != $ac_func;
14760   ;
14761   return 0;
14762 }
14763 _ACEOF
14764 rm -f conftest.$ac_objext conftest$ac_exeext
14765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14766   (eval $ac_link) 2>conftest.er1
14767   ac_status=$?
14768   grep -v '^ *+' conftest.er1 >conftest.err
14769   rm -f conftest.er1
14770   cat conftest.err >&5
14771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772   (exit $ac_status); } &&
14773          { ac_try='test -z "$ac_c_werror_flag"
14774                          || test ! -s conftest.err'
14775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14776   (eval $ac_try) 2>&5
14777   ac_status=$?
14778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779   (exit $ac_status); }; } &&
14780          { ac_try='test -s conftest$ac_exeext'
14781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14782   (eval $ac_try) 2>&5
14783   ac_status=$?
14784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785   (exit $ac_status); }; }; then
14786   eval "$as_ac_var=yes"
14787 else
14788   echo "$as_me: failed program was:" >&5
14789 sed 's/^/| /' conftest.$ac_ext >&5
14790
14791 eval "$as_ac_var=no"
14792 fi
14793 rm -f conftest.err conftest.$ac_objext \
14794       conftest$ac_exeext conftest.$ac_ext
14795 fi
14796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14798 if test `eval echo '${'$as_ac_var'}'` = yes; then
14799   cat >>confdefs.h <<_ACEOF
14800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14801 _ACEOF
14802
14803 fi
14804 done
14805
14806   else
14807
14808   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14809 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14810   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14811     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14812   echo $ECHO_N "(cached) $ECHO_C" >&6
14813 else
14814
14815
14816
14817       ac_ext=cc
14818 ac_cpp='$CXXCPP $CPPFLAGS'
14819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14822
14823       cat >conftest.$ac_ext <<_ACEOF
14824 /* confdefs.h.  */
14825 _ACEOF
14826 cat confdefs.h >>conftest.$ac_ext
14827 cat >>conftest.$ac_ext <<_ACEOF
14828 /* end confdefs.h.  */
14829 #include <math.h>
14830 int
14831 main ()
14832 {
14833  _frexpf(0, 0);
14834   ;
14835   return 0;
14836 }
14837 _ACEOF
14838 rm -f conftest.$ac_objext
14839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14840   (eval $ac_compile) 2>conftest.er1
14841   ac_status=$?
14842   grep -v '^ *+' conftest.er1 >conftest.err
14843   rm -f conftest.er1
14844   cat conftest.err >&5
14845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846   (exit $ac_status); } &&
14847          { ac_try='test -z "$ac_cxx_werror_flag"
14848                          || test ! -s conftest.err'
14849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850   (eval $ac_try) 2>&5
14851   ac_status=$?
14852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853   (exit $ac_status); }; } &&
14854          { ac_try='test -s conftest.$ac_objext'
14855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14856   (eval $ac_try) 2>&5
14857   ac_status=$?
14858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859   (exit $ac_status); }; }; then
14860   glibcxx_cv_func__frexpf_use=yes
14861 else
14862   echo "$as_me: failed program was:" >&5
14863 sed 's/^/| /' conftest.$ac_ext >&5
14864
14865 glibcxx_cv_func__frexpf_use=no
14866 fi
14867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14868       ac_ext=c
14869 ac_cpp='$CPP $CPPFLAGS'
14870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14873
14874
14875 fi
14876
14877   fi
14878   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14879 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14880
14881     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14882
14883 for ac_func in _frexpf
14884 do
14885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14886 echo "$as_me:$LINENO: checking for $ac_func" >&5
14887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14888 if eval "test \"\${$as_ac_var+set}\" = set"; then
14889   echo $ECHO_N "(cached) $ECHO_C" >&6
14890 else
14891   if test x$gcc_no_link = xyes; then
14892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14894    { (exit 1); exit 1; }; }
14895 fi
14896 cat >conftest.$ac_ext <<_ACEOF
14897 /* confdefs.h.  */
14898 _ACEOF
14899 cat confdefs.h >>conftest.$ac_ext
14900 cat >>conftest.$ac_ext <<_ACEOF
14901 /* end confdefs.h.  */
14902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14904 #define $ac_func innocuous_$ac_func
14905
14906 /* System header to define __stub macros and hopefully few prototypes,
14907     which can conflict with char $ac_func (); below.
14908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14909     <limits.h> exists even on freestanding compilers.  */
14910
14911 #ifdef __STDC__
14912 # include <limits.h>
14913 #else
14914 # include <assert.h>
14915 #endif
14916
14917 #undef $ac_func
14918
14919 /* Override any gcc2 internal prototype to avoid an error.  */
14920 #ifdef __cplusplus
14921 extern "C"
14922 {
14923 #endif
14924 /* We use char because int might match the return type of a gcc2
14925    builtin and then its argument prototype would still apply.  */
14926 char $ac_func ();
14927 /* The GNU C library defines this for functions which it implements
14928     to always fail with ENOSYS.  Some functions are actually named
14929     something starting with __ and the normal name is an alias.  */
14930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14931 choke me
14932 #else
14933 char (*f) () = $ac_func;
14934 #endif
14935 #ifdef __cplusplus
14936 }
14937 #endif
14938
14939 int
14940 main ()
14941 {
14942 return f != $ac_func;
14943   ;
14944   return 0;
14945 }
14946 _ACEOF
14947 rm -f conftest.$ac_objext conftest$ac_exeext
14948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14949   (eval $ac_link) 2>conftest.er1
14950   ac_status=$?
14951   grep -v '^ *+' conftest.er1 >conftest.err
14952   rm -f conftest.er1
14953   cat conftest.err >&5
14954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955   (exit $ac_status); } &&
14956          { ac_try='test -z "$ac_c_werror_flag"
14957                          || test ! -s conftest.err'
14958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959   (eval $ac_try) 2>&5
14960   ac_status=$?
14961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962   (exit $ac_status); }; } &&
14963          { ac_try='test -s conftest$ac_exeext'
14964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14965   (eval $ac_try) 2>&5
14966   ac_status=$?
14967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968   (exit $ac_status); }; }; then
14969   eval "$as_ac_var=yes"
14970 else
14971   echo "$as_me: failed program was:" >&5
14972 sed 's/^/| /' conftest.$ac_ext >&5
14973
14974 eval "$as_ac_var=no"
14975 fi
14976 rm -f conftest.err conftest.$ac_objext \
14977       conftest$ac_exeext conftest.$ac_ext
14978 fi
14979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14981 if test `eval echo '${'$as_ac_var'}'` = yes; then
14982   cat >>confdefs.h <<_ACEOF
14983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14984 _ACEOF
14985
14986 fi
14987 done
14988
14989     fi
14990   fi
14991
14992
14993
14994
14995
14996
14997   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14998 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14999   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
15000     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
15001   echo $ECHO_N "(cached) $ECHO_C" >&6
15002 else
15003
15004
15005
15006       ac_ext=cc
15007 ac_cpp='$CXXCPP $CPPFLAGS'
15008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15011
15012       cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h.  */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h.  */
15018 #include <math.h>
15019 int
15020 main ()
15021 {
15022  hypotf(0, 0);
15023   ;
15024   return 0;
15025 }
15026 _ACEOF
15027 rm -f conftest.$ac_objext
15028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15029   (eval $ac_compile) 2>conftest.er1
15030   ac_status=$?
15031   grep -v '^ *+' conftest.er1 >conftest.err
15032   rm -f conftest.er1
15033   cat conftest.err >&5
15034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15035   (exit $ac_status); } &&
15036          { ac_try='test -z "$ac_cxx_werror_flag"
15037                          || test ! -s conftest.err'
15038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15039   (eval $ac_try) 2>&5
15040   ac_status=$?
15041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042   (exit $ac_status); }; } &&
15043          { ac_try='test -s conftest.$ac_objext'
15044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15045   (eval $ac_try) 2>&5
15046   ac_status=$?
15047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15048   (exit $ac_status); }; }; then
15049   glibcxx_cv_func_hypotf_use=yes
15050 else
15051   echo "$as_me: failed program was:" >&5
15052 sed 's/^/| /' conftest.$ac_ext >&5
15053
15054 glibcxx_cv_func_hypotf_use=no
15055 fi
15056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15057       ac_ext=c
15058 ac_cpp='$CPP $CPPFLAGS'
15059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15062
15063
15064 fi
15065
15066   fi
15067   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
15068 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
15069
15070   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
15071
15072 for ac_func in hypotf
15073 do
15074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15075 echo "$as_me:$LINENO: checking for $ac_func" >&5
15076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15077 if eval "test \"\${$as_ac_var+set}\" = set"; then
15078   echo $ECHO_N "(cached) $ECHO_C" >&6
15079 else
15080   if test x$gcc_no_link = xyes; then
15081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15083    { (exit 1); exit 1; }; }
15084 fi
15085 cat >conftest.$ac_ext <<_ACEOF
15086 /* confdefs.h.  */
15087 _ACEOF
15088 cat confdefs.h >>conftest.$ac_ext
15089 cat >>conftest.$ac_ext <<_ACEOF
15090 /* end confdefs.h.  */
15091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15093 #define $ac_func innocuous_$ac_func
15094
15095 /* System header to define __stub macros and hopefully few prototypes,
15096     which can conflict with char $ac_func (); below.
15097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15098     <limits.h> exists even on freestanding compilers.  */
15099
15100 #ifdef __STDC__
15101 # include <limits.h>
15102 #else
15103 # include <assert.h>
15104 #endif
15105
15106 #undef $ac_func
15107
15108 /* Override any gcc2 internal prototype to avoid an error.  */
15109 #ifdef __cplusplus
15110 extern "C"
15111 {
15112 #endif
15113 /* We use char because int might match the return type of a gcc2
15114    builtin and then its argument prototype would still apply.  */
15115 char $ac_func ();
15116 /* The GNU C library defines this for functions which it implements
15117     to always fail with ENOSYS.  Some functions are actually named
15118     something starting with __ and the normal name is an alias.  */
15119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15120 choke me
15121 #else
15122 char (*f) () = $ac_func;
15123 #endif
15124 #ifdef __cplusplus
15125 }
15126 #endif
15127
15128 int
15129 main ()
15130 {
15131 return f != $ac_func;
15132   ;
15133   return 0;
15134 }
15135 _ACEOF
15136 rm -f conftest.$ac_objext conftest$ac_exeext
15137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15138   (eval $ac_link) 2>conftest.er1
15139   ac_status=$?
15140   grep -v '^ *+' conftest.er1 >conftest.err
15141   rm -f conftest.er1
15142   cat conftest.err >&5
15143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144   (exit $ac_status); } &&
15145          { ac_try='test -z "$ac_c_werror_flag"
15146                          || test ! -s conftest.err'
15147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148   (eval $ac_try) 2>&5
15149   ac_status=$?
15150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151   (exit $ac_status); }; } &&
15152          { ac_try='test -s conftest$ac_exeext'
15153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154   (eval $ac_try) 2>&5
15155   ac_status=$?
15156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157   (exit $ac_status); }; }; then
15158   eval "$as_ac_var=yes"
15159 else
15160   echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.$ac_ext >&5
15162
15163 eval "$as_ac_var=no"
15164 fi
15165 rm -f conftest.err conftest.$ac_objext \
15166       conftest$ac_exeext conftest.$ac_ext
15167 fi
15168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15170 if test `eval echo '${'$as_ac_var'}'` = yes; then
15171   cat >>confdefs.h <<_ACEOF
15172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15173 _ACEOF
15174
15175 fi
15176 done
15177
15178   else
15179
15180   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15181 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15182   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15183     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15184   echo $ECHO_N "(cached) $ECHO_C" >&6
15185 else
15186
15187
15188
15189       ac_ext=cc
15190 ac_cpp='$CXXCPP $CPPFLAGS'
15191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15194
15195       cat >conftest.$ac_ext <<_ACEOF
15196 /* confdefs.h.  */
15197 _ACEOF
15198 cat confdefs.h >>conftest.$ac_ext
15199 cat >>conftest.$ac_ext <<_ACEOF
15200 /* end confdefs.h.  */
15201 #include <math.h>
15202 int
15203 main ()
15204 {
15205  _hypotf(0, 0);
15206   ;
15207   return 0;
15208 }
15209 _ACEOF
15210 rm -f conftest.$ac_objext
15211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15212   (eval $ac_compile) 2>conftest.er1
15213   ac_status=$?
15214   grep -v '^ *+' conftest.er1 >conftest.err
15215   rm -f conftest.er1
15216   cat conftest.err >&5
15217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218   (exit $ac_status); } &&
15219          { ac_try='test -z "$ac_cxx_werror_flag"
15220                          || test ! -s conftest.err'
15221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222   (eval $ac_try) 2>&5
15223   ac_status=$?
15224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225   (exit $ac_status); }; } &&
15226          { ac_try='test -s conftest.$ac_objext'
15227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228   (eval $ac_try) 2>&5
15229   ac_status=$?
15230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231   (exit $ac_status); }; }; then
15232   glibcxx_cv_func__hypotf_use=yes
15233 else
15234   echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15236
15237 glibcxx_cv_func__hypotf_use=no
15238 fi
15239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15240       ac_ext=c
15241 ac_cpp='$CPP $CPPFLAGS'
15242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15245
15246
15247 fi
15248
15249   fi
15250   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15251 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15252
15253     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15254
15255 for ac_func in _hypotf
15256 do
15257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15258 echo "$as_me:$LINENO: checking for $ac_func" >&5
15259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15260 if eval "test \"\${$as_ac_var+set}\" = set"; then
15261   echo $ECHO_N "(cached) $ECHO_C" >&6
15262 else
15263   if test x$gcc_no_link = xyes; then
15264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15266    { (exit 1); exit 1; }; }
15267 fi
15268 cat >conftest.$ac_ext <<_ACEOF
15269 /* confdefs.h.  */
15270 _ACEOF
15271 cat confdefs.h >>conftest.$ac_ext
15272 cat >>conftest.$ac_ext <<_ACEOF
15273 /* end confdefs.h.  */
15274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15276 #define $ac_func innocuous_$ac_func
15277
15278 /* System header to define __stub macros and hopefully few prototypes,
15279     which can conflict with char $ac_func (); below.
15280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15281     <limits.h> exists even on freestanding compilers.  */
15282
15283 #ifdef __STDC__
15284 # include <limits.h>
15285 #else
15286 # include <assert.h>
15287 #endif
15288
15289 #undef $ac_func
15290
15291 /* Override any gcc2 internal prototype to avoid an error.  */
15292 #ifdef __cplusplus
15293 extern "C"
15294 {
15295 #endif
15296 /* We use char because int might match the return type of a gcc2
15297    builtin and then its argument prototype would still apply.  */
15298 char $ac_func ();
15299 /* The GNU C library defines this for functions which it implements
15300     to always fail with ENOSYS.  Some functions are actually named
15301     something starting with __ and the normal name is an alias.  */
15302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15303 choke me
15304 #else
15305 char (*f) () = $ac_func;
15306 #endif
15307 #ifdef __cplusplus
15308 }
15309 #endif
15310
15311 int
15312 main ()
15313 {
15314 return f != $ac_func;
15315   ;
15316   return 0;
15317 }
15318 _ACEOF
15319 rm -f conftest.$ac_objext conftest$ac_exeext
15320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15321   (eval $ac_link) 2>conftest.er1
15322   ac_status=$?
15323   grep -v '^ *+' conftest.er1 >conftest.err
15324   rm -f conftest.er1
15325   cat conftest.err >&5
15326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327   (exit $ac_status); } &&
15328          { ac_try='test -z "$ac_c_werror_flag"
15329                          || test ! -s conftest.err'
15330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15331   (eval $ac_try) 2>&5
15332   ac_status=$?
15333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334   (exit $ac_status); }; } &&
15335          { ac_try='test -s conftest$ac_exeext'
15336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15337   (eval $ac_try) 2>&5
15338   ac_status=$?
15339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340   (exit $ac_status); }; }; then
15341   eval "$as_ac_var=yes"
15342 else
15343   echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.$ac_ext >&5
15345
15346 eval "$as_ac_var=no"
15347 fi
15348 rm -f conftest.err conftest.$ac_objext \
15349       conftest$ac_exeext conftest.$ac_ext
15350 fi
15351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15353 if test `eval echo '${'$as_ac_var'}'` = yes; then
15354   cat >>confdefs.h <<_ACEOF
15355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15356 _ACEOF
15357
15358 fi
15359 done
15360
15361     fi
15362   fi
15363
15364
15365
15366
15367
15368
15369   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15370 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15371   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15372     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15373   echo $ECHO_N "(cached) $ECHO_C" >&6
15374 else
15375
15376
15377
15378       ac_ext=cc
15379 ac_cpp='$CXXCPP $CPPFLAGS'
15380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15383
15384       cat >conftest.$ac_ext <<_ACEOF
15385 /* confdefs.h.  */
15386 _ACEOF
15387 cat confdefs.h >>conftest.$ac_ext
15388 cat >>conftest.$ac_ext <<_ACEOF
15389 /* end confdefs.h.  */
15390 #include <math.h>
15391 int
15392 main ()
15393 {
15394  ldexpf(0, 0);
15395   ;
15396   return 0;
15397 }
15398 _ACEOF
15399 rm -f conftest.$ac_objext
15400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15401   (eval $ac_compile) 2>conftest.er1
15402   ac_status=$?
15403   grep -v '^ *+' conftest.er1 >conftest.err
15404   rm -f conftest.er1
15405   cat conftest.err >&5
15406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407   (exit $ac_status); } &&
15408          { ac_try='test -z "$ac_cxx_werror_flag"
15409                          || test ! -s conftest.err'
15410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15411   (eval $ac_try) 2>&5
15412   ac_status=$?
15413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414   (exit $ac_status); }; } &&
15415          { ac_try='test -s conftest.$ac_objext'
15416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15417   (eval $ac_try) 2>&5
15418   ac_status=$?
15419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420   (exit $ac_status); }; }; then
15421   glibcxx_cv_func_ldexpf_use=yes
15422 else
15423   echo "$as_me: failed program was:" >&5
15424 sed 's/^/| /' conftest.$ac_ext >&5
15425
15426 glibcxx_cv_func_ldexpf_use=no
15427 fi
15428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15429       ac_ext=c
15430 ac_cpp='$CPP $CPPFLAGS'
15431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15434
15435
15436 fi
15437
15438   fi
15439   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15440 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15441
15442   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15443
15444 for ac_func in ldexpf
15445 do
15446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15447 echo "$as_me:$LINENO: checking for $ac_func" >&5
15448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15449 if eval "test \"\${$as_ac_var+set}\" = set"; then
15450   echo $ECHO_N "(cached) $ECHO_C" >&6
15451 else
15452   if test x$gcc_no_link = xyes; then
15453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15455    { (exit 1); exit 1; }; }
15456 fi
15457 cat >conftest.$ac_ext <<_ACEOF
15458 /* confdefs.h.  */
15459 _ACEOF
15460 cat confdefs.h >>conftest.$ac_ext
15461 cat >>conftest.$ac_ext <<_ACEOF
15462 /* end confdefs.h.  */
15463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15465 #define $ac_func innocuous_$ac_func
15466
15467 /* System header to define __stub macros and hopefully few prototypes,
15468     which can conflict with char $ac_func (); below.
15469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15470     <limits.h> exists even on freestanding compilers.  */
15471
15472 #ifdef __STDC__
15473 # include <limits.h>
15474 #else
15475 # include <assert.h>
15476 #endif
15477
15478 #undef $ac_func
15479
15480 /* Override any gcc2 internal prototype to avoid an error.  */
15481 #ifdef __cplusplus
15482 extern "C"
15483 {
15484 #endif
15485 /* We use char because int might match the return type of a gcc2
15486    builtin and then its argument prototype would still apply.  */
15487 char $ac_func ();
15488 /* The GNU C library defines this for functions which it implements
15489     to always fail with ENOSYS.  Some functions are actually named
15490     something starting with __ and the normal name is an alias.  */
15491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15492 choke me
15493 #else
15494 char (*f) () = $ac_func;
15495 #endif
15496 #ifdef __cplusplus
15497 }
15498 #endif
15499
15500 int
15501 main ()
15502 {
15503 return f != $ac_func;
15504   ;
15505   return 0;
15506 }
15507 _ACEOF
15508 rm -f conftest.$ac_objext conftest$ac_exeext
15509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15510   (eval $ac_link) 2>conftest.er1
15511   ac_status=$?
15512   grep -v '^ *+' conftest.er1 >conftest.err
15513   rm -f conftest.er1
15514   cat conftest.err >&5
15515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516   (exit $ac_status); } &&
15517          { ac_try='test -z "$ac_c_werror_flag"
15518                          || test ! -s conftest.err'
15519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15520   (eval $ac_try) 2>&5
15521   ac_status=$?
15522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523   (exit $ac_status); }; } &&
15524          { ac_try='test -s conftest$ac_exeext'
15525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15526   (eval $ac_try) 2>&5
15527   ac_status=$?
15528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529   (exit $ac_status); }; }; then
15530   eval "$as_ac_var=yes"
15531 else
15532   echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.$ac_ext >&5
15534
15535 eval "$as_ac_var=no"
15536 fi
15537 rm -f conftest.err conftest.$ac_objext \
15538       conftest$ac_exeext conftest.$ac_ext
15539 fi
15540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15542 if test `eval echo '${'$as_ac_var'}'` = yes; then
15543   cat >>confdefs.h <<_ACEOF
15544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15545 _ACEOF
15546
15547 fi
15548 done
15549
15550   else
15551
15552   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15553 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15554   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15555     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15556   echo $ECHO_N "(cached) $ECHO_C" >&6
15557 else
15558
15559
15560
15561       ac_ext=cc
15562 ac_cpp='$CXXCPP $CPPFLAGS'
15563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15566
15567       cat >conftest.$ac_ext <<_ACEOF
15568 /* confdefs.h.  */
15569 _ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h.  */
15573 #include <math.h>
15574 int
15575 main ()
15576 {
15577  _ldexpf(0, 0);
15578   ;
15579   return 0;
15580 }
15581 _ACEOF
15582 rm -f conftest.$ac_objext
15583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15584   (eval $ac_compile) 2>conftest.er1
15585   ac_status=$?
15586   grep -v '^ *+' conftest.er1 >conftest.err
15587   rm -f conftest.er1
15588   cat conftest.err >&5
15589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590   (exit $ac_status); } &&
15591          { ac_try='test -z "$ac_cxx_werror_flag"
15592                          || test ! -s conftest.err'
15593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15594   (eval $ac_try) 2>&5
15595   ac_status=$?
15596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597   (exit $ac_status); }; } &&
15598          { ac_try='test -s conftest.$ac_objext'
15599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600   (eval $ac_try) 2>&5
15601   ac_status=$?
15602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603   (exit $ac_status); }; }; then
15604   glibcxx_cv_func__ldexpf_use=yes
15605 else
15606   echo "$as_me: failed program was:" >&5
15607 sed 's/^/| /' conftest.$ac_ext >&5
15608
15609 glibcxx_cv_func__ldexpf_use=no
15610 fi
15611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15612       ac_ext=c
15613 ac_cpp='$CPP $CPPFLAGS'
15614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15617
15618
15619 fi
15620
15621   fi
15622   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15623 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15624
15625     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15626
15627 for ac_func in _ldexpf
15628 do
15629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15630 echo "$as_me:$LINENO: checking for $ac_func" >&5
15631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15632 if eval "test \"\${$as_ac_var+set}\" = set"; then
15633   echo $ECHO_N "(cached) $ECHO_C" >&6
15634 else
15635   if test x$gcc_no_link = xyes; then
15636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15638    { (exit 1); exit 1; }; }
15639 fi
15640 cat >conftest.$ac_ext <<_ACEOF
15641 /* confdefs.h.  */
15642 _ACEOF
15643 cat confdefs.h >>conftest.$ac_ext
15644 cat >>conftest.$ac_ext <<_ACEOF
15645 /* end confdefs.h.  */
15646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15648 #define $ac_func innocuous_$ac_func
15649
15650 /* System header to define __stub macros and hopefully few prototypes,
15651     which can conflict with char $ac_func (); below.
15652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15653     <limits.h> exists even on freestanding compilers.  */
15654
15655 #ifdef __STDC__
15656 # include <limits.h>
15657 #else
15658 # include <assert.h>
15659 #endif
15660
15661 #undef $ac_func
15662
15663 /* Override any gcc2 internal prototype to avoid an error.  */
15664 #ifdef __cplusplus
15665 extern "C"
15666 {
15667 #endif
15668 /* We use char because int might match the return type of a gcc2
15669    builtin and then its argument prototype would still apply.  */
15670 char $ac_func ();
15671 /* The GNU C library defines this for functions which it implements
15672     to always fail with ENOSYS.  Some functions are actually named
15673     something starting with __ and the normal name is an alias.  */
15674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15675 choke me
15676 #else
15677 char (*f) () = $ac_func;
15678 #endif
15679 #ifdef __cplusplus
15680 }
15681 #endif
15682
15683 int
15684 main ()
15685 {
15686 return f != $ac_func;
15687   ;
15688   return 0;
15689 }
15690 _ACEOF
15691 rm -f conftest.$ac_objext conftest$ac_exeext
15692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15693   (eval $ac_link) 2>conftest.er1
15694   ac_status=$?
15695   grep -v '^ *+' conftest.er1 >conftest.err
15696   rm -f conftest.er1
15697   cat conftest.err >&5
15698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699   (exit $ac_status); } &&
15700          { ac_try='test -z "$ac_c_werror_flag"
15701                          || test ! -s conftest.err'
15702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703   (eval $ac_try) 2>&5
15704   ac_status=$?
15705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706   (exit $ac_status); }; } &&
15707          { ac_try='test -s conftest$ac_exeext'
15708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15709   (eval $ac_try) 2>&5
15710   ac_status=$?
15711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712   (exit $ac_status); }; }; then
15713   eval "$as_ac_var=yes"
15714 else
15715   echo "$as_me: failed program was:" >&5
15716 sed 's/^/| /' conftest.$ac_ext >&5
15717
15718 eval "$as_ac_var=no"
15719 fi
15720 rm -f conftest.err conftest.$ac_objext \
15721       conftest$ac_exeext conftest.$ac_ext
15722 fi
15723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15725 if test `eval echo '${'$as_ac_var'}'` = yes; then
15726   cat >>confdefs.h <<_ACEOF
15727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15728 _ACEOF
15729
15730 fi
15731 done
15732
15733     fi
15734   fi
15735
15736
15737
15738
15739
15740
15741   echo "$as_me:$LINENO: checking for logf declaration" >&5
15742 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15743   if test x${glibcxx_cv_func_logf_use+set} != xset; then
15744     if test "${glibcxx_cv_func_logf_use+set}" = set; then
15745   echo $ECHO_N "(cached) $ECHO_C" >&6
15746 else
15747
15748
15749
15750       ac_ext=cc
15751 ac_cpp='$CXXCPP $CPPFLAGS'
15752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15755
15756       cat >conftest.$ac_ext <<_ACEOF
15757 /* confdefs.h.  */
15758 _ACEOF
15759 cat confdefs.h >>conftest.$ac_ext
15760 cat >>conftest.$ac_ext <<_ACEOF
15761 /* end confdefs.h.  */
15762 #include <math.h>
15763                       #ifdef HAVE_IEEEFP_H
15764                       #include <ieeefp.h>
15765                       #endif
15766
15767 int
15768 main ()
15769 {
15770  logf(0);
15771   ;
15772   return 0;
15773 }
15774 _ACEOF
15775 rm -f conftest.$ac_objext
15776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15777   (eval $ac_compile) 2>conftest.er1
15778   ac_status=$?
15779   grep -v '^ *+' conftest.er1 >conftest.err
15780   rm -f conftest.er1
15781   cat conftest.err >&5
15782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783   (exit $ac_status); } &&
15784          { ac_try='test -z "$ac_cxx_werror_flag"
15785                          || test ! -s conftest.err'
15786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15787   (eval $ac_try) 2>&5
15788   ac_status=$?
15789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790   (exit $ac_status); }; } &&
15791          { ac_try='test -s conftest.$ac_objext'
15792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15793   (eval $ac_try) 2>&5
15794   ac_status=$?
15795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796   (exit $ac_status); }; }; then
15797   glibcxx_cv_func_logf_use=yes
15798 else
15799   echo "$as_me: failed program was:" >&5
15800 sed 's/^/| /' conftest.$ac_ext >&5
15801
15802 glibcxx_cv_func_logf_use=no
15803 fi
15804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15805       ac_ext=c
15806 ac_cpp='$CPP $CPPFLAGS'
15807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15810
15811
15812 fi
15813
15814   fi
15815   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15816 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15817
15818   if test x$glibcxx_cv_func_logf_use = x"yes"; then
15819
15820 for ac_func in logf
15821 do
15822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15823 echo "$as_me:$LINENO: checking for $ac_func" >&5
15824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15825 if eval "test \"\${$as_ac_var+set}\" = set"; then
15826   echo $ECHO_N "(cached) $ECHO_C" >&6
15827 else
15828   if test x$gcc_no_link = xyes; then
15829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15831    { (exit 1); exit 1; }; }
15832 fi
15833 cat >conftest.$ac_ext <<_ACEOF
15834 /* confdefs.h.  */
15835 _ACEOF
15836 cat confdefs.h >>conftest.$ac_ext
15837 cat >>conftest.$ac_ext <<_ACEOF
15838 /* end confdefs.h.  */
15839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15841 #define $ac_func innocuous_$ac_func
15842
15843 /* System header to define __stub macros and hopefully few prototypes,
15844     which can conflict with char $ac_func (); below.
15845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15846     <limits.h> exists even on freestanding compilers.  */
15847
15848 #ifdef __STDC__
15849 # include <limits.h>
15850 #else
15851 # include <assert.h>
15852 #endif
15853
15854 #undef $ac_func
15855
15856 /* Override any gcc2 internal prototype to avoid an error.  */
15857 #ifdef __cplusplus
15858 extern "C"
15859 {
15860 #endif
15861 /* We use char because int might match the return type of a gcc2
15862    builtin and then its argument prototype would still apply.  */
15863 char $ac_func ();
15864 /* The GNU C library defines this for functions which it implements
15865     to always fail with ENOSYS.  Some functions are actually named
15866     something starting with __ and the normal name is an alias.  */
15867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15868 choke me
15869 #else
15870 char (*f) () = $ac_func;
15871 #endif
15872 #ifdef __cplusplus
15873 }
15874 #endif
15875
15876 int
15877 main ()
15878 {
15879 return f != $ac_func;
15880   ;
15881   return 0;
15882 }
15883 _ACEOF
15884 rm -f conftest.$ac_objext conftest$ac_exeext
15885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15886   (eval $ac_link) 2>conftest.er1
15887   ac_status=$?
15888   grep -v '^ *+' conftest.er1 >conftest.err
15889   rm -f conftest.er1
15890   cat conftest.err >&5
15891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892   (exit $ac_status); } &&
15893          { ac_try='test -z "$ac_c_werror_flag"
15894                          || test ! -s conftest.err'
15895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896   (eval $ac_try) 2>&5
15897   ac_status=$?
15898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899   (exit $ac_status); }; } &&
15900          { ac_try='test -s conftest$ac_exeext'
15901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902   (eval $ac_try) 2>&5
15903   ac_status=$?
15904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905   (exit $ac_status); }; }; then
15906   eval "$as_ac_var=yes"
15907 else
15908   echo "$as_me: failed program was:" >&5
15909 sed 's/^/| /' conftest.$ac_ext >&5
15910
15911 eval "$as_ac_var=no"
15912 fi
15913 rm -f conftest.err conftest.$ac_objext \
15914       conftest$ac_exeext conftest.$ac_ext
15915 fi
15916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15918 if test `eval echo '${'$as_ac_var'}'` = yes; then
15919   cat >>confdefs.h <<_ACEOF
15920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15921 _ACEOF
15922
15923 fi
15924 done
15925
15926   else
15927
15928   echo "$as_me:$LINENO: checking for _logf declaration" >&5
15929 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15930   if test x${glibcxx_cv_func__logf_use+set} != xset; then
15931     if test "${glibcxx_cv_func__logf_use+set}" = set; then
15932   echo $ECHO_N "(cached) $ECHO_C" >&6
15933 else
15934
15935
15936
15937       ac_ext=cc
15938 ac_cpp='$CXXCPP $CPPFLAGS'
15939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15942
15943       cat >conftest.$ac_ext <<_ACEOF
15944 /* confdefs.h.  */
15945 _ACEOF
15946 cat confdefs.h >>conftest.$ac_ext
15947 cat >>conftest.$ac_ext <<_ACEOF
15948 /* end confdefs.h.  */
15949 #include <math.h>
15950                       #ifdef HAVE_IEEEFP_H
15951                       #include <ieeefp.h>
15952                       #endif
15953
15954 int
15955 main ()
15956 {
15957  _logf(0);
15958   ;
15959   return 0;
15960 }
15961 _ACEOF
15962 rm -f conftest.$ac_objext
15963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15964   (eval $ac_compile) 2>conftest.er1
15965   ac_status=$?
15966   grep -v '^ *+' conftest.er1 >conftest.err
15967   rm -f conftest.er1
15968   cat conftest.err >&5
15969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970   (exit $ac_status); } &&
15971          { ac_try='test -z "$ac_cxx_werror_flag"
15972                          || test ! -s conftest.err'
15973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15974   (eval $ac_try) 2>&5
15975   ac_status=$?
15976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977   (exit $ac_status); }; } &&
15978          { ac_try='test -s conftest.$ac_objext'
15979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15980   (eval $ac_try) 2>&5
15981   ac_status=$?
15982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983   (exit $ac_status); }; }; then
15984   glibcxx_cv_func__logf_use=yes
15985 else
15986   echo "$as_me: failed program was:" >&5
15987 sed 's/^/| /' conftest.$ac_ext >&5
15988
15989 glibcxx_cv_func__logf_use=no
15990 fi
15991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15992       ac_ext=c
15993 ac_cpp='$CPP $CPPFLAGS'
15994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15997
15998
15999 fi
16000
16001   fi
16002   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
16003 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
16004
16005     if test x$glibcxx_cv_func__logf_use = x"yes"; then
16006
16007 for ac_func in _logf
16008 do
16009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16010 echo "$as_me:$LINENO: checking for $ac_func" >&5
16011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16012 if eval "test \"\${$as_ac_var+set}\" = set"; then
16013   echo $ECHO_N "(cached) $ECHO_C" >&6
16014 else
16015   if test x$gcc_no_link = xyes; then
16016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16018    { (exit 1); exit 1; }; }
16019 fi
16020 cat >conftest.$ac_ext <<_ACEOF
16021 /* confdefs.h.  */
16022 _ACEOF
16023 cat confdefs.h >>conftest.$ac_ext
16024 cat >>conftest.$ac_ext <<_ACEOF
16025 /* end confdefs.h.  */
16026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16028 #define $ac_func innocuous_$ac_func
16029
16030 /* System header to define __stub macros and hopefully few prototypes,
16031     which can conflict with char $ac_func (); below.
16032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16033     <limits.h> exists even on freestanding compilers.  */
16034
16035 #ifdef __STDC__
16036 # include <limits.h>
16037 #else
16038 # include <assert.h>
16039 #endif
16040
16041 #undef $ac_func
16042
16043 /* Override any gcc2 internal prototype to avoid an error.  */
16044 #ifdef __cplusplus
16045 extern "C"
16046 {
16047 #endif
16048 /* We use char because int might match the return type of a gcc2
16049    builtin and then its argument prototype would still apply.  */
16050 char $ac_func ();
16051 /* The GNU C library defines this for functions which it implements
16052     to always fail with ENOSYS.  Some functions are actually named
16053     something starting with __ and the normal name is an alias.  */
16054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16055 choke me
16056 #else
16057 char (*f) () = $ac_func;
16058 #endif
16059 #ifdef __cplusplus
16060 }
16061 #endif
16062
16063 int
16064 main ()
16065 {
16066 return f != $ac_func;
16067   ;
16068   return 0;
16069 }
16070 _ACEOF
16071 rm -f conftest.$ac_objext conftest$ac_exeext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16073   (eval $ac_link) 2>conftest.er1
16074   ac_status=$?
16075   grep -v '^ *+' conftest.er1 >conftest.err
16076   rm -f conftest.er1
16077   cat conftest.err >&5
16078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079   (exit $ac_status); } &&
16080          { ac_try='test -z "$ac_c_werror_flag"
16081                          || test ! -s conftest.err'
16082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16083   (eval $ac_try) 2>&5
16084   ac_status=$?
16085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086   (exit $ac_status); }; } &&
16087          { ac_try='test -s conftest$ac_exeext'
16088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16089   (eval $ac_try) 2>&5
16090   ac_status=$?
16091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092   (exit $ac_status); }; }; then
16093   eval "$as_ac_var=yes"
16094 else
16095   echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16097
16098 eval "$as_ac_var=no"
16099 fi
16100 rm -f conftest.err conftest.$ac_objext \
16101       conftest$ac_exeext conftest.$ac_ext
16102 fi
16103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16105 if test `eval echo '${'$as_ac_var'}'` = yes; then
16106   cat >>confdefs.h <<_ACEOF
16107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16108 _ACEOF
16109
16110 fi
16111 done
16112
16113     fi
16114   fi
16115
16116
16117
16118
16119
16120
16121   echo "$as_me:$LINENO: checking for log10f declaration" >&5
16122 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16123   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16124     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16125   echo $ECHO_N "(cached) $ECHO_C" >&6
16126 else
16127
16128
16129
16130       ac_ext=cc
16131 ac_cpp='$CXXCPP $CPPFLAGS'
16132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16135
16136       cat >conftest.$ac_ext <<_ACEOF
16137 /* confdefs.h.  */
16138 _ACEOF
16139 cat confdefs.h >>conftest.$ac_ext
16140 cat >>conftest.$ac_ext <<_ACEOF
16141 /* end confdefs.h.  */
16142 #include <math.h>
16143                       #ifdef HAVE_IEEEFP_H
16144                       #include <ieeefp.h>
16145                       #endif
16146
16147 int
16148 main ()
16149 {
16150  log10f(0);
16151   ;
16152   return 0;
16153 }
16154 _ACEOF
16155 rm -f conftest.$ac_objext
16156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16157   (eval $ac_compile) 2>conftest.er1
16158   ac_status=$?
16159   grep -v '^ *+' conftest.er1 >conftest.err
16160   rm -f conftest.er1
16161   cat conftest.err >&5
16162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163   (exit $ac_status); } &&
16164          { ac_try='test -z "$ac_cxx_werror_flag"
16165                          || test ! -s conftest.err'
16166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167   (eval $ac_try) 2>&5
16168   ac_status=$?
16169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170   (exit $ac_status); }; } &&
16171          { ac_try='test -s conftest.$ac_objext'
16172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173   (eval $ac_try) 2>&5
16174   ac_status=$?
16175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176   (exit $ac_status); }; }; then
16177   glibcxx_cv_func_log10f_use=yes
16178 else
16179   echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.$ac_ext >&5
16181
16182 glibcxx_cv_func_log10f_use=no
16183 fi
16184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16185       ac_ext=c
16186 ac_cpp='$CPP $CPPFLAGS'
16187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16190
16191
16192 fi
16193
16194   fi
16195   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16196 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16197
16198   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16199
16200 for ac_func in log10f
16201 do
16202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16203 echo "$as_me:$LINENO: checking for $ac_func" >&5
16204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16205 if eval "test \"\${$as_ac_var+set}\" = set"; then
16206   echo $ECHO_N "(cached) $ECHO_C" >&6
16207 else
16208   if test x$gcc_no_link = xyes; then
16209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16211    { (exit 1); exit 1; }; }
16212 fi
16213 cat >conftest.$ac_ext <<_ACEOF
16214 /* confdefs.h.  */
16215 _ACEOF
16216 cat confdefs.h >>conftest.$ac_ext
16217 cat >>conftest.$ac_ext <<_ACEOF
16218 /* end confdefs.h.  */
16219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16220    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16221 #define $ac_func innocuous_$ac_func
16222
16223 /* System header to define __stub macros and hopefully few prototypes,
16224     which can conflict with char $ac_func (); below.
16225     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16226     <limits.h> exists even on freestanding compilers.  */
16227
16228 #ifdef __STDC__
16229 # include <limits.h>
16230 #else
16231 # include <assert.h>
16232 #endif
16233
16234 #undef $ac_func
16235
16236 /* Override any gcc2 internal prototype to avoid an error.  */
16237 #ifdef __cplusplus
16238 extern "C"
16239 {
16240 #endif
16241 /* We use char because int might match the return type of a gcc2
16242    builtin and then its argument prototype would still apply.  */
16243 char $ac_func ();
16244 /* The GNU C library defines this for functions which it implements
16245     to always fail with ENOSYS.  Some functions are actually named
16246     something starting with __ and the normal name is an alias.  */
16247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16248 choke me
16249 #else
16250 char (*f) () = $ac_func;
16251 #endif
16252 #ifdef __cplusplus
16253 }
16254 #endif
16255
16256 int
16257 main ()
16258 {
16259 return f != $ac_func;
16260   ;
16261   return 0;
16262 }
16263 _ACEOF
16264 rm -f conftest.$ac_objext conftest$ac_exeext
16265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16266   (eval $ac_link) 2>conftest.er1
16267   ac_status=$?
16268   grep -v '^ *+' conftest.er1 >conftest.err
16269   rm -f conftest.er1
16270   cat conftest.err >&5
16271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272   (exit $ac_status); } &&
16273          { ac_try='test -z "$ac_c_werror_flag"
16274                          || test ! -s conftest.err'
16275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276   (eval $ac_try) 2>&5
16277   ac_status=$?
16278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279   (exit $ac_status); }; } &&
16280          { ac_try='test -s conftest$ac_exeext'
16281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16282   (eval $ac_try) 2>&5
16283   ac_status=$?
16284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285   (exit $ac_status); }; }; then
16286   eval "$as_ac_var=yes"
16287 else
16288   echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.$ac_ext >&5
16290
16291 eval "$as_ac_var=no"
16292 fi
16293 rm -f conftest.err conftest.$ac_objext \
16294       conftest$ac_exeext conftest.$ac_ext
16295 fi
16296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16298 if test `eval echo '${'$as_ac_var'}'` = yes; then
16299   cat >>confdefs.h <<_ACEOF
16300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16301 _ACEOF
16302
16303 fi
16304 done
16305
16306   else
16307
16308   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16309 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16310   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16311     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16312   echo $ECHO_N "(cached) $ECHO_C" >&6
16313 else
16314
16315
16316
16317       ac_ext=cc
16318 ac_cpp='$CXXCPP $CPPFLAGS'
16319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16322
16323       cat >conftest.$ac_ext <<_ACEOF
16324 /* confdefs.h.  */
16325 _ACEOF
16326 cat confdefs.h >>conftest.$ac_ext
16327 cat >>conftest.$ac_ext <<_ACEOF
16328 /* end confdefs.h.  */
16329 #include <math.h>
16330                       #ifdef HAVE_IEEEFP_H
16331                       #include <ieeefp.h>
16332                       #endif
16333
16334 int
16335 main ()
16336 {
16337  _log10f(0);
16338   ;
16339   return 0;
16340 }
16341 _ACEOF
16342 rm -f conftest.$ac_objext
16343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16344   (eval $ac_compile) 2>conftest.er1
16345   ac_status=$?
16346   grep -v '^ *+' conftest.er1 >conftest.err
16347   rm -f conftest.er1
16348   cat conftest.err >&5
16349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350   (exit $ac_status); } &&
16351          { ac_try='test -z "$ac_cxx_werror_flag"
16352                          || test ! -s conftest.err'
16353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354   (eval $ac_try) 2>&5
16355   ac_status=$?
16356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357   (exit $ac_status); }; } &&
16358          { ac_try='test -s conftest.$ac_objext'
16359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360   (eval $ac_try) 2>&5
16361   ac_status=$?
16362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363   (exit $ac_status); }; }; then
16364   glibcxx_cv_func__log10f_use=yes
16365 else
16366   echo "$as_me: failed program was:" >&5
16367 sed 's/^/| /' conftest.$ac_ext >&5
16368
16369 glibcxx_cv_func__log10f_use=no
16370 fi
16371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16372       ac_ext=c
16373 ac_cpp='$CPP $CPPFLAGS'
16374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16377
16378
16379 fi
16380
16381   fi
16382   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16383 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16384
16385     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16386
16387 for ac_func in _log10f
16388 do
16389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16390 echo "$as_me:$LINENO: checking for $ac_func" >&5
16391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16392 if eval "test \"\${$as_ac_var+set}\" = set"; then
16393   echo $ECHO_N "(cached) $ECHO_C" >&6
16394 else
16395   if test x$gcc_no_link = xyes; then
16396   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16398    { (exit 1); exit 1; }; }
16399 fi
16400 cat >conftest.$ac_ext <<_ACEOF
16401 /* confdefs.h.  */
16402 _ACEOF
16403 cat confdefs.h >>conftest.$ac_ext
16404 cat >>conftest.$ac_ext <<_ACEOF
16405 /* end confdefs.h.  */
16406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16407    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16408 #define $ac_func innocuous_$ac_func
16409
16410 /* System header to define __stub macros and hopefully few prototypes,
16411     which can conflict with char $ac_func (); below.
16412     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16413     <limits.h> exists even on freestanding compilers.  */
16414
16415 #ifdef __STDC__
16416 # include <limits.h>
16417 #else
16418 # include <assert.h>
16419 #endif
16420
16421 #undef $ac_func
16422
16423 /* Override any gcc2 internal prototype to avoid an error.  */
16424 #ifdef __cplusplus
16425 extern "C"
16426 {
16427 #endif
16428 /* We use char because int might match the return type of a gcc2
16429    builtin and then its argument prototype would still apply.  */
16430 char $ac_func ();
16431 /* The GNU C library defines this for functions which it implements
16432     to always fail with ENOSYS.  Some functions are actually named
16433     something starting with __ and the normal name is an alias.  */
16434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16435 choke me
16436 #else
16437 char (*f) () = $ac_func;
16438 #endif
16439 #ifdef __cplusplus
16440 }
16441 #endif
16442
16443 int
16444 main ()
16445 {
16446 return f != $ac_func;
16447   ;
16448   return 0;
16449 }
16450 _ACEOF
16451 rm -f conftest.$ac_objext conftest$ac_exeext
16452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16453   (eval $ac_link) 2>conftest.er1
16454   ac_status=$?
16455   grep -v '^ *+' conftest.er1 >conftest.err
16456   rm -f conftest.er1
16457   cat conftest.err >&5
16458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459   (exit $ac_status); } &&
16460          { ac_try='test -z "$ac_c_werror_flag"
16461                          || test ! -s conftest.err'
16462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16463   (eval $ac_try) 2>&5
16464   ac_status=$?
16465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466   (exit $ac_status); }; } &&
16467          { ac_try='test -s conftest$ac_exeext'
16468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16469   (eval $ac_try) 2>&5
16470   ac_status=$?
16471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472   (exit $ac_status); }; }; then
16473   eval "$as_ac_var=yes"
16474 else
16475   echo "$as_me: failed program was:" >&5
16476 sed 's/^/| /' conftest.$ac_ext >&5
16477
16478 eval "$as_ac_var=no"
16479 fi
16480 rm -f conftest.err conftest.$ac_objext \
16481       conftest$ac_exeext conftest.$ac_ext
16482 fi
16483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16485 if test `eval echo '${'$as_ac_var'}'` = yes; then
16486   cat >>confdefs.h <<_ACEOF
16487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16488 _ACEOF
16489
16490 fi
16491 done
16492
16493     fi
16494   fi
16495
16496
16497
16498
16499
16500
16501   echo "$as_me:$LINENO: checking for modff declaration" >&5
16502 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16503   if test x${glibcxx_cv_func_modff_use+set} != xset; then
16504     if test "${glibcxx_cv_func_modff_use+set}" = set; then
16505   echo $ECHO_N "(cached) $ECHO_C" >&6
16506 else
16507
16508
16509
16510       ac_ext=cc
16511 ac_cpp='$CXXCPP $CPPFLAGS'
16512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16515
16516       cat >conftest.$ac_ext <<_ACEOF
16517 /* confdefs.h.  */
16518 _ACEOF
16519 cat confdefs.h >>conftest.$ac_ext
16520 cat >>conftest.$ac_ext <<_ACEOF
16521 /* end confdefs.h.  */
16522 #include <math.h>
16523 int
16524 main ()
16525 {
16526  modff(0, 0);
16527   ;
16528   return 0;
16529 }
16530 _ACEOF
16531 rm -f conftest.$ac_objext
16532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16533   (eval $ac_compile) 2>conftest.er1
16534   ac_status=$?
16535   grep -v '^ *+' conftest.er1 >conftest.err
16536   rm -f conftest.er1
16537   cat conftest.err >&5
16538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539   (exit $ac_status); } &&
16540          { ac_try='test -z "$ac_cxx_werror_flag"
16541                          || test ! -s conftest.err'
16542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543   (eval $ac_try) 2>&5
16544   ac_status=$?
16545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546   (exit $ac_status); }; } &&
16547          { ac_try='test -s conftest.$ac_objext'
16548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549   (eval $ac_try) 2>&5
16550   ac_status=$?
16551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552   (exit $ac_status); }; }; then
16553   glibcxx_cv_func_modff_use=yes
16554 else
16555   echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.$ac_ext >&5
16557
16558 glibcxx_cv_func_modff_use=no
16559 fi
16560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16561       ac_ext=c
16562 ac_cpp='$CPP $CPPFLAGS'
16563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16566
16567
16568 fi
16569
16570   fi
16571   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16572 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16573
16574   if test x$glibcxx_cv_func_modff_use = x"yes"; then
16575
16576 for ac_func in modff
16577 do
16578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16579 echo "$as_me:$LINENO: checking for $ac_func" >&5
16580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16581 if eval "test \"\${$as_ac_var+set}\" = set"; then
16582   echo $ECHO_N "(cached) $ECHO_C" >&6
16583 else
16584   if test x$gcc_no_link = xyes; then
16585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16587    { (exit 1); exit 1; }; }
16588 fi
16589 cat >conftest.$ac_ext <<_ACEOF
16590 /* confdefs.h.  */
16591 _ACEOF
16592 cat confdefs.h >>conftest.$ac_ext
16593 cat >>conftest.$ac_ext <<_ACEOF
16594 /* end confdefs.h.  */
16595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16597 #define $ac_func innocuous_$ac_func
16598
16599 /* System header to define __stub macros and hopefully few prototypes,
16600     which can conflict with char $ac_func (); below.
16601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16602     <limits.h> exists even on freestanding compilers.  */
16603
16604 #ifdef __STDC__
16605 # include <limits.h>
16606 #else
16607 # include <assert.h>
16608 #endif
16609
16610 #undef $ac_func
16611
16612 /* Override any gcc2 internal prototype to avoid an error.  */
16613 #ifdef __cplusplus
16614 extern "C"
16615 {
16616 #endif
16617 /* We use char because int might match the return type of a gcc2
16618    builtin and then its argument prototype would still apply.  */
16619 char $ac_func ();
16620 /* The GNU C library defines this for functions which it implements
16621     to always fail with ENOSYS.  Some functions are actually named
16622     something starting with __ and the normal name is an alias.  */
16623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16624 choke me
16625 #else
16626 char (*f) () = $ac_func;
16627 #endif
16628 #ifdef __cplusplus
16629 }
16630 #endif
16631
16632 int
16633 main ()
16634 {
16635 return f != $ac_func;
16636   ;
16637   return 0;
16638 }
16639 _ACEOF
16640 rm -f conftest.$ac_objext conftest$ac_exeext
16641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16642   (eval $ac_link) 2>conftest.er1
16643   ac_status=$?
16644   grep -v '^ *+' conftest.er1 >conftest.err
16645   rm -f conftest.er1
16646   cat conftest.err >&5
16647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648   (exit $ac_status); } &&
16649          { ac_try='test -z "$ac_c_werror_flag"
16650                          || test ! -s conftest.err'
16651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652   (eval $ac_try) 2>&5
16653   ac_status=$?
16654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655   (exit $ac_status); }; } &&
16656          { ac_try='test -s conftest$ac_exeext'
16657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658   (eval $ac_try) 2>&5
16659   ac_status=$?
16660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661   (exit $ac_status); }; }; then
16662   eval "$as_ac_var=yes"
16663 else
16664   echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.$ac_ext >&5
16666
16667 eval "$as_ac_var=no"
16668 fi
16669 rm -f conftest.err conftest.$ac_objext \
16670       conftest$ac_exeext conftest.$ac_ext
16671 fi
16672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16674 if test `eval echo '${'$as_ac_var'}'` = yes; then
16675   cat >>confdefs.h <<_ACEOF
16676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16677 _ACEOF
16678
16679 fi
16680 done
16681
16682   else
16683
16684   echo "$as_me:$LINENO: checking for _modff declaration" >&5
16685 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16686   if test x${glibcxx_cv_func__modff_use+set} != xset; then
16687     if test "${glibcxx_cv_func__modff_use+set}" = set; then
16688   echo $ECHO_N "(cached) $ECHO_C" >&6
16689 else
16690
16691
16692
16693       ac_ext=cc
16694 ac_cpp='$CXXCPP $CPPFLAGS'
16695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16698
16699       cat >conftest.$ac_ext <<_ACEOF
16700 /* confdefs.h.  */
16701 _ACEOF
16702 cat confdefs.h >>conftest.$ac_ext
16703 cat >>conftest.$ac_ext <<_ACEOF
16704 /* end confdefs.h.  */
16705 #include <math.h>
16706 int
16707 main ()
16708 {
16709  _modff(0, 0);
16710   ;
16711   return 0;
16712 }
16713 _ACEOF
16714 rm -f conftest.$ac_objext
16715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16716   (eval $ac_compile) 2>conftest.er1
16717   ac_status=$?
16718   grep -v '^ *+' conftest.er1 >conftest.err
16719   rm -f conftest.er1
16720   cat conftest.err >&5
16721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722   (exit $ac_status); } &&
16723          { ac_try='test -z "$ac_cxx_werror_flag"
16724                          || test ! -s conftest.err'
16725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726   (eval $ac_try) 2>&5
16727   ac_status=$?
16728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729   (exit $ac_status); }; } &&
16730          { ac_try='test -s conftest.$ac_objext'
16731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732   (eval $ac_try) 2>&5
16733   ac_status=$?
16734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735   (exit $ac_status); }; }; then
16736   glibcxx_cv_func__modff_use=yes
16737 else
16738   echo "$as_me: failed program was:" >&5
16739 sed 's/^/| /' conftest.$ac_ext >&5
16740
16741 glibcxx_cv_func__modff_use=no
16742 fi
16743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16744       ac_ext=c
16745 ac_cpp='$CPP $CPPFLAGS'
16746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16749
16750
16751 fi
16752
16753   fi
16754   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16755 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16756
16757     if test x$glibcxx_cv_func__modff_use = x"yes"; then
16758
16759 for ac_func in _modff
16760 do
16761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16762 echo "$as_me:$LINENO: checking for $ac_func" >&5
16763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16764 if eval "test \"\${$as_ac_var+set}\" = set"; then
16765   echo $ECHO_N "(cached) $ECHO_C" >&6
16766 else
16767   if test x$gcc_no_link = xyes; then
16768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16770    { (exit 1); exit 1; }; }
16771 fi
16772 cat >conftest.$ac_ext <<_ACEOF
16773 /* confdefs.h.  */
16774 _ACEOF
16775 cat confdefs.h >>conftest.$ac_ext
16776 cat >>conftest.$ac_ext <<_ACEOF
16777 /* end confdefs.h.  */
16778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16779    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16780 #define $ac_func innocuous_$ac_func
16781
16782 /* System header to define __stub macros and hopefully few prototypes,
16783     which can conflict with char $ac_func (); below.
16784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16785     <limits.h> exists even on freestanding compilers.  */
16786
16787 #ifdef __STDC__
16788 # include <limits.h>
16789 #else
16790 # include <assert.h>
16791 #endif
16792
16793 #undef $ac_func
16794
16795 /* Override any gcc2 internal prototype to avoid an error.  */
16796 #ifdef __cplusplus
16797 extern "C"
16798 {
16799 #endif
16800 /* We use char because int might match the return type of a gcc2
16801    builtin and then its argument prototype would still apply.  */
16802 char $ac_func ();
16803 /* The GNU C library defines this for functions which it implements
16804     to always fail with ENOSYS.  Some functions are actually named
16805     something starting with __ and the normal name is an alias.  */
16806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16807 choke me
16808 #else
16809 char (*f) () = $ac_func;
16810 #endif
16811 #ifdef __cplusplus
16812 }
16813 #endif
16814
16815 int
16816 main ()
16817 {
16818 return f != $ac_func;
16819   ;
16820   return 0;
16821 }
16822 _ACEOF
16823 rm -f conftest.$ac_objext conftest$ac_exeext
16824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16825   (eval $ac_link) 2>conftest.er1
16826   ac_status=$?
16827   grep -v '^ *+' conftest.er1 >conftest.err
16828   rm -f conftest.er1
16829   cat conftest.err >&5
16830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831   (exit $ac_status); } &&
16832          { ac_try='test -z "$ac_c_werror_flag"
16833                          || test ! -s conftest.err'
16834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16835   (eval $ac_try) 2>&5
16836   ac_status=$?
16837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838   (exit $ac_status); }; } &&
16839          { ac_try='test -s conftest$ac_exeext'
16840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841   (eval $ac_try) 2>&5
16842   ac_status=$?
16843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844   (exit $ac_status); }; }; then
16845   eval "$as_ac_var=yes"
16846 else
16847   echo "$as_me: failed program was:" >&5
16848 sed 's/^/| /' conftest.$ac_ext >&5
16849
16850 eval "$as_ac_var=no"
16851 fi
16852 rm -f conftest.err conftest.$ac_objext \
16853       conftest$ac_exeext conftest.$ac_ext
16854 fi
16855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16857 if test `eval echo '${'$as_ac_var'}'` = yes; then
16858   cat >>confdefs.h <<_ACEOF
16859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16860 _ACEOF
16861
16862 fi
16863 done
16864
16865     fi
16866   fi
16867
16868
16869
16870
16871
16872
16873   echo "$as_me:$LINENO: checking for modf declaration" >&5
16874 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16875   if test x${glibcxx_cv_func_modf_use+set} != xset; then
16876     if test "${glibcxx_cv_func_modf_use+set}" = set; then
16877   echo $ECHO_N "(cached) $ECHO_C" >&6
16878 else
16879
16880
16881
16882       ac_ext=cc
16883 ac_cpp='$CXXCPP $CPPFLAGS'
16884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16887
16888       cat >conftest.$ac_ext <<_ACEOF
16889 /* confdefs.h.  */
16890 _ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h.  */
16894 #include <math.h>
16895 int
16896 main ()
16897 {
16898  modf(0, 0);
16899   ;
16900   return 0;
16901 }
16902 _ACEOF
16903 rm -f conftest.$ac_objext
16904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16905   (eval $ac_compile) 2>conftest.er1
16906   ac_status=$?
16907   grep -v '^ *+' conftest.er1 >conftest.err
16908   rm -f conftest.er1
16909   cat conftest.err >&5
16910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911   (exit $ac_status); } &&
16912          { ac_try='test -z "$ac_cxx_werror_flag"
16913                          || test ! -s conftest.err'
16914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915   (eval $ac_try) 2>&5
16916   ac_status=$?
16917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918   (exit $ac_status); }; } &&
16919          { ac_try='test -s conftest.$ac_objext'
16920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921   (eval $ac_try) 2>&5
16922   ac_status=$?
16923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924   (exit $ac_status); }; }; then
16925   glibcxx_cv_func_modf_use=yes
16926 else
16927   echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.$ac_ext >&5
16929
16930 glibcxx_cv_func_modf_use=no
16931 fi
16932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16933       ac_ext=c
16934 ac_cpp='$CPP $CPPFLAGS'
16935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16938
16939
16940 fi
16941
16942   fi
16943   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16944 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16945
16946   if test x$glibcxx_cv_func_modf_use = x"yes"; then
16947
16948 for ac_func in modf
16949 do
16950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16951 echo "$as_me:$LINENO: checking for $ac_func" >&5
16952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16953 if eval "test \"\${$as_ac_var+set}\" = set"; then
16954   echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16956   if test x$gcc_no_link = xyes; then
16957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16959    { (exit 1); exit 1; }; }
16960 fi
16961 cat >conftest.$ac_ext <<_ACEOF
16962 /* confdefs.h.  */
16963 _ACEOF
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h.  */
16967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16969 #define $ac_func innocuous_$ac_func
16970
16971 /* System header to define __stub macros and hopefully few prototypes,
16972     which can conflict with char $ac_func (); below.
16973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16974     <limits.h> exists even on freestanding compilers.  */
16975
16976 #ifdef __STDC__
16977 # include <limits.h>
16978 #else
16979 # include <assert.h>
16980 #endif
16981
16982 #undef $ac_func
16983
16984 /* Override any gcc2 internal prototype to avoid an error.  */
16985 #ifdef __cplusplus
16986 extern "C"
16987 {
16988 #endif
16989 /* We use char because int might match the return type of a gcc2
16990    builtin and then its argument prototype would still apply.  */
16991 char $ac_func ();
16992 /* The GNU C library defines this for functions which it implements
16993     to always fail with ENOSYS.  Some functions are actually named
16994     something starting with __ and the normal name is an alias.  */
16995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16996 choke me
16997 #else
16998 char (*f) () = $ac_func;
16999 #endif
17000 #ifdef __cplusplus
17001 }
17002 #endif
17003
17004 int
17005 main ()
17006 {
17007 return f != $ac_func;
17008   ;
17009   return 0;
17010 }
17011 _ACEOF
17012 rm -f conftest.$ac_objext conftest$ac_exeext
17013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17014   (eval $ac_link) 2>conftest.er1
17015   ac_status=$?
17016   grep -v '^ *+' conftest.er1 >conftest.err
17017   rm -f conftest.er1
17018   cat conftest.err >&5
17019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020   (exit $ac_status); } &&
17021          { ac_try='test -z "$ac_c_werror_flag"
17022                          || test ! -s conftest.err'
17023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024   (eval $ac_try) 2>&5
17025   ac_status=$?
17026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027   (exit $ac_status); }; } &&
17028          { ac_try='test -s conftest$ac_exeext'
17029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030   (eval $ac_try) 2>&5
17031   ac_status=$?
17032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033   (exit $ac_status); }; }; then
17034   eval "$as_ac_var=yes"
17035 else
17036   echo "$as_me: failed program was:" >&5
17037 sed 's/^/| /' conftest.$ac_ext >&5
17038
17039 eval "$as_ac_var=no"
17040 fi
17041 rm -f conftest.err conftest.$ac_objext \
17042       conftest$ac_exeext conftest.$ac_ext
17043 fi
17044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17046 if test `eval echo '${'$as_ac_var'}'` = yes; then
17047   cat >>confdefs.h <<_ACEOF
17048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17049 _ACEOF
17050
17051 fi
17052 done
17053
17054   else
17055
17056   echo "$as_me:$LINENO: checking for _modf declaration" >&5
17057 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
17058   if test x${glibcxx_cv_func__modf_use+set} != xset; then
17059     if test "${glibcxx_cv_func__modf_use+set}" = set; then
17060   echo $ECHO_N "(cached) $ECHO_C" >&6
17061 else
17062
17063
17064
17065       ac_ext=cc
17066 ac_cpp='$CXXCPP $CPPFLAGS'
17067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17070
17071       cat >conftest.$ac_ext <<_ACEOF
17072 /* confdefs.h.  */
17073 _ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h.  */
17077 #include <math.h>
17078 int
17079 main ()
17080 {
17081  _modf(0, 0);
17082   ;
17083   return 0;
17084 }
17085 _ACEOF
17086 rm -f conftest.$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088   (eval $ac_compile) 2>conftest.er1
17089   ac_status=$?
17090   grep -v '^ *+' conftest.er1 >conftest.err
17091   rm -f conftest.er1
17092   cat conftest.err >&5
17093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094   (exit $ac_status); } &&
17095          { ac_try='test -z "$ac_cxx_werror_flag"
17096                          || test ! -s conftest.err'
17097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098   (eval $ac_try) 2>&5
17099   ac_status=$?
17100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101   (exit $ac_status); }; } &&
17102          { ac_try='test -s conftest.$ac_objext'
17103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104   (eval $ac_try) 2>&5
17105   ac_status=$?
17106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107   (exit $ac_status); }; }; then
17108   glibcxx_cv_func__modf_use=yes
17109 else
17110   echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.$ac_ext >&5
17112
17113 glibcxx_cv_func__modf_use=no
17114 fi
17115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17116       ac_ext=c
17117 ac_cpp='$CPP $CPPFLAGS'
17118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17121
17122
17123 fi
17124
17125   fi
17126   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17127 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17128
17129     if test x$glibcxx_cv_func__modf_use = x"yes"; then
17130
17131 for ac_func in _modf
17132 do
17133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17134 echo "$as_me:$LINENO: checking for $ac_func" >&5
17135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17136 if eval "test \"\${$as_ac_var+set}\" = set"; then
17137   echo $ECHO_N "(cached) $ECHO_C" >&6
17138 else
17139   if test x$gcc_no_link = xyes; then
17140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17142    { (exit 1); exit 1; }; }
17143 fi
17144 cat >conftest.$ac_ext <<_ACEOF
17145 /* confdefs.h.  */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h.  */
17150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17151    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17152 #define $ac_func innocuous_$ac_func
17153
17154 /* System header to define __stub macros and hopefully few prototypes,
17155     which can conflict with char $ac_func (); below.
17156     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17157     <limits.h> exists even on freestanding compilers.  */
17158
17159 #ifdef __STDC__
17160 # include <limits.h>
17161 #else
17162 # include <assert.h>
17163 #endif
17164
17165 #undef $ac_func
17166
17167 /* Override any gcc2 internal prototype to avoid an error.  */
17168 #ifdef __cplusplus
17169 extern "C"
17170 {
17171 #endif
17172 /* We use char because int might match the return type of a gcc2
17173    builtin and then its argument prototype would still apply.  */
17174 char $ac_func ();
17175 /* The GNU C library defines this for functions which it implements
17176     to always fail with ENOSYS.  Some functions are actually named
17177     something starting with __ and the normal name is an alias.  */
17178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17179 choke me
17180 #else
17181 char (*f) () = $ac_func;
17182 #endif
17183 #ifdef __cplusplus
17184 }
17185 #endif
17186
17187 int
17188 main ()
17189 {
17190 return f != $ac_func;
17191   ;
17192   return 0;
17193 }
17194 _ACEOF
17195 rm -f conftest.$ac_objext conftest$ac_exeext
17196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17197   (eval $ac_link) 2>conftest.er1
17198   ac_status=$?
17199   grep -v '^ *+' conftest.er1 >conftest.err
17200   rm -f conftest.er1
17201   cat conftest.err >&5
17202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203   (exit $ac_status); } &&
17204          { ac_try='test -z "$ac_c_werror_flag"
17205                          || test ! -s conftest.err'
17206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17207   (eval $ac_try) 2>&5
17208   ac_status=$?
17209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210   (exit $ac_status); }; } &&
17211          { ac_try='test -s conftest$ac_exeext'
17212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17213   (eval $ac_try) 2>&5
17214   ac_status=$?
17215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216   (exit $ac_status); }; }; then
17217   eval "$as_ac_var=yes"
17218 else
17219   echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.$ac_ext >&5
17221
17222 eval "$as_ac_var=no"
17223 fi
17224 rm -f conftest.err conftest.$ac_objext \
17225       conftest$ac_exeext conftest.$ac_ext
17226 fi
17227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17229 if test `eval echo '${'$as_ac_var'}'` = yes; then
17230   cat >>confdefs.h <<_ACEOF
17231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17232 _ACEOF
17233
17234 fi
17235 done
17236
17237     fi
17238   fi
17239
17240
17241
17242
17243
17244
17245   echo "$as_me:$LINENO: checking for powf declaration" >&5
17246 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17247   if test x${glibcxx_cv_func_powf_use+set} != xset; then
17248     if test "${glibcxx_cv_func_powf_use+set}" = set; then
17249   echo $ECHO_N "(cached) $ECHO_C" >&6
17250 else
17251
17252
17253
17254       ac_ext=cc
17255 ac_cpp='$CXXCPP $CPPFLAGS'
17256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17259
17260       cat >conftest.$ac_ext <<_ACEOF
17261 /* confdefs.h.  */
17262 _ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h.  */
17266 #include <math.h>
17267 int
17268 main ()
17269 {
17270  powf(0, 0);
17271   ;
17272   return 0;
17273 }
17274 _ACEOF
17275 rm -f conftest.$ac_objext
17276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17277   (eval $ac_compile) 2>conftest.er1
17278   ac_status=$?
17279   grep -v '^ *+' conftest.er1 >conftest.err
17280   rm -f conftest.er1
17281   cat conftest.err >&5
17282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283   (exit $ac_status); } &&
17284          { ac_try='test -z "$ac_cxx_werror_flag"
17285                          || test ! -s conftest.err'
17286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287   (eval $ac_try) 2>&5
17288   ac_status=$?
17289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290   (exit $ac_status); }; } &&
17291          { ac_try='test -s conftest.$ac_objext'
17292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293   (eval $ac_try) 2>&5
17294   ac_status=$?
17295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296   (exit $ac_status); }; }; then
17297   glibcxx_cv_func_powf_use=yes
17298 else
17299   echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.$ac_ext >&5
17301
17302 glibcxx_cv_func_powf_use=no
17303 fi
17304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17305       ac_ext=c
17306 ac_cpp='$CPP $CPPFLAGS'
17307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17310
17311
17312 fi
17313
17314   fi
17315   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17316 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17317
17318   if test x$glibcxx_cv_func_powf_use = x"yes"; then
17319
17320 for ac_func in powf
17321 do
17322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17323 echo "$as_me:$LINENO: checking for $ac_func" >&5
17324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17325 if eval "test \"\${$as_ac_var+set}\" = set"; then
17326   echo $ECHO_N "(cached) $ECHO_C" >&6
17327 else
17328   if test x$gcc_no_link = xyes; then
17329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17331    { (exit 1); exit 1; }; }
17332 fi
17333 cat >conftest.$ac_ext <<_ACEOF
17334 /* confdefs.h.  */
17335 _ACEOF
17336 cat confdefs.h >>conftest.$ac_ext
17337 cat >>conftest.$ac_ext <<_ACEOF
17338 /* end confdefs.h.  */
17339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17341 #define $ac_func innocuous_$ac_func
17342
17343 /* System header to define __stub macros and hopefully few prototypes,
17344     which can conflict with char $ac_func (); below.
17345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17346     <limits.h> exists even on freestanding compilers.  */
17347
17348 #ifdef __STDC__
17349 # include <limits.h>
17350 #else
17351 # include <assert.h>
17352 #endif
17353
17354 #undef $ac_func
17355
17356 /* Override any gcc2 internal prototype to avoid an error.  */
17357 #ifdef __cplusplus
17358 extern "C"
17359 {
17360 #endif
17361 /* We use char because int might match the return type of a gcc2
17362    builtin and then its argument prototype would still apply.  */
17363 char $ac_func ();
17364 /* The GNU C library defines this for functions which it implements
17365     to always fail with ENOSYS.  Some functions are actually named
17366     something starting with __ and the normal name is an alias.  */
17367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17368 choke me
17369 #else
17370 char (*f) () = $ac_func;
17371 #endif
17372 #ifdef __cplusplus
17373 }
17374 #endif
17375
17376 int
17377 main ()
17378 {
17379 return f != $ac_func;
17380   ;
17381   return 0;
17382 }
17383 _ACEOF
17384 rm -f conftest.$ac_objext conftest$ac_exeext
17385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17386   (eval $ac_link) 2>conftest.er1
17387   ac_status=$?
17388   grep -v '^ *+' conftest.er1 >conftest.err
17389   rm -f conftest.er1
17390   cat conftest.err >&5
17391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392   (exit $ac_status); } &&
17393          { ac_try='test -z "$ac_c_werror_flag"
17394                          || test ! -s conftest.err'
17395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396   (eval $ac_try) 2>&5
17397   ac_status=$?
17398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399   (exit $ac_status); }; } &&
17400          { ac_try='test -s conftest$ac_exeext'
17401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17402   (eval $ac_try) 2>&5
17403   ac_status=$?
17404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405   (exit $ac_status); }; }; then
17406   eval "$as_ac_var=yes"
17407 else
17408   echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.$ac_ext >&5
17410
17411 eval "$as_ac_var=no"
17412 fi
17413 rm -f conftest.err conftest.$ac_objext \
17414       conftest$ac_exeext conftest.$ac_ext
17415 fi
17416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17418 if test `eval echo '${'$as_ac_var'}'` = yes; then
17419   cat >>confdefs.h <<_ACEOF
17420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17421 _ACEOF
17422
17423 fi
17424 done
17425
17426   else
17427
17428   echo "$as_me:$LINENO: checking for _powf declaration" >&5
17429 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17430   if test x${glibcxx_cv_func__powf_use+set} != xset; then
17431     if test "${glibcxx_cv_func__powf_use+set}" = set; then
17432   echo $ECHO_N "(cached) $ECHO_C" >&6
17433 else
17434
17435
17436
17437       ac_ext=cc
17438 ac_cpp='$CXXCPP $CPPFLAGS'
17439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17442
17443       cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h.  */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h.  */
17449 #include <math.h>
17450 int
17451 main ()
17452 {
17453  _powf(0, 0);
17454   ;
17455   return 0;
17456 }
17457 _ACEOF
17458 rm -f conftest.$ac_objext
17459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17460   (eval $ac_compile) 2>conftest.er1
17461   ac_status=$?
17462   grep -v '^ *+' conftest.er1 >conftest.err
17463   rm -f conftest.er1
17464   cat conftest.err >&5
17465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466   (exit $ac_status); } &&
17467          { ac_try='test -z "$ac_cxx_werror_flag"
17468                          || test ! -s conftest.err'
17469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470   (eval $ac_try) 2>&5
17471   ac_status=$?
17472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473   (exit $ac_status); }; } &&
17474          { ac_try='test -s conftest.$ac_objext'
17475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17476   (eval $ac_try) 2>&5
17477   ac_status=$?
17478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479   (exit $ac_status); }; }; then
17480   glibcxx_cv_func__powf_use=yes
17481 else
17482   echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.$ac_ext >&5
17484
17485 glibcxx_cv_func__powf_use=no
17486 fi
17487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17488       ac_ext=c
17489 ac_cpp='$CPP $CPPFLAGS'
17490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17493
17494
17495 fi
17496
17497   fi
17498   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17499 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17500
17501     if test x$glibcxx_cv_func__powf_use = x"yes"; then
17502
17503 for ac_func in _powf
17504 do
17505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17506 echo "$as_me:$LINENO: checking for $ac_func" >&5
17507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17508 if eval "test \"\${$as_ac_var+set}\" = set"; then
17509   echo $ECHO_N "(cached) $ECHO_C" >&6
17510 else
17511   if test x$gcc_no_link = xyes; then
17512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17514    { (exit 1); exit 1; }; }
17515 fi
17516 cat >conftest.$ac_ext <<_ACEOF
17517 /* confdefs.h.  */
17518 _ACEOF
17519 cat confdefs.h >>conftest.$ac_ext
17520 cat >>conftest.$ac_ext <<_ACEOF
17521 /* end confdefs.h.  */
17522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17523    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17524 #define $ac_func innocuous_$ac_func
17525
17526 /* System header to define __stub macros and hopefully few prototypes,
17527     which can conflict with char $ac_func (); below.
17528     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17529     <limits.h> exists even on freestanding compilers.  */
17530
17531 #ifdef __STDC__
17532 # include <limits.h>
17533 #else
17534 # include <assert.h>
17535 #endif
17536
17537 #undef $ac_func
17538
17539 /* Override any gcc2 internal prototype to avoid an error.  */
17540 #ifdef __cplusplus
17541 extern "C"
17542 {
17543 #endif
17544 /* We use char because int might match the return type of a gcc2
17545    builtin and then its argument prototype would still apply.  */
17546 char $ac_func ();
17547 /* The GNU C library defines this for functions which it implements
17548     to always fail with ENOSYS.  Some functions are actually named
17549     something starting with __ and the normal name is an alias.  */
17550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17551 choke me
17552 #else
17553 char (*f) () = $ac_func;
17554 #endif
17555 #ifdef __cplusplus
17556 }
17557 #endif
17558
17559 int
17560 main ()
17561 {
17562 return f != $ac_func;
17563   ;
17564   return 0;
17565 }
17566 _ACEOF
17567 rm -f conftest.$ac_objext conftest$ac_exeext
17568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17569   (eval $ac_link) 2>conftest.er1
17570   ac_status=$?
17571   grep -v '^ *+' conftest.er1 >conftest.err
17572   rm -f conftest.er1
17573   cat conftest.err >&5
17574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575   (exit $ac_status); } &&
17576          { ac_try='test -z "$ac_c_werror_flag"
17577                          || test ! -s conftest.err'
17578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579   (eval $ac_try) 2>&5
17580   ac_status=$?
17581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582   (exit $ac_status); }; } &&
17583          { ac_try='test -s conftest$ac_exeext'
17584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17585   (eval $ac_try) 2>&5
17586   ac_status=$?
17587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588   (exit $ac_status); }; }; then
17589   eval "$as_ac_var=yes"
17590 else
17591   echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.$ac_ext >&5
17593
17594 eval "$as_ac_var=no"
17595 fi
17596 rm -f conftest.err conftest.$ac_objext \
17597       conftest$ac_exeext conftest.$ac_ext
17598 fi
17599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17601 if test `eval echo '${'$as_ac_var'}'` = yes; then
17602   cat >>confdefs.h <<_ACEOF
17603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17604 _ACEOF
17605
17606 fi
17607 done
17608
17609     fi
17610   fi
17611
17612
17613
17614
17615
17616
17617   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17618 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17619   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17620     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17621   echo $ECHO_N "(cached) $ECHO_C" >&6
17622 else
17623
17624
17625
17626       ac_ext=cc
17627 ac_cpp='$CXXCPP $CPPFLAGS'
17628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17631
17632       cat >conftest.$ac_ext <<_ACEOF
17633 /* confdefs.h.  */
17634 _ACEOF
17635 cat confdefs.h >>conftest.$ac_ext
17636 cat >>conftest.$ac_ext <<_ACEOF
17637 /* end confdefs.h.  */
17638 #include <math.h>
17639                       #ifdef HAVE_IEEEFP_H
17640                       #include <ieeefp.h>
17641                       #endif
17642
17643 int
17644 main ()
17645 {
17646  sqrtf(0);
17647   ;
17648   return 0;
17649 }
17650 _ACEOF
17651 rm -f conftest.$ac_objext
17652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17653   (eval $ac_compile) 2>conftest.er1
17654   ac_status=$?
17655   grep -v '^ *+' conftest.er1 >conftest.err
17656   rm -f conftest.er1
17657   cat conftest.err >&5
17658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659   (exit $ac_status); } &&
17660          { ac_try='test -z "$ac_cxx_werror_flag"
17661                          || test ! -s conftest.err'
17662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17663   (eval $ac_try) 2>&5
17664   ac_status=$?
17665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666   (exit $ac_status); }; } &&
17667          { ac_try='test -s conftest.$ac_objext'
17668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17669   (eval $ac_try) 2>&5
17670   ac_status=$?
17671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672   (exit $ac_status); }; }; then
17673   glibcxx_cv_func_sqrtf_use=yes
17674 else
17675   echo "$as_me: failed program was:" >&5
17676 sed 's/^/| /' conftest.$ac_ext >&5
17677
17678 glibcxx_cv_func_sqrtf_use=no
17679 fi
17680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17681       ac_ext=c
17682 ac_cpp='$CPP $CPPFLAGS'
17683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17686
17687
17688 fi
17689
17690   fi
17691   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17692 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17693
17694   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17695
17696 for ac_func in sqrtf
17697 do
17698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17699 echo "$as_me:$LINENO: checking for $ac_func" >&5
17700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17701 if eval "test \"\${$as_ac_var+set}\" = set"; then
17702   echo $ECHO_N "(cached) $ECHO_C" >&6
17703 else
17704   if test x$gcc_no_link = xyes; then
17705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17707    { (exit 1); exit 1; }; }
17708 fi
17709 cat >conftest.$ac_ext <<_ACEOF
17710 /* confdefs.h.  */
17711 _ACEOF
17712 cat confdefs.h >>conftest.$ac_ext
17713 cat >>conftest.$ac_ext <<_ACEOF
17714 /* end confdefs.h.  */
17715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17717 #define $ac_func innocuous_$ac_func
17718
17719 /* System header to define __stub macros and hopefully few prototypes,
17720     which can conflict with char $ac_func (); below.
17721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17722     <limits.h> exists even on freestanding compilers.  */
17723
17724 #ifdef __STDC__
17725 # include <limits.h>
17726 #else
17727 # include <assert.h>
17728 #endif
17729
17730 #undef $ac_func
17731
17732 /* Override any gcc2 internal prototype to avoid an error.  */
17733 #ifdef __cplusplus
17734 extern "C"
17735 {
17736 #endif
17737 /* We use char because int might match the return type of a gcc2
17738    builtin and then its argument prototype would still apply.  */
17739 char $ac_func ();
17740 /* The GNU C library defines this for functions which it implements
17741     to always fail with ENOSYS.  Some functions are actually named
17742     something starting with __ and the normal name is an alias.  */
17743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17744 choke me
17745 #else
17746 char (*f) () = $ac_func;
17747 #endif
17748 #ifdef __cplusplus
17749 }
17750 #endif
17751
17752 int
17753 main ()
17754 {
17755 return f != $ac_func;
17756   ;
17757   return 0;
17758 }
17759 _ACEOF
17760 rm -f conftest.$ac_objext conftest$ac_exeext
17761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17762   (eval $ac_link) 2>conftest.er1
17763   ac_status=$?
17764   grep -v '^ *+' conftest.er1 >conftest.err
17765   rm -f conftest.er1
17766   cat conftest.err >&5
17767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768   (exit $ac_status); } &&
17769          { ac_try='test -z "$ac_c_werror_flag"
17770                          || test ! -s conftest.err'
17771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772   (eval $ac_try) 2>&5
17773   ac_status=$?
17774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775   (exit $ac_status); }; } &&
17776          { ac_try='test -s conftest$ac_exeext'
17777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778   (eval $ac_try) 2>&5
17779   ac_status=$?
17780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781   (exit $ac_status); }; }; then
17782   eval "$as_ac_var=yes"
17783 else
17784   echo "$as_me: failed program was:" >&5
17785 sed 's/^/| /' conftest.$ac_ext >&5
17786
17787 eval "$as_ac_var=no"
17788 fi
17789 rm -f conftest.err conftest.$ac_objext \
17790       conftest$ac_exeext conftest.$ac_ext
17791 fi
17792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17794 if test `eval echo '${'$as_ac_var'}'` = yes; then
17795   cat >>confdefs.h <<_ACEOF
17796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17797 _ACEOF
17798
17799 fi
17800 done
17801
17802   else
17803
17804   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17805 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17806   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17807     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17808   echo $ECHO_N "(cached) $ECHO_C" >&6
17809 else
17810
17811
17812
17813       ac_ext=cc
17814 ac_cpp='$CXXCPP $CPPFLAGS'
17815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17818
17819       cat >conftest.$ac_ext <<_ACEOF
17820 /* confdefs.h.  */
17821 _ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h.  */
17825 #include <math.h>
17826                       #ifdef HAVE_IEEEFP_H
17827                       #include <ieeefp.h>
17828                       #endif
17829
17830 int
17831 main ()
17832 {
17833  _sqrtf(0);
17834   ;
17835   return 0;
17836 }
17837 _ACEOF
17838 rm -f conftest.$ac_objext
17839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17840   (eval $ac_compile) 2>conftest.er1
17841   ac_status=$?
17842   grep -v '^ *+' conftest.er1 >conftest.err
17843   rm -f conftest.er1
17844   cat conftest.err >&5
17845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846   (exit $ac_status); } &&
17847          { ac_try='test -z "$ac_cxx_werror_flag"
17848                          || test ! -s conftest.err'
17849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850   (eval $ac_try) 2>&5
17851   ac_status=$?
17852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853   (exit $ac_status); }; } &&
17854          { ac_try='test -s conftest.$ac_objext'
17855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17856   (eval $ac_try) 2>&5
17857   ac_status=$?
17858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859   (exit $ac_status); }; }; then
17860   glibcxx_cv_func__sqrtf_use=yes
17861 else
17862   echo "$as_me: failed program was:" >&5
17863 sed 's/^/| /' conftest.$ac_ext >&5
17864
17865 glibcxx_cv_func__sqrtf_use=no
17866 fi
17867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17868       ac_ext=c
17869 ac_cpp='$CPP $CPPFLAGS'
17870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17873
17874
17875 fi
17876
17877   fi
17878   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17879 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17880
17881     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17882
17883 for ac_func in _sqrtf
17884 do
17885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17886 echo "$as_me:$LINENO: checking for $ac_func" >&5
17887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17888 if eval "test \"\${$as_ac_var+set}\" = set"; then
17889   echo $ECHO_N "(cached) $ECHO_C" >&6
17890 else
17891   if test x$gcc_no_link = xyes; then
17892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17894    { (exit 1); exit 1; }; }
17895 fi
17896 cat >conftest.$ac_ext <<_ACEOF
17897 /* confdefs.h.  */
17898 _ACEOF
17899 cat confdefs.h >>conftest.$ac_ext
17900 cat >>conftest.$ac_ext <<_ACEOF
17901 /* end confdefs.h.  */
17902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17904 #define $ac_func innocuous_$ac_func
17905
17906 /* System header to define __stub macros and hopefully few prototypes,
17907     which can conflict with char $ac_func (); below.
17908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17909     <limits.h> exists even on freestanding compilers.  */
17910
17911 #ifdef __STDC__
17912 # include <limits.h>
17913 #else
17914 # include <assert.h>
17915 #endif
17916
17917 #undef $ac_func
17918
17919 /* Override any gcc2 internal prototype to avoid an error.  */
17920 #ifdef __cplusplus
17921 extern "C"
17922 {
17923 #endif
17924 /* We use char because int might match the return type of a gcc2
17925    builtin and then its argument prototype would still apply.  */
17926 char $ac_func ();
17927 /* The GNU C library defines this for functions which it implements
17928     to always fail with ENOSYS.  Some functions are actually named
17929     something starting with __ and the normal name is an alias.  */
17930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17931 choke me
17932 #else
17933 char (*f) () = $ac_func;
17934 #endif
17935 #ifdef __cplusplus
17936 }
17937 #endif
17938
17939 int
17940 main ()
17941 {
17942 return f != $ac_func;
17943   ;
17944   return 0;
17945 }
17946 _ACEOF
17947 rm -f conftest.$ac_objext conftest$ac_exeext
17948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17949   (eval $ac_link) 2>conftest.er1
17950   ac_status=$?
17951   grep -v '^ *+' conftest.er1 >conftest.err
17952   rm -f conftest.er1
17953   cat conftest.err >&5
17954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955   (exit $ac_status); } &&
17956          { ac_try='test -z "$ac_c_werror_flag"
17957                          || test ! -s conftest.err'
17958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959   (eval $ac_try) 2>&5
17960   ac_status=$?
17961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962   (exit $ac_status); }; } &&
17963          { ac_try='test -s conftest$ac_exeext'
17964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17965   (eval $ac_try) 2>&5
17966   ac_status=$?
17967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968   (exit $ac_status); }; }; then
17969   eval "$as_ac_var=yes"
17970 else
17971   echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17973
17974 eval "$as_ac_var=no"
17975 fi
17976 rm -f conftest.err conftest.$ac_objext \
17977       conftest$ac_exeext conftest.$ac_ext
17978 fi
17979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17981 if test `eval echo '${'$as_ac_var'}'` = yes; then
17982   cat >>confdefs.h <<_ACEOF
17983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17984 _ACEOF
17985
17986 fi
17987 done
17988
17989     fi
17990   fi
17991
17992
17993
17994
17995
17996
17997   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17998 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17999   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
18000     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
18001   echo $ECHO_N "(cached) $ECHO_C" >&6
18002 else
18003
18004
18005
18006       ac_ext=cc
18007 ac_cpp='$CXXCPP $CPPFLAGS'
18008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18011
18012       cat >conftest.$ac_ext <<_ACEOF
18013 /* confdefs.h.  */
18014 _ACEOF
18015 cat confdefs.h >>conftest.$ac_ext
18016 cat >>conftest.$ac_ext <<_ACEOF
18017 /* end confdefs.h.  */
18018 #include <math.h>
18019 int
18020 main ()
18021 {
18022  sincosf(0, 0, 0);
18023   ;
18024   return 0;
18025 }
18026 _ACEOF
18027 rm -f conftest.$ac_objext
18028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18029   (eval $ac_compile) 2>conftest.er1
18030   ac_status=$?
18031   grep -v '^ *+' conftest.er1 >conftest.err
18032   rm -f conftest.er1
18033   cat conftest.err >&5
18034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035   (exit $ac_status); } &&
18036          { ac_try='test -z "$ac_cxx_werror_flag"
18037                          || test ! -s conftest.err'
18038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039   (eval $ac_try) 2>&5
18040   ac_status=$?
18041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042   (exit $ac_status); }; } &&
18043          { ac_try='test -s conftest.$ac_objext'
18044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045   (eval $ac_try) 2>&5
18046   ac_status=$?
18047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048   (exit $ac_status); }; }; then
18049   glibcxx_cv_func_sincosf_use=yes
18050 else
18051   echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18053
18054 glibcxx_cv_func_sincosf_use=no
18055 fi
18056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18057       ac_ext=c
18058 ac_cpp='$CPP $CPPFLAGS'
18059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18062
18063
18064 fi
18065
18066   fi
18067   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18068 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18069
18070   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18071
18072 for ac_func in sincosf
18073 do
18074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18075 echo "$as_me:$LINENO: checking for $ac_func" >&5
18076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18077 if eval "test \"\${$as_ac_var+set}\" = set"; then
18078   echo $ECHO_N "(cached) $ECHO_C" >&6
18079 else
18080   if test x$gcc_no_link = xyes; then
18081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18083    { (exit 1); exit 1; }; }
18084 fi
18085 cat >conftest.$ac_ext <<_ACEOF
18086 /* confdefs.h.  */
18087 _ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h.  */
18091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18093 #define $ac_func innocuous_$ac_func
18094
18095 /* System header to define __stub macros and hopefully few prototypes,
18096     which can conflict with char $ac_func (); below.
18097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18098     <limits.h> exists even on freestanding compilers.  */
18099
18100 #ifdef __STDC__
18101 # include <limits.h>
18102 #else
18103 # include <assert.h>
18104 #endif
18105
18106 #undef $ac_func
18107
18108 /* Override any gcc2 internal prototype to avoid an error.  */
18109 #ifdef __cplusplus
18110 extern "C"
18111 {
18112 #endif
18113 /* We use char because int might match the return type of a gcc2
18114    builtin and then its argument prototype would still apply.  */
18115 char $ac_func ();
18116 /* The GNU C library defines this for functions which it implements
18117     to always fail with ENOSYS.  Some functions are actually named
18118     something starting with __ and the normal name is an alias.  */
18119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18120 choke me
18121 #else
18122 char (*f) () = $ac_func;
18123 #endif
18124 #ifdef __cplusplus
18125 }
18126 #endif
18127
18128 int
18129 main ()
18130 {
18131 return f != $ac_func;
18132   ;
18133   return 0;
18134 }
18135 _ACEOF
18136 rm -f conftest.$ac_objext conftest$ac_exeext
18137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18138   (eval $ac_link) 2>conftest.er1
18139   ac_status=$?
18140   grep -v '^ *+' conftest.er1 >conftest.err
18141   rm -f conftest.er1
18142   cat conftest.err >&5
18143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144   (exit $ac_status); } &&
18145          { ac_try='test -z "$ac_c_werror_flag"
18146                          || test ! -s conftest.err'
18147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18148   (eval $ac_try) 2>&5
18149   ac_status=$?
18150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151   (exit $ac_status); }; } &&
18152          { ac_try='test -s conftest$ac_exeext'
18153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18154   (eval $ac_try) 2>&5
18155   ac_status=$?
18156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157   (exit $ac_status); }; }; then
18158   eval "$as_ac_var=yes"
18159 else
18160   echo "$as_me: failed program was:" >&5
18161 sed 's/^/| /' conftest.$ac_ext >&5
18162
18163 eval "$as_ac_var=no"
18164 fi
18165 rm -f conftest.err conftest.$ac_objext \
18166       conftest$ac_exeext conftest.$ac_ext
18167 fi
18168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18170 if test `eval echo '${'$as_ac_var'}'` = yes; then
18171   cat >>confdefs.h <<_ACEOF
18172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18173 _ACEOF
18174
18175 fi
18176 done
18177
18178   else
18179
18180   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18181 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18182   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18183     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18184   echo $ECHO_N "(cached) $ECHO_C" >&6
18185 else
18186
18187
18188
18189       ac_ext=cc
18190 ac_cpp='$CXXCPP $CPPFLAGS'
18191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18194
18195       cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h.  */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h.  */
18201 #include <math.h>
18202 int
18203 main ()
18204 {
18205  _sincosf(0, 0, 0);
18206   ;
18207   return 0;
18208 }
18209 _ACEOF
18210 rm -f conftest.$ac_objext
18211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18212   (eval $ac_compile) 2>conftest.er1
18213   ac_status=$?
18214   grep -v '^ *+' conftest.er1 >conftest.err
18215   rm -f conftest.er1
18216   cat conftest.err >&5
18217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218   (exit $ac_status); } &&
18219          { ac_try='test -z "$ac_cxx_werror_flag"
18220                          || test ! -s conftest.err'
18221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222   (eval $ac_try) 2>&5
18223   ac_status=$?
18224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225   (exit $ac_status); }; } &&
18226          { ac_try='test -s conftest.$ac_objext'
18227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228   (eval $ac_try) 2>&5
18229   ac_status=$?
18230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231   (exit $ac_status); }; }; then
18232   glibcxx_cv_func__sincosf_use=yes
18233 else
18234   echo "$as_me: failed program was:" >&5
18235 sed 's/^/| /' conftest.$ac_ext >&5
18236
18237 glibcxx_cv_func__sincosf_use=no
18238 fi
18239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18240       ac_ext=c
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18245
18246
18247 fi
18248
18249   fi
18250   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18251 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18252
18253     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18254
18255 for ac_func in _sincosf
18256 do
18257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18258 echo "$as_me:$LINENO: checking for $ac_func" >&5
18259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18260 if eval "test \"\${$as_ac_var+set}\" = set"; then
18261   echo $ECHO_N "(cached) $ECHO_C" >&6
18262 else
18263   if test x$gcc_no_link = xyes; then
18264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18266    { (exit 1); exit 1; }; }
18267 fi
18268 cat >conftest.$ac_ext <<_ACEOF
18269 /* confdefs.h.  */
18270 _ACEOF
18271 cat confdefs.h >>conftest.$ac_ext
18272 cat >>conftest.$ac_ext <<_ACEOF
18273 /* end confdefs.h.  */
18274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18276 #define $ac_func innocuous_$ac_func
18277
18278 /* System header to define __stub macros and hopefully few prototypes,
18279     which can conflict with char $ac_func (); below.
18280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18281     <limits.h> exists even on freestanding compilers.  */
18282
18283 #ifdef __STDC__
18284 # include <limits.h>
18285 #else
18286 # include <assert.h>
18287 #endif
18288
18289 #undef $ac_func
18290
18291 /* Override any gcc2 internal prototype to avoid an error.  */
18292 #ifdef __cplusplus
18293 extern "C"
18294 {
18295 #endif
18296 /* We use char because int might match the return type of a gcc2
18297    builtin and then its argument prototype would still apply.  */
18298 char $ac_func ();
18299 /* The GNU C library defines this for functions which it implements
18300     to always fail with ENOSYS.  Some functions are actually named
18301     something starting with __ and the normal name is an alias.  */
18302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18303 choke me
18304 #else
18305 char (*f) () = $ac_func;
18306 #endif
18307 #ifdef __cplusplus
18308 }
18309 #endif
18310
18311 int
18312 main ()
18313 {
18314 return f != $ac_func;
18315   ;
18316   return 0;
18317 }
18318 _ACEOF
18319 rm -f conftest.$ac_objext conftest$ac_exeext
18320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18321   (eval $ac_link) 2>conftest.er1
18322   ac_status=$?
18323   grep -v '^ *+' conftest.er1 >conftest.err
18324   rm -f conftest.er1
18325   cat conftest.err >&5
18326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327   (exit $ac_status); } &&
18328          { ac_try='test -z "$ac_c_werror_flag"
18329                          || test ! -s conftest.err'
18330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331   (eval $ac_try) 2>&5
18332   ac_status=$?
18333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334   (exit $ac_status); }; } &&
18335          { ac_try='test -s conftest$ac_exeext'
18336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18337   (eval $ac_try) 2>&5
18338   ac_status=$?
18339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340   (exit $ac_status); }; }; then
18341   eval "$as_ac_var=yes"
18342 else
18343   echo "$as_me: failed program was:" >&5
18344 sed 's/^/| /' conftest.$ac_ext >&5
18345
18346 eval "$as_ac_var=no"
18347 fi
18348 rm -f conftest.err conftest.$ac_objext \
18349       conftest$ac_exeext conftest.$ac_ext
18350 fi
18351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18353 if test `eval echo '${'$as_ac_var'}'` = yes; then
18354   cat >>confdefs.h <<_ACEOF
18355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18356 _ACEOF
18357
18358 fi
18359 done
18360
18361     fi
18362   fi
18363
18364
18365
18366
18367
18368
18369   echo "$as_me:$LINENO: checking for finitef declaration" >&5
18370 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18371   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18372     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18373   echo $ECHO_N "(cached) $ECHO_C" >&6
18374 else
18375
18376
18377
18378       ac_ext=cc
18379 ac_cpp='$CXXCPP $CPPFLAGS'
18380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18383
18384       cat >conftest.$ac_ext <<_ACEOF
18385 /* confdefs.h.  */
18386 _ACEOF
18387 cat confdefs.h >>conftest.$ac_ext
18388 cat >>conftest.$ac_ext <<_ACEOF
18389 /* end confdefs.h.  */
18390 #include <math.h>
18391                       #ifdef HAVE_IEEEFP_H
18392                       #include <ieeefp.h>
18393                       #endif
18394
18395 int
18396 main ()
18397 {
18398  finitef(0);
18399   ;
18400   return 0;
18401 }
18402 _ACEOF
18403 rm -f conftest.$ac_objext
18404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18405   (eval $ac_compile) 2>conftest.er1
18406   ac_status=$?
18407   grep -v '^ *+' conftest.er1 >conftest.err
18408   rm -f conftest.er1
18409   cat conftest.err >&5
18410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411   (exit $ac_status); } &&
18412          { ac_try='test -z "$ac_cxx_werror_flag"
18413                          || test ! -s conftest.err'
18414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18415   (eval $ac_try) 2>&5
18416   ac_status=$?
18417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418   (exit $ac_status); }; } &&
18419          { ac_try='test -s conftest.$ac_objext'
18420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18421   (eval $ac_try) 2>&5
18422   ac_status=$?
18423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424   (exit $ac_status); }; }; then
18425   glibcxx_cv_func_finitef_use=yes
18426 else
18427   echo "$as_me: failed program was:" >&5
18428 sed 's/^/| /' conftest.$ac_ext >&5
18429
18430 glibcxx_cv_func_finitef_use=no
18431 fi
18432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18433       ac_ext=c
18434 ac_cpp='$CPP $CPPFLAGS'
18435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18438
18439
18440 fi
18441
18442   fi
18443   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18444 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18445
18446   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18447
18448 for ac_func in finitef
18449 do
18450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18451 echo "$as_me:$LINENO: checking for $ac_func" >&5
18452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18453 if eval "test \"\${$as_ac_var+set}\" = set"; then
18454   echo $ECHO_N "(cached) $ECHO_C" >&6
18455 else
18456   if test x$gcc_no_link = xyes; then
18457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18459    { (exit 1); exit 1; }; }
18460 fi
18461 cat >conftest.$ac_ext <<_ACEOF
18462 /* confdefs.h.  */
18463 _ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h.  */
18467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18468    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18469 #define $ac_func innocuous_$ac_func
18470
18471 /* System header to define __stub macros and hopefully few prototypes,
18472     which can conflict with char $ac_func (); below.
18473     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18474     <limits.h> exists even on freestanding compilers.  */
18475
18476 #ifdef __STDC__
18477 # include <limits.h>
18478 #else
18479 # include <assert.h>
18480 #endif
18481
18482 #undef $ac_func
18483
18484 /* Override any gcc2 internal prototype to avoid an error.  */
18485 #ifdef __cplusplus
18486 extern "C"
18487 {
18488 #endif
18489 /* We use char because int might match the return type of a gcc2
18490    builtin and then its argument prototype would still apply.  */
18491 char $ac_func ();
18492 /* The GNU C library defines this for functions which it implements
18493     to always fail with ENOSYS.  Some functions are actually named
18494     something starting with __ and the normal name is an alias.  */
18495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18496 choke me
18497 #else
18498 char (*f) () = $ac_func;
18499 #endif
18500 #ifdef __cplusplus
18501 }
18502 #endif
18503
18504 int
18505 main ()
18506 {
18507 return f != $ac_func;
18508   ;
18509   return 0;
18510 }
18511 _ACEOF
18512 rm -f conftest.$ac_objext conftest$ac_exeext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18514   (eval $ac_link) 2>conftest.er1
18515   ac_status=$?
18516   grep -v '^ *+' conftest.er1 >conftest.err
18517   rm -f conftest.er1
18518   cat conftest.err >&5
18519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520   (exit $ac_status); } &&
18521          { ac_try='test -z "$ac_c_werror_flag"
18522                          || test ! -s conftest.err'
18523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524   (eval $ac_try) 2>&5
18525   ac_status=$?
18526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527   (exit $ac_status); }; } &&
18528          { ac_try='test -s conftest$ac_exeext'
18529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530   (eval $ac_try) 2>&5
18531   ac_status=$?
18532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533   (exit $ac_status); }; }; then
18534   eval "$as_ac_var=yes"
18535 else
18536   echo "$as_me: failed program was:" >&5
18537 sed 's/^/| /' conftest.$ac_ext >&5
18538
18539 eval "$as_ac_var=no"
18540 fi
18541 rm -f conftest.err conftest.$ac_objext \
18542       conftest$ac_exeext conftest.$ac_ext
18543 fi
18544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18546 if test `eval echo '${'$as_ac_var'}'` = yes; then
18547   cat >>confdefs.h <<_ACEOF
18548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18549 _ACEOF
18550
18551 fi
18552 done
18553
18554   else
18555
18556   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18557 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18558   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18559     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18560   echo $ECHO_N "(cached) $ECHO_C" >&6
18561 else
18562
18563
18564
18565       ac_ext=cc
18566 ac_cpp='$CXXCPP $CPPFLAGS'
18567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18570
18571       cat >conftest.$ac_ext <<_ACEOF
18572 /* confdefs.h.  */
18573 _ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h.  */
18577 #include <math.h>
18578                       #ifdef HAVE_IEEEFP_H
18579                       #include <ieeefp.h>
18580                       #endif
18581
18582 int
18583 main ()
18584 {
18585  _finitef(0);
18586   ;
18587   return 0;
18588 }
18589 _ACEOF
18590 rm -f conftest.$ac_objext
18591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18592   (eval $ac_compile) 2>conftest.er1
18593   ac_status=$?
18594   grep -v '^ *+' conftest.er1 >conftest.err
18595   rm -f conftest.er1
18596   cat conftest.err >&5
18597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598   (exit $ac_status); } &&
18599          { ac_try='test -z "$ac_cxx_werror_flag"
18600                          || test ! -s conftest.err'
18601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18602   (eval $ac_try) 2>&5
18603   ac_status=$?
18604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605   (exit $ac_status); }; } &&
18606          { ac_try='test -s conftest.$ac_objext'
18607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18608   (eval $ac_try) 2>&5
18609   ac_status=$?
18610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611   (exit $ac_status); }; }; then
18612   glibcxx_cv_func__finitef_use=yes
18613 else
18614   echo "$as_me: failed program was:" >&5
18615 sed 's/^/| /' conftest.$ac_ext >&5
18616
18617 glibcxx_cv_func__finitef_use=no
18618 fi
18619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18620       ac_ext=c
18621 ac_cpp='$CPP $CPPFLAGS'
18622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18625
18626
18627 fi
18628
18629   fi
18630   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18631 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18632
18633     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18634
18635 for ac_func in _finitef
18636 do
18637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18638 echo "$as_me:$LINENO: checking for $ac_func" >&5
18639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18640 if eval "test \"\${$as_ac_var+set}\" = set"; then
18641   echo $ECHO_N "(cached) $ECHO_C" >&6
18642 else
18643   if test x$gcc_no_link = xyes; then
18644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18646    { (exit 1); exit 1; }; }
18647 fi
18648 cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h.  */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h.  */
18654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18655    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18656 #define $ac_func innocuous_$ac_func
18657
18658 /* System header to define __stub macros and hopefully few prototypes,
18659     which can conflict with char $ac_func (); below.
18660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18661     <limits.h> exists even on freestanding compilers.  */
18662
18663 #ifdef __STDC__
18664 # include <limits.h>
18665 #else
18666 # include <assert.h>
18667 #endif
18668
18669 #undef $ac_func
18670
18671 /* Override any gcc2 internal prototype to avoid an error.  */
18672 #ifdef __cplusplus
18673 extern "C"
18674 {
18675 #endif
18676 /* We use char because int might match the return type of a gcc2
18677    builtin and then its argument prototype would still apply.  */
18678 char $ac_func ();
18679 /* The GNU C library defines this for functions which it implements
18680     to always fail with ENOSYS.  Some functions are actually named
18681     something starting with __ and the normal name is an alias.  */
18682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18683 choke me
18684 #else
18685 char (*f) () = $ac_func;
18686 #endif
18687 #ifdef __cplusplus
18688 }
18689 #endif
18690
18691 int
18692 main ()
18693 {
18694 return f != $ac_func;
18695   ;
18696   return 0;
18697 }
18698 _ACEOF
18699 rm -f conftest.$ac_objext conftest$ac_exeext
18700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18701   (eval $ac_link) 2>conftest.er1
18702   ac_status=$?
18703   grep -v '^ *+' conftest.er1 >conftest.err
18704   rm -f conftest.er1
18705   cat conftest.err >&5
18706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707   (exit $ac_status); } &&
18708          { ac_try='test -z "$ac_c_werror_flag"
18709                          || test ! -s conftest.err'
18710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18711   (eval $ac_try) 2>&5
18712   ac_status=$?
18713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714   (exit $ac_status); }; } &&
18715          { ac_try='test -s conftest$ac_exeext'
18716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18717   (eval $ac_try) 2>&5
18718   ac_status=$?
18719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720   (exit $ac_status); }; }; then
18721   eval "$as_ac_var=yes"
18722 else
18723   echo "$as_me: failed program was:" >&5
18724 sed 's/^/| /' conftest.$ac_ext >&5
18725
18726 eval "$as_ac_var=no"
18727 fi
18728 rm -f conftest.err conftest.$ac_objext \
18729       conftest$ac_exeext conftest.$ac_ext
18730 fi
18731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18733 if test `eval echo '${'$as_ac_var'}'` = yes; then
18734   cat >>confdefs.h <<_ACEOF
18735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18736 _ACEOF
18737
18738 fi
18739 done
18740
18741     fi
18742   fi
18743
18744
18745
18746
18747
18748
18749     echo "$as_me:$LINENO: checking for long double trig functions" >&5
18750 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18751   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18752   echo $ECHO_N "(cached) $ECHO_C" >&6
18753 else
18754
18755
18756
18757     ac_ext=cc
18758 ac_cpp='$CXXCPP $CPPFLAGS'
18759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18762
18763     cat >conftest.$ac_ext <<_ACEOF
18764 /* confdefs.h.  */
18765 _ACEOF
18766 cat confdefs.h >>conftest.$ac_ext
18767 cat >>conftest.$ac_ext <<_ACEOF
18768 /* end confdefs.h.  */
18769 #include <math.h>
18770 int
18771 main ()
18772 {
18773 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18774   ;
18775   return 0;
18776 }
18777 _ACEOF
18778 rm -f conftest.$ac_objext
18779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18780   (eval $ac_compile) 2>conftest.er1
18781   ac_status=$?
18782   grep -v '^ *+' conftest.er1 >conftest.err
18783   rm -f conftest.er1
18784   cat conftest.err >&5
18785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786   (exit $ac_status); } &&
18787          { ac_try='test -z "$ac_cxx_werror_flag"
18788                          || test ! -s conftest.err'
18789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790   (eval $ac_try) 2>&5
18791   ac_status=$?
18792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793   (exit $ac_status); }; } &&
18794          { ac_try='test -s conftest.$ac_objext'
18795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796   (eval $ac_try) 2>&5
18797   ac_status=$?
18798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799   (exit $ac_status); }; }; then
18800   glibcxx_cv_func_long_double_trig_use=yes
18801 else
18802   echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18804
18805 glibcxx_cv_func_long_double_trig_use=no
18806 fi
18807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18808     ac_ext=c
18809 ac_cpp='$CPP $CPPFLAGS'
18810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18813
18814 fi
18815
18816   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18817 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18818   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18829 do
18830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18831 echo "$as_me:$LINENO: checking for $ac_func" >&5
18832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18833 if eval "test \"\${$as_ac_var+set}\" = set"; then
18834   echo $ECHO_N "(cached) $ECHO_C" >&6
18835 else
18836   if test x$gcc_no_link = xyes; then
18837   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18839    { (exit 1); exit 1; }; }
18840 fi
18841 cat >conftest.$ac_ext <<_ACEOF
18842 /* confdefs.h.  */
18843 _ACEOF
18844 cat confdefs.h >>conftest.$ac_ext
18845 cat >>conftest.$ac_ext <<_ACEOF
18846 /* end confdefs.h.  */
18847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18848    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18849 #define $ac_func innocuous_$ac_func
18850
18851 /* System header to define __stub macros and hopefully few prototypes,
18852     which can conflict with char $ac_func (); below.
18853     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18854     <limits.h> exists even on freestanding compilers.  */
18855
18856 #ifdef __STDC__
18857 # include <limits.h>
18858 #else
18859 # include <assert.h>
18860 #endif
18861
18862 #undef $ac_func
18863
18864 /* Override any gcc2 internal prototype to avoid an error.  */
18865 #ifdef __cplusplus
18866 extern "C"
18867 {
18868 #endif
18869 /* We use char because int might match the return type of a gcc2
18870    builtin and then its argument prototype would still apply.  */
18871 char $ac_func ();
18872 /* The GNU C library defines this for functions which it implements
18873     to always fail with ENOSYS.  Some functions are actually named
18874     something starting with __ and the normal name is an alias.  */
18875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18876 choke me
18877 #else
18878 char (*f) () = $ac_func;
18879 #endif
18880 #ifdef __cplusplus
18881 }
18882 #endif
18883
18884 int
18885 main ()
18886 {
18887 return f != $ac_func;
18888   ;
18889   return 0;
18890 }
18891 _ACEOF
18892 rm -f conftest.$ac_objext conftest$ac_exeext
18893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18894   (eval $ac_link) 2>conftest.er1
18895   ac_status=$?
18896   grep -v '^ *+' conftest.er1 >conftest.err
18897   rm -f conftest.er1
18898   cat conftest.err >&5
18899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900   (exit $ac_status); } &&
18901          { ac_try='test -z "$ac_c_werror_flag"
18902                          || test ! -s conftest.err'
18903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18904   (eval $ac_try) 2>&5
18905   ac_status=$?
18906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907   (exit $ac_status); }; } &&
18908          { ac_try='test -s conftest$ac_exeext'
18909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18910   (eval $ac_try) 2>&5
18911   ac_status=$?
18912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913   (exit $ac_status); }; }; then
18914   eval "$as_ac_var=yes"
18915 else
18916   echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.$ac_ext >&5
18918
18919 eval "$as_ac_var=no"
18920 fi
18921 rm -f conftest.err conftest.$ac_objext \
18922       conftest$ac_exeext conftest.$ac_ext
18923 fi
18924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18926 if test `eval echo '${'$as_ac_var'}'` = yes; then
18927   cat >>confdefs.h <<_ACEOF
18928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18929 _ACEOF
18930
18931 fi
18932 done
18933
18934   else
18935     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18936 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18937     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18938   echo $ECHO_N "(cached) $ECHO_C" >&6
18939 else
18940
18941
18942
18943       ac_ext=cc
18944 ac_cpp='$CXXCPP $CPPFLAGS'
18945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18948
18949       cat >conftest.$ac_ext <<_ACEOF
18950 /* confdefs.h.  */
18951 _ACEOF
18952 cat confdefs.h >>conftest.$ac_ext
18953 cat >>conftest.$ac_ext <<_ACEOF
18954 /* end confdefs.h.  */
18955 #include <math.h>
18956 int
18957 main ()
18958 {
18959 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18960   ;
18961   return 0;
18962 }
18963 _ACEOF
18964 rm -f conftest.$ac_objext
18965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18966   (eval $ac_compile) 2>conftest.er1
18967   ac_status=$?
18968   grep -v '^ *+' conftest.er1 >conftest.err
18969   rm -f conftest.er1
18970   cat conftest.err >&5
18971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972   (exit $ac_status); } &&
18973          { ac_try='test -z "$ac_cxx_werror_flag"
18974                          || test ! -s conftest.err'
18975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18976   (eval $ac_try) 2>&5
18977   ac_status=$?
18978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979   (exit $ac_status); }; } &&
18980          { ac_try='test -s conftest.$ac_objext'
18981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18982   (eval $ac_try) 2>&5
18983   ac_status=$?
18984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985   (exit $ac_status); }; }; then
18986   glibcxx_cv_func__long_double_trig_use=yes
18987 else
18988   echo "$as_me: failed program was:" >&5
18989 sed 's/^/| /' conftest.$ac_ext >&5
18990
18991 glibcxx_cv_func__long_double_trig_use=no
18992 fi
18993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18994       ac_ext=c
18995 ac_cpp='$CPP $CPPFLAGS'
18996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18999
19000 fi
19001
19002     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
19003 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
19004     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
19015 do
19016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19017 echo "$as_me:$LINENO: checking for $ac_func" >&5
19018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19019 if eval "test \"\${$as_ac_var+set}\" = set"; then
19020   echo $ECHO_N "(cached) $ECHO_C" >&6
19021 else
19022   if test x$gcc_no_link = xyes; then
19023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19025    { (exit 1); exit 1; }; }
19026 fi
19027 cat >conftest.$ac_ext <<_ACEOF
19028 /* confdefs.h.  */
19029 _ACEOF
19030 cat confdefs.h >>conftest.$ac_ext
19031 cat >>conftest.$ac_ext <<_ACEOF
19032 /* end confdefs.h.  */
19033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19034    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19035 #define $ac_func innocuous_$ac_func
19036
19037 /* System header to define __stub macros and hopefully few prototypes,
19038     which can conflict with char $ac_func (); below.
19039     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19040     <limits.h> exists even on freestanding compilers.  */
19041
19042 #ifdef __STDC__
19043 # include <limits.h>
19044 #else
19045 # include <assert.h>
19046 #endif
19047
19048 #undef $ac_func
19049
19050 /* Override any gcc2 internal prototype to avoid an error.  */
19051 #ifdef __cplusplus
19052 extern "C"
19053 {
19054 #endif
19055 /* We use char because int might match the return type of a gcc2
19056    builtin and then its argument prototype would still apply.  */
19057 char $ac_func ();
19058 /* The GNU C library defines this for functions which it implements
19059     to always fail with ENOSYS.  Some functions are actually named
19060     something starting with __ and the normal name is an alias.  */
19061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19062 choke me
19063 #else
19064 char (*f) () = $ac_func;
19065 #endif
19066 #ifdef __cplusplus
19067 }
19068 #endif
19069
19070 int
19071 main ()
19072 {
19073 return f != $ac_func;
19074   ;
19075   return 0;
19076 }
19077 _ACEOF
19078 rm -f conftest.$ac_objext conftest$ac_exeext
19079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19080   (eval $ac_link) 2>conftest.er1
19081   ac_status=$?
19082   grep -v '^ *+' conftest.er1 >conftest.err
19083   rm -f conftest.er1
19084   cat conftest.err >&5
19085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086   (exit $ac_status); } &&
19087          { ac_try='test -z "$ac_c_werror_flag"
19088                          || test ! -s conftest.err'
19089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090   (eval $ac_try) 2>&5
19091   ac_status=$?
19092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093   (exit $ac_status); }; } &&
19094          { ac_try='test -s conftest$ac_exeext'
19095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19096   (eval $ac_try) 2>&5
19097   ac_status=$?
19098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099   (exit $ac_status); }; }; then
19100   eval "$as_ac_var=yes"
19101 else
19102   echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5
19104
19105 eval "$as_ac_var=no"
19106 fi
19107 rm -f conftest.err conftest.$ac_objext \
19108       conftest$ac_exeext conftest.$ac_ext
19109 fi
19110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19112 if test `eval echo '${'$as_ac_var'}'` = yes; then
19113   cat >>confdefs.h <<_ACEOF
19114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19115 _ACEOF
19116
19117 fi
19118 done
19119
19120     fi
19121   fi
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136     echo "$as_me:$LINENO: checking for long double round functions" >&5
19137 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19138   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19139   echo $ECHO_N "(cached) $ECHO_C" >&6
19140 else
19141
19142
19143
19144     ac_ext=cc
19145 ac_cpp='$CXXCPP $CPPFLAGS'
19146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19149
19150     cat >conftest.$ac_ext <<_ACEOF
19151 /* confdefs.h.  */
19152 _ACEOF
19153 cat confdefs.h >>conftest.$ac_ext
19154 cat >>conftest.$ac_ext <<_ACEOF
19155 /* end confdefs.h.  */
19156 #include <math.h>
19157 int
19158 main ()
19159 {
19160 ceill (0); floorl (0);
19161   ;
19162   return 0;
19163 }
19164 _ACEOF
19165 rm -f conftest.$ac_objext
19166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19167   (eval $ac_compile) 2>conftest.er1
19168   ac_status=$?
19169   grep -v '^ *+' conftest.er1 >conftest.err
19170   rm -f conftest.er1
19171   cat conftest.err >&5
19172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173   (exit $ac_status); } &&
19174          { ac_try='test -z "$ac_cxx_werror_flag"
19175                          || test ! -s conftest.err'
19176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19177   (eval $ac_try) 2>&5
19178   ac_status=$?
19179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180   (exit $ac_status); }; } &&
19181          { ac_try='test -s conftest.$ac_objext'
19182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19183   (eval $ac_try) 2>&5
19184   ac_status=$?
19185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186   (exit $ac_status); }; }; then
19187   glibcxx_cv_func_long_double_round_use=yes
19188 else
19189   echo "$as_me: failed program was:" >&5
19190 sed 's/^/| /' conftest.$ac_ext >&5
19191
19192 glibcxx_cv_func_long_double_round_use=no
19193 fi
19194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19195     ac_ext=c
19196 ac_cpp='$CPP $CPPFLAGS'
19197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19200
19201 fi
19202
19203   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19204 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19205   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19206
19207
19208 for ac_func in ceill floorl
19209 do
19210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19211 echo "$as_me:$LINENO: checking for $ac_func" >&5
19212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19213 if eval "test \"\${$as_ac_var+set}\" = set"; then
19214   echo $ECHO_N "(cached) $ECHO_C" >&6
19215 else
19216   if test x$gcc_no_link = xyes; then
19217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19219    { (exit 1); exit 1; }; }
19220 fi
19221 cat >conftest.$ac_ext <<_ACEOF
19222 /* confdefs.h.  */
19223 _ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h.  */
19227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19228    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19229 #define $ac_func innocuous_$ac_func
19230
19231 /* System header to define __stub macros and hopefully few prototypes,
19232     which can conflict with char $ac_func (); below.
19233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19234     <limits.h> exists even on freestanding compilers.  */
19235
19236 #ifdef __STDC__
19237 # include <limits.h>
19238 #else
19239 # include <assert.h>
19240 #endif
19241
19242 #undef $ac_func
19243
19244 /* Override any gcc2 internal prototype to avoid an error.  */
19245 #ifdef __cplusplus
19246 extern "C"
19247 {
19248 #endif
19249 /* We use char because int might match the return type of a gcc2
19250    builtin and then its argument prototype would still apply.  */
19251 char $ac_func ();
19252 /* The GNU C library defines this for functions which it implements
19253     to always fail with ENOSYS.  Some functions are actually named
19254     something starting with __ and the normal name is an alias.  */
19255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19256 choke me
19257 #else
19258 char (*f) () = $ac_func;
19259 #endif
19260 #ifdef __cplusplus
19261 }
19262 #endif
19263
19264 int
19265 main ()
19266 {
19267 return f != $ac_func;
19268   ;
19269   return 0;
19270 }
19271 _ACEOF
19272 rm -f conftest.$ac_objext conftest$ac_exeext
19273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19274   (eval $ac_link) 2>conftest.er1
19275   ac_status=$?
19276   grep -v '^ *+' conftest.er1 >conftest.err
19277   rm -f conftest.er1
19278   cat conftest.err >&5
19279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280   (exit $ac_status); } &&
19281          { ac_try='test -z "$ac_c_werror_flag"
19282                          || test ! -s conftest.err'
19283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19284   (eval $ac_try) 2>&5
19285   ac_status=$?
19286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287   (exit $ac_status); }; } &&
19288          { ac_try='test -s conftest$ac_exeext'
19289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19290   (eval $ac_try) 2>&5
19291   ac_status=$?
19292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293   (exit $ac_status); }; }; then
19294   eval "$as_ac_var=yes"
19295 else
19296   echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19298
19299 eval "$as_ac_var=no"
19300 fi
19301 rm -f conftest.err conftest.$ac_objext \
19302       conftest$ac_exeext conftest.$ac_ext
19303 fi
19304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19306 if test `eval echo '${'$as_ac_var'}'` = yes; then
19307   cat >>confdefs.h <<_ACEOF
19308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19309 _ACEOF
19310
19311 fi
19312 done
19313
19314   else
19315     echo "$as_me:$LINENO: checking for _long double round functions" >&5
19316 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19317     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19318   echo $ECHO_N "(cached) $ECHO_C" >&6
19319 else
19320
19321
19322
19323       ac_ext=cc
19324 ac_cpp='$CXXCPP $CPPFLAGS'
19325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19328
19329       cat >conftest.$ac_ext <<_ACEOF
19330 /* confdefs.h.  */
19331 _ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h.  */
19335 #include <math.h>
19336 int
19337 main ()
19338 {
19339 _ceill (0); _floorl (0);
19340   ;
19341   return 0;
19342 }
19343 _ACEOF
19344 rm -f conftest.$ac_objext
19345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19346   (eval $ac_compile) 2>conftest.er1
19347   ac_status=$?
19348   grep -v '^ *+' conftest.er1 >conftest.err
19349   rm -f conftest.er1
19350   cat conftest.err >&5
19351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352   (exit $ac_status); } &&
19353          { ac_try='test -z "$ac_cxx_werror_flag"
19354                          || test ! -s conftest.err'
19355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19356   (eval $ac_try) 2>&5
19357   ac_status=$?
19358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359   (exit $ac_status); }; } &&
19360          { ac_try='test -s conftest.$ac_objext'
19361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19362   (eval $ac_try) 2>&5
19363   ac_status=$?
19364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365   (exit $ac_status); }; }; then
19366   glibcxx_cv_func__long_double_round_use=yes
19367 else
19368   echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.$ac_ext >&5
19370
19371 glibcxx_cv_func__long_double_round_use=no
19372 fi
19373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19374       ac_ext=c
19375 ac_cpp='$CPP $CPPFLAGS'
19376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19379
19380 fi
19381
19382     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19383 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19384     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19385
19386
19387 for ac_func in _ceill _floorl
19388 do
19389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19390 echo "$as_me:$LINENO: checking for $ac_func" >&5
19391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19392 if eval "test \"\${$as_ac_var+set}\" = set"; then
19393   echo $ECHO_N "(cached) $ECHO_C" >&6
19394 else
19395   if test x$gcc_no_link = xyes; then
19396   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19398    { (exit 1); exit 1; }; }
19399 fi
19400 cat >conftest.$ac_ext <<_ACEOF
19401 /* confdefs.h.  */
19402 _ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h.  */
19406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19407    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19408 #define $ac_func innocuous_$ac_func
19409
19410 /* System header to define __stub macros and hopefully few prototypes,
19411     which can conflict with char $ac_func (); below.
19412     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19413     <limits.h> exists even on freestanding compilers.  */
19414
19415 #ifdef __STDC__
19416 # include <limits.h>
19417 #else
19418 # include <assert.h>
19419 #endif
19420
19421 #undef $ac_func
19422
19423 /* Override any gcc2 internal prototype to avoid an error.  */
19424 #ifdef __cplusplus
19425 extern "C"
19426 {
19427 #endif
19428 /* We use char because int might match the return type of a gcc2
19429    builtin and then its argument prototype would still apply.  */
19430 char $ac_func ();
19431 /* The GNU C library defines this for functions which it implements
19432     to always fail with ENOSYS.  Some functions are actually named
19433     something starting with __ and the normal name is an alias.  */
19434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19435 choke me
19436 #else
19437 char (*f) () = $ac_func;
19438 #endif
19439 #ifdef __cplusplus
19440 }
19441 #endif
19442
19443 int
19444 main ()
19445 {
19446 return f != $ac_func;
19447   ;
19448   return 0;
19449 }
19450 _ACEOF
19451 rm -f conftest.$ac_objext conftest$ac_exeext
19452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19453   (eval $ac_link) 2>conftest.er1
19454   ac_status=$?
19455   grep -v '^ *+' conftest.er1 >conftest.err
19456   rm -f conftest.er1
19457   cat conftest.err >&5
19458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459   (exit $ac_status); } &&
19460          { ac_try='test -z "$ac_c_werror_flag"
19461                          || test ! -s conftest.err'
19462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19463   (eval $ac_try) 2>&5
19464   ac_status=$?
19465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466   (exit $ac_status); }; } &&
19467          { ac_try='test -s conftest$ac_exeext'
19468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19469   (eval $ac_try) 2>&5
19470   ac_status=$?
19471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472   (exit $ac_status); }; }; then
19473   eval "$as_ac_var=yes"
19474 else
19475   echo "$as_me: failed program was:" >&5
19476 sed 's/^/| /' conftest.$ac_ext >&5
19477
19478 eval "$as_ac_var=no"
19479 fi
19480 rm -f conftest.err conftest.$ac_objext \
19481       conftest$ac_exeext conftest.$ac_ext
19482 fi
19483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19485 if test `eval echo '${'$as_ac_var'}'` = yes; then
19486   cat >>confdefs.h <<_ACEOF
19487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19488 _ACEOF
19489
19490 fi
19491 done
19492
19493     fi
19494   fi
19495
19496
19497
19498
19499
19500
19501
19502
19503   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19504 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19505   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19506     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19507   echo $ECHO_N "(cached) $ECHO_C" >&6
19508 else
19509
19510
19511
19512       ac_ext=cc
19513 ac_cpp='$CXXCPP $CPPFLAGS'
19514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19517
19518       cat >conftest.$ac_ext <<_ACEOF
19519 /* confdefs.h.  */
19520 _ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h.  */
19524 #include <math.h>
19525                       #ifdef HAVE_IEEEFP_H
19526                       #include <ieeefp.h>
19527                       #endif
19528
19529 int
19530 main ()
19531 {
19532  isnanl(0);
19533   ;
19534   return 0;
19535 }
19536 _ACEOF
19537 rm -f conftest.$ac_objext
19538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19539   (eval $ac_compile) 2>conftest.er1
19540   ac_status=$?
19541   grep -v '^ *+' conftest.er1 >conftest.err
19542   rm -f conftest.er1
19543   cat conftest.err >&5
19544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545   (exit $ac_status); } &&
19546          { ac_try='test -z "$ac_cxx_werror_flag"
19547                          || test ! -s conftest.err'
19548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19549   (eval $ac_try) 2>&5
19550   ac_status=$?
19551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552   (exit $ac_status); }; } &&
19553          { ac_try='test -s conftest.$ac_objext'
19554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555   (eval $ac_try) 2>&5
19556   ac_status=$?
19557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558   (exit $ac_status); }; }; then
19559   glibcxx_cv_func_isnanl_use=yes
19560 else
19561   echo "$as_me: failed program was:" >&5
19562 sed 's/^/| /' conftest.$ac_ext >&5
19563
19564 glibcxx_cv_func_isnanl_use=no
19565 fi
19566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19567       ac_ext=c
19568 ac_cpp='$CPP $CPPFLAGS'
19569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19572
19573
19574 fi
19575
19576   fi
19577   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19578 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19579
19580   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19581
19582 for ac_func in isnanl
19583 do
19584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19585 echo "$as_me:$LINENO: checking for $ac_func" >&5
19586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19587 if eval "test \"\${$as_ac_var+set}\" = set"; then
19588   echo $ECHO_N "(cached) $ECHO_C" >&6
19589 else
19590   if test x$gcc_no_link = xyes; then
19591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19593    { (exit 1); exit 1; }; }
19594 fi
19595 cat >conftest.$ac_ext <<_ACEOF
19596 /* confdefs.h.  */
19597 _ACEOF
19598 cat confdefs.h >>conftest.$ac_ext
19599 cat >>conftest.$ac_ext <<_ACEOF
19600 /* end confdefs.h.  */
19601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19603 #define $ac_func innocuous_$ac_func
19604
19605 /* System header to define __stub macros and hopefully few prototypes,
19606     which can conflict with char $ac_func (); below.
19607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19608     <limits.h> exists even on freestanding compilers.  */
19609
19610 #ifdef __STDC__
19611 # include <limits.h>
19612 #else
19613 # include <assert.h>
19614 #endif
19615
19616 #undef $ac_func
19617
19618 /* Override any gcc2 internal prototype to avoid an error.  */
19619 #ifdef __cplusplus
19620 extern "C"
19621 {
19622 #endif
19623 /* We use char because int might match the return type of a gcc2
19624    builtin and then its argument prototype would still apply.  */
19625 char $ac_func ();
19626 /* The GNU C library defines this for functions which it implements
19627     to always fail with ENOSYS.  Some functions are actually named
19628     something starting with __ and the normal name is an alias.  */
19629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19630 choke me
19631 #else
19632 char (*f) () = $ac_func;
19633 #endif
19634 #ifdef __cplusplus
19635 }
19636 #endif
19637
19638 int
19639 main ()
19640 {
19641 return f != $ac_func;
19642   ;
19643   return 0;
19644 }
19645 _ACEOF
19646 rm -f conftest.$ac_objext conftest$ac_exeext
19647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19648   (eval $ac_link) 2>conftest.er1
19649   ac_status=$?
19650   grep -v '^ *+' conftest.er1 >conftest.err
19651   rm -f conftest.er1
19652   cat conftest.err >&5
19653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654   (exit $ac_status); } &&
19655          { ac_try='test -z "$ac_c_werror_flag"
19656                          || test ! -s conftest.err'
19657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19658   (eval $ac_try) 2>&5
19659   ac_status=$?
19660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661   (exit $ac_status); }; } &&
19662          { ac_try='test -s conftest$ac_exeext'
19663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19664   (eval $ac_try) 2>&5
19665   ac_status=$?
19666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667   (exit $ac_status); }; }; then
19668   eval "$as_ac_var=yes"
19669 else
19670   echo "$as_me: failed program was:" >&5
19671 sed 's/^/| /' conftest.$ac_ext >&5
19672
19673 eval "$as_ac_var=no"
19674 fi
19675 rm -f conftest.err conftest.$ac_objext \
19676       conftest$ac_exeext conftest.$ac_ext
19677 fi
19678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19680 if test `eval echo '${'$as_ac_var'}'` = yes; then
19681   cat >>confdefs.h <<_ACEOF
19682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19683 _ACEOF
19684
19685 fi
19686 done
19687
19688   else
19689
19690   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19691 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19692   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19693     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19694   echo $ECHO_N "(cached) $ECHO_C" >&6
19695 else
19696
19697
19698
19699       ac_ext=cc
19700 ac_cpp='$CXXCPP $CPPFLAGS'
19701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19704
19705       cat >conftest.$ac_ext <<_ACEOF
19706 /* confdefs.h.  */
19707 _ACEOF
19708 cat confdefs.h >>conftest.$ac_ext
19709 cat >>conftest.$ac_ext <<_ACEOF
19710 /* end confdefs.h.  */
19711 #include <math.h>
19712                       #ifdef HAVE_IEEEFP_H
19713                       #include <ieeefp.h>
19714                       #endif
19715
19716 int
19717 main ()
19718 {
19719  _isnanl(0);
19720   ;
19721   return 0;
19722 }
19723 _ACEOF
19724 rm -f conftest.$ac_objext
19725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19726   (eval $ac_compile) 2>conftest.er1
19727   ac_status=$?
19728   grep -v '^ *+' conftest.er1 >conftest.err
19729   rm -f conftest.er1
19730   cat conftest.err >&5
19731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732   (exit $ac_status); } &&
19733          { ac_try='test -z "$ac_cxx_werror_flag"
19734                          || test ! -s conftest.err'
19735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736   (eval $ac_try) 2>&5
19737   ac_status=$?
19738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739   (exit $ac_status); }; } &&
19740          { ac_try='test -s conftest.$ac_objext'
19741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742   (eval $ac_try) 2>&5
19743   ac_status=$?
19744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745   (exit $ac_status); }; }; then
19746   glibcxx_cv_func__isnanl_use=yes
19747 else
19748   echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19750
19751 glibcxx_cv_func__isnanl_use=no
19752 fi
19753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19754       ac_ext=c
19755 ac_cpp='$CPP $CPPFLAGS'
19756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19759
19760
19761 fi
19762
19763   fi
19764   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19765 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19766
19767     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19768
19769 for ac_func in _isnanl
19770 do
19771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19772 echo "$as_me:$LINENO: checking for $ac_func" >&5
19773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19774 if eval "test \"\${$as_ac_var+set}\" = set"; then
19775   echo $ECHO_N "(cached) $ECHO_C" >&6
19776 else
19777   if test x$gcc_no_link = xyes; then
19778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19780    { (exit 1); exit 1; }; }
19781 fi
19782 cat >conftest.$ac_ext <<_ACEOF
19783 /* confdefs.h.  */
19784 _ACEOF
19785 cat confdefs.h >>conftest.$ac_ext
19786 cat >>conftest.$ac_ext <<_ACEOF
19787 /* end confdefs.h.  */
19788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19790 #define $ac_func innocuous_$ac_func
19791
19792 /* System header to define __stub macros and hopefully few prototypes,
19793     which can conflict with char $ac_func (); below.
19794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19795     <limits.h> exists even on freestanding compilers.  */
19796
19797 #ifdef __STDC__
19798 # include <limits.h>
19799 #else
19800 # include <assert.h>
19801 #endif
19802
19803 #undef $ac_func
19804
19805 /* Override any gcc2 internal prototype to avoid an error.  */
19806 #ifdef __cplusplus
19807 extern "C"
19808 {
19809 #endif
19810 /* We use char because int might match the return type of a gcc2
19811    builtin and then its argument prototype would still apply.  */
19812 char $ac_func ();
19813 /* The GNU C library defines this for functions which it implements
19814     to always fail with ENOSYS.  Some functions are actually named
19815     something starting with __ and the normal name is an alias.  */
19816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19817 choke me
19818 #else
19819 char (*f) () = $ac_func;
19820 #endif
19821 #ifdef __cplusplus
19822 }
19823 #endif
19824
19825 int
19826 main ()
19827 {
19828 return f != $ac_func;
19829   ;
19830   return 0;
19831 }
19832 _ACEOF
19833 rm -f conftest.$ac_objext conftest$ac_exeext
19834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19835   (eval $ac_link) 2>conftest.er1
19836   ac_status=$?
19837   grep -v '^ *+' conftest.er1 >conftest.err
19838   rm -f conftest.er1
19839   cat conftest.err >&5
19840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841   (exit $ac_status); } &&
19842          { ac_try='test -z "$ac_c_werror_flag"
19843                          || test ! -s conftest.err'
19844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845   (eval $ac_try) 2>&5
19846   ac_status=$?
19847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848   (exit $ac_status); }; } &&
19849          { ac_try='test -s conftest$ac_exeext'
19850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851   (eval $ac_try) 2>&5
19852   ac_status=$?
19853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854   (exit $ac_status); }; }; then
19855   eval "$as_ac_var=yes"
19856 else
19857   echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19859
19860 eval "$as_ac_var=no"
19861 fi
19862 rm -f conftest.err conftest.$ac_objext \
19863       conftest$ac_exeext conftest.$ac_ext
19864 fi
19865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19867 if test `eval echo '${'$as_ac_var'}'` = yes; then
19868   cat >>confdefs.h <<_ACEOF
19869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19870 _ACEOF
19871
19872 fi
19873 done
19874
19875     fi
19876   fi
19877
19878
19879
19880
19881
19882
19883   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19884 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19885   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19886     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19887   echo $ECHO_N "(cached) $ECHO_C" >&6
19888 else
19889
19890
19891
19892       ac_ext=cc
19893 ac_cpp='$CXXCPP $CPPFLAGS'
19894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19897
19898       cat >conftest.$ac_ext <<_ACEOF
19899 /* confdefs.h.  */
19900 _ACEOF
19901 cat confdefs.h >>conftest.$ac_ext
19902 cat >>conftest.$ac_ext <<_ACEOF
19903 /* end confdefs.h.  */
19904 #include <math.h>
19905                       #ifdef HAVE_IEEEFP_H
19906                       #include <ieeefp.h>
19907                       #endif
19908
19909 int
19910 main ()
19911 {
19912  isinfl(0);
19913   ;
19914   return 0;
19915 }
19916 _ACEOF
19917 rm -f conftest.$ac_objext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19919   (eval $ac_compile) 2>conftest.er1
19920   ac_status=$?
19921   grep -v '^ *+' conftest.er1 >conftest.err
19922   rm -f conftest.er1
19923   cat conftest.err >&5
19924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925   (exit $ac_status); } &&
19926          { ac_try='test -z "$ac_cxx_werror_flag"
19927                          || test ! -s conftest.err'
19928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929   (eval $ac_try) 2>&5
19930   ac_status=$?
19931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932   (exit $ac_status); }; } &&
19933          { ac_try='test -s conftest.$ac_objext'
19934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935   (eval $ac_try) 2>&5
19936   ac_status=$?
19937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938   (exit $ac_status); }; }; then
19939   glibcxx_cv_func_isinfl_use=yes
19940 else
19941   echo "$as_me: failed program was:" >&5
19942 sed 's/^/| /' conftest.$ac_ext >&5
19943
19944 glibcxx_cv_func_isinfl_use=no
19945 fi
19946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19947       ac_ext=c
19948 ac_cpp='$CPP $CPPFLAGS'
19949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19952
19953
19954 fi
19955
19956   fi
19957   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19958 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19959
19960   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19961
19962 for ac_func in isinfl
19963 do
19964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19965 echo "$as_me:$LINENO: checking for $ac_func" >&5
19966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19967 if eval "test \"\${$as_ac_var+set}\" = set"; then
19968   echo $ECHO_N "(cached) $ECHO_C" >&6
19969 else
19970   if test x$gcc_no_link = xyes; then
19971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19973    { (exit 1); exit 1; }; }
19974 fi
19975 cat >conftest.$ac_ext <<_ACEOF
19976 /* confdefs.h.  */
19977 _ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h.  */
19981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19983 #define $ac_func innocuous_$ac_func
19984
19985 /* System header to define __stub macros and hopefully few prototypes,
19986     which can conflict with char $ac_func (); below.
19987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19988     <limits.h> exists even on freestanding compilers.  */
19989
19990 #ifdef __STDC__
19991 # include <limits.h>
19992 #else
19993 # include <assert.h>
19994 #endif
19995
19996 #undef $ac_func
19997
19998 /* Override any gcc2 internal prototype to avoid an error.  */
19999 #ifdef __cplusplus
20000 extern "C"
20001 {
20002 #endif
20003 /* We use char because int might match the return type of a gcc2
20004    builtin and then its argument prototype would still apply.  */
20005 char $ac_func ();
20006 /* The GNU C library defines this for functions which it implements
20007     to always fail with ENOSYS.  Some functions are actually named
20008     something starting with __ and the normal name is an alias.  */
20009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20010 choke me
20011 #else
20012 char (*f) () = $ac_func;
20013 #endif
20014 #ifdef __cplusplus
20015 }
20016 #endif
20017
20018 int
20019 main ()
20020 {
20021 return f != $ac_func;
20022   ;
20023   return 0;
20024 }
20025 _ACEOF
20026 rm -f conftest.$ac_objext conftest$ac_exeext
20027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20028   (eval $ac_link) 2>conftest.er1
20029   ac_status=$?
20030   grep -v '^ *+' conftest.er1 >conftest.err
20031   rm -f conftest.er1
20032   cat conftest.err >&5
20033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034   (exit $ac_status); } &&
20035          { ac_try='test -z "$ac_c_werror_flag"
20036                          || test ! -s conftest.err'
20037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038   (eval $ac_try) 2>&5
20039   ac_status=$?
20040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041   (exit $ac_status); }; } &&
20042          { ac_try='test -s conftest$ac_exeext'
20043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20044   (eval $ac_try) 2>&5
20045   ac_status=$?
20046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047   (exit $ac_status); }; }; then
20048   eval "$as_ac_var=yes"
20049 else
20050   echo "$as_me: failed program was:" >&5
20051 sed 's/^/| /' conftest.$ac_ext >&5
20052
20053 eval "$as_ac_var=no"
20054 fi
20055 rm -f conftest.err conftest.$ac_objext \
20056       conftest$ac_exeext conftest.$ac_ext
20057 fi
20058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20060 if test `eval echo '${'$as_ac_var'}'` = yes; then
20061   cat >>confdefs.h <<_ACEOF
20062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20063 _ACEOF
20064
20065 fi
20066 done
20067
20068   else
20069
20070   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20071 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20072   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20073     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20074   echo $ECHO_N "(cached) $ECHO_C" >&6
20075 else
20076
20077
20078
20079       ac_ext=cc
20080 ac_cpp='$CXXCPP $CPPFLAGS'
20081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20084
20085       cat >conftest.$ac_ext <<_ACEOF
20086 /* confdefs.h.  */
20087 _ACEOF
20088 cat confdefs.h >>conftest.$ac_ext
20089 cat >>conftest.$ac_ext <<_ACEOF
20090 /* end confdefs.h.  */
20091 #include <math.h>
20092                       #ifdef HAVE_IEEEFP_H
20093                       #include <ieeefp.h>
20094                       #endif
20095
20096 int
20097 main ()
20098 {
20099  _isinfl(0);
20100   ;
20101   return 0;
20102 }
20103 _ACEOF
20104 rm -f conftest.$ac_objext
20105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20106   (eval $ac_compile) 2>conftest.er1
20107   ac_status=$?
20108   grep -v '^ *+' conftest.er1 >conftest.err
20109   rm -f conftest.er1
20110   cat conftest.err >&5
20111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112   (exit $ac_status); } &&
20113          { ac_try='test -z "$ac_cxx_werror_flag"
20114                          || test ! -s conftest.err'
20115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20116   (eval $ac_try) 2>&5
20117   ac_status=$?
20118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119   (exit $ac_status); }; } &&
20120          { ac_try='test -s conftest.$ac_objext'
20121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122   (eval $ac_try) 2>&5
20123   ac_status=$?
20124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125   (exit $ac_status); }; }; then
20126   glibcxx_cv_func__isinfl_use=yes
20127 else
20128   echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.$ac_ext >&5
20130
20131 glibcxx_cv_func__isinfl_use=no
20132 fi
20133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20134       ac_ext=c
20135 ac_cpp='$CPP $CPPFLAGS'
20136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20139
20140
20141 fi
20142
20143   fi
20144   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20145 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20146
20147     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20148
20149 for ac_func in _isinfl
20150 do
20151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20152 echo "$as_me:$LINENO: checking for $ac_func" >&5
20153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20154 if eval "test \"\${$as_ac_var+set}\" = set"; then
20155   echo $ECHO_N "(cached) $ECHO_C" >&6
20156 else
20157   if test x$gcc_no_link = xyes; then
20158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20160    { (exit 1); exit 1; }; }
20161 fi
20162 cat >conftest.$ac_ext <<_ACEOF
20163 /* confdefs.h.  */
20164 _ACEOF
20165 cat confdefs.h >>conftest.$ac_ext
20166 cat >>conftest.$ac_ext <<_ACEOF
20167 /* end confdefs.h.  */
20168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20169    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20170 #define $ac_func innocuous_$ac_func
20171
20172 /* System header to define __stub macros and hopefully few prototypes,
20173     which can conflict with char $ac_func (); below.
20174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20175     <limits.h> exists even on freestanding compilers.  */
20176
20177 #ifdef __STDC__
20178 # include <limits.h>
20179 #else
20180 # include <assert.h>
20181 #endif
20182
20183 #undef $ac_func
20184
20185 /* Override any gcc2 internal prototype to avoid an error.  */
20186 #ifdef __cplusplus
20187 extern "C"
20188 {
20189 #endif
20190 /* We use char because int might match the return type of a gcc2
20191    builtin and then its argument prototype would still apply.  */
20192 char $ac_func ();
20193 /* The GNU C library defines this for functions which it implements
20194     to always fail with ENOSYS.  Some functions are actually named
20195     something starting with __ and the normal name is an alias.  */
20196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20197 choke me
20198 #else
20199 char (*f) () = $ac_func;
20200 #endif
20201 #ifdef __cplusplus
20202 }
20203 #endif
20204
20205 int
20206 main ()
20207 {
20208 return f != $ac_func;
20209   ;
20210   return 0;
20211 }
20212 _ACEOF
20213 rm -f conftest.$ac_objext conftest$ac_exeext
20214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20215   (eval $ac_link) 2>conftest.er1
20216   ac_status=$?
20217   grep -v '^ *+' conftest.er1 >conftest.err
20218   rm -f conftest.er1
20219   cat conftest.err >&5
20220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221   (exit $ac_status); } &&
20222          { ac_try='test -z "$ac_c_werror_flag"
20223                          || test ! -s conftest.err'
20224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20225   (eval $ac_try) 2>&5
20226   ac_status=$?
20227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228   (exit $ac_status); }; } &&
20229          { ac_try='test -s conftest$ac_exeext'
20230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231   (eval $ac_try) 2>&5
20232   ac_status=$?
20233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234   (exit $ac_status); }; }; then
20235   eval "$as_ac_var=yes"
20236 else
20237   echo "$as_me: failed program was:" >&5
20238 sed 's/^/| /' conftest.$ac_ext >&5
20239
20240 eval "$as_ac_var=no"
20241 fi
20242 rm -f conftest.err conftest.$ac_objext \
20243       conftest$ac_exeext conftest.$ac_ext
20244 fi
20245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20247 if test `eval echo '${'$as_ac_var'}'` = yes; then
20248   cat >>confdefs.h <<_ACEOF
20249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20250 _ACEOF
20251
20252 fi
20253 done
20254
20255     fi
20256   fi
20257
20258
20259
20260
20261
20262
20263   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20264 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20265   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20266     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20267   echo $ECHO_N "(cached) $ECHO_C" >&6
20268 else
20269
20270
20271
20272       ac_ext=cc
20273 ac_cpp='$CXXCPP $CPPFLAGS'
20274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20277
20278       cat >conftest.$ac_ext <<_ACEOF
20279 /* confdefs.h.  */
20280 _ACEOF
20281 cat confdefs.h >>conftest.$ac_ext
20282 cat >>conftest.$ac_ext <<_ACEOF
20283 /* end confdefs.h.  */
20284 #include <math.h>
20285 int
20286 main ()
20287 {
20288  copysignl(0, 0);
20289   ;
20290   return 0;
20291 }
20292 _ACEOF
20293 rm -f conftest.$ac_objext
20294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20295   (eval $ac_compile) 2>conftest.er1
20296   ac_status=$?
20297   grep -v '^ *+' conftest.er1 >conftest.err
20298   rm -f conftest.er1
20299   cat conftest.err >&5
20300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301   (exit $ac_status); } &&
20302          { ac_try='test -z "$ac_cxx_werror_flag"
20303                          || test ! -s conftest.err'
20304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20305   (eval $ac_try) 2>&5
20306   ac_status=$?
20307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308   (exit $ac_status); }; } &&
20309          { ac_try='test -s conftest.$ac_objext'
20310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311   (eval $ac_try) 2>&5
20312   ac_status=$?
20313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314   (exit $ac_status); }; }; then
20315   glibcxx_cv_func_copysignl_use=yes
20316 else
20317   echo "$as_me: failed program was:" >&5
20318 sed 's/^/| /' conftest.$ac_ext >&5
20319
20320 glibcxx_cv_func_copysignl_use=no
20321 fi
20322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20323       ac_ext=c
20324 ac_cpp='$CPP $CPPFLAGS'
20325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20328
20329
20330 fi
20331
20332   fi
20333   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20334 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20335
20336   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20337
20338 for ac_func in copysignl
20339 do
20340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20341 echo "$as_me:$LINENO: checking for $ac_func" >&5
20342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20343 if eval "test \"\${$as_ac_var+set}\" = set"; then
20344   echo $ECHO_N "(cached) $ECHO_C" >&6
20345 else
20346   if test x$gcc_no_link = xyes; then
20347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20349    { (exit 1); exit 1; }; }
20350 fi
20351 cat >conftest.$ac_ext <<_ACEOF
20352 /* confdefs.h.  */
20353 _ACEOF
20354 cat confdefs.h >>conftest.$ac_ext
20355 cat >>conftest.$ac_ext <<_ACEOF
20356 /* end confdefs.h.  */
20357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20358    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20359 #define $ac_func innocuous_$ac_func
20360
20361 /* System header to define __stub macros and hopefully few prototypes,
20362     which can conflict with char $ac_func (); below.
20363     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20364     <limits.h> exists even on freestanding compilers.  */
20365
20366 #ifdef __STDC__
20367 # include <limits.h>
20368 #else
20369 # include <assert.h>
20370 #endif
20371
20372 #undef $ac_func
20373
20374 /* Override any gcc2 internal prototype to avoid an error.  */
20375 #ifdef __cplusplus
20376 extern "C"
20377 {
20378 #endif
20379 /* We use char because int might match the return type of a gcc2
20380    builtin and then its argument prototype would still apply.  */
20381 char $ac_func ();
20382 /* The GNU C library defines this for functions which it implements
20383     to always fail with ENOSYS.  Some functions are actually named
20384     something starting with __ and the normal name is an alias.  */
20385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20386 choke me
20387 #else
20388 char (*f) () = $ac_func;
20389 #endif
20390 #ifdef __cplusplus
20391 }
20392 #endif
20393
20394 int
20395 main ()
20396 {
20397 return f != $ac_func;
20398   ;
20399   return 0;
20400 }
20401 _ACEOF
20402 rm -f conftest.$ac_objext conftest$ac_exeext
20403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20404   (eval $ac_link) 2>conftest.er1
20405   ac_status=$?
20406   grep -v '^ *+' conftest.er1 >conftest.err
20407   rm -f conftest.er1
20408   cat conftest.err >&5
20409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410   (exit $ac_status); } &&
20411          { ac_try='test -z "$ac_c_werror_flag"
20412                          || test ! -s conftest.err'
20413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414   (eval $ac_try) 2>&5
20415   ac_status=$?
20416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417   (exit $ac_status); }; } &&
20418          { ac_try='test -s conftest$ac_exeext'
20419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420   (eval $ac_try) 2>&5
20421   ac_status=$?
20422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423   (exit $ac_status); }; }; then
20424   eval "$as_ac_var=yes"
20425 else
20426   echo "$as_me: failed program was:" >&5
20427 sed 's/^/| /' conftest.$ac_ext >&5
20428
20429 eval "$as_ac_var=no"
20430 fi
20431 rm -f conftest.err conftest.$ac_objext \
20432       conftest$ac_exeext conftest.$ac_ext
20433 fi
20434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20436 if test `eval echo '${'$as_ac_var'}'` = yes; then
20437   cat >>confdefs.h <<_ACEOF
20438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20439 _ACEOF
20440
20441 fi
20442 done
20443
20444   else
20445
20446   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20447 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20448   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20449     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20450   echo $ECHO_N "(cached) $ECHO_C" >&6
20451 else
20452
20453
20454
20455       ac_ext=cc
20456 ac_cpp='$CXXCPP $CPPFLAGS'
20457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20460
20461       cat >conftest.$ac_ext <<_ACEOF
20462 /* confdefs.h.  */
20463 _ACEOF
20464 cat confdefs.h >>conftest.$ac_ext
20465 cat >>conftest.$ac_ext <<_ACEOF
20466 /* end confdefs.h.  */
20467 #include <math.h>
20468 int
20469 main ()
20470 {
20471  _copysignl(0, 0);
20472   ;
20473   return 0;
20474 }
20475 _ACEOF
20476 rm -f conftest.$ac_objext
20477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20478   (eval $ac_compile) 2>conftest.er1
20479   ac_status=$?
20480   grep -v '^ *+' conftest.er1 >conftest.err
20481   rm -f conftest.er1
20482   cat conftest.err >&5
20483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484   (exit $ac_status); } &&
20485          { ac_try='test -z "$ac_cxx_werror_flag"
20486                          || test ! -s conftest.err'
20487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488   (eval $ac_try) 2>&5
20489   ac_status=$?
20490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491   (exit $ac_status); }; } &&
20492          { ac_try='test -s conftest.$ac_objext'
20493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494   (eval $ac_try) 2>&5
20495   ac_status=$?
20496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497   (exit $ac_status); }; }; then
20498   glibcxx_cv_func__copysignl_use=yes
20499 else
20500   echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.$ac_ext >&5
20502
20503 glibcxx_cv_func__copysignl_use=no
20504 fi
20505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20506       ac_ext=c
20507 ac_cpp='$CPP $CPPFLAGS'
20508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20511
20512
20513 fi
20514
20515   fi
20516   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20517 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20518
20519     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20520
20521 for ac_func in _copysignl
20522 do
20523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20524 echo "$as_me:$LINENO: checking for $ac_func" >&5
20525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20526 if eval "test \"\${$as_ac_var+set}\" = set"; then
20527   echo $ECHO_N "(cached) $ECHO_C" >&6
20528 else
20529   if test x$gcc_no_link = xyes; then
20530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20532    { (exit 1); exit 1; }; }
20533 fi
20534 cat >conftest.$ac_ext <<_ACEOF
20535 /* confdefs.h.  */
20536 _ACEOF
20537 cat confdefs.h >>conftest.$ac_ext
20538 cat >>conftest.$ac_ext <<_ACEOF
20539 /* end confdefs.h.  */
20540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20542 #define $ac_func innocuous_$ac_func
20543
20544 /* System header to define __stub macros and hopefully few prototypes,
20545     which can conflict with char $ac_func (); below.
20546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20547     <limits.h> exists even on freestanding compilers.  */
20548
20549 #ifdef __STDC__
20550 # include <limits.h>
20551 #else
20552 # include <assert.h>
20553 #endif
20554
20555 #undef $ac_func
20556
20557 /* Override any gcc2 internal prototype to avoid an error.  */
20558 #ifdef __cplusplus
20559 extern "C"
20560 {
20561 #endif
20562 /* We use char because int might match the return type of a gcc2
20563    builtin and then its argument prototype would still apply.  */
20564 char $ac_func ();
20565 /* The GNU C library defines this for functions which it implements
20566     to always fail with ENOSYS.  Some functions are actually named
20567     something starting with __ and the normal name is an alias.  */
20568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20569 choke me
20570 #else
20571 char (*f) () = $ac_func;
20572 #endif
20573 #ifdef __cplusplus
20574 }
20575 #endif
20576
20577 int
20578 main ()
20579 {
20580 return f != $ac_func;
20581   ;
20582   return 0;
20583 }
20584 _ACEOF
20585 rm -f conftest.$ac_objext conftest$ac_exeext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20587   (eval $ac_link) 2>conftest.er1
20588   ac_status=$?
20589   grep -v '^ *+' conftest.er1 >conftest.err
20590   rm -f conftest.er1
20591   cat conftest.err >&5
20592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593   (exit $ac_status); } &&
20594          { ac_try='test -z "$ac_c_werror_flag"
20595                          || test ! -s conftest.err'
20596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597   (eval $ac_try) 2>&5
20598   ac_status=$?
20599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600   (exit $ac_status); }; } &&
20601          { ac_try='test -s conftest$ac_exeext'
20602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603   (eval $ac_try) 2>&5
20604   ac_status=$?
20605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606   (exit $ac_status); }; }; then
20607   eval "$as_ac_var=yes"
20608 else
20609   echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20611
20612 eval "$as_ac_var=no"
20613 fi
20614 rm -f conftest.err conftest.$ac_objext \
20615       conftest$ac_exeext conftest.$ac_ext
20616 fi
20617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20619 if test `eval echo '${'$as_ac_var'}'` = yes; then
20620   cat >>confdefs.h <<_ACEOF
20621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20622 _ACEOF
20623
20624 fi
20625 done
20626
20627     fi
20628   fi
20629
20630
20631
20632
20633
20634
20635   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20636 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20637   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20638     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20639   echo $ECHO_N "(cached) $ECHO_C" >&6
20640 else
20641
20642
20643
20644       ac_ext=cc
20645 ac_cpp='$CXXCPP $CPPFLAGS'
20646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20649
20650       cat >conftest.$ac_ext <<_ACEOF
20651 /* confdefs.h.  */
20652 _ACEOF
20653 cat confdefs.h >>conftest.$ac_ext
20654 cat >>conftest.$ac_ext <<_ACEOF
20655 /* end confdefs.h.  */
20656 #include <math.h>
20657 int
20658 main ()
20659 {
20660  atan2l(0, 0);
20661   ;
20662   return 0;
20663 }
20664 _ACEOF
20665 rm -f conftest.$ac_objext
20666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20667   (eval $ac_compile) 2>conftest.er1
20668   ac_status=$?
20669   grep -v '^ *+' conftest.er1 >conftest.err
20670   rm -f conftest.er1
20671   cat conftest.err >&5
20672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673   (exit $ac_status); } &&
20674          { ac_try='test -z "$ac_cxx_werror_flag"
20675                          || test ! -s conftest.err'
20676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20677   (eval $ac_try) 2>&5
20678   ac_status=$?
20679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680   (exit $ac_status); }; } &&
20681          { ac_try='test -s conftest.$ac_objext'
20682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20683   (eval $ac_try) 2>&5
20684   ac_status=$?
20685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686   (exit $ac_status); }; }; then
20687   glibcxx_cv_func_atan2l_use=yes
20688 else
20689   echo "$as_me: failed program was:" >&5
20690 sed 's/^/| /' conftest.$ac_ext >&5
20691
20692 glibcxx_cv_func_atan2l_use=no
20693 fi
20694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20695       ac_ext=c
20696 ac_cpp='$CPP $CPPFLAGS'
20697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20700
20701
20702 fi
20703
20704   fi
20705   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20706 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20707
20708   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20709
20710 for ac_func in atan2l
20711 do
20712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20713 echo "$as_me:$LINENO: checking for $ac_func" >&5
20714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20715 if eval "test \"\${$as_ac_var+set}\" = set"; then
20716   echo $ECHO_N "(cached) $ECHO_C" >&6
20717 else
20718   if test x$gcc_no_link = xyes; then
20719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20721    { (exit 1); exit 1; }; }
20722 fi
20723 cat >conftest.$ac_ext <<_ACEOF
20724 /* confdefs.h.  */
20725 _ACEOF
20726 cat confdefs.h >>conftest.$ac_ext
20727 cat >>conftest.$ac_ext <<_ACEOF
20728 /* end confdefs.h.  */
20729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20731 #define $ac_func innocuous_$ac_func
20732
20733 /* System header to define __stub macros and hopefully few prototypes,
20734     which can conflict with char $ac_func (); below.
20735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20736     <limits.h> exists even on freestanding compilers.  */
20737
20738 #ifdef __STDC__
20739 # include <limits.h>
20740 #else
20741 # include <assert.h>
20742 #endif
20743
20744 #undef $ac_func
20745
20746 /* Override any gcc2 internal prototype to avoid an error.  */
20747 #ifdef __cplusplus
20748 extern "C"
20749 {
20750 #endif
20751 /* We use char because int might match the return type of a gcc2
20752    builtin and then its argument prototype would still apply.  */
20753 char $ac_func ();
20754 /* The GNU C library defines this for functions which it implements
20755     to always fail with ENOSYS.  Some functions are actually named
20756     something starting with __ and the normal name is an alias.  */
20757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20758 choke me
20759 #else
20760 char (*f) () = $ac_func;
20761 #endif
20762 #ifdef __cplusplus
20763 }
20764 #endif
20765
20766 int
20767 main ()
20768 {
20769 return f != $ac_func;
20770   ;
20771   return 0;
20772 }
20773 _ACEOF
20774 rm -f conftest.$ac_objext conftest$ac_exeext
20775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20776   (eval $ac_link) 2>conftest.er1
20777   ac_status=$?
20778   grep -v '^ *+' conftest.er1 >conftest.err
20779   rm -f conftest.er1
20780   cat conftest.err >&5
20781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782   (exit $ac_status); } &&
20783          { ac_try='test -z "$ac_c_werror_flag"
20784                          || test ! -s conftest.err'
20785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20786   (eval $ac_try) 2>&5
20787   ac_status=$?
20788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789   (exit $ac_status); }; } &&
20790          { ac_try='test -s conftest$ac_exeext'
20791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20792   (eval $ac_try) 2>&5
20793   ac_status=$?
20794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20795   (exit $ac_status); }; }; then
20796   eval "$as_ac_var=yes"
20797 else
20798   echo "$as_me: failed program was:" >&5
20799 sed 's/^/| /' conftest.$ac_ext >&5
20800
20801 eval "$as_ac_var=no"
20802 fi
20803 rm -f conftest.err conftest.$ac_objext \
20804       conftest$ac_exeext conftest.$ac_ext
20805 fi
20806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20808 if test `eval echo '${'$as_ac_var'}'` = yes; then
20809   cat >>confdefs.h <<_ACEOF
20810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20811 _ACEOF
20812
20813 fi
20814 done
20815
20816   else
20817
20818   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20819 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20820   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20821     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20822   echo $ECHO_N "(cached) $ECHO_C" >&6
20823 else
20824
20825
20826
20827       ac_ext=cc
20828 ac_cpp='$CXXCPP $CPPFLAGS'
20829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20832
20833       cat >conftest.$ac_ext <<_ACEOF
20834 /* confdefs.h.  */
20835 _ACEOF
20836 cat confdefs.h >>conftest.$ac_ext
20837 cat >>conftest.$ac_ext <<_ACEOF
20838 /* end confdefs.h.  */
20839 #include <math.h>
20840 int
20841 main ()
20842 {
20843  _atan2l(0, 0);
20844   ;
20845   return 0;
20846 }
20847 _ACEOF
20848 rm -f conftest.$ac_objext
20849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20850   (eval $ac_compile) 2>conftest.er1
20851   ac_status=$?
20852   grep -v '^ *+' conftest.er1 >conftest.err
20853   rm -f conftest.er1
20854   cat conftest.err >&5
20855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856   (exit $ac_status); } &&
20857          { ac_try='test -z "$ac_cxx_werror_flag"
20858                          || test ! -s conftest.err'
20859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860   (eval $ac_try) 2>&5
20861   ac_status=$?
20862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863   (exit $ac_status); }; } &&
20864          { ac_try='test -s conftest.$ac_objext'
20865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866   (eval $ac_try) 2>&5
20867   ac_status=$?
20868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869   (exit $ac_status); }; }; then
20870   glibcxx_cv_func__atan2l_use=yes
20871 else
20872   echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.$ac_ext >&5
20874
20875 glibcxx_cv_func__atan2l_use=no
20876 fi
20877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20878       ac_ext=c
20879 ac_cpp='$CPP $CPPFLAGS'
20880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20883
20884
20885 fi
20886
20887   fi
20888   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20889 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20890
20891     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20892
20893 for ac_func in _atan2l
20894 do
20895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20896 echo "$as_me:$LINENO: checking for $ac_func" >&5
20897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20898 if eval "test \"\${$as_ac_var+set}\" = set"; then
20899   echo $ECHO_N "(cached) $ECHO_C" >&6
20900 else
20901   if test x$gcc_no_link = xyes; then
20902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20904    { (exit 1); exit 1; }; }
20905 fi
20906 cat >conftest.$ac_ext <<_ACEOF
20907 /* confdefs.h.  */
20908 _ACEOF
20909 cat confdefs.h >>conftest.$ac_ext
20910 cat >>conftest.$ac_ext <<_ACEOF
20911 /* end confdefs.h.  */
20912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20914 #define $ac_func innocuous_$ac_func
20915
20916 /* System header to define __stub macros and hopefully few prototypes,
20917     which can conflict with char $ac_func (); below.
20918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20919     <limits.h> exists even on freestanding compilers.  */
20920
20921 #ifdef __STDC__
20922 # include <limits.h>
20923 #else
20924 # include <assert.h>
20925 #endif
20926
20927 #undef $ac_func
20928
20929 /* Override any gcc2 internal prototype to avoid an error.  */
20930 #ifdef __cplusplus
20931 extern "C"
20932 {
20933 #endif
20934 /* We use char because int might match the return type of a gcc2
20935    builtin and then its argument prototype would still apply.  */
20936 char $ac_func ();
20937 /* The GNU C library defines this for functions which it implements
20938     to always fail with ENOSYS.  Some functions are actually named
20939     something starting with __ and the normal name is an alias.  */
20940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20941 choke me
20942 #else
20943 char (*f) () = $ac_func;
20944 #endif
20945 #ifdef __cplusplus
20946 }
20947 #endif
20948
20949 int
20950 main ()
20951 {
20952 return f != $ac_func;
20953   ;
20954   return 0;
20955 }
20956 _ACEOF
20957 rm -f conftest.$ac_objext conftest$ac_exeext
20958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20959   (eval $ac_link) 2>conftest.er1
20960   ac_status=$?
20961   grep -v '^ *+' conftest.er1 >conftest.err
20962   rm -f conftest.er1
20963   cat conftest.err >&5
20964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965   (exit $ac_status); } &&
20966          { ac_try='test -z "$ac_c_werror_flag"
20967                          || test ! -s conftest.err'
20968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969   (eval $ac_try) 2>&5
20970   ac_status=$?
20971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972   (exit $ac_status); }; } &&
20973          { ac_try='test -s conftest$ac_exeext'
20974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20975   (eval $ac_try) 2>&5
20976   ac_status=$?
20977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978   (exit $ac_status); }; }; then
20979   eval "$as_ac_var=yes"
20980 else
20981   echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20983
20984 eval "$as_ac_var=no"
20985 fi
20986 rm -f conftest.err conftest.$ac_objext \
20987       conftest$ac_exeext conftest.$ac_ext
20988 fi
20989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20991 if test `eval echo '${'$as_ac_var'}'` = yes; then
20992   cat >>confdefs.h <<_ACEOF
20993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20994 _ACEOF
20995
20996 fi
20997 done
20998
20999     fi
21000   fi
21001
21002
21003
21004
21005
21006
21007   echo "$as_me:$LINENO: checking for expl declaration" >&5
21008 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21009   if test x${glibcxx_cv_func_expl_use+set} != xset; then
21010     if test "${glibcxx_cv_func_expl_use+set}" = set; then
21011   echo $ECHO_N "(cached) $ECHO_C" >&6
21012 else
21013
21014
21015
21016       ac_ext=cc
21017 ac_cpp='$CXXCPP $CPPFLAGS'
21018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21021
21022       cat >conftest.$ac_ext <<_ACEOF
21023 /* confdefs.h.  */
21024 _ACEOF
21025 cat confdefs.h >>conftest.$ac_ext
21026 cat >>conftest.$ac_ext <<_ACEOF
21027 /* end confdefs.h.  */
21028 #include <math.h>
21029                       #ifdef HAVE_IEEEFP_H
21030                       #include <ieeefp.h>
21031                       #endif
21032
21033 int
21034 main ()
21035 {
21036  expl(0);
21037   ;
21038   return 0;
21039 }
21040 _ACEOF
21041 rm -f conftest.$ac_objext
21042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21043   (eval $ac_compile) 2>conftest.er1
21044   ac_status=$?
21045   grep -v '^ *+' conftest.er1 >conftest.err
21046   rm -f conftest.er1
21047   cat conftest.err >&5
21048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049   (exit $ac_status); } &&
21050          { ac_try='test -z "$ac_cxx_werror_flag"
21051                          || test ! -s conftest.err'
21052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053   (eval $ac_try) 2>&5
21054   ac_status=$?
21055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056   (exit $ac_status); }; } &&
21057          { ac_try='test -s conftest.$ac_objext'
21058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21059   (eval $ac_try) 2>&5
21060   ac_status=$?
21061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062   (exit $ac_status); }; }; then
21063   glibcxx_cv_func_expl_use=yes
21064 else
21065   echo "$as_me: failed program was:" >&5
21066 sed 's/^/| /' conftest.$ac_ext >&5
21067
21068 glibcxx_cv_func_expl_use=no
21069 fi
21070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21071       ac_ext=c
21072 ac_cpp='$CPP $CPPFLAGS'
21073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21076
21077
21078 fi
21079
21080   fi
21081   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21082 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21083
21084   if test x$glibcxx_cv_func_expl_use = x"yes"; then
21085
21086 for ac_func in expl
21087 do
21088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21089 echo "$as_me:$LINENO: checking for $ac_func" >&5
21090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21091 if eval "test \"\${$as_ac_var+set}\" = set"; then
21092   echo $ECHO_N "(cached) $ECHO_C" >&6
21093 else
21094   if test x$gcc_no_link = xyes; then
21095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21097    { (exit 1); exit 1; }; }
21098 fi
21099 cat >conftest.$ac_ext <<_ACEOF
21100 /* confdefs.h.  */
21101 _ACEOF
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h.  */
21105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21107 #define $ac_func innocuous_$ac_func
21108
21109 /* System header to define __stub macros and hopefully few prototypes,
21110     which can conflict with char $ac_func (); below.
21111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21112     <limits.h> exists even on freestanding compilers.  */
21113
21114 #ifdef __STDC__
21115 # include <limits.h>
21116 #else
21117 # include <assert.h>
21118 #endif
21119
21120 #undef $ac_func
21121
21122 /* Override any gcc2 internal prototype to avoid an error.  */
21123 #ifdef __cplusplus
21124 extern "C"
21125 {
21126 #endif
21127 /* We use char because int might match the return type of a gcc2
21128    builtin and then its argument prototype would still apply.  */
21129 char $ac_func ();
21130 /* The GNU C library defines this for functions which it implements
21131     to always fail with ENOSYS.  Some functions are actually named
21132     something starting with __ and the normal name is an alias.  */
21133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21134 choke me
21135 #else
21136 char (*f) () = $ac_func;
21137 #endif
21138 #ifdef __cplusplus
21139 }
21140 #endif
21141
21142 int
21143 main ()
21144 {
21145 return f != $ac_func;
21146   ;
21147   return 0;
21148 }
21149 _ACEOF
21150 rm -f conftest.$ac_objext conftest$ac_exeext
21151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21152   (eval $ac_link) 2>conftest.er1
21153   ac_status=$?
21154   grep -v '^ *+' conftest.er1 >conftest.err
21155   rm -f conftest.er1
21156   cat conftest.err >&5
21157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158   (exit $ac_status); } &&
21159          { ac_try='test -z "$ac_c_werror_flag"
21160                          || test ! -s conftest.err'
21161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21162   (eval $ac_try) 2>&5
21163   ac_status=$?
21164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165   (exit $ac_status); }; } &&
21166          { ac_try='test -s conftest$ac_exeext'
21167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21168   (eval $ac_try) 2>&5
21169   ac_status=$?
21170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171   (exit $ac_status); }; }; then
21172   eval "$as_ac_var=yes"
21173 else
21174   echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21176
21177 eval "$as_ac_var=no"
21178 fi
21179 rm -f conftest.err conftest.$ac_objext \
21180       conftest$ac_exeext conftest.$ac_ext
21181 fi
21182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21184 if test `eval echo '${'$as_ac_var'}'` = yes; then
21185   cat >>confdefs.h <<_ACEOF
21186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21187 _ACEOF
21188
21189 fi
21190 done
21191
21192   else
21193
21194   echo "$as_me:$LINENO: checking for _expl declaration" >&5
21195 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21196   if test x${glibcxx_cv_func__expl_use+set} != xset; then
21197     if test "${glibcxx_cv_func__expl_use+set}" = set; then
21198   echo $ECHO_N "(cached) $ECHO_C" >&6
21199 else
21200
21201
21202
21203       ac_ext=cc
21204 ac_cpp='$CXXCPP $CPPFLAGS'
21205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21208
21209       cat >conftest.$ac_ext <<_ACEOF
21210 /* confdefs.h.  */
21211 _ACEOF
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h.  */
21215 #include <math.h>
21216                       #ifdef HAVE_IEEEFP_H
21217                       #include <ieeefp.h>
21218                       #endif
21219
21220 int
21221 main ()
21222 {
21223  _expl(0);
21224   ;
21225   return 0;
21226 }
21227 _ACEOF
21228 rm -f conftest.$ac_objext
21229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21230   (eval $ac_compile) 2>conftest.er1
21231   ac_status=$?
21232   grep -v '^ *+' conftest.er1 >conftest.err
21233   rm -f conftest.er1
21234   cat conftest.err >&5
21235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236   (exit $ac_status); } &&
21237          { ac_try='test -z "$ac_cxx_werror_flag"
21238                          || test ! -s conftest.err'
21239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240   (eval $ac_try) 2>&5
21241   ac_status=$?
21242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243   (exit $ac_status); }; } &&
21244          { ac_try='test -s conftest.$ac_objext'
21245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246   (eval $ac_try) 2>&5
21247   ac_status=$?
21248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249   (exit $ac_status); }; }; then
21250   glibcxx_cv_func__expl_use=yes
21251 else
21252   echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.$ac_ext >&5
21254
21255 glibcxx_cv_func__expl_use=no
21256 fi
21257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21258       ac_ext=c
21259 ac_cpp='$CPP $CPPFLAGS'
21260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21263
21264
21265 fi
21266
21267   fi
21268   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21269 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21270
21271     if test x$glibcxx_cv_func__expl_use = x"yes"; then
21272
21273 for ac_func in _expl
21274 do
21275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21276 echo "$as_me:$LINENO: checking for $ac_func" >&5
21277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21278 if eval "test \"\${$as_ac_var+set}\" = set"; then
21279   echo $ECHO_N "(cached) $ECHO_C" >&6
21280 else
21281   if test x$gcc_no_link = xyes; then
21282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21284    { (exit 1); exit 1; }; }
21285 fi
21286 cat >conftest.$ac_ext <<_ACEOF
21287 /* confdefs.h.  */
21288 _ACEOF
21289 cat confdefs.h >>conftest.$ac_ext
21290 cat >>conftest.$ac_ext <<_ACEOF
21291 /* end confdefs.h.  */
21292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21293    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21294 #define $ac_func innocuous_$ac_func
21295
21296 /* System header to define __stub macros and hopefully few prototypes,
21297     which can conflict with char $ac_func (); below.
21298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21299     <limits.h> exists even on freestanding compilers.  */
21300
21301 #ifdef __STDC__
21302 # include <limits.h>
21303 #else
21304 # include <assert.h>
21305 #endif
21306
21307 #undef $ac_func
21308
21309 /* Override any gcc2 internal prototype to avoid an error.  */
21310 #ifdef __cplusplus
21311 extern "C"
21312 {
21313 #endif
21314 /* We use char because int might match the return type of a gcc2
21315    builtin and then its argument prototype would still apply.  */
21316 char $ac_func ();
21317 /* The GNU C library defines this for functions which it implements
21318     to always fail with ENOSYS.  Some functions are actually named
21319     something starting with __ and the normal name is an alias.  */
21320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21321 choke me
21322 #else
21323 char (*f) () = $ac_func;
21324 #endif
21325 #ifdef __cplusplus
21326 }
21327 #endif
21328
21329 int
21330 main ()
21331 {
21332 return f != $ac_func;
21333   ;
21334   return 0;
21335 }
21336 _ACEOF
21337 rm -f conftest.$ac_objext conftest$ac_exeext
21338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21339   (eval $ac_link) 2>conftest.er1
21340   ac_status=$?
21341   grep -v '^ *+' conftest.er1 >conftest.err
21342   rm -f conftest.er1
21343   cat conftest.err >&5
21344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345   (exit $ac_status); } &&
21346          { ac_try='test -z "$ac_c_werror_flag"
21347                          || test ! -s conftest.err'
21348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21349   (eval $ac_try) 2>&5
21350   ac_status=$?
21351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352   (exit $ac_status); }; } &&
21353          { ac_try='test -s conftest$ac_exeext'
21354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21355   (eval $ac_try) 2>&5
21356   ac_status=$?
21357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358   (exit $ac_status); }; }; then
21359   eval "$as_ac_var=yes"
21360 else
21361   echo "$as_me: failed program was:" >&5
21362 sed 's/^/| /' conftest.$ac_ext >&5
21363
21364 eval "$as_ac_var=no"
21365 fi
21366 rm -f conftest.err conftest.$ac_objext \
21367       conftest$ac_exeext conftest.$ac_ext
21368 fi
21369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21371 if test `eval echo '${'$as_ac_var'}'` = yes; then
21372   cat >>confdefs.h <<_ACEOF
21373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21374 _ACEOF
21375
21376 fi
21377 done
21378
21379     fi
21380   fi
21381
21382
21383
21384
21385
21386
21387   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21388 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21389   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21390     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21391   echo $ECHO_N "(cached) $ECHO_C" >&6
21392 else
21393
21394
21395
21396       ac_ext=cc
21397 ac_cpp='$CXXCPP $CPPFLAGS'
21398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21401
21402       cat >conftest.$ac_ext <<_ACEOF
21403 /* confdefs.h.  */
21404 _ACEOF
21405 cat confdefs.h >>conftest.$ac_ext
21406 cat >>conftest.$ac_ext <<_ACEOF
21407 /* end confdefs.h.  */
21408 #include <math.h>
21409                       #ifdef HAVE_IEEEFP_H
21410                       #include <ieeefp.h>
21411                       #endif
21412
21413 int
21414 main ()
21415 {
21416  fabsl(0);
21417   ;
21418   return 0;
21419 }
21420 _ACEOF
21421 rm -f conftest.$ac_objext
21422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21423   (eval $ac_compile) 2>conftest.er1
21424   ac_status=$?
21425   grep -v '^ *+' conftest.er1 >conftest.err
21426   rm -f conftest.er1
21427   cat conftest.err >&5
21428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429   (exit $ac_status); } &&
21430          { ac_try='test -z "$ac_cxx_werror_flag"
21431                          || test ! -s conftest.err'
21432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21433   (eval $ac_try) 2>&5
21434   ac_status=$?
21435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436   (exit $ac_status); }; } &&
21437          { ac_try='test -s conftest.$ac_objext'
21438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21439   (eval $ac_try) 2>&5
21440   ac_status=$?
21441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442   (exit $ac_status); }; }; then
21443   glibcxx_cv_func_fabsl_use=yes
21444 else
21445   echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.$ac_ext >&5
21447
21448 glibcxx_cv_func_fabsl_use=no
21449 fi
21450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21451       ac_ext=c
21452 ac_cpp='$CPP $CPPFLAGS'
21453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21456
21457
21458 fi
21459
21460   fi
21461   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21462 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21463
21464   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21465
21466 for ac_func in fabsl
21467 do
21468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21469 echo "$as_me:$LINENO: checking for $ac_func" >&5
21470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21471 if eval "test \"\${$as_ac_var+set}\" = set"; then
21472   echo $ECHO_N "(cached) $ECHO_C" >&6
21473 else
21474   if test x$gcc_no_link = xyes; then
21475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21477    { (exit 1); exit 1; }; }
21478 fi
21479 cat >conftest.$ac_ext <<_ACEOF
21480 /* confdefs.h.  */
21481 _ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h.  */
21485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21486    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21487 #define $ac_func innocuous_$ac_func
21488
21489 /* System header to define __stub macros and hopefully few prototypes,
21490     which can conflict with char $ac_func (); below.
21491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21492     <limits.h> exists even on freestanding compilers.  */
21493
21494 #ifdef __STDC__
21495 # include <limits.h>
21496 #else
21497 # include <assert.h>
21498 #endif
21499
21500 #undef $ac_func
21501
21502 /* Override any gcc2 internal prototype to avoid an error.  */
21503 #ifdef __cplusplus
21504 extern "C"
21505 {
21506 #endif
21507 /* We use char because int might match the return type of a gcc2
21508    builtin and then its argument prototype would still apply.  */
21509 char $ac_func ();
21510 /* The GNU C library defines this for functions which it implements
21511     to always fail with ENOSYS.  Some functions are actually named
21512     something starting with __ and the normal name is an alias.  */
21513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21514 choke me
21515 #else
21516 char (*f) () = $ac_func;
21517 #endif
21518 #ifdef __cplusplus
21519 }
21520 #endif
21521
21522 int
21523 main ()
21524 {
21525 return f != $ac_func;
21526   ;
21527   return 0;
21528 }
21529 _ACEOF
21530 rm -f conftest.$ac_objext conftest$ac_exeext
21531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21532   (eval $ac_link) 2>conftest.er1
21533   ac_status=$?
21534   grep -v '^ *+' conftest.er1 >conftest.err
21535   rm -f conftest.er1
21536   cat conftest.err >&5
21537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538   (exit $ac_status); } &&
21539          { ac_try='test -z "$ac_c_werror_flag"
21540                          || test ! -s conftest.err'
21541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21542   (eval $ac_try) 2>&5
21543   ac_status=$?
21544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545   (exit $ac_status); }; } &&
21546          { ac_try='test -s conftest$ac_exeext'
21547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21548   (eval $ac_try) 2>&5
21549   ac_status=$?
21550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551   (exit $ac_status); }; }; then
21552   eval "$as_ac_var=yes"
21553 else
21554   echo "$as_me: failed program was:" >&5
21555 sed 's/^/| /' conftest.$ac_ext >&5
21556
21557 eval "$as_ac_var=no"
21558 fi
21559 rm -f conftest.err conftest.$ac_objext \
21560       conftest$ac_exeext conftest.$ac_ext
21561 fi
21562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21564 if test `eval echo '${'$as_ac_var'}'` = yes; then
21565   cat >>confdefs.h <<_ACEOF
21566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21567 _ACEOF
21568
21569 fi
21570 done
21571
21572   else
21573
21574   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21575 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21576   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21577     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21578   echo $ECHO_N "(cached) $ECHO_C" >&6
21579 else
21580
21581
21582
21583       ac_ext=cc
21584 ac_cpp='$CXXCPP $CPPFLAGS'
21585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21588
21589       cat >conftest.$ac_ext <<_ACEOF
21590 /* confdefs.h.  */
21591 _ACEOF
21592 cat confdefs.h >>conftest.$ac_ext
21593 cat >>conftest.$ac_ext <<_ACEOF
21594 /* end confdefs.h.  */
21595 #include <math.h>
21596                       #ifdef HAVE_IEEEFP_H
21597                       #include <ieeefp.h>
21598                       #endif
21599
21600 int
21601 main ()
21602 {
21603  _fabsl(0);
21604   ;
21605   return 0;
21606 }
21607 _ACEOF
21608 rm -f conftest.$ac_objext
21609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21610   (eval $ac_compile) 2>conftest.er1
21611   ac_status=$?
21612   grep -v '^ *+' conftest.er1 >conftest.err
21613   rm -f conftest.er1
21614   cat conftest.err >&5
21615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616   (exit $ac_status); } &&
21617          { ac_try='test -z "$ac_cxx_werror_flag"
21618                          || test ! -s conftest.err'
21619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21620   (eval $ac_try) 2>&5
21621   ac_status=$?
21622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623   (exit $ac_status); }; } &&
21624          { ac_try='test -s conftest.$ac_objext'
21625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21626   (eval $ac_try) 2>&5
21627   ac_status=$?
21628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629   (exit $ac_status); }; }; then
21630   glibcxx_cv_func__fabsl_use=yes
21631 else
21632   echo "$as_me: failed program was:" >&5
21633 sed 's/^/| /' conftest.$ac_ext >&5
21634
21635 glibcxx_cv_func__fabsl_use=no
21636 fi
21637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21638       ac_ext=c
21639 ac_cpp='$CPP $CPPFLAGS'
21640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21643
21644
21645 fi
21646
21647   fi
21648   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21649 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21650
21651     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21652
21653 for ac_func in _fabsl
21654 do
21655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21656 echo "$as_me:$LINENO: checking for $ac_func" >&5
21657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21658 if eval "test \"\${$as_ac_var+set}\" = set"; then
21659   echo $ECHO_N "(cached) $ECHO_C" >&6
21660 else
21661   if test x$gcc_no_link = xyes; then
21662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21664    { (exit 1); exit 1; }; }
21665 fi
21666 cat >conftest.$ac_ext <<_ACEOF
21667 /* confdefs.h.  */
21668 _ACEOF
21669 cat confdefs.h >>conftest.$ac_ext
21670 cat >>conftest.$ac_ext <<_ACEOF
21671 /* end confdefs.h.  */
21672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21674 #define $ac_func innocuous_$ac_func
21675
21676 /* System header to define __stub macros and hopefully few prototypes,
21677     which can conflict with char $ac_func (); below.
21678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21679     <limits.h> exists even on freestanding compilers.  */
21680
21681 #ifdef __STDC__
21682 # include <limits.h>
21683 #else
21684 # include <assert.h>
21685 #endif
21686
21687 #undef $ac_func
21688
21689 /* Override any gcc2 internal prototype to avoid an error.  */
21690 #ifdef __cplusplus
21691 extern "C"
21692 {
21693 #endif
21694 /* We use char because int might match the return type of a gcc2
21695    builtin and then its argument prototype would still apply.  */
21696 char $ac_func ();
21697 /* The GNU C library defines this for functions which it implements
21698     to always fail with ENOSYS.  Some functions are actually named
21699     something starting with __ and the normal name is an alias.  */
21700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21701 choke me
21702 #else
21703 char (*f) () = $ac_func;
21704 #endif
21705 #ifdef __cplusplus
21706 }
21707 #endif
21708
21709 int
21710 main ()
21711 {
21712 return f != $ac_func;
21713   ;
21714   return 0;
21715 }
21716 _ACEOF
21717 rm -f conftest.$ac_objext conftest$ac_exeext
21718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21719   (eval $ac_link) 2>conftest.er1
21720   ac_status=$?
21721   grep -v '^ *+' conftest.er1 >conftest.err
21722   rm -f conftest.er1
21723   cat conftest.err >&5
21724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725   (exit $ac_status); } &&
21726          { ac_try='test -z "$ac_c_werror_flag"
21727                          || test ! -s conftest.err'
21728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21729   (eval $ac_try) 2>&5
21730   ac_status=$?
21731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732   (exit $ac_status); }; } &&
21733          { ac_try='test -s conftest$ac_exeext'
21734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21735   (eval $ac_try) 2>&5
21736   ac_status=$?
21737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738   (exit $ac_status); }; }; then
21739   eval "$as_ac_var=yes"
21740 else
21741   echo "$as_me: failed program was:" >&5
21742 sed 's/^/| /' conftest.$ac_ext >&5
21743
21744 eval "$as_ac_var=no"
21745 fi
21746 rm -f conftest.err conftest.$ac_objext \
21747       conftest$ac_exeext conftest.$ac_ext
21748 fi
21749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21751 if test `eval echo '${'$as_ac_var'}'` = yes; then
21752   cat >>confdefs.h <<_ACEOF
21753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21754 _ACEOF
21755
21756 fi
21757 done
21758
21759     fi
21760   fi
21761
21762
21763
21764
21765
21766
21767   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21768 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21769   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21770     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21771   echo $ECHO_N "(cached) $ECHO_C" >&6
21772 else
21773
21774
21775
21776       ac_ext=cc
21777 ac_cpp='$CXXCPP $CPPFLAGS'
21778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21781
21782       cat >conftest.$ac_ext <<_ACEOF
21783 /* confdefs.h.  */
21784 _ACEOF
21785 cat confdefs.h >>conftest.$ac_ext
21786 cat >>conftest.$ac_ext <<_ACEOF
21787 /* end confdefs.h.  */
21788 #include <math.h>
21789 int
21790 main ()
21791 {
21792  fmodl(0, 0);
21793   ;
21794   return 0;
21795 }
21796 _ACEOF
21797 rm -f conftest.$ac_objext
21798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21799   (eval $ac_compile) 2>conftest.er1
21800   ac_status=$?
21801   grep -v '^ *+' conftest.er1 >conftest.err
21802   rm -f conftest.er1
21803   cat conftest.err >&5
21804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805   (exit $ac_status); } &&
21806          { ac_try='test -z "$ac_cxx_werror_flag"
21807                          || test ! -s conftest.err'
21808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21809   (eval $ac_try) 2>&5
21810   ac_status=$?
21811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812   (exit $ac_status); }; } &&
21813          { ac_try='test -s conftest.$ac_objext'
21814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21815   (eval $ac_try) 2>&5
21816   ac_status=$?
21817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818   (exit $ac_status); }; }; then
21819   glibcxx_cv_func_fmodl_use=yes
21820 else
21821   echo "$as_me: failed program was:" >&5
21822 sed 's/^/| /' conftest.$ac_ext >&5
21823
21824 glibcxx_cv_func_fmodl_use=no
21825 fi
21826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21827       ac_ext=c
21828 ac_cpp='$CPP $CPPFLAGS'
21829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21832
21833
21834 fi
21835
21836   fi
21837   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21838 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21839
21840   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21841
21842 for ac_func in fmodl
21843 do
21844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21845 echo "$as_me:$LINENO: checking for $ac_func" >&5
21846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21847 if eval "test \"\${$as_ac_var+set}\" = set"; then
21848   echo $ECHO_N "(cached) $ECHO_C" >&6
21849 else
21850   if test x$gcc_no_link = xyes; then
21851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21853    { (exit 1); exit 1; }; }
21854 fi
21855 cat >conftest.$ac_ext <<_ACEOF
21856 /* confdefs.h.  */
21857 _ACEOF
21858 cat confdefs.h >>conftest.$ac_ext
21859 cat >>conftest.$ac_ext <<_ACEOF
21860 /* end confdefs.h.  */
21861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21862    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21863 #define $ac_func innocuous_$ac_func
21864
21865 /* System header to define __stub macros and hopefully few prototypes,
21866     which can conflict with char $ac_func (); below.
21867     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21868     <limits.h> exists even on freestanding compilers.  */
21869
21870 #ifdef __STDC__
21871 # include <limits.h>
21872 #else
21873 # include <assert.h>
21874 #endif
21875
21876 #undef $ac_func
21877
21878 /* Override any gcc2 internal prototype to avoid an error.  */
21879 #ifdef __cplusplus
21880 extern "C"
21881 {
21882 #endif
21883 /* We use char because int might match the return type of a gcc2
21884    builtin and then its argument prototype would still apply.  */
21885 char $ac_func ();
21886 /* The GNU C library defines this for functions which it implements
21887     to always fail with ENOSYS.  Some functions are actually named
21888     something starting with __ and the normal name is an alias.  */
21889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21890 choke me
21891 #else
21892 char (*f) () = $ac_func;
21893 #endif
21894 #ifdef __cplusplus
21895 }
21896 #endif
21897
21898 int
21899 main ()
21900 {
21901 return f != $ac_func;
21902   ;
21903   return 0;
21904 }
21905 _ACEOF
21906 rm -f conftest.$ac_objext conftest$ac_exeext
21907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21908   (eval $ac_link) 2>conftest.er1
21909   ac_status=$?
21910   grep -v '^ *+' conftest.er1 >conftest.err
21911   rm -f conftest.er1
21912   cat conftest.err >&5
21913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914   (exit $ac_status); } &&
21915          { ac_try='test -z "$ac_c_werror_flag"
21916                          || test ! -s conftest.err'
21917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21918   (eval $ac_try) 2>&5
21919   ac_status=$?
21920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921   (exit $ac_status); }; } &&
21922          { ac_try='test -s conftest$ac_exeext'
21923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924   (eval $ac_try) 2>&5
21925   ac_status=$?
21926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927   (exit $ac_status); }; }; then
21928   eval "$as_ac_var=yes"
21929 else
21930   echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21932
21933 eval "$as_ac_var=no"
21934 fi
21935 rm -f conftest.err conftest.$ac_objext \
21936       conftest$ac_exeext conftest.$ac_ext
21937 fi
21938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21940 if test `eval echo '${'$as_ac_var'}'` = yes; then
21941   cat >>confdefs.h <<_ACEOF
21942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21943 _ACEOF
21944
21945 fi
21946 done
21947
21948   else
21949
21950   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21951 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21952   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21953     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21954   echo $ECHO_N "(cached) $ECHO_C" >&6
21955 else
21956
21957
21958
21959       ac_ext=cc
21960 ac_cpp='$CXXCPP $CPPFLAGS'
21961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21964
21965       cat >conftest.$ac_ext <<_ACEOF
21966 /* confdefs.h.  */
21967 _ACEOF
21968 cat confdefs.h >>conftest.$ac_ext
21969 cat >>conftest.$ac_ext <<_ACEOF
21970 /* end confdefs.h.  */
21971 #include <math.h>
21972 int
21973 main ()
21974 {
21975  _fmodl(0, 0);
21976   ;
21977   return 0;
21978 }
21979 _ACEOF
21980 rm -f conftest.$ac_objext
21981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21982   (eval $ac_compile) 2>conftest.er1
21983   ac_status=$?
21984   grep -v '^ *+' conftest.er1 >conftest.err
21985   rm -f conftest.er1
21986   cat conftest.err >&5
21987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988   (exit $ac_status); } &&
21989          { ac_try='test -z "$ac_cxx_werror_flag"
21990                          || test ! -s conftest.err'
21991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21992   (eval $ac_try) 2>&5
21993   ac_status=$?
21994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995   (exit $ac_status); }; } &&
21996          { ac_try='test -s conftest.$ac_objext'
21997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21998   (eval $ac_try) 2>&5
21999   ac_status=$?
22000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001   (exit $ac_status); }; }; then
22002   glibcxx_cv_func__fmodl_use=yes
22003 else
22004   echo "$as_me: failed program was:" >&5
22005 sed 's/^/| /' conftest.$ac_ext >&5
22006
22007 glibcxx_cv_func__fmodl_use=no
22008 fi
22009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22010       ac_ext=c
22011 ac_cpp='$CPP $CPPFLAGS'
22012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22015
22016
22017 fi
22018
22019   fi
22020   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22021 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22022
22023     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22024
22025 for ac_func in _fmodl
22026 do
22027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22028 echo "$as_me:$LINENO: checking for $ac_func" >&5
22029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22030 if eval "test \"\${$as_ac_var+set}\" = set"; then
22031   echo $ECHO_N "(cached) $ECHO_C" >&6
22032 else
22033   if test x$gcc_no_link = xyes; then
22034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22036    { (exit 1); exit 1; }; }
22037 fi
22038 cat >conftest.$ac_ext <<_ACEOF
22039 /* confdefs.h.  */
22040 _ACEOF
22041 cat confdefs.h >>conftest.$ac_ext
22042 cat >>conftest.$ac_ext <<_ACEOF
22043 /* end confdefs.h.  */
22044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22046 #define $ac_func innocuous_$ac_func
22047
22048 /* System header to define __stub macros and hopefully few prototypes,
22049     which can conflict with char $ac_func (); below.
22050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22051     <limits.h> exists even on freestanding compilers.  */
22052
22053 #ifdef __STDC__
22054 # include <limits.h>
22055 #else
22056 # include <assert.h>
22057 #endif
22058
22059 #undef $ac_func
22060
22061 /* Override any gcc2 internal prototype to avoid an error.  */
22062 #ifdef __cplusplus
22063 extern "C"
22064 {
22065 #endif
22066 /* We use char because int might match the return type of a gcc2
22067    builtin and then its argument prototype would still apply.  */
22068 char $ac_func ();
22069 /* The GNU C library defines this for functions which it implements
22070     to always fail with ENOSYS.  Some functions are actually named
22071     something starting with __ and the normal name is an alias.  */
22072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22073 choke me
22074 #else
22075 char (*f) () = $ac_func;
22076 #endif
22077 #ifdef __cplusplus
22078 }
22079 #endif
22080
22081 int
22082 main ()
22083 {
22084 return f != $ac_func;
22085   ;
22086   return 0;
22087 }
22088 _ACEOF
22089 rm -f conftest.$ac_objext conftest$ac_exeext
22090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22091   (eval $ac_link) 2>conftest.er1
22092   ac_status=$?
22093   grep -v '^ *+' conftest.er1 >conftest.err
22094   rm -f conftest.er1
22095   cat conftest.err >&5
22096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097   (exit $ac_status); } &&
22098          { ac_try='test -z "$ac_c_werror_flag"
22099                          || test ! -s conftest.err'
22100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22101   (eval $ac_try) 2>&5
22102   ac_status=$?
22103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104   (exit $ac_status); }; } &&
22105          { ac_try='test -s conftest$ac_exeext'
22106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22107   (eval $ac_try) 2>&5
22108   ac_status=$?
22109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110   (exit $ac_status); }; }; then
22111   eval "$as_ac_var=yes"
22112 else
22113   echo "$as_me: failed program was:" >&5
22114 sed 's/^/| /' conftest.$ac_ext >&5
22115
22116 eval "$as_ac_var=no"
22117 fi
22118 rm -f conftest.err conftest.$ac_objext \
22119       conftest$ac_exeext conftest.$ac_ext
22120 fi
22121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22123 if test `eval echo '${'$as_ac_var'}'` = yes; then
22124   cat >>confdefs.h <<_ACEOF
22125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22126 _ACEOF
22127
22128 fi
22129 done
22130
22131     fi
22132   fi
22133
22134
22135
22136
22137
22138
22139   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22140 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22141   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22142     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22143   echo $ECHO_N "(cached) $ECHO_C" >&6
22144 else
22145
22146
22147
22148       ac_ext=cc
22149 ac_cpp='$CXXCPP $CPPFLAGS'
22150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22153
22154       cat >conftest.$ac_ext <<_ACEOF
22155 /* confdefs.h.  */
22156 _ACEOF
22157 cat confdefs.h >>conftest.$ac_ext
22158 cat >>conftest.$ac_ext <<_ACEOF
22159 /* end confdefs.h.  */
22160 #include <math.h>
22161 int
22162 main ()
22163 {
22164  frexpl(0, 0);
22165   ;
22166   return 0;
22167 }
22168 _ACEOF
22169 rm -f conftest.$ac_objext
22170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22171   (eval $ac_compile) 2>conftest.er1
22172   ac_status=$?
22173   grep -v '^ *+' conftest.er1 >conftest.err
22174   rm -f conftest.er1
22175   cat conftest.err >&5
22176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177   (exit $ac_status); } &&
22178          { ac_try='test -z "$ac_cxx_werror_flag"
22179                          || test ! -s conftest.err'
22180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181   (eval $ac_try) 2>&5
22182   ac_status=$?
22183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184   (exit $ac_status); }; } &&
22185          { ac_try='test -s conftest.$ac_objext'
22186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22187   (eval $ac_try) 2>&5
22188   ac_status=$?
22189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190   (exit $ac_status); }; }; then
22191   glibcxx_cv_func_frexpl_use=yes
22192 else
22193   echo "$as_me: failed program was:" >&5
22194 sed 's/^/| /' conftest.$ac_ext >&5
22195
22196 glibcxx_cv_func_frexpl_use=no
22197 fi
22198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22199       ac_ext=c
22200 ac_cpp='$CPP $CPPFLAGS'
22201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22204
22205
22206 fi
22207
22208   fi
22209   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22210 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22211
22212   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22213
22214 for ac_func in frexpl
22215 do
22216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22217 echo "$as_me:$LINENO: checking for $ac_func" >&5
22218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22219 if eval "test \"\${$as_ac_var+set}\" = set"; then
22220   echo $ECHO_N "(cached) $ECHO_C" >&6
22221 else
22222   if test x$gcc_no_link = xyes; then
22223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22225    { (exit 1); exit 1; }; }
22226 fi
22227 cat >conftest.$ac_ext <<_ACEOF
22228 /* confdefs.h.  */
22229 _ACEOF
22230 cat confdefs.h >>conftest.$ac_ext
22231 cat >>conftest.$ac_ext <<_ACEOF
22232 /* end confdefs.h.  */
22233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22234    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22235 #define $ac_func innocuous_$ac_func
22236
22237 /* System header to define __stub macros and hopefully few prototypes,
22238     which can conflict with char $ac_func (); below.
22239     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22240     <limits.h> exists even on freestanding compilers.  */
22241
22242 #ifdef __STDC__
22243 # include <limits.h>
22244 #else
22245 # include <assert.h>
22246 #endif
22247
22248 #undef $ac_func
22249
22250 /* Override any gcc2 internal prototype to avoid an error.  */
22251 #ifdef __cplusplus
22252 extern "C"
22253 {
22254 #endif
22255 /* We use char because int might match the return type of a gcc2
22256    builtin and then its argument prototype would still apply.  */
22257 char $ac_func ();
22258 /* The GNU C library defines this for functions which it implements
22259     to always fail with ENOSYS.  Some functions are actually named
22260     something starting with __ and the normal name is an alias.  */
22261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22262 choke me
22263 #else
22264 char (*f) () = $ac_func;
22265 #endif
22266 #ifdef __cplusplus
22267 }
22268 #endif
22269
22270 int
22271 main ()
22272 {
22273 return f != $ac_func;
22274   ;
22275   return 0;
22276 }
22277 _ACEOF
22278 rm -f conftest.$ac_objext conftest$ac_exeext
22279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22280   (eval $ac_link) 2>conftest.er1
22281   ac_status=$?
22282   grep -v '^ *+' conftest.er1 >conftest.err
22283   rm -f conftest.er1
22284   cat conftest.err >&5
22285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286   (exit $ac_status); } &&
22287          { ac_try='test -z "$ac_c_werror_flag"
22288                          || test ! -s conftest.err'
22289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290   (eval $ac_try) 2>&5
22291   ac_status=$?
22292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293   (exit $ac_status); }; } &&
22294          { ac_try='test -s conftest$ac_exeext'
22295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296   (eval $ac_try) 2>&5
22297   ac_status=$?
22298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299   (exit $ac_status); }; }; then
22300   eval "$as_ac_var=yes"
22301 else
22302   echo "$as_me: failed program was:" >&5
22303 sed 's/^/| /' conftest.$ac_ext >&5
22304
22305 eval "$as_ac_var=no"
22306 fi
22307 rm -f conftest.err conftest.$ac_objext \
22308       conftest$ac_exeext conftest.$ac_ext
22309 fi
22310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22312 if test `eval echo '${'$as_ac_var'}'` = yes; then
22313   cat >>confdefs.h <<_ACEOF
22314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22315 _ACEOF
22316
22317 fi
22318 done
22319
22320   else
22321
22322   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22323 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22324   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22325     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22326   echo $ECHO_N "(cached) $ECHO_C" >&6
22327 else
22328
22329
22330
22331       ac_ext=cc
22332 ac_cpp='$CXXCPP $CPPFLAGS'
22333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22336
22337       cat >conftest.$ac_ext <<_ACEOF
22338 /* confdefs.h.  */
22339 _ACEOF
22340 cat confdefs.h >>conftest.$ac_ext
22341 cat >>conftest.$ac_ext <<_ACEOF
22342 /* end confdefs.h.  */
22343 #include <math.h>
22344 int
22345 main ()
22346 {
22347  _frexpl(0, 0);
22348   ;
22349   return 0;
22350 }
22351 _ACEOF
22352 rm -f conftest.$ac_objext
22353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22354   (eval $ac_compile) 2>conftest.er1
22355   ac_status=$?
22356   grep -v '^ *+' conftest.er1 >conftest.err
22357   rm -f conftest.er1
22358   cat conftest.err >&5
22359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360   (exit $ac_status); } &&
22361          { ac_try='test -z "$ac_cxx_werror_flag"
22362                          || test ! -s conftest.err'
22363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22364   (eval $ac_try) 2>&5
22365   ac_status=$?
22366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367   (exit $ac_status); }; } &&
22368          { ac_try='test -s conftest.$ac_objext'
22369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22370   (eval $ac_try) 2>&5
22371   ac_status=$?
22372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22373   (exit $ac_status); }; }; then
22374   glibcxx_cv_func__frexpl_use=yes
22375 else
22376   echo "$as_me: failed program was:" >&5
22377 sed 's/^/| /' conftest.$ac_ext >&5
22378
22379 glibcxx_cv_func__frexpl_use=no
22380 fi
22381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22382       ac_ext=c
22383 ac_cpp='$CPP $CPPFLAGS'
22384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22387
22388
22389 fi
22390
22391   fi
22392   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22393 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22394
22395     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22396
22397 for ac_func in _frexpl
22398 do
22399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22400 echo "$as_me:$LINENO: checking for $ac_func" >&5
22401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22402 if eval "test \"\${$as_ac_var+set}\" = set"; then
22403   echo $ECHO_N "(cached) $ECHO_C" >&6
22404 else
22405   if test x$gcc_no_link = xyes; then
22406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22408    { (exit 1); exit 1; }; }
22409 fi
22410 cat >conftest.$ac_ext <<_ACEOF
22411 /* confdefs.h.  */
22412 _ACEOF
22413 cat confdefs.h >>conftest.$ac_ext
22414 cat >>conftest.$ac_ext <<_ACEOF
22415 /* end confdefs.h.  */
22416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22417    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22418 #define $ac_func innocuous_$ac_func
22419
22420 /* System header to define __stub macros and hopefully few prototypes,
22421     which can conflict with char $ac_func (); below.
22422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22423     <limits.h> exists even on freestanding compilers.  */
22424
22425 #ifdef __STDC__
22426 # include <limits.h>
22427 #else
22428 # include <assert.h>
22429 #endif
22430
22431 #undef $ac_func
22432
22433 /* Override any gcc2 internal prototype to avoid an error.  */
22434 #ifdef __cplusplus
22435 extern "C"
22436 {
22437 #endif
22438 /* We use char because int might match the return type of a gcc2
22439    builtin and then its argument prototype would still apply.  */
22440 char $ac_func ();
22441 /* The GNU C library defines this for functions which it implements
22442     to always fail with ENOSYS.  Some functions are actually named
22443     something starting with __ and the normal name is an alias.  */
22444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22445 choke me
22446 #else
22447 char (*f) () = $ac_func;
22448 #endif
22449 #ifdef __cplusplus
22450 }
22451 #endif
22452
22453 int
22454 main ()
22455 {
22456 return f != $ac_func;
22457   ;
22458   return 0;
22459 }
22460 _ACEOF
22461 rm -f conftest.$ac_objext conftest$ac_exeext
22462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22463   (eval $ac_link) 2>conftest.er1
22464   ac_status=$?
22465   grep -v '^ *+' conftest.er1 >conftest.err
22466   rm -f conftest.er1
22467   cat conftest.err >&5
22468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469   (exit $ac_status); } &&
22470          { ac_try='test -z "$ac_c_werror_flag"
22471                          || test ! -s conftest.err'
22472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22473   (eval $ac_try) 2>&5
22474   ac_status=$?
22475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476   (exit $ac_status); }; } &&
22477          { ac_try='test -s conftest$ac_exeext'
22478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22479   (eval $ac_try) 2>&5
22480   ac_status=$?
22481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482   (exit $ac_status); }; }; then
22483   eval "$as_ac_var=yes"
22484 else
22485   echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.$ac_ext >&5
22487
22488 eval "$as_ac_var=no"
22489 fi
22490 rm -f conftest.err conftest.$ac_objext \
22491       conftest$ac_exeext conftest.$ac_ext
22492 fi
22493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22495 if test `eval echo '${'$as_ac_var'}'` = yes; then
22496   cat >>confdefs.h <<_ACEOF
22497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22498 _ACEOF
22499
22500 fi
22501 done
22502
22503     fi
22504   fi
22505
22506
22507
22508
22509
22510
22511   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22512 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22513   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22514     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22515   echo $ECHO_N "(cached) $ECHO_C" >&6
22516 else
22517
22518
22519
22520       ac_ext=cc
22521 ac_cpp='$CXXCPP $CPPFLAGS'
22522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22525
22526       cat >conftest.$ac_ext <<_ACEOF
22527 /* confdefs.h.  */
22528 _ACEOF
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h.  */
22532 #include <math.h>
22533 int
22534 main ()
22535 {
22536  hypotl(0, 0);
22537   ;
22538   return 0;
22539 }
22540 _ACEOF
22541 rm -f conftest.$ac_objext
22542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22543   (eval $ac_compile) 2>conftest.er1
22544   ac_status=$?
22545   grep -v '^ *+' conftest.er1 >conftest.err
22546   rm -f conftest.er1
22547   cat conftest.err >&5
22548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549   (exit $ac_status); } &&
22550          { ac_try='test -z "$ac_cxx_werror_flag"
22551                          || test ! -s conftest.err'
22552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22553   (eval $ac_try) 2>&5
22554   ac_status=$?
22555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22556   (exit $ac_status); }; } &&
22557          { ac_try='test -s conftest.$ac_objext'
22558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22559   (eval $ac_try) 2>&5
22560   ac_status=$?
22561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562   (exit $ac_status); }; }; then
22563   glibcxx_cv_func_hypotl_use=yes
22564 else
22565   echo "$as_me: failed program was:" >&5
22566 sed 's/^/| /' conftest.$ac_ext >&5
22567
22568 glibcxx_cv_func_hypotl_use=no
22569 fi
22570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22571       ac_ext=c
22572 ac_cpp='$CPP $CPPFLAGS'
22573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22576
22577
22578 fi
22579
22580   fi
22581   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22582 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22583
22584   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22585
22586 for ac_func in hypotl
22587 do
22588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22589 echo "$as_me:$LINENO: checking for $ac_func" >&5
22590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22591 if eval "test \"\${$as_ac_var+set}\" = set"; then
22592   echo $ECHO_N "(cached) $ECHO_C" >&6
22593 else
22594   if test x$gcc_no_link = xyes; then
22595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22597    { (exit 1); exit 1; }; }
22598 fi
22599 cat >conftest.$ac_ext <<_ACEOF
22600 /* confdefs.h.  */
22601 _ACEOF
22602 cat confdefs.h >>conftest.$ac_ext
22603 cat >>conftest.$ac_ext <<_ACEOF
22604 /* end confdefs.h.  */
22605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22607 #define $ac_func innocuous_$ac_func
22608
22609 /* System header to define __stub macros and hopefully few prototypes,
22610     which can conflict with char $ac_func (); below.
22611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22612     <limits.h> exists even on freestanding compilers.  */
22613
22614 #ifdef __STDC__
22615 # include <limits.h>
22616 #else
22617 # include <assert.h>
22618 #endif
22619
22620 #undef $ac_func
22621
22622 /* Override any gcc2 internal prototype to avoid an error.  */
22623 #ifdef __cplusplus
22624 extern "C"
22625 {
22626 #endif
22627 /* We use char because int might match the return type of a gcc2
22628    builtin and then its argument prototype would still apply.  */
22629 char $ac_func ();
22630 /* The GNU C library defines this for functions which it implements
22631     to always fail with ENOSYS.  Some functions are actually named
22632     something starting with __ and the normal name is an alias.  */
22633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22634 choke me
22635 #else
22636 char (*f) () = $ac_func;
22637 #endif
22638 #ifdef __cplusplus
22639 }
22640 #endif
22641
22642 int
22643 main ()
22644 {
22645 return f != $ac_func;
22646   ;
22647   return 0;
22648 }
22649 _ACEOF
22650 rm -f conftest.$ac_objext conftest$ac_exeext
22651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22652   (eval $ac_link) 2>conftest.er1
22653   ac_status=$?
22654   grep -v '^ *+' conftest.er1 >conftest.err
22655   rm -f conftest.er1
22656   cat conftest.err >&5
22657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658   (exit $ac_status); } &&
22659          { ac_try='test -z "$ac_c_werror_flag"
22660                          || test ! -s conftest.err'
22661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22662   (eval $ac_try) 2>&5
22663   ac_status=$?
22664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665   (exit $ac_status); }; } &&
22666          { ac_try='test -s conftest$ac_exeext'
22667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22668   (eval $ac_try) 2>&5
22669   ac_status=$?
22670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671   (exit $ac_status); }; }; then
22672   eval "$as_ac_var=yes"
22673 else
22674   echo "$as_me: failed program was:" >&5
22675 sed 's/^/| /' conftest.$ac_ext >&5
22676
22677 eval "$as_ac_var=no"
22678 fi
22679 rm -f conftest.err conftest.$ac_objext \
22680       conftest$ac_exeext conftest.$ac_ext
22681 fi
22682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22684 if test `eval echo '${'$as_ac_var'}'` = yes; then
22685   cat >>confdefs.h <<_ACEOF
22686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22687 _ACEOF
22688
22689 fi
22690 done
22691
22692   else
22693
22694   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22695 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22696   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22697     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22698   echo $ECHO_N "(cached) $ECHO_C" >&6
22699 else
22700
22701
22702
22703       ac_ext=cc
22704 ac_cpp='$CXXCPP $CPPFLAGS'
22705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22708
22709       cat >conftest.$ac_ext <<_ACEOF
22710 /* confdefs.h.  */
22711 _ACEOF
22712 cat confdefs.h >>conftest.$ac_ext
22713 cat >>conftest.$ac_ext <<_ACEOF
22714 /* end confdefs.h.  */
22715 #include <math.h>
22716 int
22717 main ()
22718 {
22719  _hypotl(0, 0);
22720   ;
22721   return 0;
22722 }
22723 _ACEOF
22724 rm -f conftest.$ac_objext
22725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22726   (eval $ac_compile) 2>conftest.er1
22727   ac_status=$?
22728   grep -v '^ *+' conftest.er1 >conftest.err
22729   rm -f conftest.er1
22730   cat conftest.err >&5
22731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732   (exit $ac_status); } &&
22733          { ac_try='test -z "$ac_cxx_werror_flag"
22734                          || test ! -s conftest.err'
22735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22736   (eval $ac_try) 2>&5
22737   ac_status=$?
22738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739   (exit $ac_status); }; } &&
22740          { ac_try='test -s conftest.$ac_objext'
22741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22742   (eval $ac_try) 2>&5
22743   ac_status=$?
22744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745   (exit $ac_status); }; }; then
22746   glibcxx_cv_func__hypotl_use=yes
22747 else
22748   echo "$as_me: failed program was:" >&5
22749 sed 's/^/| /' conftest.$ac_ext >&5
22750
22751 glibcxx_cv_func__hypotl_use=no
22752 fi
22753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22754       ac_ext=c
22755 ac_cpp='$CPP $CPPFLAGS'
22756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22759
22760
22761 fi
22762
22763   fi
22764   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22765 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22766
22767     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22768
22769 for ac_func in _hypotl
22770 do
22771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22772 echo "$as_me:$LINENO: checking for $ac_func" >&5
22773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22774 if eval "test \"\${$as_ac_var+set}\" = set"; then
22775   echo $ECHO_N "(cached) $ECHO_C" >&6
22776 else
22777   if test x$gcc_no_link = xyes; then
22778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22780    { (exit 1); exit 1; }; }
22781 fi
22782 cat >conftest.$ac_ext <<_ACEOF
22783 /* confdefs.h.  */
22784 _ACEOF
22785 cat confdefs.h >>conftest.$ac_ext
22786 cat >>conftest.$ac_ext <<_ACEOF
22787 /* end confdefs.h.  */
22788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22790 #define $ac_func innocuous_$ac_func
22791
22792 /* System header to define __stub macros and hopefully few prototypes,
22793     which can conflict with char $ac_func (); below.
22794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22795     <limits.h> exists even on freestanding compilers.  */
22796
22797 #ifdef __STDC__
22798 # include <limits.h>
22799 #else
22800 # include <assert.h>
22801 #endif
22802
22803 #undef $ac_func
22804
22805 /* Override any gcc2 internal prototype to avoid an error.  */
22806 #ifdef __cplusplus
22807 extern "C"
22808 {
22809 #endif
22810 /* We use char because int might match the return type of a gcc2
22811    builtin and then its argument prototype would still apply.  */
22812 char $ac_func ();
22813 /* The GNU C library defines this for functions which it implements
22814     to always fail with ENOSYS.  Some functions are actually named
22815     something starting with __ and the normal name is an alias.  */
22816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22817 choke me
22818 #else
22819 char (*f) () = $ac_func;
22820 #endif
22821 #ifdef __cplusplus
22822 }
22823 #endif
22824
22825 int
22826 main ()
22827 {
22828 return f != $ac_func;
22829   ;
22830   return 0;
22831 }
22832 _ACEOF
22833 rm -f conftest.$ac_objext conftest$ac_exeext
22834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22835   (eval $ac_link) 2>conftest.er1
22836   ac_status=$?
22837   grep -v '^ *+' conftest.er1 >conftest.err
22838   rm -f conftest.er1
22839   cat conftest.err >&5
22840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841   (exit $ac_status); } &&
22842          { ac_try='test -z "$ac_c_werror_flag"
22843                          || test ! -s conftest.err'
22844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22845   (eval $ac_try) 2>&5
22846   ac_status=$?
22847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848   (exit $ac_status); }; } &&
22849          { ac_try='test -s conftest$ac_exeext'
22850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22851   (eval $ac_try) 2>&5
22852   ac_status=$?
22853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854   (exit $ac_status); }; }; then
22855   eval "$as_ac_var=yes"
22856 else
22857   echo "$as_me: failed program was:" >&5
22858 sed 's/^/| /' conftest.$ac_ext >&5
22859
22860 eval "$as_ac_var=no"
22861 fi
22862 rm -f conftest.err conftest.$ac_objext \
22863       conftest$ac_exeext conftest.$ac_ext
22864 fi
22865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22867 if test `eval echo '${'$as_ac_var'}'` = yes; then
22868   cat >>confdefs.h <<_ACEOF
22869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22870 _ACEOF
22871
22872 fi
22873 done
22874
22875     fi
22876   fi
22877
22878
22879
22880
22881
22882
22883   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22884 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22885   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22886     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22887   echo $ECHO_N "(cached) $ECHO_C" >&6
22888 else
22889
22890
22891
22892       ac_ext=cc
22893 ac_cpp='$CXXCPP $CPPFLAGS'
22894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22897
22898       cat >conftest.$ac_ext <<_ACEOF
22899 /* confdefs.h.  */
22900 _ACEOF
22901 cat confdefs.h >>conftest.$ac_ext
22902 cat >>conftest.$ac_ext <<_ACEOF
22903 /* end confdefs.h.  */
22904 #include <math.h>
22905 int
22906 main ()
22907 {
22908  ldexpl(0, 0);
22909   ;
22910   return 0;
22911 }
22912 _ACEOF
22913 rm -f conftest.$ac_objext
22914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22915   (eval $ac_compile) 2>conftest.er1
22916   ac_status=$?
22917   grep -v '^ *+' conftest.er1 >conftest.err
22918   rm -f conftest.er1
22919   cat conftest.err >&5
22920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921   (exit $ac_status); } &&
22922          { ac_try='test -z "$ac_cxx_werror_flag"
22923                          || test ! -s conftest.err'
22924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925   (eval $ac_try) 2>&5
22926   ac_status=$?
22927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928   (exit $ac_status); }; } &&
22929          { ac_try='test -s conftest.$ac_objext'
22930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22931   (eval $ac_try) 2>&5
22932   ac_status=$?
22933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934   (exit $ac_status); }; }; then
22935   glibcxx_cv_func_ldexpl_use=yes
22936 else
22937   echo "$as_me: failed program was:" >&5
22938 sed 's/^/| /' conftest.$ac_ext >&5
22939
22940 glibcxx_cv_func_ldexpl_use=no
22941 fi
22942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22943       ac_ext=c
22944 ac_cpp='$CPP $CPPFLAGS'
22945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22948
22949
22950 fi
22951
22952   fi
22953   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22954 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22955
22956   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22957
22958 for ac_func in ldexpl
22959 do
22960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22961 echo "$as_me:$LINENO: checking for $ac_func" >&5
22962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22963 if eval "test \"\${$as_ac_var+set}\" = set"; then
22964   echo $ECHO_N "(cached) $ECHO_C" >&6
22965 else
22966   if test x$gcc_no_link = xyes; then
22967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22969    { (exit 1); exit 1; }; }
22970 fi
22971 cat >conftest.$ac_ext <<_ACEOF
22972 /* confdefs.h.  */
22973 _ACEOF
22974 cat confdefs.h >>conftest.$ac_ext
22975 cat >>conftest.$ac_ext <<_ACEOF
22976 /* end confdefs.h.  */
22977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22979 #define $ac_func innocuous_$ac_func
22980
22981 /* System header to define __stub macros and hopefully few prototypes,
22982     which can conflict with char $ac_func (); below.
22983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22984     <limits.h> exists even on freestanding compilers.  */
22985
22986 #ifdef __STDC__
22987 # include <limits.h>
22988 #else
22989 # include <assert.h>
22990 #endif
22991
22992 #undef $ac_func
22993
22994 /* Override any gcc2 internal prototype to avoid an error.  */
22995 #ifdef __cplusplus
22996 extern "C"
22997 {
22998 #endif
22999 /* We use char because int might match the return type of a gcc2
23000    builtin and then its argument prototype would still apply.  */
23001 char $ac_func ();
23002 /* The GNU C library defines this for functions which it implements
23003     to always fail with ENOSYS.  Some functions are actually named
23004     something starting with __ and the normal name is an alias.  */
23005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23006 choke me
23007 #else
23008 char (*f) () = $ac_func;
23009 #endif
23010 #ifdef __cplusplus
23011 }
23012 #endif
23013
23014 int
23015 main ()
23016 {
23017 return f != $ac_func;
23018   ;
23019   return 0;
23020 }
23021 _ACEOF
23022 rm -f conftest.$ac_objext conftest$ac_exeext
23023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23024   (eval $ac_link) 2>conftest.er1
23025   ac_status=$?
23026   grep -v '^ *+' conftest.er1 >conftest.err
23027   rm -f conftest.er1
23028   cat conftest.err >&5
23029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030   (exit $ac_status); } &&
23031          { ac_try='test -z "$ac_c_werror_flag"
23032                          || test ! -s conftest.err'
23033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034   (eval $ac_try) 2>&5
23035   ac_status=$?
23036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037   (exit $ac_status); }; } &&
23038          { ac_try='test -s conftest$ac_exeext'
23039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23040   (eval $ac_try) 2>&5
23041   ac_status=$?
23042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043   (exit $ac_status); }; }; then
23044   eval "$as_ac_var=yes"
23045 else
23046   echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.$ac_ext >&5
23048
23049 eval "$as_ac_var=no"
23050 fi
23051 rm -f conftest.err conftest.$ac_objext \
23052       conftest$ac_exeext conftest.$ac_ext
23053 fi
23054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23056 if test `eval echo '${'$as_ac_var'}'` = yes; then
23057   cat >>confdefs.h <<_ACEOF
23058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23059 _ACEOF
23060
23061 fi
23062 done
23063
23064   else
23065
23066   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23067 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23068   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23069     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23070   echo $ECHO_N "(cached) $ECHO_C" >&6
23071 else
23072
23073
23074
23075       ac_ext=cc
23076 ac_cpp='$CXXCPP $CPPFLAGS'
23077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23080
23081       cat >conftest.$ac_ext <<_ACEOF
23082 /* confdefs.h.  */
23083 _ACEOF
23084 cat confdefs.h >>conftest.$ac_ext
23085 cat >>conftest.$ac_ext <<_ACEOF
23086 /* end confdefs.h.  */
23087 #include <math.h>
23088 int
23089 main ()
23090 {
23091  _ldexpl(0, 0);
23092   ;
23093   return 0;
23094 }
23095 _ACEOF
23096 rm -f conftest.$ac_objext
23097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23098   (eval $ac_compile) 2>conftest.er1
23099   ac_status=$?
23100   grep -v '^ *+' conftest.er1 >conftest.err
23101   rm -f conftest.er1
23102   cat conftest.err >&5
23103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104   (exit $ac_status); } &&
23105          { ac_try='test -z "$ac_cxx_werror_flag"
23106                          || test ! -s conftest.err'
23107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23108   (eval $ac_try) 2>&5
23109   ac_status=$?
23110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111   (exit $ac_status); }; } &&
23112          { ac_try='test -s conftest.$ac_objext'
23113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23114   (eval $ac_try) 2>&5
23115   ac_status=$?
23116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117   (exit $ac_status); }; }; then
23118   glibcxx_cv_func__ldexpl_use=yes
23119 else
23120   echo "$as_me: failed program was:" >&5
23121 sed 's/^/| /' conftest.$ac_ext >&5
23122
23123 glibcxx_cv_func__ldexpl_use=no
23124 fi
23125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23126       ac_ext=c
23127 ac_cpp='$CPP $CPPFLAGS'
23128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23131
23132
23133 fi
23134
23135   fi
23136   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23137 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23138
23139     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23140
23141 for ac_func in _ldexpl
23142 do
23143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23144 echo "$as_me:$LINENO: checking for $ac_func" >&5
23145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23146 if eval "test \"\${$as_ac_var+set}\" = set"; then
23147   echo $ECHO_N "(cached) $ECHO_C" >&6
23148 else
23149   if test x$gcc_no_link = xyes; then
23150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23152    { (exit 1); exit 1; }; }
23153 fi
23154 cat >conftest.$ac_ext <<_ACEOF
23155 /* confdefs.h.  */
23156 _ACEOF
23157 cat confdefs.h >>conftest.$ac_ext
23158 cat >>conftest.$ac_ext <<_ACEOF
23159 /* end confdefs.h.  */
23160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23162 #define $ac_func innocuous_$ac_func
23163
23164 /* System header to define __stub macros and hopefully few prototypes,
23165     which can conflict with char $ac_func (); below.
23166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23167     <limits.h> exists even on freestanding compilers.  */
23168
23169 #ifdef __STDC__
23170 # include <limits.h>
23171 #else
23172 # include <assert.h>
23173 #endif
23174
23175 #undef $ac_func
23176
23177 /* Override any gcc2 internal prototype to avoid an error.  */
23178 #ifdef __cplusplus
23179 extern "C"
23180 {
23181 #endif
23182 /* We use char because int might match the return type of a gcc2
23183    builtin and then its argument prototype would still apply.  */
23184 char $ac_func ();
23185 /* The GNU C library defines this for functions which it implements
23186     to always fail with ENOSYS.  Some functions are actually named
23187     something starting with __ and the normal name is an alias.  */
23188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23189 choke me
23190 #else
23191 char (*f) () = $ac_func;
23192 #endif
23193 #ifdef __cplusplus
23194 }
23195 #endif
23196
23197 int
23198 main ()
23199 {
23200 return f != $ac_func;
23201   ;
23202   return 0;
23203 }
23204 _ACEOF
23205 rm -f conftest.$ac_objext conftest$ac_exeext
23206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23207   (eval $ac_link) 2>conftest.er1
23208   ac_status=$?
23209   grep -v '^ *+' conftest.er1 >conftest.err
23210   rm -f conftest.er1
23211   cat conftest.err >&5
23212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213   (exit $ac_status); } &&
23214          { ac_try='test -z "$ac_c_werror_flag"
23215                          || test ! -s conftest.err'
23216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23217   (eval $ac_try) 2>&5
23218   ac_status=$?
23219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220   (exit $ac_status); }; } &&
23221          { ac_try='test -s conftest$ac_exeext'
23222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23223   (eval $ac_try) 2>&5
23224   ac_status=$?
23225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226   (exit $ac_status); }; }; then
23227   eval "$as_ac_var=yes"
23228 else
23229   echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.$ac_ext >&5
23231
23232 eval "$as_ac_var=no"
23233 fi
23234 rm -f conftest.err conftest.$ac_objext \
23235       conftest$ac_exeext conftest.$ac_ext
23236 fi
23237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23239 if test `eval echo '${'$as_ac_var'}'` = yes; then
23240   cat >>confdefs.h <<_ACEOF
23241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23242 _ACEOF
23243
23244 fi
23245 done
23246
23247     fi
23248   fi
23249
23250
23251
23252
23253
23254
23255   echo "$as_me:$LINENO: checking for logl declaration" >&5
23256 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23257   if test x${glibcxx_cv_func_logl_use+set} != xset; then
23258     if test "${glibcxx_cv_func_logl_use+set}" = set; then
23259   echo $ECHO_N "(cached) $ECHO_C" >&6
23260 else
23261
23262
23263
23264       ac_ext=cc
23265 ac_cpp='$CXXCPP $CPPFLAGS'
23266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23269
23270       cat >conftest.$ac_ext <<_ACEOF
23271 /* confdefs.h.  */
23272 _ACEOF
23273 cat confdefs.h >>conftest.$ac_ext
23274 cat >>conftest.$ac_ext <<_ACEOF
23275 /* end confdefs.h.  */
23276 #include <math.h>
23277                       #ifdef HAVE_IEEEFP_H
23278                       #include <ieeefp.h>
23279                       #endif
23280
23281 int
23282 main ()
23283 {
23284  logl(0);
23285   ;
23286   return 0;
23287 }
23288 _ACEOF
23289 rm -f conftest.$ac_objext
23290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23291   (eval $ac_compile) 2>conftest.er1
23292   ac_status=$?
23293   grep -v '^ *+' conftest.er1 >conftest.err
23294   rm -f conftest.er1
23295   cat conftest.err >&5
23296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297   (exit $ac_status); } &&
23298          { ac_try='test -z "$ac_cxx_werror_flag"
23299                          || test ! -s conftest.err'
23300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23301   (eval $ac_try) 2>&5
23302   ac_status=$?
23303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23304   (exit $ac_status); }; } &&
23305          { ac_try='test -s conftest.$ac_objext'
23306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23307   (eval $ac_try) 2>&5
23308   ac_status=$?
23309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310   (exit $ac_status); }; }; then
23311   glibcxx_cv_func_logl_use=yes
23312 else
23313   echo "$as_me: failed program was:" >&5
23314 sed 's/^/| /' conftest.$ac_ext >&5
23315
23316 glibcxx_cv_func_logl_use=no
23317 fi
23318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23319       ac_ext=c
23320 ac_cpp='$CPP $CPPFLAGS'
23321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23324
23325
23326 fi
23327
23328   fi
23329   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23330 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23331
23332   if test x$glibcxx_cv_func_logl_use = x"yes"; then
23333
23334 for ac_func in logl
23335 do
23336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23337 echo "$as_me:$LINENO: checking for $ac_func" >&5
23338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23339 if eval "test \"\${$as_ac_var+set}\" = set"; then
23340   echo $ECHO_N "(cached) $ECHO_C" >&6
23341 else
23342   if test x$gcc_no_link = xyes; then
23343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23345    { (exit 1); exit 1; }; }
23346 fi
23347 cat >conftest.$ac_ext <<_ACEOF
23348 /* confdefs.h.  */
23349 _ACEOF
23350 cat confdefs.h >>conftest.$ac_ext
23351 cat >>conftest.$ac_ext <<_ACEOF
23352 /* end confdefs.h.  */
23353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23354    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23355 #define $ac_func innocuous_$ac_func
23356
23357 /* System header to define __stub macros and hopefully few prototypes,
23358     which can conflict with char $ac_func (); below.
23359     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23360     <limits.h> exists even on freestanding compilers.  */
23361
23362 #ifdef __STDC__
23363 # include <limits.h>
23364 #else
23365 # include <assert.h>
23366 #endif
23367
23368 #undef $ac_func
23369
23370 /* Override any gcc2 internal prototype to avoid an error.  */
23371 #ifdef __cplusplus
23372 extern "C"
23373 {
23374 #endif
23375 /* We use char because int might match the return type of a gcc2
23376    builtin and then its argument prototype would still apply.  */
23377 char $ac_func ();
23378 /* The GNU C library defines this for functions which it implements
23379     to always fail with ENOSYS.  Some functions are actually named
23380     something starting with __ and the normal name is an alias.  */
23381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23382 choke me
23383 #else
23384 char (*f) () = $ac_func;
23385 #endif
23386 #ifdef __cplusplus
23387 }
23388 #endif
23389
23390 int
23391 main ()
23392 {
23393 return f != $ac_func;
23394   ;
23395   return 0;
23396 }
23397 _ACEOF
23398 rm -f conftest.$ac_objext conftest$ac_exeext
23399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23400   (eval $ac_link) 2>conftest.er1
23401   ac_status=$?
23402   grep -v '^ *+' conftest.er1 >conftest.err
23403   rm -f conftest.er1
23404   cat conftest.err >&5
23405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406   (exit $ac_status); } &&
23407          { ac_try='test -z "$ac_c_werror_flag"
23408                          || test ! -s conftest.err'
23409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410   (eval $ac_try) 2>&5
23411   ac_status=$?
23412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413   (exit $ac_status); }; } &&
23414          { ac_try='test -s conftest$ac_exeext'
23415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23416   (eval $ac_try) 2>&5
23417   ac_status=$?
23418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419   (exit $ac_status); }; }; then
23420   eval "$as_ac_var=yes"
23421 else
23422   echo "$as_me: failed program was:" >&5
23423 sed 's/^/| /' conftest.$ac_ext >&5
23424
23425 eval "$as_ac_var=no"
23426 fi
23427 rm -f conftest.err conftest.$ac_objext \
23428       conftest$ac_exeext conftest.$ac_ext
23429 fi
23430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23432 if test `eval echo '${'$as_ac_var'}'` = yes; then
23433   cat >>confdefs.h <<_ACEOF
23434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23435 _ACEOF
23436
23437 fi
23438 done
23439
23440   else
23441
23442   echo "$as_me:$LINENO: checking for _logl declaration" >&5
23443 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23444   if test x${glibcxx_cv_func__logl_use+set} != xset; then
23445     if test "${glibcxx_cv_func__logl_use+set}" = set; then
23446   echo $ECHO_N "(cached) $ECHO_C" >&6
23447 else
23448
23449
23450
23451       ac_ext=cc
23452 ac_cpp='$CXXCPP $CPPFLAGS'
23453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23456
23457       cat >conftest.$ac_ext <<_ACEOF
23458 /* confdefs.h.  */
23459 _ACEOF
23460 cat confdefs.h >>conftest.$ac_ext
23461 cat >>conftest.$ac_ext <<_ACEOF
23462 /* end confdefs.h.  */
23463 #include <math.h>
23464                       #ifdef HAVE_IEEEFP_H
23465                       #include <ieeefp.h>
23466                       #endif
23467
23468 int
23469 main ()
23470 {
23471  _logl(0);
23472   ;
23473   return 0;
23474 }
23475 _ACEOF
23476 rm -f conftest.$ac_objext
23477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23478   (eval $ac_compile) 2>conftest.er1
23479   ac_status=$?
23480   grep -v '^ *+' conftest.er1 >conftest.err
23481   rm -f conftest.er1
23482   cat conftest.err >&5
23483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484   (exit $ac_status); } &&
23485          { ac_try='test -z "$ac_cxx_werror_flag"
23486                          || test ! -s conftest.err'
23487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23488   (eval $ac_try) 2>&5
23489   ac_status=$?
23490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491   (exit $ac_status); }; } &&
23492          { ac_try='test -s conftest.$ac_objext'
23493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23494   (eval $ac_try) 2>&5
23495   ac_status=$?
23496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497   (exit $ac_status); }; }; then
23498   glibcxx_cv_func__logl_use=yes
23499 else
23500   echo "$as_me: failed program was:" >&5
23501 sed 's/^/| /' conftest.$ac_ext >&5
23502
23503 glibcxx_cv_func__logl_use=no
23504 fi
23505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23506       ac_ext=c
23507 ac_cpp='$CPP $CPPFLAGS'
23508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23511
23512
23513 fi
23514
23515   fi
23516   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23517 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23518
23519     if test x$glibcxx_cv_func__logl_use = x"yes"; then
23520
23521 for ac_func in _logl
23522 do
23523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23524 echo "$as_me:$LINENO: checking for $ac_func" >&5
23525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23526 if eval "test \"\${$as_ac_var+set}\" = set"; then
23527   echo $ECHO_N "(cached) $ECHO_C" >&6
23528 else
23529   if test x$gcc_no_link = xyes; then
23530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23532    { (exit 1); exit 1; }; }
23533 fi
23534 cat >conftest.$ac_ext <<_ACEOF
23535 /* confdefs.h.  */
23536 _ACEOF
23537 cat confdefs.h >>conftest.$ac_ext
23538 cat >>conftest.$ac_ext <<_ACEOF
23539 /* end confdefs.h.  */
23540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23542 #define $ac_func innocuous_$ac_func
23543
23544 /* System header to define __stub macros and hopefully few prototypes,
23545     which can conflict with char $ac_func (); below.
23546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23547     <limits.h> exists even on freestanding compilers.  */
23548
23549 #ifdef __STDC__
23550 # include <limits.h>
23551 #else
23552 # include <assert.h>
23553 #endif
23554
23555 #undef $ac_func
23556
23557 /* Override any gcc2 internal prototype to avoid an error.  */
23558 #ifdef __cplusplus
23559 extern "C"
23560 {
23561 #endif
23562 /* We use char because int might match the return type of a gcc2
23563    builtin and then its argument prototype would still apply.  */
23564 char $ac_func ();
23565 /* The GNU C library defines this for functions which it implements
23566     to always fail with ENOSYS.  Some functions are actually named
23567     something starting with __ and the normal name is an alias.  */
23568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23569 choke me
23570 #else
23571 char (*f) () = $ac_func;
23572 #endif
23573 #ifdef __cplusplus
23574 }
23575 #endif
23576
23577 int
23578 main ()
23579 {
23580 return f != $ac_func;
23581   ;
23582   return 0;
23583 }
23584 _ACEOF
23585 rm -f conftest.$ac_objext conftest$ac_exeext
23586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23587   (eval $ac_link) 2>conftest.er1
23588   ac_status=$?
23589   grep -v '^ *+' conftest.er1 >conftest.err
23590   rm -f conftest.er1
23591   cat conftest.err >&5
23592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593   (exit $ac_status); } &&
23594          { ac_try='test -z "$ac_c_werror_flag"
23595                          || test ! -s conftest.err'
23596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23597   (eval $ac_try) 2>&5
23598   ac_status=$?
23599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600   (exit $ac_status); }; } &&
23601          { ac_try='test -s conftest$ac_exeext'
23602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23603   (eval $ac_try) 2>&5
23604   ac_status=$?
23605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606   (exit $ac_status); }; }; then
23607   eval "$as_ac_var=yes"
23608 else
23609   echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.$ac_ext >&5
23611
23612 eval "$as_ac_var=no"
23613 fi
23614 rm -f conftest.err conftest.$ac_objext \
23615       conftest$ac_exeext conftest.$ac_ext
23616 fi
23617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23619 if test `eval echo '${'$as_ac_var'}'` = yes; then
23620   cat >>confdefs.h <<_ACEOF
23621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23622 _ACEOF
23623
23624 fi
23625 done
23626
23627     fi
23628   fi
23629
23630
23631
23632
23633
23634
23635   echo "$as_me:$LINENO: checking for log10l declaration" >&5
23636 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23637   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23638     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23639   echo $ECHO_N "(cached) $ECHO_C" >&6
23640 else
23641
23642
23643
23644       ac_ext=cc
23645 ac_cpp='$CXXCPP $CPPFLAGS'
23646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23649
23650       cat >conftest.$ac_ext <<_ACEOF
23651 /* confdefs.h.  */
23652 _ACEOF
23653 cat confdefs.h >>conftest.$ac_ext
23654 cat >>conftest.$ac_ext <<_ACEOF
23655 /* end confdefs.h.  */
23656 #include <math.h>
23657                       #ifdef HAVE_IEEEFP_H
23658                       #include <ieeefp.h>
23659                       #endif
23660
23661 int
23662 main ()
23663 {
23664  log10l(0);
23665   ;
23666   return 0;
23667 }
23668 _ACEOF
23669 rm -f conftest.$ac_objext
23670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23671   (eval $ac_compile) 2>conftest.er1
23672   ac_status=$?
23673   grep -v '^ *+' conftest.er1 >conftest.err
23674   rm -f conftest.er1
23675   cat conftest.err >&5
23676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677   (exit $ac_status); } &&
23678          { ac_try='test -z "$ac_cxx_werror_flag"
23679                          || test ! -s conftest.err'
23680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681   (eval $ac_try) 2>&5
23682   ac_status=$?
23683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684   (exit $ac_status); }; } &&
23685          { ac_try='test -s conftest.$ac_objext'
23686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23687   (eval $ac_try) 2>&5
23688   ac_status=$?
23689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690   (exit $ac_status); }; }; then
23691   glibcxx_cv_func_log10l_use=yes
23692 else
23693   echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.$ac_ext >&5
23695
23696 glibcxx_cv_func_log10l_use=no
23697 fi
23698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23699       ac_ext=c
23700 ac_cpp='$CPP $CPPFLAGS'
23701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23704
23705
23706 fi
23707
23708   fi
23709   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23710 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23711
23712   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23713
23714 for ac_func in log10l
23715 do
23716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23717 echo "$as_me:$LINENO: checking for $ac_func" >&5
23718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23719 if eval "test \"\${$as_ac_var+set}\" = set"; then
23720   echo $ECHO_N "(cached) $ECHO_C" >&6
23721 else
23722   if test x$gcc_no_link = xyes; then
23723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23725    { (exit 1); exit 1; }; }
23726 fi
23727 cat >conftest.$ac_ext <<_ACEOF
23728 /* confdefs.h.  */
23729 _ACEOF
23730 cat confdefs.h >>conftest.$ac_ext
23731 cat >>conftest.$ac_ext <<_ACEOF
23732 /* end confdefs.h.  */
23733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23735 #define $ac_func innocuous_$ac_func
23736
23737 /* System header to define __stub macros and hopefully few prototypes,
23738     which can conflict with char $ac_func (); below.
23739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23740     <limits.h> exists even on freestanding compilers.  */
23741
23742 #ifdef __STDC__
23743 # include <limits.h>
23744 #else
23745 # include <assert.h>
23746 #endif
23747
23748 #undef $ac_func
23749
23750 /* Override any gcc2 internal prototype to avoid an error.  */
23751 #ifdef __cplusplus
23752 extern "C"
23753 {
23754 #endif
23755 /* We use char because int might match the return type of a gcc2
23756    builtin and then its argument prototype would still apply.  */
23757 char $ac_func ();
23758 /* The GNU C library defines this for functions which it implements
23759     to always fail with ENOSYS.  Some functions are actually named
23760     something starting with __ and the normal name is an alias.  */
23761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23762 choke me
23763 #else
23764 char (*f) () = $ac_func;
23765 #endif
23766 #ifdef __cplusplus
23767 }
23768 #endif
23769
23770 int
23771 main ()
23772 {
23773 return f != $ac_func;
23774   ;
23775   return 0;
23776 }
23777 _ACEOF
23778 rm -f conftest.$ac_objext conftest$ac_exeext
23779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23780   (eval $ac_link) 2>conftest.er1
23781   ac_status=$?
23782   grep -v '^ *+' conftest.er1 >conftest.err
23783   rm -f conftest.er1
23784   cat conftest.err >&5
23785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23786   (exit $ac_status); } &&
23787          { ac_try='test -z "$ac_c_werror_flag"
23788                          || test ! -s conftest.err'
23789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23790   (eval $ac_try) 2>&5
23791   ac_status=$?
23792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793   (exit $ac_status); }; } &&
23794          { ac_try='test -s conftest$ac_exeext'
23795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23796   (eval $ac_try) 2>&5
23797   ac_status=$?
23798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799   (exit $ac_status); }; }; then
23800   eval "$as_ac_var=yes"
23801 else
23802   echo "$as_me: failed program was:" >&5
23803 sed 's/^/| /' conftest.$ac_ext >&5
23804
23805 eval "$as_ac_var=no"
23806 fi
23807 rm -f conftest.err conftest.$ac_objext \
23808       conftest$ac_exeext conftest.$ac_ext
23809 fi
23810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23812 if test `eval echo '${'$as_ac_var'}'` = yes; then
23813   cat >>confdefs.h <<_ACEOF
23814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23815 _ACEOF
23816
23817 fi
23818 done
23819
23820   else
23821
23822   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23823 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23824   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23825     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23826   echo $ECHO_N "(cached) $ECHO_C" >&6
23827 else
23828
23829
23830
23831       ac_ext=cc
23832 ac_cpp='$CXXCPP $CPPFLAGS'
23833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23836
23837       cat >conftest.$ac_ext <<_ACEOF
23838 /* confdefs.h.  */
23839 _ACEOF
23840 cat confdefs.h >>conftest.$ac_ext
23841 cat >>conftest.$ac_ext <<_ACEOF
23842 /* end confdefs.h.  */
23843 #include <math.h>
23844                       #ifdef HAVE_IEEEFP_H
23845                       #include <ieeefp.h>
23846                       #endif
23847
23848 int
23849 main ()
23850 {
23851  _log10l(0);
23852   ;
23853   return 0;
23854 }
23855 _ACEOF
23856 rm -f conftest.$ac_objext
23857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23858   (eval $ac_compile) 2>conftest.er1
23859   ac_status=$?
23860   grep -v '^ *+' conftest.er1 >conftest.err
23861   rm -f conftest.er1
23862   cat conftest.err >&5
23863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864   (exit $ac_status); } &&
23865          { ac_try='test -z "$ac_cxx_werror_flag"
23866                          || test ! -s conftest.err'
23867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23868   (eval $ac_try) 2>&5
23869   ac_status=$?
23870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871   (exit $ac_status); }; } &&
23872          { ac_try='test -s conftest.$ac_objext'
23873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23874   (eval $ac_try) 2>&5
23875   ac_status=$?
23876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23877   (exit $ac_status); }; }; then
23878   glibcxx_cv_func__log10l_use=yes
23879 else
23880   echo "$as_me: failed program was:" >&5
23881 sed 's/^/| /' conftest.$ac_ext >&5
23882
23883 glibcxx_cv_func__log10l_use=no
23884 fi
23885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23886       ac_ext=c
23887 ac_cpp='$CPP $CPPFLAGS'
23888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23891
23892
23893 fi
23894
23895   fi
23896   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23897 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23898
23899     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23900
23901 for ac_func in _log10l
23902 do
23903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23904 echo "$as_me:$LINENO: checking for $ac_func" >&5
23905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23906 if eval "test \"\${$as_ac_var+set}\" = set"; then
23907   echo $ECHO_N "(cached) $ECHO_C" >&6
23908 else
23909   if test x$gcc_no_link = xyes; then
23910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23912    { (exit 1); exit 1; }; }
23913 fi
23914 cat >conftest.$ac_ext <<_ACEOF
23915 /* confdefs.h.  */
23916 _ACEOF
23917 cat confdefs.h >>conftest.$ac_ext
23918 cat >>conftest.$ac_ext <<_ACEOF
23919 /* end confdefs.h.  */
23920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23922 #define $ac_func innocuous_$ac_func
23923
23924 /* System header to define __stub macros and hopefully few prototypes,
23925     which can conflict with char $ac_func (); below.
23926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23927     <limits.h> exists even on freestanding compilers.  */
23928
23929 #ifdef __STDC__
23930 # include <limits.h>
23931 #else
23932 # include <assert.h>
23933 #endif
23934
23935 #undef $ac_func
23936
23937 /* Override any gcc2 internal prototype to avoid an error.  */
23938 #ifdef __cplusplus
23939 extern "C"
23940 {
23941 #endif
23942 /* We use char because int might match the return type of a gcc2
23943    builtin and then its argument prototype would still apply.  */
23944 char $ac_func ();
23945 /* The GNU C library defines this for functions which it implements
23946     to always fail with ENOSYS.  Some functions are actually named
23947     something starting with __ and the normal name is an alias.  */
23948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23949 choke me
23950 #else
23951 char (*f) () = $ac_func;
23952 #endif
23953 #ifdef __cplusplus
23954 }
23955 #endif
23956
23957 int
23958 main ()
23959 {
23960 return f != $ac_func;
23961   ;
23962   return 0;
23963 }
23964 _ACEOF
23965 rm -f conftest.$ac_objext conftest$ac_exeext
23966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23967   (eval $ac_link) 2>conftest.er1
23968   ac_status=$?
23969   grep -v '^ *+' conftest.er1 >conftest.err
23970   rm -f conftest.er1
23971   cat conftest.err >&5
23972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23973   (exit $ac_status); } &&
23974          { ac_try='test -z "$ac_c_werror_flag"
23975                          || test ! -s conftest.err'
23976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23977   (eval $ac_try) 2>&5
23978   ac_status=$?
23979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980   (exit $ac_status); }; } &&
23981          { ac_try='test -s conftest$ac_exeext'
23982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23983   (eval $ac_try) 2>&5
23984   ac_status=$?
23985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986   (exit $ac_status); }; }; then
23987   eval "$as_ac_var=yes"
23988 else
23989   echo "$as_me: failed program was:" >&5
23990 sed 's/^/| /' conftest.$ac_ext >&5
23991
23992 eval "$as_ac_var=no"
23993 fi
23994 rm -f conftest.err conftest.$ac_objext \
23995       conftest$ac_exeext conftest.$ac_ext
23996 fi
23997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23999 if test `eval echo '${'$as_ac_var'}'` = yes; then
24000   cat >>confdefs.h <<_ACEOF
24001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24002 _ACEOF
24003
24004 fi
24005 done
24006
24007     fi
24008   fi
24009
24010
24011
24012
24013
24014
24015   echo "$as_me:$LINENO: checking for modfl declaration" >&5
24016 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24017   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24018     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24019   echo $ECHO_N "(cached) $ECHO_C" >&6
24020 else
24021
24022
24023
24024       ac_ext=cc
24025 ac_cpp='$CXXCPP $CPPFLAGS'
24026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24029
24030       cat >conftest.$ac_ext <<_ACEOF
24031 /* confdefs.h.  */
24032 _ACEOF
24033 cat confdefs.h >>conftest.$ac_ext
24034 cat >>conftest.$ac_ext <<_ACEOF
24035 /* end confdefs.h.  */
24036 #include <math.h>
24037 int
24038 main ()
24039 {
24040  modfl(0, 0);
24041   ;
24042   return 0;
24043 }
24044 _ACEOF
24045 rm -f conftest.$ac_objext
24046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24047   (eval $ac_compile) 2>conftest.er1
24048   ac_status=$?
24049   grep -v '^ *+' conftest.er1 >conftest.err
24050   rm -f conftest.er1
24051   cat conftest.err >&5
24052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053   (exit $ac_status); } &&
24054          { ac_try='test -z "$ac_cxx_werror_flag"
24055                          || test ! -s conftest.err'
24056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24057   (eval $ac_try) 2>&5
24058   ac_status=$?
24059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060   (exit $ac_status); }; } &&
24061          { ac_try='test -s conftest.$ac_objext'
24062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24063   (eval $ac_try) 2>&5
24064   ac_status=$?
24065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066   (exit $ac_status); }; }; then
24067   glibcxx_cv_func_modfl_use=yes
24068 else
24069   echo "$as_me: failed program was:" >&5
24070 sed 's/^/| /' conftest.$ac_ext >&5
24071
24072 glibcxx_cv_func_modfl_use=no
24073 fi
24074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24075       ac_ext=c
24076 ac_cpp='$CPP $CPPFLAGS'
24077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24080
24081
24082 fi
24083
24084   fi
24085   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24086 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24087
24088   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24089
24090 for ac_func in modfl
24091 do
24092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24093 echo "$as_me:$LINENO: checking for $ac_func" >&5
24094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24095 if eval "test \"\${$as_ac_var+set}\" = set"; then
24096   echo $ECHO_N "(cached) $ECHO_C" >&6
24097 else
24098   if test x$gcc_no_link = xyes; then
24099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24101    { (exit 1); exit 1; }; }
24102 fi
24103 cat >conftest.$ac_ext <<_ACEOF
24104 /* confdefs.h.  */
24105 _ACEOF
24106 cat confdefs.h >>conftest.$ac_ext
24107 cat >>conftest.$ac_ext <<_ACEOF
24108 /* end confdefs.h.  */
24109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24111 #define $ac_func innocuous_$ac_func
24112
24113 /* System header to define __stub macros and hopefully few prototypes,
24114     which can conflict with char $ac_func (); below.
24115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24116     <limits.h> exists even on freestanding compilers.  */
24117
24118 #ifdef __STDC__
24119 # include <limits.h>
24120 #else
24121 # include <assert.h>
24122 #endif
24123
24124 #undef $ac_func
24125
24126 /* Override any gcc2 internal prototype to avoid an error.  */
24127 #ifdef __cplusplus
24128 extern "C"
24129 {
24130 #endif
24131 /* We use char because int might match the return type of a gcc2
24132    builtin and then its argument prototype would still apply.  */
24133 char $ac_func ();
24134 /* The GNU C library defines this for functions which it implements
24135     to always fail with ENOSYS.  Some functions are actually named
24136     something starting with __ and the normal name is an alias.  */
24137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24138 choke me
24139 #else
24140 char (*f) () = $ac_func;
24141 #endif
24142 #ifdef __cplusplus
24143 }
24144 #endif
24145
24146 int
24147 main ()
24148 {
24149 return f != $ac_func;
24150   ;
24151   return 0;
24152 }
24153 _ACEOF
24154 rm -f conftest.$ac_objext conftest$ac_exeext
24155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24156   (eval $ac_link) 2>conftest.er1
24157   ac_status=$?
24158   grep -v '^ *+' conftest.er1 >conftest.err
24159   rm -f conftest.er1
24160   cat conftest.err >&5
24161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162   (exit $ac_status); } &&
24163          { ac_try='test -z "$ac_c_werror_flag"
24164                          || test ! -s conftest.err'
24165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24166   (eval $ac_try) 2>&5
24167   ac_status=$?
24168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169   (exit $ac_status); }; } &&
24170          { ac_try='test -s conftest$ac_exeext'
24171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24172   (eval $ac_try) 2>&5
24173   ac_status=$?
24174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175   (exit $ac_status); }; }; then
24176   eval "$as_ac_var=yes"
24177 else
24178   echo "$as_me: failed program was:" >&5
24179 sed 's/^/| /' conftest.$ac_ext >&5
24180
24181 eval "$as_ac_var=no"
24182 fi
24183 rm -f conftest.err conftest.$ac_objext \
24184       conftest$ac_exeext conftest.$ac_ext
24185 fi
24186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24188 if test `eval echo '${'$as_ac_var'}'` = yes; then
24189   cat >>confdefs.h <<_ACEOF
24190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24191 _ACEOF
24192
24193 fi
24194 done
24195
24196   else
24197
24198   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24199 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24200   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24201     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24202   echo $ECHO_N "(cached) $ECHO_C" >&6
24203 else
24204
24205
24206
24207       ac_ext=cc
24208 ac_cpp='$CXXCPP $CPPFLAGS'
24209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24212
24213       cat >conftest.$ac_ext <<_ACEOF
24214 /* confdefs.h.  */
24215 _ACEOF
24216 cat confdefs.h >>conftest.$ac_ext
24217 cat >>conftest.$ac_ext <<_ACEOF
24218 /* end confdefs.h.  */
24219 #include <math.h>
24220 int
24221 main ()
24222 {
24223  _modfl(0, 0);
24224   ;
24225   return 0;
24226 }
24227 _ACEOF
24228 rm -f conftest.$ac_objext
24229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24230   (eval $ac_compile) 2>conftest.er1
24231   ac_status=$?
24232   grep -v '^ *+' conftest.er1 >conftest.err
24233   rm -f conftest.er1
24234   cat conftest.err >&5
24235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236   (exit $ac_status); } &&
24237          { ac_try='test -z "$ac_cxx_werror_flag"
24238                          || test ! -s conftest.err'
24239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24240   (eval $ac_try) 2>&5
24241   ac_status=$?
24242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24243   (exit $ac_status); }; } &&
24244          { ac_try='test -s conftest.$ac_objext'
24245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24246   (eval $ac_try) 2>&5
24247   ac_status=$?
24248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249   (exit $ac_status); }; }; then
24250   glibcxx_cv_func__modfl_use=yes
24251 else
24252   echo "$as_me: failed program was:" >&5
24253 sed 's/^/| /' conftest.$ac_ext >&5
24254
24255 glibcxx_cv_func__modfl_use=no
24256 fi
24257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24258       ac_ext=c
24259 ac_cpp='$CPP $CPPFLAGS'
24260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24263
24264
24265 fi
24266
24267   fi
24268   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24269 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24270
24271     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24272
24273 for ac_func in _modfl
24274 do
24275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24276 echo "$as_me:$LINENO: checking for $ac_func" >&5
24277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24278 if eval "test \"\${$as_ac_var+set}\" = set"; then
24279   echo $ECHO_N "(cached) $ECHO_C" >&6
24280 else
24281   if test x$gcc_no_link = xyes; then
24282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24284    { (exit 1); exit 1; }; }
24285 fi
24286 cat >conftest.$ac_ext <<_ACEOF
24287 /* confdefs.h.  */
24288 _ACEOF
24289 cat confdefs.h >>conftest.$ac_ext
24290 cat >>conftest.$ac_ext <<_ACEOF
24291 /* end confdefs.h.  */
24292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24293    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24294 #define $ac_func innocuous_$ac_func
24295
24296 /* System header to define __stub macros and hopefully few prototypes,
24297     which can conflict with char $ac_func (); below.
24298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24299     <limits.h> exists even on freestanding compilers.  */
24300
24301 #ifdef __STDC__
24302 # include <limits.h>
24303 #else
24304 # include <assert.h>
24305 #endif
24306
24307 #undef $ac_func
24308
24309 /* Override any gcc2 internal prototype to avoid an error.  */
24310 #ifdef __cplusplus
24311 extern "C"
24312 {
24313 #endif
24314 /* We use char because int might match the return type of a gcc2
24315    builtin and then its argument prototype would still apply.  */
24316 char $ac_func ();
24317 /* The GNU C library defines this for functions which it implements
24318     to always fail with ENOSYS.  Some functions are actually named
24319     something starting with __ and the normal name is an alias.  */
24320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24321 choke me
24322 #else
24323 char (*f) () = $ac_func;
24324 #endif
24325 #ifdef __cplusplus
24326 }
24327 #endif
24328
24329 int
24330 main ()
24331 {
24332 return f != $ac_func;
24333   ;
24334   return 0;
24335 }
24336 _ACEOF
24337 rm -f conftest.$ac_objext conftest$ac_exeext
24338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24339   (eval $ac_link) 2>conftest.er1
24340   ac_status=$?
24341   grep -v '^ *+' conftest.er1 >conftest.err
24342   rm -f conftest.er1
24343   cat conftest.err >&5
24344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345   (exit $ac_status); } &&
24346          { ac_try='test -z "$ac_c_werror_flag"
24347                          || test ! -s conftest.err'
24348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24349   (eval $ac_try) 2>&5
24350   ac_status=$?
24351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352   (exit $ac_status); }; } &&
24353          { ac_try='test -s conftest$ac_exeext'
24354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24355   (eval $ac_try) 2>&5
24356   ac_status=$?
24357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358   (exit $ac_status); }; }; then
24359   eval "$as_ac_var=yes"
24360 else
24361   echo "$as_me: failed program was:" >&5
24362 sed 's/^/| /' conftest.$ac_ext >&5
24363
24364 eval "$as_ac_var=no"
24365 fi
24366 rm -f conftest.err conftest.$ac_objext \
24367       conftest$ac_exeext conftest.$ac_ext
24368 fi
24369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24371 if test `eval echo '${'$as_ac_var'}'` = yes; then
24372   cat >>confdefs.h <<_ACEOF
24373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24374 _ACEOF
24375
24376 fi
24377 done
24378
24379     fi
24380   fi
24381
24382
24383
24384
24385
24386
24387   echo "$as_me:$LINENO: checking for powl declaration" >&5
24388 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24389   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24390     if test "${glibcxx_cv_func_powl_use+set}" = set; then
24391   echo $ECHO_N "(cached) $ECHO_C" >&6
24392 else
24393
24394
24395
24396       ac_ext=cc
24397 ac_cpp='$CXXCPP $CPPFLAGS'
24398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24401
24402       cat >conftest.$ac_ext <<_ACEOF
24403 /* confdefs.h.  */
24404 _ACEOF
24405 cat confdefs.h >>conftest.$ac_ext
24406 cat >>conftest.$ac_ext <<_ACEOF
24407 /* end confdefs.h.  */
24408 #include <math.h>
24409 int
24410 main ()
24411 {
24412  powl(0, 0);
24413   ;
24414   return 0;
24415 }
24416 _ACEOF
24417 rm -f conftest.$ac_objext
24418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24419   (eval $ac_compile) 2>conftest.er1
24420   ac_status=$?
24421   grep -v '^ *+' conftest.er1 >conftest.err
24422   rm -f conftest.er1
24423   cat conftest.err >&5
24424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425   (exit $ac_status); } &&
24426          { ac_try='test -z "$ac_cxx_werror_flag"
24427                          || test ! -s conftest.err'
24428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24429   (eval $ac_try) 2>&5
24430   ac_status=$?
24431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432   (exit $ac_status); }; } &&
24433          { ac_try='test -s conftest.$ac_objext'
24434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24435   (eval $ac_try) 2>&5
24436   ac_status=$?
24437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438   (exit $ac_status); }; }; then
24439   glibcxx_cv_func_powl_use=yes
24440 else
24441   echo "$as_me: failed program was:" >&5
24442 sed 's/^/| /' conftest.$ac_ext >&5
24443
24444 glibcxx_cv_func_powl_use=no
24445 fi
24446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24447       ac_ext=c
24448 ac_cpp='$CPP $CPPFLAGS'
24449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24452
24453
24454 fi
24455
24456   fi
24457   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24458 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24459
24460   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24461
24462 for ac_func in powl
24463 do
24464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24465 echo "$as_me:$LINENO: checking for $ac_func" >&5
24466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24467 if eval "test \"\${$as_ac_var+set}\" = set"; then
24468   echo $ECHO_N "(cached) $ECHO_C" >&6
24469 else
24470   if test x$gcc_no_link = xyes; then
24471   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24473    { (exit 1); exit 1; }; }
24474 fi
24475 cat >conftest.$ac_ext <<_ACEOF
24476 /* confdefs.h.  */
24477 _ACEOF
24478 cat confdefs.h >>conftest.$ac_ext
24479 cat >>conftest.$ac_ext <<_ACEOF
24480 /* end confdefs.h.  */
24481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24482    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24483 #define $ac_func innocuous_$ac_func
24484
24485 /* System header to define __stub macros and hopefully few prototypes,
24486     which can conflict with char $ac_func (); below.
24487     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24488     <limits.h> exists even on freestanding compilers.  */
24489
24490 #ifdef __STDC__
24491 # include <limits.h>
24492 #else
24493 # include <assert.h>
24494 #endif
24495
24496 #undef $ac_func
24497
24498 /* Override any gcc2 internal prototype to avoid an error.  */
24499 #ifdef __cplusplus
24500 extern "C"
24501 {
24502 #endif
24503 /* We use char because int might match the return type of a gcc2
24504    builtin and then its argument prototype would still apply.  */
24505 char $ac_func ();
24506 /* The GNU C library defines this for functions which it implements
24507     to always fail with ENOSYS.  Some functions are actually named
24508     something starting with __ and the normal name is an alias.  */
24509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24510 choke me
24511 #else
24512 char (*f) () = $ac_func;
24513 #endif
24514 #ifdef __cplusplus
24515 }
24516 #endif
24517
24518 int
24519 main ()
24520 {
24521 return f != $ac_func;
24522   ;
24523   return 0;
24524 }
24525 _ACEOF
24526 rm -f conftest.$ac_objext conftest$ac_exeext
24527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24528   (eval $ac_link) 2>conftest.er1
24529   ac_status=$?
24530   grep -v '^ *+' conftest.er1 >conftest.err
24531   rm -f conftest.er1
24532   cat conftest.err >&5
24533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534   (exit $ac_status); } &&
24535          { ac_try='test -z "$ac_c_werror_flag"
24536                          || test ! -s conftest.err'
24537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24538   (eval $ac_try) 2>&5
24539   ac_status=$?
24540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541   (exit $ac_status); }; } &&
24542          { ac_try='test -s conftest$ac_exeext'
24543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24544   (eval $ac_try) 2>&5
24545   ac_status=$?
24546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547   (exit $ac_status); }; }; then
24548   eval "$as_ac_var=yes"
24549 else
24550   echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.$ac_ext >&5
24552
24553 eval "$as_ac_var=no"
24554 fi
24555 rm -f conftest.err conftest.$ac_objext \
24556       conftest$ac_exeext conftest.$ac_ext
24557 fi
24558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24560 if test `eval echo '${'$as_ac_var'}'` = yes; then
24561   cat >>confdefs.h <<_ACEOF
24562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24563 _ACEOF
24564
24565 fi
24566 done
24567
24568   else
24569
24570   echo "$as_me:$LINENO: checking for _powl declaration" >&5
24571 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24572   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24573     if test "${glibcxx_cv_func__powl_use+set}" = set; then
24574   echo $ECHO_N "(cached) $ECHO_C" >&6
24575 else
24576
24577
24578
24579       ac_ext=cc
24580 ac_cpp='$CXXCPP $CPPFLAGS'
24581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24584
24585       cat >conftest.$ac_ext <<_ACEOF
24586 /* confdefs.h.  */
24587 _ACEOF
24588 cat confdefs.h >>conftest.$ac_ext
24589 cat >>conftest.$ac_ext <<_ACEOF
24590 /* end confdefs.h.  */
24591 #include <math.h>
24592 int
24593 main ()
24594 {
24595  _powl(0, 0);
24596   ;
24597   return 0;
24598 }
24599 _ACEOF
24600 rm -f conftest.$ac_objext
24601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24602   (eval $ac_compile) 2>conftest.er1
24603   ac_status=$?
24604   grep -v '^ *+' conftest.er1 >conftest.err
24605   rm -f conftest.er1
24606   cat conftest.err >&5
24607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608   (exit $ac_status); } &&
24609          { ac_try='test -z "$ac_cxx_werror_flag"
24610                          || test ! -s conftest.err'
24611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24612   (eval $ac_try) 2>&5
24613   ac_status=$?
24614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24615   (exit $ac_status); }; } &&
24616          { ac_try='test -s conftest.$ac_objext'
24617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24618   (eval $ac_try) 2>&5
24619   ac_status=$?
24620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24621   (exit $ac_status); }; }; then
24622   glibcxx_cv_func__powl_use=yes
24623 else
24624   echo "$as_me: failed program was:" >&5
24625 sed 's/^/| /' conftest.$ac_ext >&5
24626
24627 glibcxx_cv_func__powl_use=no
24628 fi
24629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24630       ac_ext=c
24631 ac_cpp='$CPP $CPPFLAGS'
24632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24635
24636
24637 fi
24638
24639   fi
24640   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24641 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24642
24643     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24644
24645 for ac_func in _powl
24646 do
24647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24648 echo "$as_me:$LINENO: checking for $ac_func" >&5
24649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24650 if eval "test \"\${$as_ac_var+set}\" = set"; then
24651   echo $ECHO_N "(cached) $ECHO_C" >&6
24652 else
24653   if test x$gcc_no_link = xyes; then
24654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24656    { (exit 1); exit 1; }; }
24657 fi
24658 cat >conftest.$ac_ext <<_ACEOF
24659 /* confdefs.h.  */
24660 _ACEOF
24661 cat confdefs.h >>conftest.$ac_ext
24662 cat >>conftest.$ac_ext <<_ACEOF
24663 /* end confdefs.h.  */
24664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24665    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24666 #define $ac_func innocuous_$ac_func
24667
24668 /* System header to define __stub macros and hopefully few prototypes,
24669     which can conflict with char $ac_func (); below.
24670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24671     <limits.h> exists even on freestanding compilers.  */
24672
24673 #ifdef __STDC__
24674 # include <limits.h>
24675 #else
24676 # include <assert.h>
24677 #endif
24678
24679 #undef $ac_func
24680
24681 /* Override any gcc2 internal prototype to avoid an error.  */
24682 #ifdef __cplusplus
24683 extern "C"
24684 {
24685 #endif
24686 /* We use char because int might match the return type of a gcc2
24687    builtin and then its argument prototype would still apply.  */
24688 char $ac_func ();
24689 /* The GNU C library defines this for functions which it implements
24690     to always fail with ENOSYS.  Some functions are actually named
24691     something starting with __ and the normal name is an alias.  */
24692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24693 choke me
24694 #else
24695 char (*f) () = $ac_func;
24696 #endif
24697 #ifdef __cplusplus
24698 }
24699 #endif
24700
24701 int
24702 main ()
24703 {
24704 return f != $ac_func;
24705   ;
24706   return 0;
24707 }
24708 _ACEOF
24709 rm -f conftest.$ac_objext conftest$ac_exeext
24710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24711   (eval $ac_link) 2>conftest.er1
24712   ac_status=$?
24713   grep -v '^ *+' conftest.er1 >conftest.err
24714   rm -f conftest.er1
24715   cat conftest.err >&5
24716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24717   (exit $ac_status); } &&
24718          { ac_try='test -z "$ac_c_werror_flag"
24719                          || test ! -s conftest.err'
24720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24721   (eval $ac_try) 2>&5
24722   ac_status=$?
24723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724   (exit $ac_status); }; } &&
24725          { ac_try='test -s conftest$ac_exeext'
24726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24727   (eval $ac_try) 2>&5
24728   ac_status=$?
24729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730   (exit $ac_status); }; }; then
24731   eval "$as_ac_var=yes"
24732 else
24733   echo "$as_me: failed program was:" >&5
24734 sed 's/^/| /' conftest.$ac_ext >&5
24735
24736 eval "$as_ac_var=no"
24737 fi
24738 rm -f conftest.err conftest.$ac_objext \
24739       conftest$ac_exeext conftest.$ac_ext
24740 fi
24741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24743 if test `eval echo '${'$as_ac_var'}'` = yes; then
24744   cat >>confdefs.h <<_ACEOF
24745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24746 _ACEOF
24747
24748 fi
24749 done
24750
24751     fi
24752   fi
24753
24754
24755
24756
24757
24758
24759   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24760 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24761   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24762     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24763   echo $ECHO_N "(cached) $ECHO_C" >&6
24764 else
24765
24766
24767
24768       ac_ext=cc
24769 ac_cpp='$CXXCPP $CPPFLAGS'
24770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24773
24774       cat >conftest.$ac_ext <<_ACEOF
24775 /* confdefs.h.  */
24776 _ACEOF
24777 cat confdefs.h >>conftest.$ac_ext
24778 cat >>conftest.$ac_ext <<_ACEOF
24779 /* end confdefs.h.  */
24780 #include <math.h>
24781                       #ifdef HAVE_IEEEFP_H
24782                       #include <ieeefp.h>
24783                       #endif
24784
24785 int
24786 main ()
24787 {
24788  sqrtl(0);
24789   ;
24790   return 0;
24791 }
24792 _ACEOF
24793 rm -f conftest.$ac_objext
24794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24795   (eval $ac_compile) 2>conftest.er1
24796   ac_status=$?
24797   grep -v '^ *+' conftest.er1 >conftest.err
24798   rm -f conftest.er1
24799   cat conftest.err >&5
24800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801   (exit $ac_status); } &&
24802          { ac_try='test -z "$ac_cxx_werror_flag"
24803                          || test ! -s conftest.err'
24804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24805   (eval $ac_try) 2>&5
24806   ac_status=$?
24807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808   (exit $ac_status); }; } &&
24809          { ac_try='test -s conftest.$ac_objext'
24810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24811   (eval $ac_try) 2>&5
24812   ac_status=$?
24813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814   (exit $ac_status); }; }; then
24815   glibcxx_cv_func_sqrtl_use=yes
24816 else
24817   echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.$ac_ext >&5
24819
24820 glibcxx_cv_func_sqrtl_use=no
24821 fi
24822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24823       ac_ext=c
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24828
24829
24830 fi
24831
24832   fi
24833   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24834 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24835
24836   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24837
24838 for ac_func in sqrtl
24839 do
24840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24841 echo "$as_me:$LINENO: checking for $ac_func" >&5
24842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24843 if eval "test \"\${$as_ac_var+set}\" = set"; then
24844   echo $ECHO_N "(cached) $ECHO_C" >&6
24845 else
24846   if test x$gcc_no_link = xyes; then
24847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24849    { (exit 1); exit 1; }; }
24850 fi
24851 cat >conftest.$ac_ext <<_ACEOF
24852 /* confdefs.h.  */
24853 _ACEOF
24854 cat confdefs.h >>conftest.$ac_ext
24855 cat >>conftest.$ac_ext <<_ACEOF
24856 /* end confdefs.h.  */
24857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24858    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24859 #define $ac_func innocuous_$ac_func
24860
24861 /* System header to define __stub macros and hopefully few prototypes,
24862     which can conflict with char $ac_func (); below.
24863     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24864     <limits.h> exists even on freestanding compilers.  */
24865
24866 #ifdef __STDC__
24867 # include <limits.h>
24868 #else
24869 # include <assert.h>
24870 #endif
24871
24872 #undef $ac_func
24873
24874 /* Override any gcc2 internal prototype to avoid an error.  */
24875 #ifdef __cplusplus
24876 extern "C"
24877 {
24878 #endif
24879 /* We use char because int might match the return type of a gcc2
24880    builtin and then its argument prototype would still apply.  */
24881 char $ac_func ();
24882 /* The GNU C library defines this for functions which it implements
24883     to always fail with ENOSYS.  Some functions are actually named
24884     something starting with __ and the normal name is an alias.  */
24885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24886 choke me
24887 #else
24888 char (*f) () = $ac_func;
24889 #endif
24890 #ifdef __cplusplus
24891 }
24892 #endif
24893
24894 int
24895 main ()
24896 {
24897 return f != $ac_func;
24898   ;
24899   return 0;
24900 }
24901 _ACEOF
24902 rm -f conftest.$ac_objext conftest$ac_exeext
24903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24904   (eval $ac_link) 2>conftest.er1
24905   ac_status=$?
24906   grep -v '^ *+' conftest.er1 >conftest.err
24907   rm -f conftest.er1
24908   cat conftest.err >&5
24909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24910   (exit $ac_status); } &&
24911          { ac_try='test -z "$ac_c_werror_flag"
24912                          || test ! -s conftest.err'
24913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24914   (eval $ac_try) 2>&5
24915   ac_status=$?
24916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917   (exit $ac_status); }; } &&
24918          { ac_try='test -s conftest$ac_exeext'
24919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24920   (eval $ac_try) 2>&5
24921   ac_status=$?
24922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923   (exit $ac_status); }; }; then
24924   eval "$as_ac_var=yes"
24925 else
24926   echo "$as_me: failed program was:" >&5
24927 sed 's/^/| /' conftest.$ac_ext >&5
24928
24929 eval "$as_ac_var=no"
24930 fi
24931 rm -f conftest.err conftest.$ac_objext \
24932       conftest$ac_exeext conftest.$ac_ext
24933 fi
24934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24936 if test `eval echo '${'$as_ac_var'}'` = yes; then
24937   cat >>confdefs.h <<_ACEOF
24938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24939 _ACEOF
24940
24941 fi
24942 done
24943
24944   else
24945
24946   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24947 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24948   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24949     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24950   echo $ECHO_N "(cached) $ECHO_C" >&6
24951 else
24952
24953
24954
24955       ac_ext=cc
24956 ac_cpp='$CXXCPP $CPPFLAGS'
24957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24960
24961       cat >conftest.$ac_ext <<_ACEOF
24962 /* confdefs.h.  */
24963 _ACEOF
24964 cat confdefs.h >>conftest.$ac_ext
24965 cat >>conftest.$ac_ext <<_ACEOF
24966 /* end confdefs.h.  */
24967 #include <math.h>
24968                       #ifdef HAVE_IEEEFP_H
24969                       #include <ieeefp.h>
24970                       #endif
24971
24972 int
24973 main ()
24974 {
24975  _sqrtl(0);
24976   ;
24977   return 0;
24978 }
24979 _ACEOF
24980 rm -f conftest.$ac_objext
24981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24982   (eval $ac_compile) 2>conftest.er1
24983   ac_status=$?
24984   grep -v '^ *+' conftest.er1 >conftest.err
24985   rm -f conftest.er1
24986   cat conftest.err >&5
24987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988   (exit $ac_status); } &&
24989          { ac_try='test -z "$ac_cxx_werror_flag"
24990                          || test ! -s conftest.err'
24991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24992   (eval $ac_try) 2>&5
24993   ac_status=$?
24994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24995   (exit $ac_status); }; } &&
24996          { ac_try='test -s conftest.$ac_objext'
24997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24998   (eval $ac_try) 2>&5
24999   ac_status=$?
25000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001   (exit $ac_status); }; }; then
25002   glibcxx_cv_func__sqrtl_use=yes
25003 else
25004   echo "$as_me: failed program was:" >&5
25005 sed 's/^/| /' conftest.$ac_ext >&5
25006
25007 glibcxx_cv_func__sqrtl_use=no
25008 fi
25009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25010       ac_ext=c
25011 ac_cpp='$CPP $CPPFLAGS'
25012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25015
25016
25017 fi
25018
25019   fi
25020   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25021 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25022
25023     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25024
25025 for ac_func in _sqrtl
25026 do
25027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25028 echo "$as_me:$LINENO: checking for $ac_func" >&5
25029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25030 if eval "test \"\${$as_ac_var+set}\" = set"; then
25031   echo $ECHO_N "(cached) $ECHO_C" >&6
25032 else
25033   if test x$gcc_no_link = xyes; then
25034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25036    { (exit 1); exit 1; }; }
25037 fi
25038 cat >conftest.$ac_ext <<_ACEOF
25039 /* confdefs.h.  */
25040 _ACEOF
25041 cat confdefs.h >>conftest.$ac_ext
25042 cat >>conftest.$ac_ext <<_ACEOF
25043 /* end confdefs.h.  */
25044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25046 #define $ac_func innocuous_$ac_func
25047
25048 /* System header to define __stub macros and hopefully few prototypes,
25049     which can conflict with char $ac_func (); below.
25050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25051     <limits.h> exists even on freestanding compilers.  */
25052
25053 #ifdef __STDC__
25054 # include <limits.h>
25055 #else
25056 # include <assert.h>
25057 #endif
25058
25059 #undef $ac_func
25060
25061 /* Override any gcc2 internal prototype to avoid an error.  */
25062 #ifdef __cplusplus
25063 extern "C"
25064 {
25065 #endif
25066 /* We use char because int might match the return type of a gcc2
25067    builtin and then its argument prototype would still apply.  */
25068 char $ac_func ();
25069 /* The GNU C library defines this for functions which it implements
25070     to always fail with ENOSYS.  Some functions are actually named
25071     something starting with __ and the normal name is an alias.  */
25072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25073 choke me
25074 #else
25075 char (*f) () = $ac_func;
25076 #endif
25077 #ifdef __cplusplus
25078 }
25079 #endif
25080
25081 int
25082 main ()
25083 {
25084 return f != $ac_func;
25085   ;
25086   return 0;
25087 }
25088 _ACEOF
25089 rm -f conftest.$ac_objext conftest$ac_exeext
25090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25091   (eval $ac_link) 2>conftest.er1
25092   ac_status=$?
25093   grep -v '^ *+' conftest.er1 >conftest.err
25094   rm -f conftest.er1
25095   cat conftest.err >&5
25096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097   (exit $ac_status); } &&
25098          { ac_try='test -z "$ac_c_werror_flag"
25099                          || test ! -s conftest.err'
25100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25101   (eval $ac_try) 2>&5
25102   ac_status=$?
25103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104   (exit $ac_status); }; } &&
25105          { ac_try='test -s conftest$ac_exeext'
25106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25107   (eval $ac_try) 2>&5
25108   ac_status=$?
25109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25110   (exit $ac_status); }; }; then
25111   eval "$as_ac_var=yes"
25112 else
25113   echo "$as_me: failed program was:" >&5
25114 sed 's/^/| /' conftest.$ac_ext >&5
25115
25116 eval "$as_ac_var=no"
25117 fi
25118 rm -f conftest.err conftest.$ac_objext \
25119       conftest$ac_exeext conftest.$ac_ext
25120 fi
25121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25123 if test `eval echo '${'$as_ac_var'}'` = yes; then
25124   cat >>confdefs.h <<_ACEOF
25125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25126 _ACEOF
25127
25128 fi
25129 done
25130
25131     fi
25132   fi
25133
25134
25135
25136
25137
25138
25139   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25140 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25141   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25142     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25143   echo $ECHO_N "(cached) $ECHO_C" >&6
25144 else
25145
25146
25147
25148       ac_ext=cc
25149 ac_cpp='$CXXCPP $CPPFLAGS'
25150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25153
25154       cat >conftest.$ac_ext <<_ACEOF
25155 /* confdefs.h.  */
25156 _ACEOF
25157 cat confdefs.h >>conftest.$ac_ext
25158 cat >>conftest.$ac_ext <<_ACEOF
25159 /* end confdefs.h.  */
25160 #include <math.h>
25161 int
25162 main ()
25163 {
25164  sincosl(0, 0, 0);
25165   ;
25166   return 0;
25167 }
25168 _ACEOF
25169 rm -f conftest.$ac_objext
25170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25171   (eval $ac_compile) 2>conftest.er1
25172   ac_status=$?
25173   grep -v '^ *+' conftest.er1 >conftest.err
25174   rm -f conftest.er1
25175   cat conftest.err >&5
25176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177   (exit $ac_status); } &&
25178          { ac_try='test -z "$ac_cxx_werror_flag"
25179                          || test ! -s conftest.err'
25180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25181   (eval $ac_try) 2>&5
25182   ac_status=$?
25183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25184   (exit $ac_status); }; } &&
25185          { ac_try='test -s conftest.$ac_objext'
25186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25187   (eval $ac_try) 2>&5
25188   ac_status=$?
25189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190   (exit $ac_status); }; }; then
25191   glibcxx_cv_func_sincosl_use=yes
25192 else
25193   echo "$as_me: failed program was:" >&5
25194 sed 's/^/| /' conftest.$ac_ext >&5
25195
25196 glibcxx_cv_func_sincosl_use=no
25197 fi
25198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25199       ac_ext=c
25200 ac_cpp='$CPP $CPPFLAGS'
25201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25204
25205
25206 fi
25207
25208   fi
25209   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25210 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25211
25212   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25213
25214 for ac_func in sincosl
25215 do
25216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25217 echo "$as_me:$LINENO: checking for $ac_func" >&5
25218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25219 if eval "test \"\${$as_ac_var+set}\" = set"; then
25220   echo $ECHO_N "(cached) $ECHO_C" >&6
25221 else
25222   if test x$gcc_no_link = xyes; then
25223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25225    { (exit 1); exit 1; }; }
25226 fi
25227 cat >conftest.$ac_ext <<_ACEOF
25228 /* confdefs.h.  */
25229 _ACEOF
25230 cat confdefs.h >>conftest.$ac_ext
25231 cat >>conftest.$ac_ext <<_ACEOF
25232 /* end confdefs.h.  */
25233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25234    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25235 #define $ac_func innocuous_$ac_func
25236
25237 /* System header to define __stub macros and hopefully few prototypes,
25238     which can conflict with char $ac_func (); below.
25239     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25240     <limits.h> exists even on freestanding compilers.  */
25241
25242 #ifdef __STDC__
25243 # include <limits.h>
25244 #else
25245 # include <assert.h>
25246 #endif
25247
25248 #undef $ac_func
25249
25250 /* Override any gcc2 internal prototype to avoid an error.  */
25251 #ifdef __cplusplus
25252 extern "C"
25253 {
25254 #endif
25255 /* We use char because int might match the return type of a gcc2
25256    builtin and then its argument prototype would still apply.  */
25257 char $ac_func ();
25258 /* The GNU C library defines this for functions which it implements
25259     to always fail with ENOSYS.  Some functions are actually named
25260     something starting with __ and the normal name is an alias.  */
25261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25262 choke me
25263 #else
25264 char (*f) () = $ac_func;
25265 #endif
25266 #ifdef __cplusplus
25267 }
25268 #endif
25269
25270 int
25271 main ()
25272 {
25273 return f != $ac_func;
25274   ;
25275   return 0;
25276 }
25277 _ACEOF
25278 rm -f conftest.$ac_objext conftest$ac_exeext
25279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25280   (eval $ac_link) 2>conftest.er1
25281   ac_status=$?
25282   grep -v '^ *+' conftest.er1 >conftest.err
25283   rm -f conftest.er1
25284   cat conftest.err >&5
25285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286   (exit $ac_status); } &&
25287          { ac_try='test -z "$ac_c_werror_flag"
25288                          || test ! -s conftest.err'
25289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25290   (eval $ac_try) 2>&5
25291   ac_status=$?
25292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293   (exit $ac_status); }; } &&
25294          { ac_try='test -s conftest$ac_exeext'
25295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25296   (eval $ac_try) 2>&5
25297   ac_status=$?
25298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299   (exit $ac_status); }; }; then
25300   eval "$as_ac_var=yes"
25301 else
25302   echo "$as_me: failed program was:" >&5
25303 sed 's/^/| /' conftest.$ac_ext >&5
25304
25305 eval "$as_ac_var=no"
25306 fi
25307 rm -f conftest.err conftest.$ac_objext \
25308       conftest$ac_exeext conftest.$ac_ext
25309 fi
25310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25312 if test `eval echo '${'$as_ac_var'}'` = yes; then
25313   cat >>confdefs.h <<_ACEOF
25314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25315 _ACEOF
25316
25317 fi
25318 done
25319
25320   else
25321
25322   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25323 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25324   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25325     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25326   echo $ECHO_N "(cached) $ECHO_C" >&6
25327 else
25328
25329
25330
25331       ac_ext=cc
25332 ac_cpp='$CXXCPP $CPPFLAGS'
25333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25336
25337       cat >conftest.$ac_ext <<_ACEOF
25338 /* confdefs.h.  */
25339 _ACEOF
25340 cat confdefs.h >>conftest.$ac_ext
25341 cat >>conftest.$ac_ext <<_ACEOF
25342 /* end confdefs.h.  */
25343 #include <math.h>
25344 int
25345 main ()
25346 {
25347  _sincosl(0, 0, 0);
25348   ;
25349   return 0;
25350 }
25351 _ACEOF
25352 rm -f conftest.$ac_objext
25353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25354   (eval $ac_compile) 2>conftest.er1
25355   ac_status=$?
25356   grep -v '^ *+' conftest.er1 >conftest.err
25357   rm -f conftest.er1
25358   cat conftest.err >&5
25359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25360   (exit $ac_status); } &&
25361          { ac_try='test -z "$ac_cxx_werror_flag"
25362                          || test ! -s conftest.err'
25363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25364   (eval $ac_try) 2>&5
25365   ac_status=$?
25366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25367   (exit $ac_status); }; } &&
25368          { ac_try='test -s conftest.$ac_objext'
25369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25370   (eval $ac_try) 2>&5
25371   ac_status=$?
25372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373   (exit $ac_status); }; }; then
25374   glibcxx_cv_func__sincosl_use=yes
25375 else
25376   echo "$as_me: failed program was:" >&5
25377 sed 's/^/| /' conftest.$ac_ext >&5
25378
25379 glibcxx_cv_func__sincosl_use=no
25380 fi
25381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25382       ac_ext=c
25383 ac_cpp='$CPP $CPPFLAGS'
25384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25387
25388
25389 fi
25390
25391   fi
25392   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25393 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25394
25395     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25396
25397 for ac_func in _sincosl
25398 do
25399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25400 echo "$as_me:$LINENO: checking for $ac_func" >&5
25401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25402 if eval "test \"\${$as_ac_var+set}\" = set"; then
25403   echo $ECHO_N "(cached) $ECHO_C" >&6
25404 else
25405   if test x$gcc_no_link = xyes; then
25406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25408    { (exit 1); exit 1; }; }
25409 fi
25410 cat >conftest.$ac_ext <<_ACEOF
25411 /* confdefs.h.  */
25412 _ACEOF
25413 cat confdefs.h >>conftest.$ac_ext
25414 cat >>conftest.$ac_ext <<_ACEOF
25415 /* end confdefs.h.  */
25416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25417    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25418 #define $ac_func innocuous_$ac_func
25419
25420 /* System header to define __stub macros and hopefully few prototypes,
25421     which can conflict with char $ac_func (); below.
25422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25423     <limits.h> exists even on freestanding compilers.  */
25424
25425 #ifdef __STDC__
25426 # include <limits.h>
25427 #else
25428 # include <assert.h>
25429 #endif
25430
25431 #undef $ac_func
25432
25433 /* Override any gcc2 internal prototype to avoid an error.  */
25434 #ifdef __cplusplus
25435 extern "C"
25436 {
25437 #endif
25438 /* We use char because int might match the return type of a gcc2
25439    builtin and then its argument prototype would still apply.  */
25440 char $ac_func ();
25441 /* The GNU C library defines this for functions which it implements
25442     to always fail with ENOSYS.  Some functions are actually named
25443     something starting with __ and the normal name is an alias.  */
25444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25445 choke me
25446 #else
25447 char (*f) () = $ac_func;
25448 #endif
25449 #ifdef __cplusplus
25450 }
25451 #endif
25452
25453 int
25454 main ()
25455 {
25456 return f != $ac_func;
25457   ;
25458   return 0;
25459 }
25460 _ACEOF
25461 rm -f conftest.$ac_objext conftest$ac_exeext
25462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25463   (eval $ac_link) 2>conftest.er1
25464   ac_status=$?
25465   grep -v '^ *+' conftest.er1 >conftest.err
25466   rm -f conftest.er1
25467   cat conftest.err >&5
25468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469   (exit $ac_status); } &&
25470          { ac_try='test -z "$ac_c_werror_flag"
25471                          || test ! -s conftest.err'
25472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473   (eval $ac_try) 2>&5
25474   ac_status=$?
25475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476   (exit $ac_status); }; } &&
25477          { ac_try='test -s conftest$ac_exeext'
25478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25479   (eval $ac_try) 2>&5
25480   ac_status=$?
25481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482   (exit $ac_status); }; }; then
25483   eval "$as_ac_var=yes"
25484 else
25485   echo "$as_me: failed program was:" >&5
25486 sed 's/^/| /' conftest.$ac_ext >&5
25487
25488 eval "$as_ac_var=no"
25489 fi
25490 rm -f conftest.err conftest.$ac_objext \
25491       conftest$ac_exeext conftest.$ac_ext
25492 fi
25493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25495 if test `eval echo '${'$as_ac_var'}'` = yes; then
25496   cat >>confdefs.h <<_ACEOF
25497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25498 _ACEOF
25499
25500 fi
25501 done
25502
25503     fi
25504   fi
25505
25506
25507
25508
25509
25510
25511   echo "$as_me:$LINENO: checking for finitel declaration" >&5
25512 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25513   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25514     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25515   echo $ECHO_N "(cached) $ECHO_C" >&6
25516 else
25517
25518
25519
25520       ac_ext=cc
25521 ac_cpp='$CXXCPP $CPPFLAGS'
25522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25525
25526       cat >conftest.$ac_ext <<_ACEOF
25527 /* confdefs.h.  */
25528 _ACEOF
25529 cat confdefs.h >>conftest.$ac_ext
25530 cat >>conftest.$ac_ext <<_ACEOF
25531 /* end confdefs.h.  */
25532 #include <math.h>
25533                       #ifdef HAVE_IEEEFP_H
25534                       #include <ieeefp.h>
25535                       #endif
25536
25537 int
25538 main ()
25539 {
25540  finitel(0);
25541   ;
25542   return 0;
25543 }
25544 _ACEOF
25545 rm -f conftest.$ac_objext
25546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25547   (eval $ac_compile) 2>conftest.er1
25548   ac_status=$?
25549   grep -v '^ *+' conftest.er1 >conftest.err
25550   rm -f conftest.er1
25551   cat conftest.err >&5
25552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25553   (exit $ac_status); } &&
25554          { ac_try='test -z "$ac_cxx_werror_flag"
25555                          || test ! -s conftest.err'
25556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25557   (eval $ac_try) 2>&5
25558   ac_status=$?
25559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560   (exit $ac_status); }; } &&
25561          { ac_try='test -s conftest.$ac_objext'
25562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25563   (eval $ac_try) 2>&5
25564   ac_status=$?
25565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566   (exit $ac_status); }; }; then
25567   glibcxx_cv_func_finitel_use=yes
25568 else
25569   echo "$as_me: failed program was:" >&5
25570 sed 's/^/| /' conftest.$ac_ext >&5
25571
25572 glibcxx_cv_func_finitel_use=no
25573 fi
25574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25575       ac_ext=c
25576 ac_cpp='$CPP $CPPFLAGS'
25577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25580
25581
25582 fi
25583
25584   fi
25585   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25586 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25587
25588   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25589
25590 for ac_func in finitel
25591 do
25592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25593 echo "$as_me:$LINENO: checking for $ac_func" >&5
25594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25595 if eval "test \"\${$as_ac_var+set}\" = set"; then
25596   echo $ECHO_N "(cached) $ECHO_C" >&6
25597 else
25598   if test x$gcc_no_link = xyes; then
25599   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25601    { (exit 1); exit 1; }; }
25602 fi
25603 cat >conftest.$ac_ext <<_ACEOF
25604 /* confdefs.h.  */
25605 _ACEOF
25606 cat confdefs.h >>conftest.$ac_ext
25607 cat >>conftest.$ac_ext <<_ACEOF
25608 /* end confdefs.h.  */
25609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25610    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25611 #define $ac_func innocuous_$ac_func
25612
25613 /* System header to define __stub macros and hopefully few prototypes,
25614     which can conflict with char $ac_func (); below.
25615     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25616     <limits.h> exists even on freestanding compilers.  */
25617
25618 #ifdef __STDC__
25619 # include <limits.h>
25620 #else
25621 # include <assert.h>
25622 #endif
25623
25624 #undef $ac_func
25625
25626 /* Override any gcc2 internal prototype to avoid an error.  */
25627 #ifdef __cplusplus
25628 extern "C"
25629 {
25630 #endif
25631 /* We use char because int might match the return type of a gcc2
25632    builtin and then its argument prototype would still apply.  */
25633 char $ac_func ();
25634 /* The GNU C library defines this for functions which it implements
25635     to always fail with ENOSYS.  Some functions are actually named
25636     something starting with __ and the normal name is an alias.  */
25637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25638 choke me
25639 #else
25640 char (*f) () = $ac_func;
25641 #endif
25642 #ifdef __cplusplus
25643 }
25644 #endif
25645
25646 int
25647 main ()
25648 {
25649 return f != $ac_func;
25650   ;
25651   return 0;
25652 }
25653 _ACEOF
25654 rm -f conftest.$ac_objext conftest$ac_exeext
25655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25656   (eval $ac_link) 2>conftest.er1
25657   ac_status=$?
25658   grep -v '^ *+' conftest.er1 >conftest.err
25659   rm -f conftest.er1
25660   cat conftest.err >&5
25661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662   (exit $ac_status); } &&
25663          { ac_try='test -z "$ac_c_werror_flag"
25664                          || test ! -s conftest.err'
25665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666   (eval $ac_try) 2>&5
25667   ac_status=$?
25668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669   (exit $ac_status); }; } &&
25670          { ac_try='test -s conftest$ac_exeext'
25671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25672   (eval $ac_try) 2>&5
25673   ac_status=$?
25674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675   (exit $ac_status); }; }; then
25676   eval "$as_ac_var=yes"
25677 else
25678   echo "$as_me: failed program was:" >&5
25679 sed 's/^/| /' conftest.$ac_ext >&5
25680
25681 eval "$as_ac_var=no"
25682 fi
25683 rm -f conftest.err conftest.$ac_objext \
25684       conftest$ac_exeext conftest.$ac_ext
25685 fi
25686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25688 if test `eval echo '${'$as_ac_var'}'` = yes; then
25689   cat >>confdefs.h <<_ACEOF
25690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25691 _ACEOF
25692
25693 fi
25694 done
25695
25696   else
25697
25698   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25699 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25700   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25701     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25702   echo $ECHO_N "(cached) $ECHO_C" >&6
25703 else
25704
25705
25706
25707       ac_ext=cc
25708 ac_cpp='$CXXCPP $CPPFLAGS'
25709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25712
25713       cat >conftest.$ac_ext <<_ACEOF
25714 /* confdefs.h.  */
25715 _ACEOF
25716 cat confdefs.h >>conftest.$ac_ext
25717 cat >>conftest.$ac_ext <<_ACEOF
25718 /* end confdefs.h.  */
25719 #include <math.h>
25720                       #ifdef HAVE_IEEEFP_H
25721                       #include <ieeefp.h>
25722                       #endif
25723
25724 int
25725 main ()
25726 {
25727  _finitel(0);
25728   ;
25729   return 0;
25730 }
25731 _ACEOF
25732 rm -f conftest.$ac_objext
25733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25734   (eval $ac_compile) 2>conftest.er1
25735   ac_status=$?
25736   grep -v '^ *+' conftest.er1 >conftest.err
25737   rm -f conftest.er1
25738   cat conftest.err >&5
25739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740   (exit $ac_status); } &&
25741          { ac_try='test -z "$ac_cxx_werror_flag"
25742                          || test ! -s conftest.err'
25743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25744   (eval $ac_try) 2>&5
25745   ac_status=$?
25746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25747   (exit $ac_status); }; } &&
25748          { ac_try='test -s conftest.$ac_objext'
25749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25750   (eval $ac_try) 2>&5
25751   ac_status=$?
25752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753   (exit $ac_status); }; }; then
25754   glibcxx_cv_func__finitel_use=yes
25755 else
25756   echo "$as_me: failed program was:" >&5
25757 sed 's/^/| /' conftest.$ac_ext >&5
25758
25759 glibcxx_cv_func__finitel_use=no
25760 fi
25761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25762       ac_ext=c
25763 ac_cpp='$CPP $CPPFLAGS'
25764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25767
25768
25769 fi
25770
25771   fi
25772   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25773 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25774
25775     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25776
25777 for ac_func in _finitel
25778 do
25779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25780 echo "$as_me:$LINENO: checking for $ac_func" >&5
25781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25782 if eval "test \"\${$as_ac_var+set}\" = set"; then
25783   echo $ECHO_N "(cached) $ECHO_C" >&6
25784 else
25785   if test x$gcc_no_link = xyes; then
25786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25788    { (exit 1); exit 1; }; }
25789 fi
25790 cat >conftest.$ac_ext <<_ACEOF
25791 /* confdefs.h.  */
25792 _ACEOF
25793 cat confdefs.h >>conftest.$ac_ext
25794 cat >>conftest.$ac_ext <<_ACEOF
25795 /* end confdefs.h.  */
25796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25797    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25798 #define $ac_func innocuous_$ac_func
25799
25800 /* System header to define __stub macros and hopefully few prototypes,
25801     which can conflict with char $ac_func (); below.
25802     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25803     <limits.h> exists even on freestanding compilers.  */
25804
25805 #ifdef __STDC__
25806 # include <limits.h>
25807 #else
25808 # include <assert.h>
25809 #endif
25810
25811 #undef $ac_func
25812
25813 /* Override any gcc2 internal prototype to avoid an error.  */
25814 #ifdef __cplusplus
25815 extern "C"
25816 {
25817 #endif
25818 /* We use char because int might match the return type of a gcc2
25819    builtin and then its argument prototype would still apply.  */
25820 char $ac_func ();
25821 /* The GNU C library defines this for functions which it implements
25822     to always fail with ENOSYS.  Some functions are actually named
25823     something starting with __ and the normal name is an alias.  */
25824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25825 choke me
25826 #else
25827 char (*f) () = $ac_func;
25828 #endif
25829 #ifdef __cplusplus
25830 }
25831 #endif
25832
25833 int
25834 main ()
25835 {
25836 return f != $ac_func;
25837   ;
25838   return 0;
25839 }
25840 _ACEOF
25841 rm -f conftest.$ac_objext conftest$ac_exeext
25842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25843   (eval $ac_link) 2>conftest.er1
25844   ac_status=$?
25845   grep -v '^ *+' conftest.er1 >conftest.err
25846   rm -f conftest.er1
25847   cat conftest.err >&5
25848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849   (exit $ac_status); } &&
25850          { ac_try='test -z "$ac_c_werror_flag"
25851                          || test ! -s conftest.err'
25852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853   (eval $ac_try) 2>&5
25854   ac_status=$?
25855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856   (exit $ac_status); }; } &&
25857          { ac_try='test -s conftest$ac_exeext'
25858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859   (eval $ac_try) 2>&5
25860   ac_status=$?
25861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862   (exit $ac_status); }; }; then
25863   eval "$as_ac_var=yes"
25864 else
25865   echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25867
25868 eval "$as_ac_var=no"
25869 fi
25870 rm -f conftest.err conftest.$ac_objext \
25871       conftest$ac_exeext conftest.$ac_ext
25872 fi
25873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25875 if test `eval echo '${'$as_ac_var'}'` = yes; then
25876   cat >>confdefs.h <<_ACEOF
25877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25878 _ACEOF
25879
25880 fi
25881 done
25882
25883     fi
25884   fi
25885
25886
25887
25888
25889
25890   LIBS="$ac_save_LIBS"
25891   CXXFLAGS="$ac_save_CXXFLAGS"
25892
25893
25894
25895   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25896 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25897   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25898     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25899   echo $ECHO_N "(cached) $ECHO_C" >&6
25900 else
25901
25902
25903
25904       ac_ext=cc
25905 ac_cpp='$CXXCPP $CPPFLAGS'
25906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25909
25910       cat >conftest.$ac_ext <<_ACEOF
25911 /* confdefs.h.  */
25912 _ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h.  */
25916 #include <math.h>
25917 int
25918 main ()
25919 {
25920  __builtin_abs(0);
25921   ;
25922   return 0;
25923 }
25924 _ACEOF
25925 rm -f conftest.$ac_objext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25927   (eval $ac_compile) 2>conftest.er1
25928   ac_status=$?
25929   grep -v '^ *+' conftest.er1 >conftest.err
25930   rm -f conftest.er1
25931   cat conftest.err >&5
25932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933   (exit $ac_status); } &&
25934          { ac_try='test -z "$ac_cxx_werror_flag"
25935                          || test ! -s conftest.err'
25936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937   (eval $ac_try) 2>&5
25938   ac_status=$?
25939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940   (exit $ac_status); }; } &&
25941          { ac_try='test -s conftest.$ac_objext'
25942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943   (eval $ac_try) 2>&5
25944   ac_status=$?
25945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946   (exit $ac_status); }; }; then
25947   glibcxx_cv_func___builtin_abs_use=yes
25948 else
25949   echo "$as_me: failed program was:" >&5
25950 sed 's/^/| /' conftest.$ac_ext >&5
25951
25952 glibcxx_cv_func___builtin_abs_use=no
25953 fi
25954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25955       ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25960
25961
25962 fi
25963
25964   fi
25965   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25966 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25967   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25968     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25969 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25970     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25971       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25972   echo $ECHO_N "(cached) $ECHO_C" >&6
25973 else
25974
25975         if test x$gcc_no_link = xyes; then
25976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25978    { (exit 1); exit 1; }; }
25979 fi
25980 cat >conftest.$ac_ext <<_ACEOF
25981 /* confdefs.h.  */
25982 _ACEOF
25983 cat confdefs.h >>conftest.$ac_ext
25984 cat >>conftest.$ac_ext <<_ACEOF
25985 /* end confdefs.h.  */
25986 #include <math.h>
25987 int
25988 main ()
25989 {
25990  __builtin_abs(0);
25991   ;
25992   return 0;
25993 }
25994 _ACEOF
25995 rm -f conftest.$ac_objext conftest$ac_exeext
25996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25997   (eval $ac_link) 2>conftest.er1
25998   ac_status=$?
25999   grep -v '^ *+' conftest.er1 >conftest.err
26000   rm -f conftest.er1
26001   cat conftest.err >&5
26002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003   (exit $ac_status); } &&
26004          { ac_try='test -z "$ac_c_werror_flag"
26005                          || test ! -s conftest.err'
26006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26007   (eval $ac_try) 2>&5
26008   ac_status=$?
26009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010   (exit $ac_status); }; } &&
26011          { ac_try='test -s conftest$ac_exeext'
26012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26013   (eval $ac_try) 2>&5
26014   ac_status=$?
26015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016   (exit $ac_status); }; }; then
26017   glibcxx_cv_func___builtin_abs_link=yes
26018 else
26019   echo "$as_me: failed program was:" >&5
26020 sed 's/^/| /' conftest.$ac_ext >&5
26021
26022 glibcxx_cv_func___builtin_abs_link=no
26023 fi
26024 rm -f conftest.err conftest.$ac_objext \
26025       conftest$ac_exeext conftest.$ac_ext
26026
26027 fi
26028
26029     fi
26030     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26031 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26032
26033     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26034
26035 cat >>confdefs.h <<\_ACEOF
26036 #define HAVE___BUILTIN_ABS 1
26037 _ACEOF
26038
26039     fi
26040
26041   fi
26042
26043
26044   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26045 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26046   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26047     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26048   echo $ECHO_N "(cached) $ECHO_C" >&6
26049 else
26050
26051
26052
26053       ac_ext=cc
26054 ac_cpp='$CXXCPP $CPPFLAGS'
26055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26058
26059       cat >conftest.$ac_ext <<_ACEOF
26060 /* confdefs.h.  */
26061 _ACEOF
26062 cat confdefs.h >>conftest.$ac_ext
26063 cat >>conftest.$ac_ext <<_ACEOF
26064 /* end confdefs.h.  */
26065 #include <math.h>
26066 int
26067 main ()
26068 {
26069  __builtin_fabsf(0);
26070   ;
26071   return 0;
26072 }
26073 _ACEOF
26074 rm -f conftest.$ac_objext
26075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26076   (eval $ac_compile) 2>conftest.er1
26077   ac_status=$?
26078   grep -v '^ *+' conftest.er1 >conftest.err
26079   rm -f conftest.er1
26080   cat conftest.err >&5
26081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26082   (exit $ac_status); } &&
26083          { ac_try='test -z "$ac_cxx_werror_flag"
26084                          || test ! -s conftest.err'
26085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26086   (eval $ac_try) 2>&5
26087   ac_status=$?
26088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089   (exit $ac_status); }; } &&
26090          { ac_try='test -s conftest.$ac_objext'
26091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26092   (eval $ac_try) 2>&5
26093   ac_status=$?
26094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095   (exit $ac_status); }; }; then
26096   glibcxx_cv_func___builtin_fabsf_use=yes
26097 else
26098   echo "$as_me: failed program was:" >&5
26099 sed 's/^/| /' conftest.$ac_ext >&5
26100
26101 glibcxx_cv_func___builtin_fabsf_use=no
26102 fi
26103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26104       ac_ext=c
26105 ac_cpp='$CPP $CPPFLAGS'
26106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26109
26110
26111 fi
26112
26113   fi
26114   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26115 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26116   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26117     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26118 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26119     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26120       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26121   echo $ECHO_N "(cached) $ECHO_C" >&6
26122 else
26123
26124         if test x$gcc_no_link = xyes; then
26125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26127    { (exit 1); exit 1; }; }
26128 fi
26129 cat >conftest.$ac_ext <<_ACEOF
26130 /* confdefs.h.  */
26131 _ACEOF
26132 cat confdefs.h >>conftest.$ac_ext
26133 cat >>conftest.$ac_ext <<_ACEOF
26134 /* end confdefs.h.  */
26135 #include <math.h>
26136 int
26137 main ()
26138 {
26139  __builtin_fabsf(0);
26140   ;
26141   return 0;
26142 }
26143 _ACEOF
26144 rm -f conftest.$ac_objext conftest$ac_exeext
26145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26146   (eval $ac_link) 2>conftest.er1
26147   ac_status=$?
26148   grep -v '^ *+' conftest.er1 >conftest.err
26149   rm -f conftest.er1
26150   cat conftest.err >&5
26151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26152   (exit $ac_status); } &&
26153          { ac_try='test -z "$ac_c_werror_flag"
26154                          || test ! -s conftest.err'
26155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26156   (eval $ac_try) 2>&5
26157   ac_status=$?
26158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159   (exit $ac_status); }; } &&
26160          { ac_try='test -s conftest$ac_exeext'
26161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26162   (eval $ac_try) 2>&5
26163   ac_status=$?
26164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165   (exit $ac_status); }; }; then
26166   glibcxx_cv_func___builtin_fabsf_link=yes
26167 else
26168   echo "$as_me: failed program was:" >&5
26169 sed 's/^/| /' conftest.$ac_ext >&5
26170
26171 glibcxx_cv_func___builtin_fabsf_link=no
26172 fi
26173 rm -f conftest.err conftest.$ac_objext \
26174       conftest$ac_exeext conftest.$ac_ext
26175
26176 fi
26177
26178     fi
26179     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26180 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26181
26182     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26183
26184 cat >>confdefs.h <<\_ACEOF
26185 #define HAVE___BUILTIN_FABSF 1
26186 _ACEOF
26187
26188     fi
26189
26190   fi
26191
26192
26193   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26194 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26195   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26196     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26197   echo $ECHO_N "(cached) $ECHO_C" >&6
26198 else
26199
26200
26201
26202       ac_ext=cc
26203 ac_cpp='$CXXCPP $CPPFLAGS'
26204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26207
26208       cat >conftest.$ac_ext <<_ACEOF
26209 /* confdefs.h.  */
26210 _ACEOF
26211 cat confdefs.h >>conftest.$ac_ext
26212 cat >>conftest.$ac_ext <<_ACEOF
26213 /* end confdefs.h.  */
26214 #include <math.h>
26215 int
26216 main ()
26217 {
26218  __builtin_fabs(0);
26219   ;
26220   return 0;
26221 }
26222 _ACEOF
26223 rm -f conftest.$ac_objext
26224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26225   (eval $ac_compile) 2>conftest.er1
26226   ac_status=$?
26227   grep -v '^ *+' conftest.er1 >conftest.err
26228   rm -f conftest.er1
26229   cat conftest.err >&5
26230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231   (exit $ac_status); } &&
26232          { ac_try='test -z "$ac_cxx_werror_flag"
26233                          || test ! -s conftest.err'
26234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26235   (eval $ac_try) 2>&5
26236   ac_status=$?
26237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238   (exit $ac_status); }; } &&
26239          { ac_try='test -s conftest.$ac_objext'
26240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26241   (eval $ac_try) 2>&5
26242   ac_status=$?
26243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244   (exit $ac_status); }; }; then
26245   glibcxx_cv_func___builtin_fabs_use=yes
26246 else
26247   echo "$as_me: failed program was:" >&5
26248 sed 's/^/| /' conftest.$ac_ext >&5
26249
26250 glibcxx_cv_func___builtin_fabs_use=no
26251 fi
26252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26253       ac_ext=c
26254 ac_cpp='$CPP $CPPFLAGS'
26255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26258
26259
26260 fi
26261
26262   fi
26263   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26264 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26265   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26266     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26267 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26268     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26269       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26270   echo $ECHO_N "(cached) $ECHO_C" >&6
26271 else
26272
26273         if test x$gcc_no_link = xyes; then
26274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26276    { (exit 1); exit 1; }; }
26277 fi
26278 cat >conftest.$ac_ext <<_ACEOF
26279 /* confdefs.h.  */
26280 _ACEOF
26281 cat confdefs.h >>conftest.$ac_ext
26282 cat >>conftest.$ac_ext <<_ACEOF
26283 /* end confdefs.h.  */
26284 #include <math.h>
26285 int
26286 main ()
26287 {
26288  __builtin_fabs(0);
26289   ;
26290   return 0;
26291 }
26292 _ACEOF
26293 rm -f conftest.$ac_objext conftest$ac_exeext
26294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26295   (eval $ac_link) 2>conftest.er1
26296   ac_status=$?
26297   grep -v '^ *+' conftest.er1 >conftest.err
26298   rm -f conftest.er1
26299   cat conftest.err >&5
26300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301   (exit $ac_status); } &&
26302          { ac_try='test -z "$ac_c_werror_flag"
26303                          || test ! -s conftest.err'
26304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26305   (eval $ac_try) 2>&5
26306   ac_status=$?
26307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308   (exit $ac_status); }; } &&
26309          { ac_try='test -s conftest$ac_exeext'
26310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26311   (eval $ac_try) 2>&5
26312   ac_status=$?
26313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314   (exit $ac_status); }; }; then
26315   glibcxx_cv_func___builtin_fabs_link=yes
26316 else
26317   echo "$as_me: failed program was:" >&5
26318 sed 's/^/| /' conftest.$ac_ext >&5
26319
26320 glibcxx_cv_func___builtin_fabs_link=no
26321 fi
26322 rm -f conftest.err conftest.$ac_objext \
26323       conftest$ac_exeext conftest.$ac_ext
26324
26325 fi
26326
26327     fi
26328     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26329 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26330
26331     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26332
26333 cat >>confdefs.h <<\_ACEOF
26334 #define HAVE___BUILTIN_FABS 1
26335 _ACEOF
26336
26337     fi
26338
26339   fi
26340
26341
26342   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26343 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26344   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26345     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26346   echo $ECHO_N "(cached) $ECHO_C" >&6
26347 else
26348
26349
26350
26351       ac_ext=cc
26352 ac_cpp='$CXXCPP $CPPFLAGS'
26353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26356
26357       cat >conftest.$ac_ext <<_ACEOF
26358 /* confdefs.h.  */
26359 _ACEOF
26360 cat confdefs.h >>conftest.$ac_ext
26361 cat >>conftest.$ac_ext <<_ACEOF
26362 /* end confdefs.h.  */
26363 #include <math.h>
26364 int
26365 main ()
26366 {
26367  __builtin_fabsl(0);
26368   ;
26369   return 0;
26370 }
26371 _ACEOF
26372 rm -f conftest.$ac_objext
26373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26374   (eval $ac_compile) 2>conftest.er1
26375   ac_status=$?
26376   grep -v '^ *+' conftest.er1 >conftest.err
26377   rm -f conftest.er1
26378   cat conftest.err >&5
26379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380   (exit $ac_status); } &&
26381          { ac_try='test -z "$ac_cxx_werror_flag"
26382                          || test ! -s conftest.err'
26383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26384   (eval $ac_try) 2>&5
26385   ac_status=$?
26386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387   (exit $ac_status); }; } &&
26388          { ac_try='test -s conftest.$ac_objext'
26389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26390   (eval $ac_try) 2>&5
26391   ac_status=$?
26392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393   (exit $ac_status); }; }; then
26394   glibcxx_cv_func___builtin_fabsl_use=yes
26395 else
26396   echo "$as_me: failed program was:" >&5
26397 sed 's/^/| /' conftest.$ac_ext >&5
26398
26399 glibcxx_cv_func___builtin_fabsl_use=no
26400 fi
26401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26402       ac_ext=c
26403 ac_cpp='$CPP $CPPFLAGS'
26404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26407
26408
26409 fi
26410
26411   fi
26412   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26413 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26414   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26415     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26416 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26417     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26418       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26419   echo $ECHO_N "(cached) $ECHO_C" >&6
26420 else
26421
26422         if test x$gcc_no_link = xyes; then
26423   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26425    { (exit 1); exit 1; }; }
26426 fi
26427 cat >conftest.$ac_ext <<_ACEOF
26428 /* confdefs.h.  */
26429 _ACEOF
26430 cat confdefs.h >>conftest.$ac_ext
26431 cat >>conftest.$ac_ext <<_ACEOF
26432 /* end confdefs.h.  */
26433 #include <math.h>
26434 int
26435 main ()
26436 {
26437  __builtin_fabsl(0);
26438   ;
26439   return 0;
26440 }
26441 _ACEOF
26442 rm -f conftest.$ac_objext conftest$ac_exeext
26443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26444   (eval $ac_link) 2>conftest.er1
26445   ac_status=$?
26446   grep -v '^ *+' conftest.er1 >conftest.err
26447   rm -f conftest.er1
26448   cat conftest.err >&5
26449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26450   (exit $ac_status); } &&
26451          { ac_try='test -z "$ac_c_werror_flag"
26452                          || test ! -s conftest.err'
26453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26454   (eval $ac_try) 2>&5
26455   ac_status=$?
26456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457   (exit $ac_status); }; } &&
26458          { ac_try='test -s conftest$ac_exeext'
26459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26460   (eval $ac_try) 2>&5
26461   ac_status=$?
26462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463   (exit $ac_status); }; }; then
26464   glibcxx_cv_func___builtin_fabsl_link=yes
26465 else
26466   echo "$as_me: failed program was:" >&5
26467 sed 's/^/| /' conftest.$ac_ext >&5
26468
26469 glibcxx_cv_func___builtin_fabsl_link=no
26470 fi
26471 rm -f conftest.err conftest.$ac_objext \
26472       conftest$ac_exeext conftest.$ac_ext
26473
26474 fi
26475
26476     fi
26477     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26478 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26479
26480     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26481
26482 cat >>confdefs.h <<\_ACEOF
26483 #define HAVE___BUILTIN_FABSL 1
26484 _ACEOF
26485
26486     fi
26487
26488   fi
26489
26490
26491   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26492 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26493   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26494     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26495   echo $ECHO_N "(cached) $ECHO_C" >&6
26496 else
26497
26498
26499
26500       ac_ext=cc
26501 ac_cpp='$CXXCPP $CPPFLAGS'
26502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26505
26506       cat >conftest.$ac_ext <<_ACEOF
26507 /* confdefs.h.  */
26508 _ACEOF
26509 cat confdefs.h >>conftest.$ac_ext
26510 cat >>conftest.$ac_ext <<_ACEOF
26511 /* end confdefs.h.  */
26512 #include <math.h>
26513 int
26514 main ()
26515 {
26516  __builtin_labs(0);
26517   ;
26518   return 0;
26519 }
26520 _ACEOF
26521 rm -f conftest.$ac_objext
26522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26523   (eval $ac_compile) 2>conftest.er1
26524   ac_status=$?
26525   grep -v '^ *+' conftest.er1 >conftest.err
26526   rm -f conftest.er1
26527   cat conftest.err >&5
26528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529   (exit $ac_status); } &&
26530          { ac_try='test -z "$ac_cxx_werror_flag"
26531                          || test ! -s conftest.err'
26532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533   (eval $ac_try) 2>&5
26534   ac_status=$?
26535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536   (exit $ac_status); }; } &&
26537          { ac_try='test -s conftest.$ac_objext'
26538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26539   (eval $ac_try) 2>&5
26540   ac_status=$?
26541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542   (exit $ac_status); }; }; then
26543   glibcxx_cv_func___builtin_labs_use=yes
26544 else
26545   echo "$as_me: failed program was:" >&5
26546 sed 's/^/| /' conftest.$ac_ext >&5
26547
26548 glibcxx_cv_func___builtin_labs_use=no
26549 fi
26550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26551       ac_ext=c
26552 ac_cpp='$CPP $CPPFLAGS'
26553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26556
26557
26558 fi
26559
26560   fi
26561   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26562 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26563   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26564     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26565 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26566     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26567       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26568   echo $ECHO_N "(cached) $ECHO_C" >&6
26569 else
26570
26571         if test x$gcc_no_link = xyes; then
26572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26574    { (exit 1); exit 1; }; }
26575 fi
26576 cat >conftest.$ac_ext <<_ACEOF
26577 /* confdefs.h.  */
26578 _ACEOF
26579 cat confdefs.h >>conftest.$ac_ext
26580 cat >>conftest.$ac_ext <<_ACEOF
26581 /* end confdefs.h.  */
26582 #include <math.h>
26583 int
26584 main ()
26585 {
26586  __builtin_labs(0);
26587   ;
26588   return 0;
26589 }
26590 _ACEOF
26591 rm -f conftest.$ac_objext conftest$ac_exeext
26592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26593   (eval $ac_link) 2>conftest.er1
26594   ac_status=$?
26595   grep -v '^ *+' conftest.er1 >conftest.err
26596   rm -f conftest.er1
26597   cat conftest.err >&5
26598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599   (exit $ac_status); } &&
26600          { ac_try='test -z "$ac_c_werror_flag"
26601                          || test ! -s conftest.err'
26602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26603   (eval $ac_try) 2>&5
26604   ac_status=$?
26605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606   (exit $ac_status); }; } &&
26607          { ac_try='test -s conftest$ac_exeext'
26608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26609   (eval $ac_try) 2>&5
26610   ac_status=$?
26611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612   (exit $ac_status); }; }; then
26613   glibcxx_cv_func___builtin_labs_link=yes
26614 else
26615   echo "$as_me: failed program was:" >&5
26616 sed 's/^/| /' conftest.$ac_ext >&5
26617
26618 glibcxx_cv_func___builtin_labs_link=no
26619 fi
26620 rm -f conftest.err conftest.$ac_objext \
26621       conftest$ac_exeext conftest.$ac_ext
26622
26623 fi
26624
26625     fi
26626     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26627 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26628
26629     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26630
26631 cat >>confdefs.h <<\_ACEOF
26632 #define HAVE___BUILTIN_LABS 1
26633 _ACEOF
26634
26635     fi
26636
26637   fi
26638
26639
26640
26641   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26642 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26643   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26644     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26645   echo $ECHO_N "(cached) $ECHO_C" >&6
26646 else
26647
26648
26649
26650       ac_ext=cc
26651 ac_cpp='$CXXCPP $CPPFLAGS'
26652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26655
26656       cat >conftest.$ac_ext <<_ACEOF
26657 /* confdefs.h.  */
26658 _ACEOF
26659 cat confdefs.h >>conftest.$ac_ext
26660 cat >>conftest.$ac_ext <<_ACEOF
26661 /* end confdefs.h.  */
26662 #include <math.h>
26663 int
26664 main ()
26665 {
26666  __builtin_sqrtf(0);
26667   ;
26668   return 0;
26669 }
26670 _ACEOF
26671 rm -f conftest.$ac_objext
26672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26673   (eval $ac_compile) 2>conftest.er1
26674   ac_status=$?
26675   grep -v '^ *+' conftest.er1 >conftest.err
26676   rm -f conftest.er1
26677   cat conftest.err >&5
26678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679   (exit $ac_status); } &&
26680          { ac_try='test -z "$ac_cxx_werror_flag"
26681                          || test ! -s conftest.err'
26682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683   (eval $ac_try) 2>&5
26684   ac_status=$?
26685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686   (exit $ac_status); }; } &&
26687          { ac_try='test -s conftest.$ac_objext'
26688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26689   (eval $ac_try) 2>&5
26690   ac_status=$?
26691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692   (exit $ac_status); }; }; then
26693   glibcxx_cv_func___builtin_sqrtf_use=yes
26694 else
26695   echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26697
26698 glibcxx_cv_func___builtin_sqrtf_use=no
26699 fi
26700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26701       ac_ext=c
26702 ac_cpp='$CPP $CPPFLAGS'
26703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26706
26707
26708 fi
26709
26710   fi
26711   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26712 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26713   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26714     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26715 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26716     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26717       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26718   echo $ECHO_N "(cached) $ECHO_C" >&6
26719 else
26720
26721         if test x$gcc_no_link = xyes; then
26722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26724    { (exit 1); exit 1; }; }
26725 fi
26726 cat >conftest.$ac_ext <<_ACEOF
26727 /* confdefs.h.  */
26728 _ACEOF
26729 cat confdefs.h >>conftest.$ac_ext
26730 cat >>conftest.$ac_ext <<_ACEOF
26731 /* end confdefs.h.  */
26732 #include <math.h>
26733 int
26734 main ()
26735 {
26736  __builtin_sqrtf(0);
26737   ;
26738   return 0;
26739 }
26740 _ACEOF
26741 rm -f conftest.$ac_objext conftest$ac_exeext
26742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26743   (eval $ac_link) 2>conftest.er1
26744   ac_status=$?
26745   grep -v '^ *+' conftest.er1 >conftest.err
26746   rm -f conftest.er1
26747   cat conftest.err >&5
26748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749   (exit $ac_status); } &&
26750          { ac_try='test -z "$ac_c_werror_flag"
26751                          || test ! -s conftest.err'
26752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753   (eval $ac_try) 2>&5
26754   ac_status=$?
26755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756   (exit $ac_status); }; } &&
26757          { ac_try='test -s conftest$ac_exeext'
26758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759   (eval $ac_try) 2>&5
26760   ac_status=$?
26761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762   (exit $ac_status); }; }; then
26763   glibcxx_cv_func___builtin_sqrtf_link=yes
26764 else
26765   echo "$as_me: failed program was:" >&5
26766 sed 's/^/| /' conftest.$ac_ext >&5
26767
26768 glibcxx_cv_func___builtin_sqrtf_link=no
26769 fi
26770 rm -f conftest.err conftest.$ac_objext \
26771       conftest$ac_exeext conftest.$ac_ext
26772
26773 fi
26774
26775     fi
26776     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26777 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26778
26779     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26780
26781 cat >>confdefs.h <<\_ACEOF
26782 #define HAVE___BUILTIN_SQRTF 1
26783 _ACEOF
26784
26785     fi
26786
26787   fi
26788
26789
26790   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26791 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26792   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26793     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26794   echo $ECHO_N "(cached) $ECHO_C" >&6
26795 else
26796
26797
26798
26799       ac_ext=cc
26800 ac_cpp='$CXXCPP $CPPFLAGS'
26801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26804
26805       cat >conftest.$ac_ext <<_ACEOF
26806 /* confdefs.h.  */
26807 _ACEOF
26808 cat confdefs.h >>conftest.$ac_ext
26809 cat >>conftest.$ac_ext <<_ACEOF
26810 /* end confdefs.h.  */
26811 #include <math.h>
26812 int
26813 main ()
26814 {
26815  __builtin_sqrt(0);
26816   ;
26817   return 0;
26818 }
26819 _ACEOF
26820 rm -f conftest.$ac_objext
26821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26822   (eval $ac_compile) 2>conftest.er1
26823   ac_status=$?
26824   grep -v '^ *+' conftest.er1 >conftest.err
26825   rm -f conftest.er1
26826   cat conftest.err >&5
26827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828   (exit $ac_status); } &&
26829          { ac_try='test -z "$ac_cxx_werror_flag"
26830                          || test ! -s conftest.err'
26831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832   (eval $ac_try) 2>&5
26833   ac_status=$?
26834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835   (exit $ac_status); }; } &&
26836          { ac_try='test -s conftest.$ac_objext'
26837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26838   (eval $ac_try) 2>&5
26839   ac_status=$?
26840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841   (exit $ac_status); }; }; then
26842   glibcxx_cv_func___builtin_sqrt_use=yes
26843 else
26844   echo "$as_me: failed program was:" >&5
26845 sed 's/^/| /' conftest.$ac_ext >&5
26846
26847 glibcxx_cv_func___builtin_sqrt_use=no
26848 fi
26849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26850       ac_ext=c
26851 ac_cpp='$CPP $CPPFLAGS'
26852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26855
26856
26857 fi
26858
26859   fi
26860   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26861 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26862   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26863     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26864 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26865     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26866       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26867   echo $ECHO_N "(cached) $ECHO_C" >&6
26868 else
26869
26870         if test x$gcc_no_link = xyes; then
26871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26873    { (exit 1); exit 1; }; }
26874 fi
26875 cat >conftest.$ac_ext <<_ACEOF
26876 /* confdefs.h.  */
26877 _ACEOF
26878 cat confdefs.h >>conftest.$ac_ext
26879 cat >>conftest.$ac_ext <<_ACEOF
26880 /* end confdefs.h.  */
26881 #include <math.h>
26882 int
26883 main ()
26884 {
26885  __builtin_sqrt(0);
26886   ;
26887   return 0;
26888 }
26889 _ACEOF
26890 rm -f conftest.$ac_objext conftest$ac_exeext
26891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26892   (eval $ac_link) 2>conftest.er1
26893   ac_status=$?
26894   grep -v '^ *+' conftest.er1 >conftest.err
26895   rm -f conftest.er1
26896   cat conftest.err >&5
26897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898   (exit $ac_status); } &&
26899          { ac_try='test -z "$ac_c_werror_flag"
26900                          || test ! -s conftest.err'
26901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26902   (eval $ac_try) 2>&5
26903   ac_status=$?
26904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905   (exit $ac_status); }; } &&
26906          { ac_try='test -s conftest$ac_exeext'
26907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26908   (eval $ac_try) 2>&5
26909   ac_status=$?
26910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911   (exit $ac_status); }; }; then
26912   glibcxx_cv_func___builtin_sqrt_link=yes
26913 else
26914   echo "$as_me: failed program was:" >&5
26915 sed 's/^/| /' conftest.$ac_ext >&5
26916
26917 glibcxx_cv_func___builtin_sqrt_link=no
26918 fi
26919 rm -f conftest.err conftest.$ac_objext \
26920       conftest$ac_exeext conftest.$ac_ext
26921
26922 fi
26923
26924     fi
26925     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26926 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26927
26928     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26929
26930 cat >>confdefs.h <<\_ACEOF
26931 #define HAVE___BUILTIN_SQRT 1
26932 _ACEOF
26933
26934     fi
26935
26936   fi
26937
26938
26939   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26940 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26941   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26942     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26943   echo $ECHO_N "(cached) $ECHO_C" >&6
26944 else
26945
26946
26947
26948       ac_ext=cc
26949 ac_cpp='$CXXCPP $CPPFLAGS'
26950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26953
26954       cat >conftest.$ac_ext <<_ACEOF
26955 /* confdefs.h.  */
26956 _ACEOF
26957 cat confdefs.h >>conftest.$ac_ext
26958 cat >>conftest.$ac_ext <<_ACEOF
26959 /* end confdefs.h.  */
26960 #include <math.h>
26961 int
26962 main ()
26963 {
26964  __builtin_sqrtl(0);
26965   ;
26966   return 0;
26967 }
26968 _ACEOF
26969 rm -f conftest.$ac_objext
26970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26971   (eval $ac_compile) 2>conftest.er1
26972   ac_status=$?
26973   grep -v '^ *+' conftest.er1 >conftest.err
26974   rm -f conftest.er1
26975   cat conftest.err >&5
26976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977   (exit $ac_status); } &&
26978          { ac_try='test -z "$ac_cxx_werror_flag"
26979                          || test ! -s conftest.err'
26980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26981   (eval $ac_try) 2>&5
26982   ac_status=$?
26983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984   (exit $ac_status); }; } &&
26985          { ac_try='test -s conftest.$ac_objext'
26986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26987   (eval $ac_try) 2>&5
26988   ac_status=$?
26989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26990   (exit $ac_status); }; }; then
26991   glibcxx_cv_func___builtin_sqrtl_use=yes
26992 else
26993   echo "$as_me: failed program was:" >&5
26994 sed 's/^/| /' conftest.$ac_ext >&5
26995
26996 glibcxx_cv_func___builtin_sqrtl_use=no
26997 fi
26998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26999       ac_ext=c
27000 ac_cpp='$CPP $CPPFLAGS'
27001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27004
27005
27006 fi
27007
27008   fi
27009   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27010 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27011   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27012     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27013 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27014     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27015       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27016   echo $ECHO_N "(cached) $ECHO_C" >&6
27017 else
27018
27019         if test x$gcc_no_link = xyes; then
27020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27022    { (exit 1); exit 1; }; }
27023 fi
27024 cat >conftest.$ac_ext <<_ACEOF
27025 /* confdefs.h.  */
27026 _ACEOF
27027 cat confdefs.h >>conftest.$ac_ext
27028 cat >>conftest.$ac_ext <<_ACEOF
27029 /* end confdefs.h.  */
27030 #include <math.h>
27031 int
27032 main ()
27033 {
27034  __builtin_sqrtl(0);
27035   ;
27036   return 0;
27037 }
27038 _ACEOF
27039 rm -f conftest.$ac_objext conftest$ac_exeext
27040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27041   (eval $ac_link) 2>conftest.er1
27042   ac_status=$?
27043   grep -v '^ *+' conftest.er1 >conftest.err
27044   rm -f conftest.er1
27045   cat conftest.err >&5
27046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047   (exit $ac_status); } &&
27048          { ac_try='test -z "$ac_c_werror_flag"
27049                          || test ! -s conftest.err'
27050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27051   (eval $ac_try) 2>&5
27052   ac_status=$?
27053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054   (exit $ac_status); }; } &&
27055          { ac_try='test -s conftest$ac_exeext'
27056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27057   (eval $ac_try) 2>&5
27058   ac_status=$?
27059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060   (exit $ac_status); }; }; then
27061   glibcxx_cv_func___builtin_sqrtl_link=yes
27062 else
27063   echo "$as_me: failed program was:" >&5
27064 sed 's/^/| /' conftest.$ac_ext >&5
27065
27066 glibcxx_cv_func___builtin_sqrtl_link=no
27067 fi
27068 rm -f conftest.err conftest.$ac_objext \
27069       conftest$ac_exeext conftest.$ac_ext
27070
27071 fi
27072
27073     fi
27074     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27075 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27076
27077     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27078
27079 cat >>confdefs.h <<\_ACEOF
27080 #define HAVE___BUILTIN_SQRTL 1
27081 _ACEOF
27082
27083     fi
27084
27085   fi
27086
27087
27088
27089   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27090 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27091   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27092     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27093   echo $ECHO_N "(cached) $ECHO_C" >&6
27094 else
27095
27096
27097
27098       ac_ext=cc
27099 ac_cpp='$CXXCPP $CPPFLAGS'
27100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27103
27104       cat >conftest.$ac_ext <<_ACEOF
27105 /* confdefs.h.  */
27106 _ACEOF
27107 cat confdefs.h >>conftest.$ac_ext
27108 cat >>conftest.$ac_ext <<_ACEOF
27109 /* end confdefs.h.  */
27110 #include <math.h>
27111 int
27112 main ()
27113 {
27114  __builtin_sinf(0);
27115   ;
27116   return 0;
27117 }
27118 _ACEOF
27119 rm -f conftest.$ac_objext
27120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27121   (eval $ac_compile) 2>conftest.er1
27122   ac_status=$?
27123   grep -v '^ *+' conftest.er1 >conftest.err
27124   rm -f conftest.er1
27125   cat conftest.err >&5
27126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27127   (exit $ac_status); } &&
27128          { ac_try='test -z "$ac_cxx_werror_flag"
27129                          || test ! -s conftest.err'
27130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27131   (eval $ac_try) 2>&5
27132   ac_status=$?
27133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134   (exit $ac_status); }; } &&
27135          { ac_try='test -s conftest.$ac_objext'
27136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27137   (eval $ac_try) 2>&5
27138   ac_status=$?
27139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140   (exit $ac_status); }; }; then
27141   glibcxx_cv_func___builtin_sinf_use=yes
27142 else
27143   echo "$as_me: failed program was:" >&5
27144 sed 's/^/| /' conftest.$ac_ext >&5
27145
27146 glibcxx_cv_func___builtin_sinf_use=no
27147 fi
27148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27149       ac_ext=c
27150 ac_cpp='$CPP $CPPFLAGS'
27151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27154
27155
27156 fi
27157
27158   fi
27159   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27160 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27161   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27162     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27163 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27164     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27165       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27166   echo $ECHO_N "(cached) $ECHO_C" >&6
27167 else
27168
27169         if test x$gcc_no_link = xyes; then
27170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27172    { (exit 1); exit 1; }; }
27173 fi
27174 cat >conftest.$ac_ext <<_ACEOF
27175 /* confdefs.h.  */
27176 _ACEOF
27177 cat confdefs.h >>conftest.$ac_ext
27178 cat >>conftest.$ac_ext <<_ACEOF
27179 /* end confdefs.h.  */
27180 #include <math.h>
27181 int
27182 main ()
27183 {
27184  __builtin_sinf(0);
27185   ;
27186   return 0;
27187 }
27188 _ACEOF
27189 rm -f conftest.$ac_objext conftest$ac_exeext
27190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27191   (eval $ac_link) 2>conftest.er1
27192   ac_status=$?
27193   grep -v '^ *+' conftest.er1 >conftest.err
27194   rm -f conftest.er1
27195   cat conftest.err >&5
27196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27197   (exit $ac_status); } &&
27198          { ac_try='test -z "$ac_c_werror_flag"
27199                          || test ! -s conftest.err'
27200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27201   (eval $ac_try) 2>&5
27202   ac_status=$?
27203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204   (exit $ac_status); }; } &&
27205          { ac_try='test -s conftest$ac_exeext'
27206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207   (eval $ac_try) 2>&5
27208   ac_status=$?
27209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210   (exit $ac_status); }; }; then
27211   glibcxx_cv_func___builtin_sinf_link=yes
27212 else
27213   echo "$as_me: failed program was:" >&5
27214 sed 's/^/| /' conftest.$ac_ext >&5
27215
27216 glibcxx_cv_func___builtin_sinf_link=no
27217 fi
27218 rm -f conftest.err conftest.$ac_objext \
27219       conftest$ac_exeext conftest.$ac_ext
27220
27221 fi
27222
27223     fi
27224     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27225 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27226
27227     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27228
27229 cat >>confdefs.h <<\_ACEOF
27230 #define HAVE___BUILTIN_SINF 1
27231 _ACEOF
27232
27233     fi
27234
27235   fi
27236
27237
27238   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27239 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27240   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27241     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27242   echo $ECHO_N "(cached) $ECHO_C" >&6
27243 else
27244
27245
27246
27247       ac_ext=cc
27248 ac_cpp='$CXXCPP $CPPFLAGS'
27249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27252
27253       cat >conftest.$ac_ext <<_ACEOF
27254 /* confdefs.h.  */
27255 _ACEOF
27256 cat confdefs.h >>conftest.$ac_ext
27257 cat >>conftest.$ac_ext <<_ACEOF
27258 /* end confdefs.h.  */
27259 #include <math.h>
27260 int
27261 main ()
27262 {
27263  __builtin_sin(0);
27264   ;
27265   return 0;
27266 }
27267 _ACEOF
27268 rm -f conftest.$ac_objext
27269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27270   (eval $ac_compile) 2>conftest.er1
27271   ac_status=$?
27272   grep -v '^ *+' conftest.er1 >conftest.err
27273   rm -f conftest.er1
27274   cat conftest.err >&5
27275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276   (exit $ac_status); } &&
27277          { ac_try='test -z "$ac_cxx_werror_flag"
27278                          || test ! -s conftest.err'
27279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27280   (eval $ac_try) 2>&5
27281   ac_status=$?
27282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283   (exit $ac_status); }; } &&
27284          { ac_try='test -s conftest.$ac_objext'
27285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27286   (eval $ac_try) 2>&5
27287   ac_status=$?
27288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289   (exit $ac_status); }; }; then
27290   glibcxx_cv_func___builtin_sin_use=yes
27291 else
27292   echo "$as_me: failed program was:" >&5
27293 sed 's/^/| /' conftest.$ac_ext >&5
27294
27295 glibcxx_cv_func___builtin_sin_use=no
27296 fi
27297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27298       ac_ext=c
27299 ac_cpp='$CPP $CPPFLAGS'
27300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27303
27304
27305 fi
27306
27307   fi
27308   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27309 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27310   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27311     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27312 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27313     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27314       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27315   echo $ECHO_N "(cached) $ECHO_C" >&6
27316 else
27317
27318         if test x$gcc_no_link = xyes; then
27319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27321    { (exit 1); exit 1; }; }
27322 fi
27323 cat >conftest.$ac_ext <<_ACEOF
27324 /* confdefs.h.  */
27325 _ACEOF
27326 cat confdefs.h >>conftest.$ac_ext
27327 cat >>conftest.$ac_ext <<_ACEOF
27328 /* end confdefs.h.  */
27329 #include <math.h>
27330 int
27331 main ()
27332 {
27333  __builtin_sin(0);
27334   ;
27335   return 0;
27336 }
27337 _ACEOF
27338 rm -f conftest.$ac_objext conftest$ac_exeext
27339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27340   (eval $ac_link) 2>conftest.er1
27341   ac_status=$?
27342   grep -v '^ *+' conftest.er1 >conftest.err
27343   rm -f conftest.er1
27344   cat conftest.err >&5
27345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346   (exit $ac_status); } &&
27347          { ac_try='test -z "$ac_c_werror_flag"
27348                          || test ! -s conftest.err'
27349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27350   (eval $ac_try) 2>&5
27351   ac_status=$?
27352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27353   (exit $ac_status); }; } &&
27354          { ac_try='test -s conftest$ac_exeext'
27355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27356   (eval $ac_try) 2>&5
27357   ac_status=$?
27358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359   (exit $ac_status); }; }; then
27360   glibcxx_cv_func___builtin_sin_link=yes
27361 else
27362   echo "$as_me: failed program was:" >&5
27363 sed 's/^/| /' conftest.$ac_ext >&5
27364
27365 glibcxx_cv_func___builtin_sin_link=no
27366 fi
27367 rm -f conftest.err conftest.$ac_objext \
27368       conftest$ac_exeext conftest.$ac_ext
27369
27370 fi
27371
27372     fi
27373     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27374 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27375
27376     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27377
27378 cat >>confdefs.h <<\_ACEOF
27379 #define HAVE___BUILTIN_SIN 1
27380 _ACEOF
27381
27382     fi
27383
27384   fi
27385
27386
27387   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27388 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27389   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27390     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27391   echo $ECHO_N "(cached) $ECHO_C" >&6
27392 else
27393
27394
27395
27396       ac_ext=cc
27397 ac_cpp='$CXXCPP $CPPFLAGS'
27398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27401
27402       cat >conftest.$ac_ext <<_ACEOF
27403 /* confdefs.h.  */
27404 _ACEOF
27405 cat confdefs.h >>conftest.$ac_ext
27406 cat >>conftest.$ac_ext <<_ACEOF
27407 /* end confdefs.h.  */
27408 #include <math.h>
27409 int
27410 main ()
27411 {
27412  __builtin_sinl(0);
27413   ;
27414   return 0;
27415 }
27416 _ACEOF
27417 rm -f conftest.$ac_objext
27418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27419   (eval $ac_compile) 2>conftest.er1
27420   ac_status=$?
27421   grep -v '^ *+' conftest.er1 >conftest.err
27422   rm -f conftest.er1
27423   cat conftest.err >&5
27424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425   (exit $ac_status); } &&
27426          { ac_try='test -z "$ac_cxx_werror_flag"
27427                          || test ! -s conftest.err'
27428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27429   (eval $ac_try) 2>&5
27430   ac_status=$?
27431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27432   (exit $ac_status); }; } &&
27433          { ac_try='test -s conftest.$ac_objext'
27434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27435   (eval $ac_try) 2>&5
27436   ac_status=$?
27437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438   (exit $ac_status); }; }; then
27439   glibcxx_cv_func___builtin_sinl_use=yes
27440 else
27441   echo "$as_me: failed program was:" >&5
27442 sed 's/^/| /' conftest.$ac_ext >&5
27443
27444 glibcxx_cv_func___builtin_sinl_use=no
27445 fi
27446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27447       ac_ext=c
27448 ac_cpp='$CPP $CPPFLAGS'
27449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27452
27453
27454 fi
27455
27456   fi
27457   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27458 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27459   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27460     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27461 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27462     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27463       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27464   echo $ECHO_N "(cached) $ECHO_C" >&6
27465 else
27466
27467         if test x$gcc_no_link = xyes; then
27468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27470    { (exit 1); exit 1; }; }
27471 fi
27472 cat >conftest.$ac_ext <<_ACEOF
27473 /* confdefs.h.  */
27474 _ACEOF
27475 cat confdefs.h >>conftest.$ac_ext
27476 cat >>conftest.$ac_ext <<_ACEOF
27477 /* end confdefs.h.  */
27478 #include <math.h>
27479 int
27480 main ()
27481 {
27482  __builtin_sinl(0);
27483   ;
27484   return 0;
27485 }
27486 _ACEOF
27487 rm -f conftest.$ac_objext conftest$ac_exeext
27488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27489   (eval $ac_link) 2>conftest.er1
27490   ac_status=$?
27491   grep -v '^ *+' conftest.er1 >conftest.err
27492   rm -f conftest.er1
27493   cat conftest.err >&5
27494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27495   (exit $ac_status); } &&
27496          { ac_try='test -z "$ac_c_werror_flag"
27497                          || test ! -s conftest.err'
27498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27499   (eval $ac_try) 2>&5
27500   ac_status=$?
27501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502   (exit $ac_status); }; } &&
27503          { ac_try='test -s conftest$ac_exeext'
27504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27505   (eval $ac_try) 2>&5
27506   ac_status=$?
27507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27508   (exit $ac_status); }; }; then
27509   glibcxx_cv_func___builtin_sinl_link=yes
27510 else
27511   echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.$ac_ext >&5
27513
27514 glibcxx_cv_func___builtin_sinl_link=no
27515 fi
27516 rm -f conftest.err conftest.$ac_objext \
27517       conftest$ac_exeext conftest.$ac_ext
27518
27519 fi
27520
27521     fi
27522     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27523 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27524
27525     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27526
27527 cat >>confdefs.h <<\_ACEOF
27528 #define HAVE___BUILTIN_SINL 1
27529 _ACEOF
27530
27531     fi
27532
27533   fi
27534
27535
27536
27537   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27538 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27539   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27540     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27541   echo $ECHO_N "(cached) $ECHO_C" >&6
27542 else
27543
27544
27545
27546       ac_ext=cc
27547 ac_cpp='$CXXCPP $CPPFLAGS'
27548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27551
27552       cat >conftest.$ac_ext <<_ACEOF
27553 /* confdefs.h.  */
27554 _ACEOF
27555 cat confdefs.h >>conftest.$ac_ext
27556 cat >>conftest.$ac_ext <<_ACEOF
27557 /* end confdefs.h.  */
27558 #include <math.h>
27559 int
27560 main ()
27561 {
27562  __builtin_cosf(0);
27563   ;
27564   return 0;
27565 }
27566 _ACEOF
27567 rm -f conftest.$ac_objext
27568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27569   (eval $ac_compile) 2>conftest.er1
27570   ac_status=$?
27571   grep -v '^ *+' conftest.er1 >conftest.err
27572   rm -f conftest.er1
27573   cat conftest.err >&5
27574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575   (exit $ac_status); } &&
27576          { ac_try='test -z "$ac_cxx_werror_flag"
27577                          || test ! -s conftest.err'
27578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27579   (eval $ac_try) 2>&5
27580   ac_status=$?
27581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27582   (exit $ac_status); }; } &&
27583          { ac_try='test -s conftest.$ac_objext'
27584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27585   (eval $ac_try) 2>&5
27586   ac_status=$?
27587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588   (exit $ac_status); }; }; then
27589   glibcxx_cv_func___builtin_cosf_use=yes
27590 else
27591   echo "$as_me: failed program was:" >&5
27592 sed 's/^/| /' conftest.$ac_ext >&5
27593
27594 glibcxx_cv_func___builtin_cosf_use=no
27595 fi
27596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27597       ac_ext=c
27598 ac_cpp='$CPP $CPPFLAGS'
27599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27602
27603
27604 fi
27605
27606   fi
27607   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27608 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27609   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27610     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27611 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27612     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27613       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27614   echo $ECHO_N "(cached) $ECHO_C" >&6
27615 else
27616
27617         if test x$gcc_no_link = xyes; then
27618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27620    { (exit 1); exit 1; }; }
27621 fi
27622 cat >conftest.$ac_ext <<_ACEOF
27623 /* confdefs.h.  */
27624 _ACEOF
27625 cat confdefs.h >>conftest.$ac_ext
27626 cat >>conftest.$ac_ext <<_ACEOF
27627 /* end confdefs.h.  */
27628 #include <math.h>
27629 int
27630 main ()
27631 {
27632  __builtin_cosf(0);
27633   ;
27634   return 0;
27635 }
27636 _ACEOF
27637 rm -f conftest.$ac_objext conftest$ac_exeext
27638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27639   (eval $ac_link) 2>conftest.er1
27640   ac_status=$?
27641   grep -v '^ *+' conftest.er1 >conftest.err
27642   rm -f conftest.er1
27643   cat conftest.err >&5
27644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645   (exit $ac_status); } &&
27646          { ac_try='test -z "$ac_c_werror_flag"
27647                          || test ! -s conftest.err'
27648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27649   (eval $ac_try) 2>&5
27650   ac_status=$?
27651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652   (exit $ac_status); }; } &&
27653          { ac_try='test -s conftest$ac_exeext'
27654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27655   (eval $ac_try) 2>&5
27656   ac_status=$?
27657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658   (exit $ac_status); }; }; then
27659   glibcxx_cv_func___builtin_cosf_link=yes
27660 else
27661   echo "$as_me: failed program was:" >&5
27662 sed 's/^/| /' conftest.$ac_ext >&5
27663
27664 glibcxx_cv_func___builtin_cosf_link=no
27665 fi
27666 rm -f conftest.err conftest.$ac_objext \
27667       conftest$ac_exeext conftest.$ac_ext
27668
27669 fi
27670
27671     fi
27672     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27673 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27674
27675     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27676
27677 cat >>confdefs.h <<\_ACEOF
27678 #define HAVE___BUILTIN_COSF 1
27679 _ACEOF
27680
27681     fi
27682
27683   fi
27684
27685
27686   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27687 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27688   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27689     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27690   echo $ECHO_N "(cached) $ECHO_C" >&6
27691 else
27692
27693
27694
27695       ac_ext=cc
27696 ac_cpp='$CXXCPP $CPPFLAGS'
27697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27700
27701       cat >conftest.$ac_ext <<_ACEOF
27702 /* confdefs.h.  */
27703 _ACEOF
27704 cat confdefs.h >>conftest.$ac_ext
27705 cat >>conftest.$ac_ext <<_ACEOF
27706 /* end confdefs.h.  */
27707 #include <math.h>
27708 int
27709 main ()
27710 {
27711  __builtin_cos(0);
27712   ;
27713   return 0;
27714 }
27715 _ACEOF
27716 rm -f conftest.$ac_objext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27718   (eval $ac_compile) 2>conftest.er1
27719   ac_status=$?
27720   grep -v '^ *+' conftest.er1 >conftest.err
27721   rm -f conftest.er1
27722   cat conftest.err >&5
27723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724   (exit $ac_status); } &&
27725          { ac_try='test -z "$ac_cxx_werror_flag"
27726                          || test ! -s conftest.err'
27727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27728   (eval $ac_try) 2>&5
27729   ac_status=$?
27730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731   (exit $ac_status); }; } &&
27732          { ac_try='test -s conftest.$ac_objext'
27733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27734   (eval $ac_try) 2>&5
27735   ac_status=$?
27736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737   (exit $ac_status); }; }; then
27738   glibcxx_cv_func___builtin_cos_use=yes
27739 else
27740   echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.$ac_ext >&5
27742
27743 glibcxx_cv_func___builtin_cos_use=no
27744 fi
27745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27746       ac_ext=c
27747 ac_cpp='$CPP $CPPFLAGS'
27748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27751
27752
27753 fi
27754
27755   fi
27756   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27757 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27758   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27759     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27760 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27761     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27762       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27763   echo $ECHO_N "(cached) $ECHO_C" >&6
27764 else
27765
27766         if test x$gcc_no_link = xyes; then
27767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27769    { (exit 1); exit 1; }; }
27770 fi
27771 cat >conftest.$ac_ext <<_ACEOF
27772 /* confdefs.h.  */
27773 _ACEOF
27774 cat confdefs.h >>conftest.$ac_ext
27775 cat >>conftest.$ac_ext <<_ACEOF
27776 /* end confdefs.h.  */
27777 #include <math.h>
27778 int
27779 main ()
27780 {
27781  __builtin_cos(0);
27782   ;
27783   return 0;
27784 }
27785 _ACEOF
27786 rm -f conftest.$ac_objext conftest$ac_exeext
27787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27788   (eval $ac_link) 2>conftest.er1
27789   ac_status=$?
27790   grep -v '^ *+' conftest.er1 >conftest.err
27791   rm -f conftest.er1
27792   cat conftest.err >&5
27793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794   (exit $ac_status); } &&
27795          { ac_try='test -z "$ac_c_werror_flag"
27796                          || test ! -s conftest.err'
27797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27798   (eval $ac_try) 2>&5
27799   ac_status=$?
27800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27801   (exit $ac_status); }; } &&
27802          { ac_try='test -s conftest$ac_exeext'
27803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27804   (eval $ac_try) 2>&5
27805   ac_status=$?
27806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807   (exit $ac_status); }; }; then
27808   glibcxx_cv_func___builtin_cos_link=yes
27809 else
27810   echo "$as_me: failed program was:" >&5
27811 sed 's/^/| /' conftest.$ac_ext >&5
27812
27813 glibcxx_cv_func___builtin_cos_link=no
27814 fi
27815 rm -f conftest.err conftest.$ac_objext \
27816       conftest$ac_exeext conftest.$ac_ext
27817
27818 fi
27819
27820     fi
27821     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27822 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27823
27824     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27825
27826 cat >>confdefs.h <<\_ACEOF
27827 #define HAVE___BUILTIN_COS 1
27828 _ACEOF
27829
27830     fi
27831
27832   fi
27833
27834
27835   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27836 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27837   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27838     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27839   echo $ECHO_N "(cached) $ECHO_C" >&6
27840 else
27841
27842
27843
27844       ac_ext=cc
27845 ac_cpp='$CXXCPP $CPPFLAGS'
27846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27849
27850       cat >conftest.$ac_ext <<_ACEOF
27851 /* confdefs.h.  */
27852 _ACEOF
27853 cat confdefs.h >>conftest.$ac_ext
27854 cat >>conftest.$ac_ext <<_ACEOF
27855 /* end confdefs.h.  */
27856 #include <math.h>
27857 int
27858 main ()
27859 {
27860  __builtin_cosl(0);
27861   ;
27862   return 0;
27863 }
27864 _ACEOF
27865 rm -f conftest.$ac_objext
27866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27867   (eval $ac_compile) 2>conftest.er1
27868   ac_status=$?
27869   grep -v '^ *+' conftest.er1 >conftest.err
27870   rm -f conftest.er1
27871   cat conftest.err >&5
27872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27873   (exit $ac_status); } &&
27874          { ac_try='test -z "$ac_cxx_werror_flag"
27875                          || test ! -s conftest.err'
27876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27877   (eval $ac_try) 2>&5
27878   ac_status=$?
27879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880   (exit $ac_status); }; } &&
27881          { ac_try='test -s conftest.$ac_objext'
27882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27883   (eval $ac_try) 2>&5
27884   ac_status=$?
27885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886   (exit $ac_status); }; }; then
27887   glibcxx_cv_func___builtin_cosl_use=yes
27888 else
27889   echo "$as_me: failed program was:" >&5
27890 sed 's/^/| /' conftest.$ac_ext >&5
27891
27892 glibcxx_cv_func___builtin_cosl_use=no
27893 fi
27894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27895       ac_ext=c
27896 ac_cpp='$CPP $CPPFLAGS'
27897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27900
27901
27902 fi
27903
27904   fi
27905   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27906 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27907   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27908     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27909 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27910     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27911       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27912   echo $ECHO_N "(cached) $ECHO_C" >&6
27913 else
27914
27915         if test x$gcc_no_link = xyes; then
27916   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27918    { (exit 1); exit 1; }; }
27919 fi
27920 cat >conftest.$ac_ext <<_ACEOF
27921 /* confdefs.h.  */
27922 _ACEOF
27923 cat confdefs.h >>conftest.$ac_ext
27924 cat >>conftest.$ac_ext <<_ACEOF
27925 /* end confdefs.h.  */
27926 #include <math.h>
27927 int
27928 main ()
27929 {
27930  __builtin_cosl(0);
27931   ;
27932   return 0;
27933 }
27934 _ACEOF
27935 rm -f conftest.$ac_objext conftest$ac_exeext
27936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27937   (eval $ac_link) 2>conftest.er1
27938   ac_status=$?
27939   grep -v '^ *+' conftest.er1 >conftest.err
27940   rm -f conftest.er1
27941   cat conftest.err >&5
27942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27943   (exit $ac_status); } &&
27944          { ac_try='test -z "$ac_c_werror_flag"
27945                          || test ! -s conftest.err'
27946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27947   (eval $ac_try) 2>&5
27948   ac_status=$?
27949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27950   (exit $ac_status); }; } &&
27951          { ac_try='test -s conftest$ac_exeext'
27952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27953   (eval $ac_try) 2>&5
27954   ac_status=$?
27955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956   (exit $ac_status); }; }; then
27957   glibcxx_cv_func___builtin_cosl_link=yes
27958 else
27959   echo "$as_me: failed program was:" >&5
27960 sed 's/^/| /' conftest.$ac_ext >&5
27961
27962 glibcxx_cv_func___builtin_cosl_link=no
27963 fi
27964 rm -f conftest.err conftest.$ac_objext \
27965       conftest$ac_exeext conftest.$ac_ext
27966
27967 fi
27968
27969     fi
27970     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27971 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27972
27973     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27974
27975 cat >>confdefs.h <<\_ACEOF
27976 #define HAVE___BUILTIN_COSL 1
27977 _ACEOF
27978
27979     fi
27980
27981   fi
27982
27983
27984
27985
27986 echo "$as_me:$LINENO: checking for main in -lm" >&5
27987 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27988 if test "${ac_cv_lib_m_main+set}" = set; then
27989   echo $ECHO_N "(cached) $ECHO_C" >&6
27990 else
27991   ac_check_lib_save_LIBS=$LIBS
27992 LIBS="-lm  $LIBS"
27993 if test x$gcc_no_link = xyes; then
27994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27996    { (exit 1); exit 1; }; }
27997 fi
27998 cat >conftest.$ac_ext <<_ACEOF
27999 /* confdefs.h.  */
28000 _ACEOF
28001 cat confdefs.h >>conftest.$ac_ext
28002 cat >>conftest.$ac_ext <<_ACEOF
28003 /* end confdefs.h.  */
28004
28005
28006 int
28007 main ()
28008 {
28009 main ();
28010   ;
28011   return 0;
28012 }
28013 _ACEOF
28014 rm -f conftest.$ac_objext conftest$ac_exeext
28015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28016   (eval $ac_link) 2>conftest.er1
28017   ac_status=$?
28018   grep -v '^ *+' conftest.er1 >conftest.err
28019   rm -f conftest.er1
28020   cat conftest.err >&5
28021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28022   (exit $ac_status); } &&
28023          { ac_try='test -z "$ac_c_werror_flag"
28024                          || test ! -s conftest.err'
28025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28026   (eval $ac_try) 2>&5
28027   ac_status=$?
28028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28029   (exit $ac_status); }; } &&
28030          { ac_try='test -s conftest$ac_exeext'
28031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28032   (eval $ac_try) 2>&5
28033   ac_status=$?
28034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28035   (exit $ac_status); }; }; then
28036   ac_cv_lib_m_main=yes
28037 else
28038   echo "$as_me: failed program was:" >&5
28039 sed 's/^/| /' conftest.$ac_ext >&5
28040
28041 ac_cv_lib_m_main=no
28042 fi
28043 rm -f conftest.err conftest.$ac_objext \
28044       conftest$ac_exeext conftest.$ac_ext
28045 LIBS=$ac_check_lib_save_LIBS
28046 fi
28047 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28048 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28049 if test $ac_cv_lib_m_main = yes; then
28050   cat >>confdefs.h <<_ACEOF
28051 #define HAVE_LIBM 1
28052 _ACEOF
28053
28054   LIBS="-lm $LIBS"
28055
28056 fi
28057
28058
28059 for ac_func in copysignf
28060 do
28061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28062 echo "$as_me:$LINENO: checking for $ac_func" >&5
28063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28064 if eval "test \"\${$as_ac_var+set}\" = set"; then
28065   echo $ECHO_N "(cached) $ECHO_C" >&6
28066 else
28067   if test x$gcc_no_link = xyes; then
28068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28070    { (exit 1); exit 1; }; }
28071 fi
28072 cat >conftest.$ac_ext <<_ACEOF
28073 /* confdefs.h.  */
28074 _ACEOF
28075 cat confdefs.h >>conftest.$ac_ext
28076 cat >>conftest.$ac_ext <<_ACEOF
28077 /* end confdefs.h.  */
28078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28080 #define $ac_func innocuous_$ac_func
28081
28082 /* System header to define __stub macros and hopefully few prototypes,
28083     which can conflict with char $ac_func (); below.
28084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28085     <limits.h> exists even on freestanding compilers.  */
28086
28087 #ifdef __STDC__
28088 # include <limits.h>
28089 #else
28090 # include <assert.h>
28091 #endif
28092
28093 #undef $ac_func
28094
28095 /* Override any gcc2 internal prototype to avoid an error.  */
28096 #ifdef __cplusplus
28097 extern "C"
28098 {
28099 #endif
28100 /* We use char because int might match the return type of a gcc2
28101    builtin and then its argument prototype would still apply.  */
28102 char $ac_func ();
28103 /* The GNU C library defines this for functions which it implements
28104     to always fail with ENOSYS.  Some functions are actually named
28105     something starting with __ and the normal name is an alias.  */
28106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28107 choke me
28108 #else
28109 char (*f) () = $ac_func;
28110 #endif
28111 #ifdef __cplusplus
28112 }
28113 #endif
28114
28115 int
28116 main ()
28117 {
28118 return f != $ac_func;
28119   ;
28120   return 0;
28121 }
28122 _ACEOF
28123 rm -f conftest.$ac_objext conftest$ac_exeext
28124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28125   (eval $ac_link) 2>conftest.er1
28126   ac_status=$?
28127   grep -v '^ *+' conftest.er1 >conftest.err
28128   rm -f conftest.er1
28129   cat conftest.err >&5
28130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131   (exit $ac_status); } &&
28132          { ac_try='test -z "$ac_c_werror_flag"
28133                          || test ! -s conftest.err'
28134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28135   (eval $ac_try) 2>&5
28136   ac_status=$?
28137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138   (exit $ac_status); }; } &&
28139          { ac_try='test -s conftest$ac_exeext'
28140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28141   (eval $ac_try) 2>&5
28142   ac_status=$?
28143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144   (exit $ac_status); }; }; then
28145   eval "$as_ac_var=yes"
28146 else
28147   echo "$as_me: failed program was:" >&5
28148 sed 's/^/| /' conftest.$ac_ext >&5
28149
28150 eval "$as_ac_var=no"
28151 fi
28152 rm -f conftest.err conftest.$ac_objext \
28153       conftest$ac_exeext conftest.$ac_ext
28154 fi
28155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28157 if test `eval echo '${'$as_ac_var'}'` = yes; then
28158   cat >>confdefs.h <<_ACEOF
28159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28160 _ACEOF
28161
28162 else
28163   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28164 fi
28165 done
28166
28167
28168
28169 for ac_func in __signbit
28170 do
28171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28172 echo "$as_me:$LINENO: checking for $ac_func" >&5
28173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28174 if eval "test \"\${$as_ac_var+set}\" = set"; then
28175   echo $ECHO_N "(cached) $ECHO_C" >&6
28176 else
28177   if test x$gcc_no_link = xyes; then
28178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28180    { (exit 1); exit 1; }; }
28181 fi
28182 cat >conftest.$ac_ext <<_ACEOF
28183 /* confdefs.h.  */
28184 _ACEOF
28185 cat confdefs.h >>conftest.$ac_ext
28186 cat >>conftest.$ac_ext <<_ACEOF
28187 /* end confdefs.h.  */
28188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28190 #define $ac_func innocuous_$ac_func
28191
28192 /* System header to define __stub macros and hopefully few prototypes,
28193     which can conflict with char $ac_func (); below.
28194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28195     <limits.h> exists even on freestanding compilers.  */
28196
28197 #ifdef __STDC__
28198 # include <limits.h>
28199 #else
28200 # include <assert.h>
28201 #endif
28202
28203 #undef $ac_func
28204
28205 /* Override any gcc2 internal prototype to avoid an error.  */
28206 #ifdef __cplusplus
28207 extern "C"
28208 {
28209 #endif
28210 /* We use char because int might match the return type of a gcc2
28211    builtin and then its argument prototype would still apply.  */
28212 char $ac_func ();
28213 /* The GNU C library defines this for functions which it implements
28214     to always fail with ENOSYS.  Some functions are actually named
28215     something starting with __ and the normal name is an alias.  */
28216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28217 choke me
28218 #else
28219 char (*f) () = $ac_func;
28220 #endif
28221 #ifdef __cplusplus
28222 }
28223 #endif
28224
28225 int
28226 main ()
28227 {
28228 return f != $ac_func;
28229   ;
28230   return 0;
28231 }
28232 _ACEOF
28233 rm -f conftest.$ac_objext conftest$ac_exeext
28234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28235   (eval $ac_link) 2>conftest.er1
28236   ac_status=$?
28237   grep -v '^ *+' conftest.er1 >conftest.err
28238   rm -f conftest.er1
28239   cat conftest.err >&5
28240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241   (exit $ac_status); } &&
28242          { ac_try='test -z "$ac_c_werror_flag"
28243                          || test ! -s conftest.err'
28244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28245   (eval $ac_try) 2>&5
28246   ac_status=$?
28247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248   (exit $ac_status); }; } &&
28249          { ac_try='test -s conftest$ac_exeext'
28250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28251   (eval $ac_try) 2>&5
28252   ac_status=$?
28253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254   (exit $ac_status); }; }; then
28255   eval "$as_ac_var=yes"
28256 else
28257   echo "$as_me: failed program was:" >&5
28258 sed 's/^/| /' conftest.$ac_ext >&5
28259
28260 eval "$as_ac_var=no"
28261 fi
28262 rm -f conftest.err conftest.$ac_objext \
28263       conftest$ac_exeext conftest.$ac_ext
28264 fi
28265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28267 if test `eval echo '${'$as_ac_var'}'` = yes; then
28268   cat >>confdefs.h <<_ACEOF
28269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28270 _ACEOF
28271
28272 else
28273   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28274 fi
28275 done
28276
28277
28278
28279 for ac_func in __signbitf
28280 do
28281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28282 echo "$as_me:$LINENO: checking for $ac_func" >&5
28283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28284 if eval "test \"\${$as_ac_var+set}\" = set"; then
28285   echo $ECHO_N "(cached) $ECHO_C" >&6
28286 else
28287   if test x$gcc_no_link = xyes; then
28288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28290    { (exit 1); exit 1; }; }
28291 fi
28292 cat >conftest.$ac_ext <<_ACEOF
28293 /* confdefs.h.  */
28294 _ACEOF
28295 cat confdefs.h >>conftest.$ac_ext
28296 cat >>conftest.$ac_ext <<_ACEOF
28297 /* end confdefs.h.  */
28298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28300 #define $ac_func innocuous_$ac_func
28301
28302 /* System header to define __stub macros and hopefully few prototypes,
28303     which can conflict with char $ac_func (); below.
28304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28305     <limits.h> exists even on freestanding compilers.  */
28306
28307 #ifdef __STDC__
28308 # include <limits.h>
28309 #else
28310 # include <assert.h>
28311 #endif
28312
28313 #undef $ac_func
28314
28315 /* Override any gcc2 internal prototype to avoid an error.  */
28316 #ifdef __cplusplus
28317 extern "C"
28318 {
28319 #endif
28320 /* We use char because int might match the return type of a gcc2
28321    builtin and then its argument prototype would still apply.  */
28322 char $ac_func ();
28323 /* The GNU C library defines this for functions which it implements
28324     to always fail with ENOSYS.  Some functions are actually named
28325     something starting with __ and the normal name is an alias.  */
28326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28327 choke me
28328 #else
28329 char (*f) () = $ac_func;
28330 #endif
28331 #ifdef __cplusplus
28332 }
28333 #endif
28334
28335 int
28336 main ()
28337 {
28338 return f != $ac_func;
28339   ;
28340   return 0;
28341 }
28342 _ACEOF
28343 rm -f conftest.$ac_objext conftest$ac_exeext
28344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28345   (eval $ac_link) 2>conftest.er1
28346   ac_status=$?
28347   grep -v '^ *+' conftest.er1 >conftest.err
28348   rm -f conftest.er1
28349   cat conftest.err >&5
28350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351   (exit $ac_status); } &&
28352          { ac_try='test -z "$ac_c_werror_flag"
28353                          || test ! -s conftest.err'
28354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28355   (eval $ac_try) 2>&5
28356   ac_status=$?
28357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358   (exit $ac_status); }; } &&
28359          { ac_try='test -s conftest$ac_exeext'
28360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28361   (eval $ac_try) 2>&5
28362   ac_status=$?
28363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28364   (exit $ac_status); }; }; then
28365   eval "$as_ac_var=yes"
28366 else
28367   echo "$as_me: failed program was:" >&5
28368 sed 's/^/| /' conftest.$ac_ext >&5
28369
28370 eval "$as_ac_var=no"
28371 fi
28372 rm -f conftest.err conftest.$ac_objext \
28373       conftest$ac_exeext conftest.$ac_ext
28374 fi
28375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28377 if test `eval echo '${'$as_ac_var'}'` = yes; then
28378   cat >>confdefs.h <<_ACEOF
28379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28380 _ACEOF
28381
28382 else
28383   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28384 fi
28385 done
28386
28387
28388           if test x$ac_cv_func_copysignl = x"yes"; then
28389
28390 for ac_func in __signbitl
28391 do
28392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28393 echo "$as_me:$LINENO: checking for $ac_func" >&5
28394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28395 if eval "test \"\${$as_ac_var+set}\" = set"; then
28396   echo $ECHO_N "(cached) $ECHO_C" >&6
28397 else
28398   if test x$gcc_no_link = xyes; then
28399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28401    { (exit 1); exit 1; }; }
28402 fi
28403 cat >conftest.$ac_ext <<_ACEOF
28404 /* confdefs.h.  */
28405 _ACEOF
28406 cat confdefs.h >>conftest.$ac_ext
28407 cat >>conftest.$ac_ext <<_ACEOF
28408 /* end confdefs.h.  */
28409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28411 #define $ac_func innocuous_$ac_func
28412
28413 /* System header to define __stub macros and hopefully few prototypes,
28414     which can conflict with char $ac_func (); below.
28415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28416     <limits.h> exists even on freestanding compilers.  */
28417
28418 #ifdef __STDC__
28419 # include <limits.h>
28420 #else
28421 # include <assert.h>
28422 #endif
28423
28424 #undef $ac_func
28425
28426 /* Override any gcc2 internal prototype to avoid an error.  */
28427 #ifdef __cplusplus
28428 extern "C"
28429 {
28430 #endif
28431 /* We use char because int might match the return type of a gcc2
28432    builtin and then its argument prototype would still apply.  */
28433 char $ac_func ();
28434 /* The GNU C library defines this for functions which it implements
28435     to always fail with ENOSYS.  Some functions are actually named
28436     something starting with __ and the normal name is an alias.  */
28437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28438 choke me
28439 #else
28440 char (*f) () = $ac_func;
28441 #endif
28442 #ifdef __cplusplus
28443 }
28444 #endif
28445
28446 int
28447 main ()
28448 {
28449 return f != $ac_func;
28450   ;
28451   return 0;
28452 }
28453 _ACEOF
28454 rm -f conftest.$ac_objext conftest$ac_exeext
28455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28456   (eval $ac_link) 2>conftest.er1
28457   ac_status=$?
28458   grep -v '^ *+' conftest.er1 >conftest.err
28459   rm -f conftest.er1
28460   cat conftest.err >&5
28461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462   (exit $ac_status); } &&
28463          { ac_try='test -z "$ac_c_werror_flag"
28464                          || test ! -s conftest.err'
28465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28466   (eval $ac_try) 2>&5
28467   ac_status=$?
28468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28469   (exit $ac_status); }; } &&
28470          { ac_try='test -s conftest$ac_exeext'
28471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28472   (eval $ac_try) 2>&5
28473   ac_status=$?
28474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28475   (exit $ac_status); }; }; then
28476   eval "$as_ac_var=yes"
28477 else
28478   echo "$as_me: failed program was:" >&5
28479 sed 's/^/| /' conftest.$ac_ext >&5
28480
28481 eval "$as_ac_var=no"
28482 fi
28483 rm -f conftest.err conftest.$ac_objext \
28484       conftest$ac_exeext conftest.$ac_ext
28485 fi
28486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28488 if test `eval echo '${'$as_ac_var'}'` = yes; then
28489   cat >>confdefs.h <<_ACEOF
28490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28491 _ACEOF
28492
28493 else
28494   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28495 fi
28496 done
28497
28498   fi
28499
28500   # Used in libmath/Makefile.am.
28501   if test -n "$LIBMATHOBJS"; then
28502     need_libmath=yes
28503   fi
28504
28505
28506
28507
28508   enable_iconv=no
28509   # Only continue checking if the ISO C99 headers exist and support is on.
28510   if test x"$enable_wchar_t" = xyes; then
28511
28512     # Use iconv for wchar_t to char conversions. As such, check for
28513     # X/Open Portability Guide, version 2 features (XPG2).
28514     if test "${ac_cv_header_iconv_h+set}" = set; then
28515   echo "$as_me:$LINENO: checking for iconv.h" >&5
28516 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28517 if test "${ac_cv_header_iconv_h+set}" = set; then
28518   echo $ECHO_N "(cached) $ECHO_C" >&6
28519 fi
28520 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28521 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28522 else
28523   # Is the header compilable?
28524 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28525 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28526 cat >conftest.$ac_ext <<_ACEOF
28527 /* confdefs.h.  */
28528 _ACEOF
28529 cat confdefs.h >>conftest.$ac_ext
28530 cat >>conftest.$ac_ext <<_ACEOF
28531 /* end confdefs.h.  */
28532 $ac_includes_default
28533 #include <iconv.h>
28534 _ACEOF
28535 rm -f conftest.$ac_objext
28536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28537   (eval $ac_compile) 2>conftest.er1
28538   ac_status=$?
28539   grep -v '^ *+' conftest.er1 >conftest.err
28540   rm -f conftest.er1
28541   cat conftest.err >&5
28542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543   (exit $ac_status); } &&
28544          { ac_try='test -z "$ac_c_werror_flag"
28545                          || test ! -s conftest.err'
28546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28547   (eval $ac_try) 2>&5
28548   ac_status=$?
28549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550   (exit $ac_status); }; } &&
28551          { ac_try='test -s conftest.$ac_objext'
28552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28553   (eval $ac_try) 2>&5
28554   ac_status=$?
28555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28556   (exit $ac_status); }; }; then
28557   ac_header_compiler=yes
28558 else
28559   echo "$as_me: failed program was:" >&5
28560 sed 's/^/| /' conftest.$ac_ext >&5
28561
28562 ac_header_compiler=no
28563 fi
28564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28566 echo "${ECHO_T}$ac_header_compiler" >&6
28567
28568 # Is the header present?
28569 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28570 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28571 cat >conftest.$ac_ext <<_ACEOF
28572 /* confdefs.h.  */
28573 _ACEOF
28574 cat confdefs.h >>conftest.$ac_ext
28575 cat >>conftest.$ac_ext <<_ACEOF
28576 /* end confdefs.h.  */
28577 #include <iconv.h>
28578 _ACEOF
28579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28580   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28581   ac_status=$?
28582   grep -v '^ *+' conftest.er1 >conftest.err
28583   rm -f conftest.er1
28584   cat conftest.err >&5
28585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28586   (exit $ac_status); } >/dev/null; then
28587   if test -s conftest.err; then
28588     ac_cpp_err=$ac_c_preproc_warn_flag
28589     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28590   else
28591     ac_cpp_err=
28592   fi
28593 else
28594   ac_cpp_err=yes
28595 fi
28596 if test -z "$ac_cpp_err"; then
28597   ac_header_preproc=yes
28598 else
28599   echo "$as_me: failed program was:" >&5
28600 sed 's/^/| /' conftest.$ac_ext >&5
28601
28602   ac_header_preproc=no
28603 fi
28604 rm -f conftest.err conftest.$ac_ext
28605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28606 echo "${ECHO_T}$ac_header_preproc" >&6
28607
28608 # So?  What about this header?
28609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28610   yes:no: )
28611     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28612 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28613     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28614 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28615     ac_header_preproc=yes
28616     ;;
28617   no:yes:* )
28618     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28619 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28620     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28621 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28622     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28623 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28624     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28625 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28626     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28627 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28628     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28629 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28630     (
28631       cat <<\_ASBOX
28632 ## ----------------------------------------- ##
28633 ## Report this to the package-unused lists.  ##
28634 ## ----------------------------------------- ##
28635 _ASBOX
28636     ) |
28637       sed "s/^/$as_me: WARNING:     /" >&2
28638     ;;
28639 esac
28640 echo "$as_me:$LINENO: checking for iconv.h" >&5
28641 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28642 if test "${ac_cv_header_iconv_h+set}" = set; then
28643   echo $ECHO_N "(cached) $ECHO_C" >&6
28644 else
28645   ac_cv_header_iconv_h=$ac_header_preproc
28646 fi
28647 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28648 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28649
28650 fi
28651 if test $ac_cv_header_iconv_h = yes; then
28652   ac_has_iconv_h=yes
28653 else
28654   ac_has_iconv_h=no
28655 fi
28656
28657
28658     if test "${ac_cv_header_langinfo_h+set}" = set; then
28659   echo "$as_me:$LINENO: checking for langinfo.h" >&5
28660 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28661 if test "${ac_cv_header_langinfo_h+set}" = set; then
28662   echo $ECHO_N "(cached) $ECHO_C" >&6
28663 fi
28664 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28665 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28666 else
28667   # Is the header compilable?
28668 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28669 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28670 cat >conftest.$ac_ext <<_ACEOF
28671 /* confdefs.h.  */
28672 _ACEOF
28673 cat confdefs.h >>conftest.$ac_ext
28674 cat >>conftest.$ac_ext <<_ACEOF
28675 /* end confdefs.h.  */
28676 $ac_includes_default
28677 #include <langinfo.h>
28678 _ACEOF
28679 rm -f conftest.$ac_objext
28680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28681   (eval $ac_compile) 2>conftest.er1
28682   ac_status=$?
28683   grep -v '^ *+' conftest.er1 >conftest.err
28684   rm -f conftest.er1
28685   cat conftest.err >&5
28686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687   (exit $ac_status); } &&
28688          { ac_try='test -z "$ac_c_werror_flag"
28689                          || test ! -s conftest.err'
28690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28691   (eval $ac_try) 2>&5
28692   ac_status=$?
28693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694   (exit $ac_status); }; } &&
28695          { ac_try='test -s conftest.$ac_objext'
28696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28697   (eval $ac_try) 2>&5
28698   ac_status=$?
28699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700   (exit $ac_status); }; }; then
28701   ac_header_compiler=yes
28702 else
28703   echo "$as_me: failed program was:" >&5
28704 sed 's/^/| /' conftest.$ac_ext >&5
28705
28706 ac_header_compiler=no
28707 fi
28708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28710 echo "${ECHO_T}$ac_header_compiler" >&6
28711
28712 # Is the header present?
28713 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28714 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28715 cat >conftest.$ac_ext <<_ACEOF
28716 /* confdefs.h.  */
28717 _ACEOF
28718 cat confdefs.h >>conftest.$ac_ext
28719 cat >>conftest.$ac_ext <<_ACEOF
28720 /* end confdefs.h.  */
28721 #include <langinfo.h>
28722 _ACEOF
28723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28724   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28725   ac_status=$?
28726   grep -v '^ *+' conftest.er1 >conftest.err
28727   rm -f conftest.er1
28728   cat conftest.err >&5
28729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730   (exit $ac_status); } >/dev/null; then
28731   if test -s conftest.err; then
28732     ac_cpp_err=$ac_c_preproc_warn_flag
28733     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28734   else
28735     ac_cpp_err=
28736   fi
28737 else
28738   ac_cpp_err=yes
28739 fi
28740 if test -z "$ac_cpp_err"; then
28741   ac_header_preproc=yes
28742 else
28743   echo "$as_me: failed program was:" >&5
28744 sed 's/^/| /' conftest.$ac_ext >&5
28745
28746   ac_header_preproc=no
28747 fi
28748 rm -f conftest.err conftest.$ac_ext
28749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28750 echo "${ECHO_T}$ac_header_preproc" >&6
28751
28752 # So?  What about this header?
28753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28754   yes:no: )
28755     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28756 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28757     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28758 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28759     ac_header_preproc=yes
28760     ;;
28761   no:yes:* )
28762     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28763 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28764     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28765 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28766     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28767 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28768     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28769 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28770     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28771 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28772     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28773 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28774     (
28775       cat <<\_ASBOX
28776 ## ----------------------------------------- ##
28777 ## Report this to the package-unused lists.  ##
28778 ## ----------------------------------------- ##
28779 _ASBOX
28780     ) |
28781       sed "s/^/$as_me: WARNING:     /" >&2
28782     ;;
28783 esac
28784 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28785 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28786 if test "${ac_cv_header_langinfo_h+set}" = set; then
28787   echo $ECHO_N "(cached) $ECHO_C" >&6
28788 else
28789   ac_cv_header_langinfo_h=$ac_header_preproc
28790 fi
28791 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28792 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28793
28794 fi
28795 if test $ac_cv_header_langinfo_h = yes; then
28796   ac_has_langinfo_h=yes
28797 else
28798   ac_has_langinfo_h=no
28799 fi
28800
28801
28802
28803     # Check for existence of libiconv.a providing XPG2 wchar_t support.
28804     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28805 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28806 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28807   echo $ECHO_N "(cached) $ECHO_C" >&6
28808 else
28809   ac_check_lib_save_LIBS=$LIBS
28810 LIBS="-liconv  $LIBS"
28811 if test x$gcc_no_link = xyes; then
28812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28814    { (exit 1); exit 1; }; }
28815 fi
28816 cat >conftest.$ac_ext <<_ACEOF
28817 /* confdefs.h.  */
28818 _ACEOF
28819 cat confdefs.h >>conftest.$ac_ext
28820 cat >>conftest.$ac_ext <<_ACEOF
28821 /* end confdefs.h.  */
28822
28823 /* Override any gcc2 internal prototype to avoid an error.  */
28824 #ifdef __cplusplus
28825 extern "C"
28826 #endif
28827 /* We use char because int might match the return type of a gcc2
28828    builtin and then its argument prototype would still apply.  */
28829 char iconv ();
28830 int
28831 main ()
28832 {
28833 iconv ();
28834   ;
28835   return 0;
28836 }
28837 _ACEOF
28838 rm -f conftest.$ac_objext conftest$ac_exeext
28839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28840   (eval $ac_link) 2>conftest.er1
28841   ac_status=$?
28842   grep -v '^ *+' conftest.er1 >conftest.err
28843   rm -f conftest.er1
28844   cat conftest.err >&5
28845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846   (exit $ac_status); } &&
28847          { ac_try='test -z "$ac_c_werror_flag"
28848                          || test ! -s conftest.err'
28849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28850   (eval $ac_try) 2>&5
28851   ac_status=$?
28852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28853   (exit $ac_status); }; } &&
28854          { ac_try='test -s conftest$ac_exeext'
28855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28856   (eval $ac_try) 2>&5
28857   ac_status=$?
28858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859   (exit $ac_status); }; }; then
28860   ac_cv_lib_iconv_iconv=yes
28861 else
28862   echo "$as_me: failed program was:" >&5
28863 sed 's/^/| /' conftest.$ac_ext >&5
28864
28865 ac_cv_lib_iconv_iconv=no
28866 fi
28867 rm -f conftest.err conftest.$ac_objext \
28868       conftest$ac_exeext conftest.$ac_ext
28869 LIBS=$ac_check_lib_save_LIBS
28870 fi
28871 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28872 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28873 if test $ac_cv_lib_iconv_iconv = yes; then
28874   LIBICONV="-liconv"
28875 fi
28876
28877     ac_save_LIBS="$LIBS"
28878     LIBS="$LIBS $LIBICONV"
28879
28880
28881
28882
28883
28884
28885 for ac_func in iconv_open iconv_close iconv nl_langinfo
28886 do
28887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28888 echo "$as_me:$LINENO: checking for $ac_func" >&5
28889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28890 if eval "test \"\${$as_ac_var+set}\" = set"; then
28891   echo $ECHO_N "(cached) $ECHO_C" >&6
28892 else
28893   if test x$gcc_no_link = xyes; then
28894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28896    { (exit 1); exit 1; }; }
28897 fi
28898 cat >conftest.$ac_ext <<_ACEOF
28899 /* confdefs.h.  */
28900 _ACEOF
28901 cat confdefs.h >>conftest.$ac_ext
28902 cat >>conftest.$ac_ext <<_ACEOF
28903 /* end confdefs.h.  */
28904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28906 #define $ac_func innocuous_$ac_func
28907
28908 /* System header to define __stub macros and hopefully few prototypes,
28909     which can conflict with char $ac_func (); below.
28910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28911     <limits.h> exists even on freestanding compilers.  */
28912
28913 #ifdef __STDC__
28914 # include <limits.h>
28915 #else
28916 # include <assert.h>
28917 #endif
28918
28919 #undef $ac_func
28920
28921 /* Override any gcc2 internal prototype to avoid an error.  */
28922 #ifdef __cplusplus
28923 extern "C"
28924 {
28925 #endif
28926 /* We use char because int might match the return type of a gcc2
28927    builtin and then its argument prototype would still apply.  */
28928 char $ac_func ();
28929 /* The GNU C library defines this for functions which it implements
28930     to always fail with ENOSYS.  Some functions are actually named
28931     something starting with __ and the normal name is an alias.  */
28932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28933 choke me
28934 #else
28935 char (*f) () = $ac_func;
28936 #endif
28937 #ifdef __cplusplus
28938 }
28939 #endif
28940
28941 int
28942 main ()
28943 {
28944 return f != $ac_func;
28945   ;
28946   return 0;
28947 }
28948 _ACEOF
28949 rm -f conftest.$ac_objext conftest$ac_exeext
28950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28951   (eval $ac_link) 2>conftest.er1
28952   ac_status=$?
28953   grep -v '^ *+' conftest.er1 >conftest.err
28954   rm -f conftest.er1
28955   cat conftest.err >&5
28956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957   (exit $ac_status); } &&
28958          { ac_try='test -z "$ac_c_werror_flag"
28959                          || test ! -s conftest.err'
28960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28961   (eval $ac_try) 2>&5
28962   ac_status=$?
28963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964   (exit $ac_status); }; } &&
28965          { ac_try='test -s conftest$ac_exeext'
28966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28967   (eval $ac_try) 2>&5
28968   ac_status=$?
28969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970   (exit $ac_status); }; }; then
28971   eval "$as_ac_var=yes"
28972 else
28973   echo "$as_me: failed program was:" >&5
28974 sed 's/^/| /' conftest.$ac_ext >&5
28975
28976 eval "$as_ac_var=no"
28977 fi
28978 rm -f conftest.err conftest.$ac_objext \
28979       conftest$ac_exeext conftest.$ac_ext
28980 fi
28981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28983 if test `eval echo '${'$as_ac_var'}'` = yes; then
28984   cat >>confdefs.h <<_ACEOF
28985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28986 _ACEOF
28987  ac_XPG2funcs=yes
28988 else
28989   ac_XPG2funcs=no
28990 fi
28991 done
28992
28993
28994     LIBS="$ac_save_LIBS"
28995
28996     if test x"$ac_has_iconv_h" = xyes &&
28997        test x"$ac_has_langinfo_h" = xyes &&
28998        test x"$ac_XPG2funcs" = xyes;
28999     then
29000
29001 cat >>confdefs.h <<\_ACEOF
29002 #define _GLIBCXX_USE_ICONV 1
29003 _ACEOF
29004
29005       enable_iconv=yes
29006     fi
29007   fi
29008   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
29009 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
29010   echo "$as_me:$LINENO: result: $enable_iconv" >&5
29011 echo "${ECHO_T}$enable_iconv" >&6
29012
29013
29014   ac_test_CXXFLAGS="${CXXFLAGS+set}"
29015   ac_save_CXXFLAGS="$CXXFLAGS"
29016   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29017
29018
29019   echo "$as_me:$LINENO: checking for strtold declaration" >&5
29020 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29021   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29022     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29023   echo $ECHO_N "(cached) $ECHO_C" >&6
29024 else
29025
29026
29027
29028       ac_ext=cc
29029 ac_cpp='$CXXCPP $CPPFLAGS'
29030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29033
29034       cat >conftest.$ac_ext <<_ACEOF
29035 /* confdefs.h.  */
29036 _ACEOF
29037 cat confdefs.h >>conftest.$ac_ext
29038 cat >>conftest.$ac_ext <<_ACEOF
29039 /* end confdefs.h.  */
29040 #include <stdlib.h>
29041 int
29042 main ()
29043 {
29044  strtold(0, 0);
29045   ;
29046   return 0;
29047 }
29048 _ACEOF
29049 rm -f conftest.$ac_objext
29050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29051   (eval $ac_compile) 2>conftest.er1
29052   ac_status=$?
29053   grep -v '^ *+' conftest.er1 >conftest.err
29054   rm -f conftest.er1
29055   cat conftest.err >&5
29056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057   (exit $ac_status); } &&
29058          { ac_try='test -z "$ac_cxx_werror_flag"
29059                          || test ! -s conftest.err'
29060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29061   (eval $ac_try) 2>&5
29062   ac_status=$?
29063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064   (exit $ac_status); }; } &&
29065          { ac_try='test -s conftest.$ac_objext'
29066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29067   (eval $ac_try) 2>&5
29068   ac_status=$?
29069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29070   (exit $ac_status); }; }; then
29071   glibcxx_cv_func_strtold_use=yes
29072 else
29073   echo "$as_me: failed program was:" >&5
29074 sed 's/^/| /' conftest.$ac_ext >&5
29075
29076 glibcxx_cv_func_strtold_use=no
29077 fi
29078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29079       ac_ext=c
29080 ac_cpp='$CPP $CPPFLAGS'
29081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29084
29085
29086 fi
29087
29088   fi
29089   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29090 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29091   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29092
29093 for ac_func in strtold
29094 do
29095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29096 echo "$as_me:$LINENO: checking for $ac_func" >&5
29097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29098 if eval "test \"\${$as_ac_var+set}\" = set"; then
29099   echo $ECHO_N "(cached) $ECHO_C" >&6
29100 else
29101   if test x$gcc_no_link = xyes; then
29102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29104    { (exit 1); exit 1; }; }
29105 fi
29106 cat >conftest.$ac_ext <<_ACEOF
29107 /* confdefs.h.  */
29108 _ACEOF
29109 cat confdefs.h >>conftest.$ac_ext
29110 cat >>conftest.$ac_ext <<_ACEOF
29111 /* end confdefs.h.  */
29112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29114 #define $ac_func innocuous_$ac_func
29115
29116 /* System header to define __stub macros and hopefully few prototypes,
29117     which can conflict with char $ac_func (); below.
29118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29119     <limits.h> exists even on freestanding compilers.  */
29120
29121 #ifdef __STDC__
29122 # include <limits.h>
29123 #else
29124 # include <assert.h>
29125 #endif
29126
29127 #undef $ac_func
29128
29129 /* Override any gcc2 internal prototype to avoid an error.  */
29130 #ifdef __cplusplus
29131 extern "C"
29132 {
29133 #endif
29134 /* We use char because int might match the return type of a gcc2
29135    builtin and then its argument prototype would still apply.  */
29136 char $ac_func ();
29137 /* The GNU C library defines this for functions which it implements
29138     to always fail with ENOSYS.  Some functions are actually named
29139     something starting with __ and the normal name is an alias.  */
29140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29141 choke me
29142 #else
29143 char (*f) () = $ac_func;
29144 #endif
29145 #ifdef __cplusplus
29146 }
29147 #endif
29148
29149 int
29150 main ()
29151 {
29152 return f != $ac_func;
29153   ;
29154   return 0;
29155 }
29156 _ACEOF
29157 rm -f conftest.$ac_objext conftest$ac_exeext
29158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29159   (eval $ac_link) 2>conftest.er1
29160   ac_status=$?
29161   grep -v '^ *+' conftest.er1 >conftest.err
29162   rm -f conftest.er1
29163   cat conftest.err >&5
29164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165   (exit $ac_status); } &&
29166          { ac_try='test -z "$ac_c_werror_flag"
29167                          || test ! -s conftest.err'
29168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29169   (eval $ac_try) 2>&5
29170   ac_status=$?
29171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172   (exit $ac_status); }; } &&
29173          { ac_try='test -s conftest$ac_exeext'
29174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29175   (eval $ac_try) 2>&5
29176   ac_status=$?
29177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178   (exit $ac_status); }; }; then
29179   eval "$as_ac_var=yes"
29180 else
29181   echo "$as_me: failed program was:" >&5
29182 sed 's/^/| /' conftest.$ac_ext >&5
29183
29184 eval "$as_ac_var=no"
29185 fi
29186 rm -f conftest.err conftest.$ac_objext \
29187       conftest$ac_exeext conftest.$ac_ext
29188 fi
29189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29191 if test `eval echo '${'$as_ac_var'}'` = yes; then
29192   cat >>confdefs.h <<_ACEOF
29193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29194 _ACEOF
29195
29196 fi
29197 done
29198
29199   fi
29200
29201
29202
29203
29204
29205   echo "$as_me:$LINENO: checking for strtof declaration" >&5
29206 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29207   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29208     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29209   echo $ECHO_N "(cached) $ECHO_C" >&6
29210 else
29211
29212
29213
29214       ac_ext=cc
29215 ac_cpp='$CXXCPP $CPPFLAGS'
29216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29219
29220       cat >conftest.$ac_ext <<_ACEOF
29221 /* confdefs.h.  */
29222 _ACEOF
29223 cat confdefs.h >>conftest.$ac_ext
29224 cat >>conftest.$ac_ext <<_ACEOF
29225 /* end confdefs.h.  */
29226 #include <stdlib.h>
29227 int
29228 main ()
29229 {
29230  strtof(0, 0);
29231   ;
29232   return 0;
29233 }
29234 _ACEOF
29235 rm -f conftest.$ac_objext
29236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29237   (eval $ac_compile) 2>conftest.er1
29238   ac_status=$?
29239   grep -v '^ *+' conftest.er1 >conftest.err
29240   rm -f conftest.er1
29241   cat conftest.err >&5
29242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29243   (exit $ac_status); } &&
29244          { ac_try='test -z "$ac_cxx_werror_flag"
29245                          || test ! -s conftest.err'
29246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29247   (eval $ac_try) 2>&5
29248   ac_status=$?
29249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29250   (exit $ac_status); }; } &&
29251          { ac_try='test -s conftest.$ac_objext'
29252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29253   (eval $ac_try) 2>&5
29254   ac_status=$?
29255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256   (exit $ac_status); }; }; then
29257   glibcxx_cv_func_strtof_use=yes
29258 else
29259   echo "$as_me: failed program was:" >&5
29260 sed 's/^/| /' conftest.$ac_ext >&5
29261
29262 glibcxx_cv_func_strtof_use=no
29263 fi
29264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29265       ac_ext=c
29266 ac_cpp='$CPP $CPPFLAGS'
29267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29270
29271
29272 fi
29273
29274   fi
29275   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29276 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29277   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29278
29279 for ac_func in strtof
29280 do
29281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29282 echo "$as_me:$LINENO: checking for $ac_func" >&5
29283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29284 if eval "test \"\${$as_ac_var+set}\" = set"; then
29285   echo $ECHO_N "(cached) $ECHO_C" >&6
29286 else
29287   if test x$gcc_no_link = xyes; then
29288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29290    { (exit 1); exit 1; }; }
29291 fi
29292 cat >conftest.$ac_ext <<_ACEOF
29293 /* confdefs.h.  */
29294 _ACEOF
29295 cat confdefs.h >>conftest.$ac_ext
29296 cat >>conftest.$ac_ext <<_ACEOF
29297 /* end confdefs.h.  */
29298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29300 #define $ac_func innocuous_$ac_func
29301
29302 /* System header to define __stub macros and hopefully few prototypes,
29303     which can conflict with char $ac_func (); below.
29304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29305     <limits.h> exists even on freestanding compilers.  */
29306
29307 #ifdef __STDC__
29308 # include <limits.h>
29309 #else
29310 # include <assert.h>
29311 #endif
29312
29313 #undef $ac_func
29314
29315 /* Override any gcc2 internal prototype to avoid an error.  */
29316 #ifdef __cplusplus
29317 extern "C"
29318 {
29319 #endif
29320 /* We use char because int might match the return type of a gcc2
29321    builtin and then its argument prototype would still apply.  */
29322 char $ac_func ();
29323 /* The GNU C library defines this for functions which it implements
29324     to always fail with ENOSYS.  Some functions are actually named
29325     something starting with __ and the normal name is an alias.  */
29326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29327 choke me
29328 #else
29329 char (*f) () = $ac_func;
29330 #endif
29331 #ifdef __cplusplus
29332 }
29333 #endif
29334
29335 int
29336 main ()
29337 {
29338 return f != $ac_func;
29339   ;
29340   return 0;
29341 }
29342 _ACEOF
29343 rm -f conftest.$ac_objext conftest$ac_exeext
29344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29345   (eval $ac_link) 2>conftest.er1
29346   ac_status=$?
29347   grep -v '^ *+' conftest.er1 >conftest.err
29348   rm -f conftest.er1
29349   cat conftest.err >&5
29350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351   (exit $ac_status); } &&
29352          { ac_try='test -z "$ac_c_werror_flag"
29353                          || test ! -s conftest.err'
29354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29355   (eval $ac_try) 2>&5
29356   ac_status=$?
29357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358   (exit $ac_status); }; } &&
29359          { ac_try='test -s conftest$ac_exeext'
29360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29361   (eval $ac_try) 2>&5
29362   ac_status=$?
29363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364   (exit $ac_status); }; }; then
29365   eval "$as_ac_var=yes"
29366 else
29367   echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29369
29370 eval "$as_ac_var=no"
29371 fi
29372 rm -f conftest.err conftest.$ac_objext \
29373       conftest$ac_exeext conftest.$ac_ext
29374 fi
29375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29377 if test `eval echo '${'$as_ac_var'}'` = yes; then
29378   cat >>confdefs.h <<_ACEOF
29379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29380 _ACEOF
29381
29382 fi
29383 done
29384
29385   fi
29386
29387
29388
29389
29390
29391   CXXFLAGS="$ac_save_CXXFLAGS"
29392
29393
29394   # For showmanyc_helper().
29395
29396
29397 for ac_header in sys/ioctl.h sys/filio.h
29398 do
29399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29401   echo "$as_me:$LINENO: checking for $ac_header" >&5
29402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29404   echo $ECHO_N "(cached) $ECHO_C" >&6
29405 fi
29406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29408 else
29409   # Is the header compilable?
29410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29412 cat >conftest.$ac_ext <<_ACEOF
29413 /* confdefs.h.  */
29414 _ACEOF
29415 cat confdefs.h >>conftest.$ac_ext
29416 cat >>conftest.$ac_ext <<_ACEOF
29417 /* end confdefs.h.  */
29418 $ac_includes_default
29419 #include <$ac_header>
29420 _ACEOF
29421 rm -f conftest.$ac_objext
29422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29423   (eval $ac_compile) 2>conftest.er1
29424   ac_status=$?
29425   grep -v '^ *+' conftest.er1 >conftest.err
29426   rm -f conftest.er1
29427   cat conftest.err >&5
29428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429   (exit $ac_status); } &&
29430          { ac_try='test -z "$ac_c_werror_flag"
29431                          || test ! -s conftest.err'
29432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29433   (eval $ac_try) 2>&5
29434   ac_status=$?
29435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436   (exit $ac_status); }; } &&
29437          { ac_try='test -s conftest.$ac_objext'
29438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29439   (eval $ac_try) 2>&5
29440   ac_status=$?
29441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29442   (exit $ac_status); }; }; then
29443   ac_header_compiler=yes
29444 else
29445   echo "$as_me: failed program was:" >&5
29446 sed 's/^/| /' conftest.$ac_ext >&5
29447
29448 ac_header_compiler=no
29449 fi
29450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29452 echo "${ECHO_T}$ac_header_compiler" >&6
29453
29454 # Is the header present?
29455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29457 cat >conftest.$ac_ext <<_ACEOF
29458 /* confdefs.h.  */
29459 _ACEOF
29460 cat confdefs.h >>conftest.$ac_ext
29461 cat >>conftest.$ac_ext <<_ACEOF
29462 /* end confdefs.h.  */
29463 #include <$ac_header>
29464 _ACEOF
29465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29466   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29467   ac_status=$?
29468   grep -v '^ *+' conftest.er1 >conftest.err
29469   rm -f conftest.er1
29470   cat conftest.err >&5
29471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472   (exit $ac_status); } >/dev/null; then
29473   if test -s conftest.err; then
29474     ac_cpp_err=$ac_c_preproc_warn_flag
29475     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29476   else
29477     ac_cpp_err=
29478   fi
29479 else
29480   ac_cpp_err=yes
29481 fi
29482 if test -z "$ac_cpp_err"; then
29483   ac_header_preproc=yes
29484 else
29485   echo "$as_me: failed program was:" >&5
29486 sed 's/^/| /' conftest.$ac_ext >&5
29487
29488   ac_header_preproc=no
29489 fi
29490 rm -f conftest.err conftest.$ac_ext
29491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29492 echo "${ECHO_T}$ac_header_preproc" >&6
29493
29494 # So?  What about this header?
29495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29496   yes:no: )
29497     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29499     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29501     ac_header_preproc=yes
29502     ;;
29503   no:yes:* )
29504     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29506     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29507 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29508     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29510     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29511 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29512     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29514     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29516     (
29517       cat <<\_ASBOX
29518 ## ----------------------------------------- ##
29519 ## Report this to the package-unused lists.  ##
29520 ## ----------------------------------------- ##
29521 _ASBOX
29522     ) |
29523       sed "s/^/$as_me: WARNING:     /" >&2
29524     ;;
29525 esac
29526 echo "$as_me:$LINENO: checking for $ac_header" >&5
29527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29529   echo $ECHO_N "(cached) $ECHO_C" >&6
29530 else
29531   eval "$as_ac_Header=\$ac_header_preproc"
29532 fi
29533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29535
29536 fi
29537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29538   cat >>confdefs.h <<_ACEOF
29539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29540 _ACEOF
29541
29542 fi
29543
29544 done
29545
29546
29547   echo "$as_me:$LINENO: checking for poll" >&5
29548 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29549   if test "${glibcxx_cv_POLL+set}" = set; then
29550   echo $ECHO_N "(cached) $ECHO_C" >&6
29551 else
29552
29553     if test x$gcc_no_link = xyes; then
29554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29556    { (exit 1); exit 1; }; }
29557 fi
29558 cat >conftest.$ac_ext <<_ACEOF
29559 /* confdefs.h.  */
29560 _ACEOF
29561 cat confdefs.h >>conftest.$ac_ext
29562 cat >>conftest.$ac_ext <<_ACEOF
29563 /* end confdefs.h.  */
29564 #include <poll.h>
29565 int
29566 main ()
29567 {
29568 struct pollfd pfd[1];
29569        pfd[0].events = POLLIN;
29570        poll(pfd, 1, 0);
29571   ;
29572   return 0;
29573 }
29574 _ACEOF
29575 rm -f conftest.$ac_objext conftest$ac_exeext
29576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29577   (eval $ac_link) 2>conftest.er1
29578   ac_status=$?
29579   grep -v '^ *+' conftest.er1 >conftest.err
29580   rm -f conftest.er1
29581   cat conftest.err >&5
29582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583   (exit $ac_status); } &&
29584          { ac_try='test -z "$ac_c_werror_flag"
29585                          || test ! -s conftest.err'
29586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29587   (eval $ac_try) 2>&5
29588   ac_status=$?
29589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590   (exit $ac_status); }; } &&
29591          { ac_try='test -s conftest$ac_exeext'
29592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29593   (eval $ac_try) 2>&5
29594   ac_status=$?
29595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596   (exit $ac_status); }; }; then
29597   glibcxx_cv_POLL=yes
29598 else
29599   echo "$as_me: failed program was:" >&5
29600 sed 's/^/| /' conftest.$ac_ext >&5
29601
29602 glibcxx_cv_POLL=no
29603 fi
29604 rm -f conftest.err conftest.$ac_objext \
29605       conftest$ac_exeext conftest.$ac_ext
29606
29607 fi
29608
29609   if test $glibcxx_cv_POLL = yes; then
29610
29611 cat >>confdefs.h <<\_ACEOF
29612 #define HAVE_POLL 1
29613 _ACEOF
29614
29615   fi
29616   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29617 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29618
29619
29620   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29621 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29622   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29623   echo $ECHO_N "(cached) $ECHO_C" >&6
29624 else
29625
29626     if test x$gcc_no_link = xyes; then
29627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29629    { (exit 1); exit 1; }; }
29630 fi
29631 cat >conftest.$ac_ext <<_ACEOF
29632 /* confdefs.h.  */
29633 _ACEOF
29634 cat confdefs.h >>conftest.$ac_ext
29635 cat >>conftest.$ac_ext <<_ACEOF
29636 /* end confdefs.h.  */
29637 #include <sys/stat.h>
29638 int
29639 main ()
29640 {
29641 struct stat buffer;
29642        fstat(0, &buffer);
29643        S_ISREG(buffer.st_mode);
29644   ;
29645   return 0;
29646 }
29647 _ACEOF
29648 rm -f conftest.$ac_objext conftest$ac_exeext
29649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29650   (eval $ac_link) 2>conftest.er1
29651   ac_status=$?
29652   grep -v '^ *+' conftest.er1 >conftest.err
29653   rm -f conftest.er1
29654   cat conftest.err >&5
29655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656   (exit $ac_status); } &&
29657          { ac_try='test -z "$ac_c_werror_flag"
29658                          || test ! -s conftest.err'
29659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29660   (eval $ac_try) 2>&5
29661   ac_status=$?
29662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29663   (exit $ac_status); }; } &&
29664          { ac_try='test -s conftest$ac_exeext'
29665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29666   (eval $ac_try) 2>&5
29667   ac_status=$?
29668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29669   (exit $ac_status); }; }; then
29670   glibcxx_cv_S_ISREG=yes
29671 else
29672   echo "$as_me: failed program was:" >&5
29673 sed 's/^/| /' conftest.$ac_ext >&5
29674
29675 glibcxx_cv_S_ISREG=no
29676 fi
29677 rm -f conftest.err conftest.$ac_objext \
29678       conftest$ac_exeext conftest.$ac_ext
29679
29680 fi
29681
29682   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29683   echo $ECHO_N "(cached) $ECHO_C" >&6
29684 else
29685
29686     if test x$gcc_no_link = xyes; then
29687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29689    { (exit 1); exit 1; }; }
29690 fi
29691 cat >conftest.$ac_ext <<_ACEOF
29692 /* confdefs.h.  */
29693 _ACEOF
29694 cat confdefs.h >>conftest.$ac_ext
29695 cat >>conftest.$ac_ext <<_ACEOF
29696 /* end confdefs.h.  */
29697 #include <sys/stat.h>
29698 int
29699 main ()
29700 {
29701 struct stat buffer;
29702        fstat(0, &buffer);
29703        S_IFREG & buffer.st_mode;
29704   ;
29705   return 0;
29706 }
29707 _ACEOF
29708 rm -f conftest.$ac_objext conftest$ac_exeext
29709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29710   (eval $ac_link) 2>conftest.er1
29711   ac_status=$?
29712   grep -v '^ *+' conftest.er1 >conftest.err
29713   rm -f conftest.er1
29714   cat conftest.err >&5
29715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716   (exit $ac_status); } &&
29717          { ac_try='test -z "$ac_c_werror_flag"
29718                          || test ! -s conftest.err'
29719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29720   (eval $ac_try) 2>&5
29721   ac_status=$?
29722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723   (exit $ac_status); }; } &&
29724          { ac_try='test -s conftest$ac_exeext'
29725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29726   (eval $ac_try) 2>&5
29727   ac_status=$?
29728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729   (exit $ac_status); }; }; then
29730   glibcxx_cv_S_IFREG=yes
29731 else
29732   echo "$as_me: failed program was:" >&5
29733 sed 's/^/| /' conftest.$ac_ext >&5
29734
29735 glibcxx_cv_S_IFREG=no
29736 fi
29737 rm -f conftest.err conftest.$ac_objext \
29738       conftest$ac_exeext conftest.$ac_ext
29739
29740 fi
29741
29742   res=no
29743   if test $glibcxx_cv_S_ISREG = yes; then
29744
29745 cat >>confdefs.h <<\_ACEOF
29746 #define HAVE_S_ISREG 1
29747 _ACEOF
29748
29749     res=S_ISREG
29750   elif test $glibcxx_cv_S_IFREG = yes; then
29751
29752 cat >>confdefs.h <<\_ACEOF
29753 #define HAVE_S_IFREG 1
29754 _ACEOF
29755
29756     res=S_IFREG
29757   fi
29758   echo "$as_me:$LINENO: result: $res" >&5
29759 echo "${ECHO_T}$res" >&6
29760
29761
29762   # For xsputn_2().
29763
29764 for ac_header in sys/uio.h
29765 do
29766 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29768   echo "$as_me:$LINENO: checking for $ac_header" >&5
29769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29771   echo $ECHO_N "(cached) $ECHO_C" >&6
29772 fi
29773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29775 else
29776   # Is the header compilable?
29777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29779 cat >conftest.$ac_ext <<_ACEOF
29780 /* confdefs.h.  */
29781 _ACEOF
29782 cat confdefs.h >>conftest.$ac_ext
29783 cat >>conftest.$ac_ext <<_ACEOF
29784 /* end confdefs.h.  */
29785 $ac_includes_default
29786 #include <$ac_header>
29787 _ACEOF
29788 rm -f conftest.$ac_objext
29789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29790   (eval $ac_compile) 2>conftest.er1
29791   ac_status=$?
29792   grep -v '^ *+' conftest.er1 >conftest.err
29793   rm -f conftest.er1
29794   cat conftest.err >&5
29795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796   (exit $ac_status); } &&
29797          { ac_try='test -z "$ac_c_werror_flag"
29798                          || test ! -s conftest.err'
29799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29800   (eval $ac_try) 2>&5
29801   ac_status=$?
29802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803   (exit $ac_status); }; } &&
29804          { ac_try='test -s conftest.$ac_objext'
29805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29806   (eval $ac_try) 2>&5
29807   ac_status=$?
29808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809   (exit $ac_status); }; }; then
29810   ac_header_compiler=yes
29811 else
29812   echo "$as_me: failed program was:" >&5
29813 sed 's/^/| /' conftest.$ac_ext >&5
29814
29815 ac_header_compiler=no
29816 fi
29817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29819 echo "${ECHO_T}$ac_header_compiler" >&6
29820
29821 # Is the header present?
29822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29824 cat >conftest.$ac_ext <<_ACEOF
29825 /* confdefs.h.  */
29826 _ACEOF
29827 cat confdefs.h >>conftest.$ac_ext
29828 cat >>conftest.$ac_ext <<_ACEOF
29829 /* end confdefs.h.  */
29830 #include <$ac_header>
29831 _ACEOF
29832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29833   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29834   ac_status=$?
29835   grep -v '^ *+' conftest.er1 >conftest.err
29836   rm -f conftest.er1
29837   cat conftest.err >&5
29838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839   (exit $ac_status); } >/dev/null; then
29840   if test -s conftest.err; then
29841     ac_cpp_err=$ac_c_preproc_warn_flag
29842     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29843   else
29844     ac_cpp_err=
29845   fi
29846 else
29847   ac_cpp_err=yes
29848 fi
29849 if test -z "$ac_cpp_err"; then
29850   ac_header_preproc=yes
29851 else
29852   echo "$as_me: failed program was:" >&5
29853 sed 's/^/| /' conftest.$ac_ext >&5
29854
29855   ac_header_preproc=no
29856 fi
29857 rm -f conftest.err conftest.$ac_ext
29858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29859 echo "${ECHO_T}$ac_header_preproc" >&6
29860
29861 # So?  What about this header?
29862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29863   yes:no: )
29864     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29866     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29868     ac_header_preproc=yes
29869     ;;
29870   no:yes:* )
29871     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29873     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29874 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29875     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29877     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29878 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29879     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29881     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29883     (
29884       cat <<\_ASBOX
29885 ## ----------------------------------------- ##
29886 ## Report this to the package-unused lists.  ##
29887 ## ----------------------------------------- ##
29888 _ASBOX
29889     ) |
29890       sed "s/^/$as_me: WARNING:     /" >&2
29891     ;;
29892 esac
29893 echo "$as_me:$LINENO: checking for $ac_header" >&5
29894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29896   echo $ECHO_N "(cached) $ECHO_C" >&6
29897 else
29898   eval "$as_ac_Header=\$ac_header_preproc"
29899 fi
29900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29902
29903 fi
29904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29905   cat >>confdefs.h <<_ACEOF
29906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29907 _ACEOF
29908
29909 fi
29910
29911 done
29912
29913
29914   echo "$as_me:$LINENO: checking for writev" >&5
29915 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29916   if test "${glibcxx_cv_WRITEV+set}" = set; then
29917   echo $ECHO_N "(cached) $ECHO_C" >&6
29918 else
29919
29920     if test x$gcc_no_link = xyes; then
29921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29923    { (exit 1); exit 1; }; }
29924 fi
29925 cat >conftest.$ac_ext <<_ACEOF
29926 /* confdefs.h.  */
29927 _ACEOF
29928 cat confdefs.h >>conftest.$ac_ext
29929 cat >>conftest.$ac_ext <<_ACEOF
29930 /* end confdefs.h.  */
29931 #include <sys/uio.h>
29932 int
29933 main ()
29934 {
29935 struct iovec iov[2];
29936        writev(0, iov, 0);
29937   ;
29938   return 0;
29939 }
29940 _ACEOF
29941 rm -f conftest.$ac_objext conftest$ac_exeext
29942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29943   (eval $ac_link) 2>conftest.er1
29944   ac_status=$?
29945   grep -v '^ *+' conftest.er1 >conftest.err
29946   rm -f conftest.er1
29947   cat conftest.err >&5
29948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29949   (exit $ac_status); } &&
29950          { ac_try='test -z "$ac_c_werror_flag"
29951                          || test ! -s conftest.err'
29952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29953   (eval $ac_try) 2>&5
29954   ac_status=$?
29955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29956   (exit $ac_status); }; } &&
29957          { ac_try='test -s conftest$ac_exeext'
29958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29959   (eval $ac_try) 2>&5
29960   ac_status=$?
29961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29962   (exit $ac_status); }; }; then
29963   glibcxx_cv_WRITEV=yes
29964 else
29965   echo "$as_me: failed program was:" >&5
29966 sed 's/^/| /' conftest.$ac_ext >&5
29967
29968 glibcxx_cv_WRITEV=no
29969 fi
29970 rm -f conftest.err conftest.$ac_objext \
29971       conftest$ac_exeext conftest.$ac_ext
29972
29973 fi
29974
29975   if test $glibcxx_cv_WRITEV = yes; then
29976
29977 cat >>confdefs.h <<\_ACEOF
29978 #define HAVE_WRITEV 1
29979 _ACEOF
29980
29981   fi
29982   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29983 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29984
29985
29986   # For the __streamoff_base_type typedef.
29987
29988   echo "$as_me:$LINENO: checking for int64_t" >&5
29989 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29990   if test "${glibcxx_cv_INT64_T+set}" = set; then
29991   echo $ECHO_N "(cached) $ECHO_C" >&6
29992 else
29993
29994     cat >conftest.$ac_ext <<_ACEOF
29995 /* confdefs.h.  */
29996 _ACEOF
29997 cat confdefs.h >>conftest.$ac_ext
29998 cat >>conftest.$ac_ext <<_ACEOF
29999 /* end confdefs.h.  */
30000 #include <stdint.h>
30001 int
30002 main ()
30003 {
30004 int64_t var;
30005   ;
30006   return 0;
30007 }
30008 _ACEOF
30009 rm -f conftest.$ac_objext
30010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30011   (eval $ac_compile) 2>conftest.er1
30012   ac_status=$?
30013   grep -v '^ *+' conftest.er1 >conftest.err
30014   rm -f conftest.er1
30015   cat conftest.err >&5
30016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30017   (exit $ac_status); } &&
30018          { ac_try='test -z "$ac_c_werror_flag"
30019                          || test ! -s conftest.err'
30020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30021   (eval $ac_try) 2>&5
30022   ac_status=$?
30023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024   (exit $ac_status); }; } &&
30025          { ac_try='test -s conftest.$ac_objext'
30026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30027   (eval $ac_try) 2>&5
30028   ac_status=$?
30029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30030   (exit $ac_status); }; }; then
30031   glibcxx_cv_INT64_T=yes
30032 else
30033   echo "$as_me: failed program was:" >&5
30034 sed 's/^/| /' conftest.$ac_ext >&5
30035
30036 glibcxx_cv_INT64_T=no
30037 fi
30038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30039
30040 fi
30041
30042   if test $glibcxx_cv_INT64_T = yes; then
30043
30044 cat >>confdefs.h <<\_ACEOF
30045 #define HAVE_INT64_T 1
30046 _ACEOF
30047
30048   fi
30049   echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
30050 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
30051
30052
30053   # For LFS support.
30054
30055
30056
30057   ac_ext=cc
30058 ac_cpp='$CXXCPP $CPPFLAGS'
30059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30062
30063   ac_save_CXXFLAGS="$CXXFLAGS"
30064   CXXFLAGS="$CXXFLAGS -fno-exceptions"
30065   echo "$as_me:$LINENO: checking for LFS support" >&5
30066 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
30067   if test "${glibcxx_cv_LFS+set}" = set; then
30068   echo $ECHO_N "(cached) $ECHO_C" >&6
30069 else
30070
30071     if test x$gcc_no_link = xyes; then
30072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30074    { (exit 1); exit 1; }; }
30075 fi
30076 cat >conftest.$ac_ext <<_ACEOF
30077 /* confdefs.h.  */
30078 _ACEOF
30079 cat confdefs.h >>conftest.$ac_ext
30080 cat >>conftest.$ac_ext <<_ACEOF
30081 /* end confdefs.h.  */
30082 #include <unistd.h>
30083        #include <stdio.h>
30084        #include <sys/stat.h>
30085
30086 int
30087 main ()
30088 {
30089 FILE* fp;
30090        fopen64("t", "w");
30091        fseeko64(fp, 0, SEEK_CUR);
30092        ftello64(fp);
30093        lseek64(1, 0, SEEK_CUR);
30094        struct stat64 buf;
30095        fstat64(1, &buf);
30096   ;
30097   return 0;
30098 }
30099 _ACEOF
30100 rm -f conftest.$ac_objext conftest$ac_exeext
30101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30102   (eval $ac_link) 2>conftest.er1
30103   ac_status=$?
30104   grep -v '^ *+' conftest.er1 >conftest.err
30105   rm -f conftest.er1
30106   cat conftest.err >&5
30107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30108   (exit $ac_status); } &&
30109          { ac_try='test -z "$ac_cxx_werror_flag"
30110                          || test ! -s conftest.err'
30111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30112   (eval $ac_try) 2>&5
30113   ac_status=$?
30114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115   (exit $ac_status); }; } &&
30116          { ac_try='test -s conftest$ac_exeext'
30117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30118   (eval $ac_try) 2>&5
30119   ac_status=$?
30120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121   (exit $ac_status); }; }; then
30122   glibcxx_cv_LFS=yes
30123 else
30124   echo "$as_me: failed program was:" >&5
30125 sed 's/^/| /' conftest.$ac_ext >&5
30126
30127 glibcxx_cv_LFS=no
30128 fi
30129 rm -f conftest.err conftest.$ac_objext \
30130       conftest$ac_exeext conftest.$ac_ext
30131
30132 fi
30133
30134   if test $glibcxx_cv_LFS = yes; then
30135
30136 cat >>confdefs.h <<\_ACEOF
30137 #define _GLIBCXX_USE_LFS 1
30138 _ACEOF
30139
30140   fi
30141   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
30142 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
30143   CXXFLAGS="$ac_save_CXXFLAGS"
30144   ac_ext=c
30145 ac_cpp='$CPP $CPPFLAGS'
30146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30149
30150
30151
30152   # For C99 support to TR1.
30153
30154
30155
30156
30157   ac_ext=cc
30158 ac_cpp='$CXXCPP $CPPFLAGS'
30159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30162
30163
30164   # Check for the existence of <complex.h> complex math functions used
30165   # by tr1/complex.
30166
30167 for ac_header in complex.h
30168 do
30169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30171   echo "$as_me:$LINENO: checking for $ac_header" >&5
30172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30174   echo $ECHO_N "(cached) $ECHO_C" >&6
30175 fi
30176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30178 else
30179   # Is the header compilable?
30180 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30182 cat >conftest.$ac_ext <<_ACEOF
30183 /* confdefs.h.  */
30184 _ACEOF
30185 cat confdefs.h >>conftest.$ac_ext
30186 cat >>conftest.$ac_ext <<_ACEOF
30187 /* end confdefs.h.  */
30188 $ac_includes_default
30189 #include <$ac_header>
30190 _ACEOF
30191 rm -f conftest.$ac_objext
30192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30193   (eval $ac_compile) 2>conftest.er1
30194   ac_status=$?
30195   grep -v '^ *+' conftest.er1 >conftest.err
30196   rm -f conftest.er1
30197   cat conftest.err >&5
30198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199   (exit $ac_status); } &&
30200          { ac_try='test -z "$ac_cxx_werror_flag"
30201                          || test ! -s conftest.err'
30202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30203   (eval $ac_try) 2>&5
30204   ac_status=$?
30205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206   (exit $ac_status); }; } &&
30207          { ac_try='test -s conftest.$ac_objext'
30208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30209   (eval $ac_try) 2>&5
30210   ac_status=$?
30211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212   (exit $ac_status); }; }; then
30213   ac_header_compiler=yes
30214 else
30215   echo "$as_me: failed program was:" >&5
30216 sed 's/^/| /' conftest.$ac_ext >&5
30217
30218 ac_header_compiler=no
30219 fi
30220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30221 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30222 echo "${ECHO_T}$ac_header_compiler" >&6
30223
30224 # Is the header present?
30225 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30226 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30227 cat >conftest.$ac_ext <<_ACEOF
30228 /* confdefs.h.  */
30229 _ACEOF
30230 cat confdefs.h >>conftest.$ac_ext
30231 cat >>conftest.$ac_ext <<_ACEOF
30232 /* end confdefs.h.  */
30233 #include <$ac_header>
30234 _ACEOF
30235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30236   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30237   ac_status=$?
30238   grep -v '^ *+' conftest.er1 >conftest.err
30239   rm -f conftest.er1
30240   cat conftest.err >&5
30241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30242   (exit $ac_status); } >/dev/null; then
30243   if test -s conftest.err; then
30244     ac_cpp_err=$ac_cxx_preproc_warn_flag
30245     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30246   else
30247     ac_cpp_err=
30248   fi
30249 else
30250   ac_cpp_err=yes
30251 fi
30252 if test -z "$ac_cpp_err"; then
30253   ac_header_preproc=yes
30254 else
30255   echo "$as_me: failed program was:" >&5
30256 sed 's/^/| /' conftest.$ac_ext >&5
30257
30258   ac_header_preproc=no
30259 fi
30260 rm -f conftest.err conftest.$ac_ext
30261 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30262 echo "${ECHO_T}$ac_header_preproc" >&6
30263
30264 # So?  What about this header?
30265 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30266   yes:no: )
30267     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30268 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30269     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30270 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30271     ac_header_preproc=yes
30272     ;;
30273   no:yes:* )
30274     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30275 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30276     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30277 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30278     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30279 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30280     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30281 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30282     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30284     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30285 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30286     (
30287       cat <<\_ASBOX
30288 ## ----------------------------------------- ##
30289 ## Report this to the package-unused lists.  ##
30290 ## ----------------------------------------- ##
30291 _ASBOX
30292     ) |
30293       sed "s/^/$as_me: WARNING:     /" >&2
30294     ;;
30295 esac
30296 echo "$as_me:$LINENO: checking for $ac_header" >&5
30297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30299   echo $ECHO_N "(cached) $ECHO_C" >&6
30300 else
30301   eval "$as_ac_Header=\$ac_header_preproc"
30302 fi
30303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30305
30306 fi
30307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30308   cat >>confdefs.h <<_ACEOF
30309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30310 _ACEOF
30311  ac_has_complex_h=yes
30312 else
30313   ac_has_complex_h=no
30314 fi
30315
30316 done
30317
30318   ac_c99_complex_tr1=no;
30319   if test x"$ac_has_complex_h" = x"yes"; then
30320     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30321 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30322     cat >conftest.$ac_ext <<_ACEOF
30323 /* confdefs.h.  */
30324 _ACEOF
30325 cat confdefs.h >>conftest.$ac_ext
30326 cat >>conftest.$ac_ext <<_ACEOF
30327 /* end confdefs.h.  */
30328 #include <complex.h>
30329 int
30330 main ()
30331 {
30332 typedef __complex__ float float_type; float_type tmpf;
30333                     cacosf(tmpf);
30334                     casinf(tmpf);
30335                     catanf(tmpf);
30336                     cacoshf(tmpf);
30337                     casinhf(tmpf);
30338                     catanhf(tmpf);
30339                     typedef __complex__ double double_type; double_type tmpd;
30340                     cacos(tmpd);
30341                     casin(tmpd);
30342                     catan(tmpd);
30343                     cacosh(tmpd);
30344                     casinh(tmpd);
30345                     catanh(tmpd);
30346                     typedef __complex__ long double ld_type; ld_type tmpld;
30347                     cacosl(tmpld);
30348                     casinl(tmpld);
30349                     catanl(tmpld);
30350                     cacoshl(tmpld);
30351                     casinhl(tmpld);
30352                     catanhl(tmpld);
30353
30354   ;
30355   return 0;
30356 }
30357 _ACEOF
30358 rm -f conftest.$ac_objext
30359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30360   (eval $ac_compile) 2>conftest.er1
30361   ac_status=$?
30362   grep -v '^ *+' conftest.er1 >conftest.err
30363   rm -f conftest.er1
30364   cat conftest.err >&5
30365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366   (exit $ac_status); } &&
30367          { ac_try='test -z "$ac_cxx_werror_flag"
30368                          || test ! -s conftest.err'
30369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30370   (eval $ac_try) 2>&5
30371   ac_status=$?
30372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373   (exit $ac_status); }; } &&
30374          { ac_try='test -s conftest.$ac_objext'
30375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30376   (eval $ac_try) 2>&5
30377   ac_status=$?
30378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379   (exit $ac_status); }; }; then
30380   ac_c99_complex_tr1=yes
30381 else
30382   echo "$as_me: failed program was:" >&5
30383 sed 's/^/| /' conftest.$ac_ext >&5
30384
30385 ac_c99_complex_tr1=no
30386 fi
30387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30388   fi
30389   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30390 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30391   if test x"$ac_c99_complex_tr1" = x"yes"; then
30392
30393 cat >>confdefs.h <<\_ACEOF
30394 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30395 _ACEOF
30396
30397   fi
30398
30399   # Check for the existence of <ctype.h> functions.
30400   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30401 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30402   if test "${ac_c99_ctype_tr1+set}" = set; then
30403   echo $ECHO_N "(cached) $ECHO_C" >&6
30404 else
30405
30406   cat >conftest.$ac_ext <<_ACEOF
30407 /* confdefs.h.  */
30408 _ACEOF
30409 cat confdefs.h >>conftest.$ac_ext
30410 cat >>conftest.$ac_ext <<_ACEOF
30411 /* end confdefs.h.  */
30412 #include <ctype.h>
30413 int
30414 main ()
30415 {
30416 int ch;
30417                   int ret;
30418                   ret = isblank(ch);
30419
30420   ;
30421   return 0;
30422 }
30423 _ACEOF
30424 rm -f conftest.$ac_objext
30425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30426   (eval $ac_compile) 2>conftest.er1
30427   ac_status=$?
30428   grep -v '^ *+' conftest.er1 >conftest.err
30429   rm -f conftest.er1
30430   cat conftest.err >&5
30431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30432   (exit $ac_status); } &&
30433          { ac_try='test -z "$ac_cxx_werror_flag"
30434                          || test ! -s conftest.err'
30435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30436   (eval $ac_try) 2>&5
30437   ac_status=$?
30438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439   (exit $ac_status); }; } &&
30440          { ac_try='test -s conftest.$ac_objext'
30441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30442   (eval $ac_try) 2>&5
30443   ac_status=$?
30444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445   (exit $ac_status); }; }; then
30446   ac_c99_ctype_tr1=yes
30447 else
30448   echo "$as_me: failed program was:" >&5
30449 sed 's/^/| /' conftest.$ac_ext >&5
30450
30451 ac_c99_ctype_tr1=no
30452 fi
30453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30454
30455 fi
30456
30457   echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30458 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30459   if test x"$ac_c99_ctype_tr1" = x"yes"; then
30460
30461 cat >>confdefs.h <<\_ACEOF
30462 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30463 _ACEOF
30464
30465   fi
30466
30467   # Check for the existence of <fenv.h> functions.
30468
30469 for ac_header in fenv.h
30470 do
30471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30473   echo "$as_me:$LINENO: checking for $ac_header" >&5
30474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30476   echo $ECHO_N "(cached) $ECHO_C" >&6
30477 fi
30478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30480 else
30481   # Is the header compilable?
30482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30484 cat >conftest.$ac_ext <<_ACEOF
30485 /* confdefs.h.  */
30486 _ACEOF
30487 cat confdefs.h >>conftest.$ac_ext
30488 cat >>conftest.$ac_ext <<_ACEOF
30489 /* end confdefs.h.  */
30490 $ac_includes_default
30491 #include <$ac_header>
30492 _ACEOF
30493 rm -f conftest.$ac_objext
30494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30495   (eval $ac_compile) 2>conftest.er1
30496   ac_status=$?
30497   grep -v '^ *+' conftest.er1 >conftest.err
30498   rm -f conftest.er1
30499   cat conftest.err >&5
30500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501   (exit $ac_status); } &&
30502          { ac_try='test -z "$ac_cxx_werror_flag"
30503                          || test ! -s conftest.err'
30504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30505   (eval $ac_try) 2>&5
30506   ac_status=$?
30507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508   (exit $ac_status); }; } &&
30509          { ac_try='test -s conftest.$ac_objext'
30510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30511   (eval $ac_try) 2>&5
30512   ac_status=$?
30513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514   (exit $ac_status); }; }; then
30515   ac_header_compiler=yes
30516 else
30517   echo "$as_me: failed program was:" >&5
30518 sed 's/^/| /' conftest.$ac_ext >&5
30519
30520 ac_header_compiler=no
30521 fi
30522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30524 echo "${ECHO_T}$ac_header_compiler" >&6
30525
30526 # Is the header present?
30527 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30528 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30529 cat >conftest.$ac_ext <<_ACEOF
30530 /* confdefs.h.  */
30531 _ACEOF
30532 cat confdefs.h >>conftest.$ac_ext
30533 cat >>conftest.$ac_ext <<_ACEOF
30534 /* end confdefs.h.  */
30535 #include <$ac_header>
30536 _ACEOF
30537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30538   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30539   ac_status=$?
30540   grep -v '^ *+' conftest.er1 >conftest.err
30541   rm -f conftest.er1
30542   cat conftest.err >&5
30543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30544   (exit $ac_status); } >/dev/null; then
30545   if test -s conftest.err; then
30546     ac_cpp_err=$ac_cxx_preproc_warn_flag
30547     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30548   else
30549     ac_cpp_err=
30550   fi
30551 else
30552   ac_cpp_err=yes
30553 fi
30554 if test -z "$ac_cpp_err"; then
30555   ac_header_preproc=yes
30556 else
30557   echo "$as_me: failed program was:" >&5
30558 sed 's/^/| /' conftest.$ac_ext >&5
30559
30560   ac_header_preproc=no
30561 fi
30562 rm -f conftest.err conftest.$ac_ext
30563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30564 echo "${ECHO_T}$ac_header_preproc" >&6
30565
30566 # So?  What about this header?
30567 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30568   yes:no: )
30569     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30570 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30571     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30572 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30573     ac_header_preproc=yes
30574     ;;
30575   no:yes:* )
30576     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30578     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30579 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30580     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30581 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30582     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30583 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30584     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30586     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30587 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30588     (
30589       cat <<\_ASBOX
30590 ## ----------------------------------------- ##
30591 ## Report this to the package-unused lists.  ##
30592 ## ----------------------------------------- ##
30593 _ASBOX
30594     ) |
30595       sed "s/^/$as_me: WARNING:     /" >&2
30596     ;;
30597 esac
30598 echo "$as_me:$LINENO: checking for $ac_header" >&5
30599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30601   echo $ECHO_N "(cached) $ECHO_C" >&6
30602 else
30603   eval "$as_ac_Header=\$ac_header_preproc"
30604 fi
30605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30607
30608 fi
30609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30610   cat >>confdefs.h <<_ACEOF
30611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30612 _ACEOF
30613  ac_has_fenv_h=yes
30614 else
30615   ac_has_fenv_h=no
30616 fi
30617
30618 done
30619
30620   ac_c99_fenv_tr1=no;
30621   if test x"$ac_has_fenv_h" = x"yes"; then
30622     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30623 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30624     cat >conftest.$ac_ext <<_ACEOF
30625 /* confdefs.h.  */
30626 _ACEOF
30627 cat confdefs.h >>conftest.$ac_ext
30628 cat >>conftest.$ac_ext <<_ACEOF
30629 /* end confdefs.h.  */
30630 #include <fenv.h>
30631 int
30632 main ()
30633 {
30634 int except, mode;
30635                     fexcept_t* pflag;
30636                     fenv_t* penv;
30637                     int ret;
30638                     ret = feclearexcept(except);
30639                     ret = fegetexceptflag(pflag, except);
30640                     ret = feraiseexcept(except);
30641                     ret = fesetexceptflag(pflag, except);
30642                     ret = fetestexcept(except);
30643                     ret = fegetround();
30644                     ret = fesetround(mode);
30645                     ret = fegetenv(penv);
30646                     ret = feholdexcept(penv);
30647                     ret = fesetenv(penv);
30648                     ret = feupdateenv(penv);
30649
30650   ;
30651   return 0;
30652 }
30653 _ACEOF
30654 rm -f conftest.$ac_objext
30655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30656   (eval $ac_compile) 2>conftest.er1
30657   ac_status=$?
30658   grep -v '^ *+' conftest.er1 >conftest.err
30659   rm -f conftest.er1
30660   cat conftest.err >&5
30661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662   (exit $ac_status); } &&
30663          { ac_try='test -z "$ac_cxx_werror_flag"
30664                          || test ! -s conftest.err'
30665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30666   (eval $ac_try) 2>&5
30667   ac_status=$?
30668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669   (exit $ac_status); }; } &&
30670          { ac_try='test -s conftest.$ac_objext'
30671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30672   (eval $ac_try) 2>&5
30673   ac_status=$?
30674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675   (exit $ac_status); }; }; then
30676   ac_c99_fenv_tr1=yes
30677 else
30678   echo "$as_me: failed program was:" >&5
30679 sed 's/^/| /' conftest.$ac_ext >&5
30680
30681 ac_c99_fenv_tr1=no
30682 fi
30683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30684   fi
30685   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30686 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30687   if test x"$ac_c99_fenv_tr1" = x"yes"; then
30688
30689 cat >>confdefs.h <<\_ACEOF
30690 #define _GLIBCXX_USE_C99_FENV_TR1 1
30691 _ACEOF
30692
30693   fi
30694
30695   # Check for the existence of <stdint.h> types.
30696   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30697 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30698   if test "${ac_c99_stdint_tr1+set}" = set; then
30699   echo $ECHO_N "(cached) $ECHO_C" >&6
30700 else
30701
30702   cat >conftest.$ac_ext <<_ACEOF
30703 /* confdefs.h.  */
30704 _ACEOF
30705 cat confdefs.h >>conftest.$ac_ext
30706 cat >>conftest.$ac_ext <<_ACEOF
30707 /* end confdefs.h.  */
30708 #include <stdint.h>
30709 int
30710 main ()
30711 {
30712 typedef int8_t          my_int8_t;
30713                   typedef int16_t         my_int16_t;
30714                   typedef int32_t         my_int32_t;
30715                   typedef int64_t         my_int64_t;
30716                   typedef int_fast8_t     my_int_fast8_t;
30717                   typedef int_fast16_t    my_int_fast16_t;
30718                   typedef int_fast32_t    my_int_fast32_t;
30719                   typedef int_fast64_t    my_int_fast64_t;
30720                   typedef int_least8_t    my_int_least8_t;
30721                   typedef int_least16_t   my_int_least16_t;
30722                   typedef int_least32_t   my_int_least32_t;
30723                   typedef int_least64_t   my_int_least64_t;
30724                   typedef intmax_t        my_intmax_t;
30725                   typedef intptr_t        my_intptr_t;
30726                   typedef uint8_t         my_uint8_t;
30727                   typedef uint16_t        my_uint16_t;
30728                   typedef uint32_t        my_uint32_t;
30729                   typedef uint64_t        my_uint64_t;
30730                   typedef uint_fast8_t    my_uint_fast8_t;
30731                   typedef uint_fast16_t   my_uint_fast16_t;
30732                   typedef uint_fast32_t   my_uint_fast32_t;
30733                   typedef uint_fast64_t   my_uint_fast64_t;
30734                   typedef uint_least8_t   my_uint_least8_t;
30735                   typedef uint_least16_t  my_uint_least16_t;
30736                   typedef uint_least32_t  my_uint_least32_t;
30737                   typedef uint_least64_t  my_uint_least64_t;
30738                   typedef uintmax_t       my_uintmax_t;
30739                   typedef uintptr_t       my_uintptr_t;
30740
30741   ;
30742   return 0;
30743 }
30744 _ACEOF
30745 rm -f conftest.$ac_objext
30746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30747   (eval $ac_compile) 2>conftest.er1
30748   ac_status=$?
30749   grep -v '^ *+' conftest.er1 >conftest.err
30750   rm -f conftest.er1
30751   cat conftest.err >&5
30752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753   (exit $ac_status); } &&
30754          { ac_try='test -z "$ac_cxx_werror_flag"
30755                          || test ! -s conftest.err'
30756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30757   (eval $ac_try) 2>&5
30758   ac_status=$?
30759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760   (exit $ac_status); }; } &&
30761          { ac_try='test -s conftest.$ac_objext'
30762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30763   (eval $ac_try) 2>&5
30764   ac_status=$?
30765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766   (exit $ac_status); }; }; then
30767   ac_c99_stdint_tr1=yes
30768 else
30769   echo "$as_me: failed program was:" >&5
30770 sed 's/^/| /' conftest.$ac_ext >&5
30771
30772 ac_c99_stdint_tr1=no
30773 fi
30774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30775
30776 fi
30777
30778   echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30779 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30780   if test x"$ac_c99_stdint_tr1" = x"yes"; then
30781
30782 cat >>confdefs.h <<\_ACEOF
30783 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30784 _ACEOF
30785
30786   fi
30787
30788   # Check for the existence of <math.h> functions.
30789   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30790 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30791   if test "${ac_c99_math_tr1+set}" = set; then
30792   echo $ECHO_N "(cached) $ECHO_C" >&6
30793 else
30794
30795   cat >conftest.$ac_ext <<_ACEOF
30796 /* confdefs.h.  */
30797 _ACEOF
30798 cat confdefs.h >>conftest.$ac_ext
30799 cat >>conftest.$ac_ext <<_ACEOF
30800 /* end confdefs.h.  */
30801 #include <math.h>
30802 int
30803 main ()
30804 {
30805 typedef double_t  my_double_t;
30806                   typedef float_t   my_float_t;
30807                   acosh(0.0);
30808                   acoshf(0.0f);
30809                   acoshl(0.0l);
30810                   asinh(0.0);
30811                   asinhf(0.0f);
30812                   asinhl(0.0l);
30813                   atanh(0.0);
30814                   atanhf(0.0f);
30815                   atanhl(0.0l);
30816                   cbrt(0.0);
30817                   cbrtf(0.0f);
30818                   cbrtl(0.0l);
30819                   copysign(0.0, 0.0);
30820                   copysignf(0.0f, 0.0f);
30821                   copysignl(0.0l, 0.0l);
30822                   erf(0.0);
30823                   erff(0.0f);
30824                   erfl(0.0l);
30825                   erfc(0.0);
30826                   erfcf(0.0f);
30827                   erfcl(0.0l);
30828                   exp2(0.0);
30829                   exp2f(0.0f);
30830                   exp2l(0.0l);
30831                   expm1(0.0);
30832                   expm1f(0.0f);
30833                   expm1l(0.0l);
30834                   fdim(0.0, 0.0);
30835                   fdimf(0.0f, 0.0f);
30836                   fdiml(0.0l, 0.0l);
30837                   fma(0.0, 0.0, 0.0);
30838                   fmaf(0.0f, 0.0f, 0.0f);
30839                   fmal(0.0l, 0.0l, 0.0l);
30840                   fmax(0.0, 0.0);
30841                   fmaxf(0.0f, 0.0f);
30842                   fmaxl(0.0l, 0.0l);
30843                   fmin(0.0, 0.0);
30844                   fminf(0.0f, 0.0f);
30845                   fminl(0.0l, 0.0l);
30846                   hypot(0.0, 0.0);
30847                   hypotf(0.0f, 0.0f);
30848                   hypotl(0.0l, 0.0l);
30849                   ilogb(0.0);
30850                   ilogbf(0.0f);
30851                   ilogbl(0.0l);
30852                   lgamma(0.0);
30853                   lgammaf(0.0f);
30854                   lgammal(0.0l);
30855                   llrint(0.0);
30856                   llrintf(0.0f);
30857                   llrintl(0.0l);
30858                   llround(0.0);
30859                   llroundf(0.0f);
30860                   llroundl(0.0l);
30861                   log1p(0.0);
30862                   log1pf(0.0f);
30863                   log1pl(0.0l);
30864                   log2(0.0);
30865                   log2f(0.0f);
30866                   log2l(0.0l);
30867                   logb(0.0);
30868                   logbf(0.0f);
30869                   logbl(0.0l);
30870                   lrint(0.0);
30871                   lrintf(0.0f);
30872                   lrintl(0.0l);
30873                   lround(0.0);
30874                   lroundf(0.0f);
30875                   lroundl(0.0l);
30876                   nan(0);
30877                   nanf(0);
30878                   nanl(0);
30879                   nearbyint(0.0);
30880                   nearbyintf(0.0f);
30881                   nearbyintl(0.0l);
30882                   nextafter(0.0, 0.0);
30883                   nextafterf(0.0f, 0.0f);
30884                   nextafterl(0.0l, 0.0l);
30885                   nexttoward(0.0, 0.0);
30886                   nexttowardf(0.0f, 0.0f);
30887                   nexttowardl(0.0l, 0.0l);
30888                   remainder(0.0, 0.0);
30889                   remainderf(0.0f, 0.0f);
30890                   remainderl(0.0l, 0.0l);
30891                   remquo(0.0, 0.0, 0);
30892                   remquo(0.0f, 0.0f, 0);
30893                   remquo(0.0l, 0.0l, 0);
30894                   rint(0.0);
30895                   rintf(0.0f);
30896                   rintl(0.0l);
30897                   round(0.0);
30898                   roundf(0.0f);
30899                   roundl(0.0l);
30900                   scalbln(0.0, 0l);
30901                   scalblnf(0.0f, 0l);
30902                   scalblnl(0.0l, 0l);
30903                   scalbn(0.0, 0);
30904                   scalbnf(0.0f, 0);
30905                   scalbnl(0.0l, 0);
30906                   tgamma(0.0);
30907                   tgammaf(0.0f);
30908                   tgammal(0.0l);
30909                   trunc(0.0);
30910                   truncf(0.0f);
30911                   truncl(0.0l);
30912
30913   ;
30914   return 0;
30915 }
30916 _ACEOF
30917 rm -f conftest.$ac_objext
30918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30919   (eval $ac_compile) 2>conftest.er1
30920   ac_status=$?
30921   grep -v '^ *+' conftest.er1 >conftest.err
30922   rm -f conftest.er1
30923   cat conftest.err >&5
30924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30925   (exit $ac_status); } &&
30926          { ac_try='test -z "$ac_cxx_werror_flag"
30927                          || test ! -s conftest.err'
30928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30929   (eval $ac_try) 2>&5
30930   ac_status=$?
30931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30932   (exit $ac_status); }; } &&
30933          { ac_try='test -s conftest.$ac_objext'
30934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30935   (eval $ac_try) 2>&5
30936   ac_status=$?
30937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938   (exit $ac_status); }; }; then
30939   ac_c99_math_tr1=yes
30940 else
30941   echo "$as_me: failed program was:" >&5
30942 sed 's/^/| /' conftest.$ac_ext >&5
30943
30944 ac_c99_math_tr1=no
30945 fi
30946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30947
30948 fi
30949
30950   echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30951 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30952   if test x"$ac_c99_math_tr1" = x"yes"; then
30953
30954 cat >>confdefs.h <<\_ACEOF
30955 #define _GLIBCXX_USE_C99_MATH_TR1 1
30956 _ACEOF
30957
30958   fi
30959
30960   # Check for the existence of <inttypes.h> functions (NB: doesn't make
30961   # sense if the previous check fails, per C99, 7.8/1).
30962   ac_c99_inttypes_tr1=no;
30963   if test x"$ac_c99_stdint_tr1" = x"yes"; then
30964     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30965 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30966     cat >conftest.$ac_ext <<_ACEOF
30967 /* confdefs.h.  */
30968 _ACEOF
30969 cat confdefs.h >>conftest.$ac_ext
30970 cat >>conftest.$ac_ext <<_ACEOF
30971 /* end confdefs.h.  */
30972 #include <inttypes.h>
30973 int
30974 main ()
30975 {
30976 intmax_t i, numer, denom, base;
30977                     const char* s;
30978                     char** endptr;
30979                     intmax_t ret = imaxabs(i);
30980                     imaxdiv_t dret = imaxdiv(numer, denom);
30981                     ret = strtoimax(s, endptr, base);
30982                     uintmax_t uret = strtoumax(s, endptr, base);
30983
30984   ;
30985   return 0;
30986 }
30987 _ACEOF
30988 rm -f conftest.$ac_objext
30989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30990   (eval $ac_compile) 2>conftest.er1
30991   ac_status=$?
30992   grep -v '^ *+' conftest.er1 >conftest.err
30993   rm -f conftest.er1
30994   cat conftest.err >&5
30995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996   (exit $ac_status); } &&
30997          { ac_try='test -z "$ac_cxx_werror_flag"
30998                          || test ! -s conftest.err'
30999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31000   (eval $ac_try) 2>&5
31001   ac_status=$?
31002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003   (exit $ac_status); }; } &&
31004          { ac_try='test -s conftest.$ac_objext'
31005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31006   (eval $ac_try) 2>&5
31007   ac_status=$?
31008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009   (exit $ac_status); }; }; then
31010   ac_c99_inttypes_tr1=yes
31011 else
31012   echo "$as_me: failed program was:" >&5
31013 sed 's/^/| /' conftest.$ac_ext >&5
31014
31015 ac_c99_inttypes_tr1=no
31016 fi
31017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31018   fi
31019   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
31020 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
31021   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
31022
31023 cat >>confdefs.h <<\_ACEOF
31024 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
31025 _ACEOF
31026
31027   fi
31028
31029   # Check for the existence of the <stdbool.h> header.
31030
31031 for ac_header in stdbool.h
31032 do
31033 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31035   echo "$as_me:$LINENO: checking for $ac_header" >&5
31036 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31038   echo $ECHO_N "(cached) $ECHO_C" >&6
31039 fi
31040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31042 else
31043   # Is the header compilable?
31044 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31045 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31046 cat >conftest.$ac_ext <<_ACEOF
31047 /* confdefs.h.  */
31048 _ACEOF
31049 cat confdefs.h >>conftest.$ac_ext
31050 cat >>conftest.$ac_ext <<_ACEOF
31051 /* end confdefs.h.  */
31052 $ac_includes_default
31053 #include <$ac_header>
31054 _ACEOF
31055 rm -f conftest.$ac_objext
31056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31057   (eval $ac_compile) 2>conftest.er1
31058   ac_status=$?
31059   grep -v '^ *+' conftest.er1 >conftest.err
31060   rm -f conftest.er1
31061   cat conftest.err >&5
31062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063   (exit $ac_status); } &&
31064          { ac_try='test -z "$ac_cxx_werror_flag"
31065                          || test ! -s conftest.err'
31066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31067   (eval $ac_try) 2>&5
31068   ac_status=$?
31069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070   (exit $ac_status); }; } &&
31071          { ac_try='test -s conftest.$ac_objext'
31072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31073   (eval $ac_try) 2>&5
31074   ac_status=$?
31075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076   (exit $ac_status); }; }; then
31077   ac_header_compiler=yes
31078 else
31079   echo "$as_me: failed program was:" >&5
31080 sed 's/^/| /' conftest.$ac_ext >&5
31081
31082 ac_header_compiler=no
31083 fi
31084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31085 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31086 echo "${ECHO_T}$ac_header_compiler" >&6
31087
31088 # Is the header present?
31089 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31090 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31091 cat >conftest.$ac_ext <<_ACEOF
31092 /* confdefs.h.  */
31093 _ACEOF
31094 cat confdefs.h >>conftest.$ac_ext
31095 cat >>conftest.$ac_ext <<_ACEOF
31096 /* end confdefs.h.  */
31097 #include <$ac_header>
31098 _ACEOF
31099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31100   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31101   ac_status=$?
31102   grep -v '^ *+' conftest.er1 >conftest.err
31103   rm -f conftest.er1
31104   cat conftest.err >&5
31105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106   (exit $ac_status); } >/dev/null; then
31107   if test -s conftest.err; then
31108     ac_cpp_err=$ac_cxx_preproc_warn_flag
31109     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31110   else
31111     ac_cpp_err=
31112   fi
31113 else
31114   ac_cpp_err=yes
31115 fi
31116 if test -z "$ac_cpp_err"; then
31117   ac_header_preproc=yes
31118 else
31119   echo "$as_me: failed program was:" >&5
31120 sed 's/^/| /' conftest.$ac_ext >&5
31121
31122   ac_header_preproc=no
31123 fi
31124 rm -f conftest.err conftest.$ac_ext
31125 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31126 echo "${ECHO_T}$ac_header_preproc" >&6
31127
31128 # So?  What about this header?
31129 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31130   yes:no: )
31131     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31132 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31133     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31134 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31135     ac_header_preproc=yes
31136     ;;
31137   no:yes:* )
31138     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31139 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31140     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31141 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31142     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31143 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31144     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31145 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31146     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31147 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31148     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31149 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31150     (
31151       cat <<\_ASBOX
31152 ## ----------------------------------------- ##
31153 ## Report this to the package-unused lists.  ##
31154 ## ----------------------------------------- ##
31155 _ASBOX
31156     ) |
31157       sed "s/^/$as_me: WARNING:     /" >&2
31158     ;;
31159 esac
31160 echo "$as_me:$LINENO: checking for $ac_header" >&5
31161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31163   echo $ECHO_N "(cached) $ECHO_C" >&6
31164 else
31165   eval "$as_ac_Header=\$ac_header_preproc"
31166 fi
31167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31169
31170 fi
31171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31172   cat >>confdefs.h <<_ACEOF
31173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31174 _ACEOF
31175
31176 fi
31177
31178 done
31179
31180
31181   ac_ext=c
31182 ac_cpp='$CPP $CPPFLAGS'
31183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31186
31187
31188
31189   # For dev/random and dev/urandom for TR1.
31190
31191
31192   echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
31193 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
31194   if test "${ac_random_tr1+set}" = set; then
31195   echo $ECHO_N "(cached) $ECHO_C" >&6
31196 else
31197
31198   if test "$cross_compiling" = yes; then
31199   ac_random_tr1=no
31200 else
31201   cat >conftest.$ac_ext <<_ACEOF
31202 /* confdefs.h.  */
31203 _ACEOF
31204 cat confdefs.h >>conftest.$ac_ext
31205 cat >>conftest.$ac_ext <<_ACEOF
31206 /* end confdefs.h.  */
31207 #include <stdio.h>
31208               int main()
31209               {
31210                 return !(fopen("/dev/random", "r")
31211                          && fopen("/dev/urandom", "r"));
31212               }
31213
31214 _ACEOF
31215 rm -f conftest$ac_exeext
31216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31217   (eval $ac_link) 2>&5
31218   ac_status=$?
31219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222   (eval $ac_try) 2>&5
31223   ac_status=$?
31224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225   (exit $ac_status); }; }; then
31226   ac_random_tr1=yes
31227 else
31228   echo "$as_me: program exited with status $ac_status" >&5
31229 echo "$as_me: failed program was:" >&5
31230 sed 's/^/| /' conftest.$ac_ext >&5
31231
31232 ( exit $ac_status )
31233 ac_random_tr1=no
31234 fi
31235 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31236 fi
31237
31238 fi
31239
31240   echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
31241 echo "${ECHO_T}$ac_random_tr1" >&6
31242   if test x"$ac_random_tr1" = x"yes"; then
31243
31244 cat >>confdefs.h <<\_ACEOF
31245 #define _GLIBCXX_USE_RANDOM_TR1 1
31246 _ACEOF
31247
31248   fi
31249
31250
31251
31252   # For TLS support.
31253
31254    # Check whether --enable-tls or --disable-tls was given.
31255 if test "${enable_tls+set}" = set; then
31256   enableval="$enable_tls"
31257
31258       case "$enableval" in
31259        yes|no) ;;
31260        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
31261 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
31262    { (exit 1); exit 1; }; } ;;
31263       esac
31264
31265 else
31266   enable_tls=yes
31267 fi;
31268
31269   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
31270 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
31271 if test "${have_tls+set}" = set; then
31272   echo $ECHO_N "(cached) $ECHO_C" >&6
31273 else
31274
31275     if test "$cross_compiling" = yes; then
31276   cat >conftest.$ac_ext <<_ACEOF
31277 __thread int foo;
31278 _ACEOF
31279 rm -f conftest.$ac_objext
31280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31281   (eval $ac_compile) 2>conftest.er1
31282   ac_status=$?
31283   grep -v '^ *+' conftest.er1 >conftest.err
31284   rm -f conftest.er1
31285   cat conftest.err >&5
31286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31287   (exit $ac_status); } &&
31288          { ac_try='test -z "$ac_c_werror_flag"
31289                          || test ! -s conftest.err'
31290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31291   (eval $ac_try) 2>&5
31292   ac_status=$?
31293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294   (exit $ac_status); }; } &&
31295          { ac_try='test -s conftest.$ac_objext'
31296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31297   (eval $ac_try) 2>&5
31298   ac_status=$?
31299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300   (exit $ac_status); }; }; then
31301   have_tls=yes
31302 else
31303   echo "$as_me: failed program was:" >&5
31304 sed 's/^/| /' conftest.$ac_ext >&5
31305
31306 have_tls=no
31307 fi
31308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31309
31310 else
31311   cat >conftest.$ac_ext <<_ACEOF
31312 __thread int a; int b; int main() { return a = b; }
31313 _ACEOF
31314 rm -f conftest$ac_exeext
31315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31316   (eval $ac_link) 2>&5
31317   ac_status=$?
31318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31321   (eval $ac_try) 2>&5
31322   ac_status=$?
31323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31324   (exit $ac_status); }; }; then
31325                       save_LDFLAGS="$LDFLAGS"
31326       LDFLAGS="-static $LDFLAGS"
31327       if test x$gcc_no_link = xyes; then
31328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31330    { (exit 1); exit 1; }; }
31331 fi
31332 cat >conftest.$ac_ext <<_ACEOF
31333 int main() { return 0; }
31334 _ACEOF
31335 rm -f conftest.$ac_objext conftest$ac_exeext
31336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31337   (eval $ac_link) 2>conftest.er1
31338   ac_status=$?
31339   grep -v '^ *+' conftest.er1 >conftest.err
31340   rm -f conftest.er1
31341   cat conftest.err >&5
31342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343   (exit $ac_status); } &&
31344          { ac_try='test -z "$ac_c_werror_flag"
31345                          || test ! -s conftest.err'
31346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31347   (eval $ac_try) 2>&5
31348   ac_status=$?
31349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31350   (exit $ac_status); }; } &&
31351          { ac_try='test -s conftest$ac_exeext'
31352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31353   (eval $ac_try) 2>&5
31354   ac_status=$?
31355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356   (exit $ac_status); }; }; then
31357   if test "$cross_compiling" = yes; then
31358   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31359 See \`config.log' for more details." >&5
31360 echo "$as_me: error: cannot run test program while cross compiling
31361 See \`config.log' for more details." >&2;}
31362    { (exit 1); exit 1; }; }
31363 else
31364   cat >conftest.$ac_ext <<_ACEOF
31365 __thread int a; int b; int main() { return a = b; }
31366 _ACEOF
31367 rm -f conftest$ac_exeext
31368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31369   (eval $ac_link) 2>&5
31370   ac_status=$?
31371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31374   (eval $ac_try) 2>&5
31375   ac_status=$?
31376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377   (exit $ac_status); }; }; then
31378   have_tls=yes
31379 else
31380   echo "$as_me: program exited with status $ac_status" >&5
31381 echo "$as_me: failed program was:" >&5
31382 sed 's/^/| /' conftest.$ac_ext >&5
31383
31384 ( exit $ac_status )
31385 have_tls=no
31386 fi
31387 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31388 fi
31389 else
31390   echo "$as_me: failed program was:" >&5
31391 sed 's/^/| /' conftest.$ac_ext >&5
31392
31393 have_tls=yes
31394 fi
31395 rm -f conftest.err conftest.$ac_objext \
31396       conftest$ac_exeext conftest.$ac_ext
31397       LDFLAGS="$save_LDFLAGS"
31398 else
31399   echo "$as_me: program exited with status $ac_status" >&5
31400 echo "$as_me: failed program was:" >&5
31401 sed 's/^/| /' conftest.$ac_ext >&5
31402
31403 ( exit $ac_status )
31404 have_tls=no
31405 fi
31406 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31407 fi
31408 fi
31409 echo "$as_me:$LINENO: result: $have_tls" >&5
31410 echo "${ECHO_T}$have_tls" >&6
31411   if test "$enable_tls $have_tls" = "yes yes"; then
31412
31413 cat >>confdefs.h <<\_ACEOF
31414 #define HAVE_TLS 1
31415 _ACEOF
31416
31417   fi
31418
31419   # For _Unwind_GetIPInfo.
31420
31421
31422
31423   ac_ext=cc
31424 ac_cpp='$CXXCPP $CPPFLAGS'
31425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31428
31429   ac_save_CXXFLAGS="$CXXFLAGS"
31430   CXXFLAGS="$CXXFLAGS -fno-exceptions"
31431   echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31432 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31433   if test "${gcc_cv_getipinfo+set}" = set; then
31434   echo $ECHO_N "(cached) $ECHO_C" >&6
31435 else
31436
31437   if test x$gcc_no_link = xyes; then
31438   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31440    { (exit 1); exit 1; }; }
31441 fi
31442 cat >conftest.$ac_ext <<_ACEOF
31443 /* confdefs.h.  */
31444 _ACEOF
31445 cat confdefs.h >>conftest.$ac_ext
31446 cat >>conftest.$ac_ext <<_ACEOF
31447 /* end confdefs.h.  */
31448 extern "C" { extern void _Unwind_GetIPInfo(); }
31449 int
31450 main ()
31451 {
31452 _Unwind_GetIPInfo();
31453   ;
31454   return 0;
31455 }
31456 _ACEOF
31457 rm -f conftest.$ac_objext conftest$ac_exeext
31458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31459   (eval $ac_link) 2>conftest.er1
31460   ac_status=$?
31461   grep -v '^ *+' conftest.er1 >conftest.err
31462   rm -f conftest.er1
31463   cat conftest.err >&5
31464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31465   (exit $ac_status); } &&
31466          { ac_try='test -z "$ac_cxx_werror_flag"
31467                          || test ! -s conftest.err'
31468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31469   (eval $ac_try) 2>&5
31470   ac_status=$?
31471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472   (exit $ac_status); }; } &&
31473          { ac_try='test -s conftest$ac_exeext'
31474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31475   (eval $ac_try) 2>&5
31476   ac_status=$?
31477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478   (exit $ac_status); }; }; then
31479   gcc_cv_getipinfo=yes
31480 else
31481   echo "$as_me: failed program was:" >&5
31482 sed 's/^/| /' conftest.$ac_ext >&5
31483
31484 gcc_cv_getipinfo=no
31485 fi
31486 rm -f conftest.err conftest.$ac_objext \
31487       conftest$ac_exeext conftest.$ac_ext
31488
31489 fi
31490
31491   if test $gcc_cv_getipinfo = yes; then
31492
31493 cat >>confdefs.h <<\_ACEOF
31494 #define HAVE_GETIPINFO 1
31495 _ACEOF
31496
31497   fi
31498   echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31499 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31500   CXXFLAGS="$ac_save_CXXFLAGS"
31501   ac_ext=c
31502 ac_cpp='$CPP $CPPFLAGS'
31503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31506
31507
31508
31509
31510   if test "${ac_cv_header_locale_h+set}" = set; then
31511   echo "$as_me:$LINENO: checking for locale.h" >&5
31512 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31513 if test "${ac_cv_header_locale_h+set}" = set; then
31514   echo $ECHO_N "(cached) $ECHO_C" >&6
31515 fi
31516 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31517 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31518 else
31519   # Is the header compilable?
31520 echo "$as_me:$LINENO: checking locale.h usability" >&5
31521 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31522 cat >conftest.$ac_ext <<_ACEOF
31523 /* confdefs.h.  */
31524 _ACEOF
31525 cat confdefs.h >>conftest.$ac_ext
31526 cat >>conftest.$ac_ext <<_ACEOF
31527 /* end confdefs.h.  */
31528 $ac_includes_default
31529 #include <locale.h>
31530 _ACEOF
31531 rm -f conftest.$ac_objext
31532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31533   (eval $ac_compile) 2>conftest.er1
31534   ac_status=$?
31535   grep -v '^ *+' conftest.er1 >conftest.err
31536   rm -f conftest.er1
31537   cat conftest.err >&5
31538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539   (exit $ac_status); } &&
31540          { ac_try='test -z "$ac_c_werror_flag"
31541                          || test ! -s conftest.err'
31542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31543   (eval $ac_try) 2>&5
31544   ac_status=$?
31545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546   (exit $ac_status); }; } &&
31547          { ac_try='test -s conftest.$ac_objext'
31548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31549   (eval $ac_try) 2>&5
31550   ac_status=$?
31551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31552   (exit $ac_status); }; }; then
31553   ac_header_compiler=yes
31554 else
31555   echo "$as_me: failed program was:" >&5
31556 sed 's/^/| /' conftest.$ac_ext >&5
31557
31558 ac_header_compiler=no
31559 fi
31560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31561 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31562 echo "${ECHO_T}$ac_header_compiler" >&6
31563
31564 # Is the header present?
31565 echo "$as_me:$LINENO: checking locale.h presence" >&5
31566 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31567 cat >conftest.$ac_ext <<_ACEOF
31568 /* confdefs.h.  */
31569 _ACEOF
31570 cat confdefs.h >>conftest.$ac_ext
31571 cat >>conftest.$ac_ext <<_ACEOF
31572 /* end confdefs.h.  */
31573 #include <locale.h>
31574 _ACEOF
31575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31576   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31577   ac_status=$?
31578   grep -v '^ *+' conftest.er1 >conftest.err
31579   rm -f conftest.er1
31580   cat conftest.err >&5
31581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582   (exit $ac_status); } >/dev/null; then
31583   if test -s conftest.err; then
31584     ac_cpp_err=$ac_c_preproc_warn_flag
31585     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31586   else
31587     ac_cpp_err=
31588   fi
31589 else
31590   ac_cpp_err=yes
31591 fi
31592 if test -z "$ac_cpp_err"; then
31593   ac_header_preproc=yes
31594 else
31595   echo "$as_me: failed program was:" >&5
31596 sed 's/^/| /' conftest.$ac_ext >&5
31597
31598   ac_header_preproc=no
31599 fi
31600 rm -f conftest.err conftest.$ac_ext
31601 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31602 echo "${ECHO_T}$ac_header_preproc" >&6
31603
31604 # So?  What about this header?
31605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31606   yes:no: )
31607     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31608 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31609     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31610 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31611     ac_header_preproc=yes
31612     ;;
31613   no:yes:* )
31614     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31615 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31616     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
31617 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
31618     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31619 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31620     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
31621 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
31622     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31623 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31624     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31625 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31626     (
31627       cat <<\_ASBOX
31628 ## ----------------------------------------- ##
31629 ## Report this to the package-unused lists.  ##
31630 ## ----------------------------------------- ##
31631 _ASBOX
31632     ) |
31633       sed "s/^/$as_me: WARNING:     /" >&2
31634     ;;
31635 esac
31636 echo "$as_me:$LINENO: checking for locale.h" >&5
31637 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31638 if test "${ac_cv_header_locale_h+set}" = set; then
31639   echo $ECHO_N "(cached) $ECHO_C" >&6
31640 else
31641   ac_cv_header_locale_h=$ac_header_preproc
31642 fi
31643 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31644 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31645
31646 fi
31647 if test $ac_cv_header_locale_h = yes; then
31648
31649     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31650 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31651 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31652   echo $ECHO_N "(cached) $ECHO_C" >&6
31653 else
31654   if test x$gcc_no_link = xyes; then
31655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31657    { (exit 1); exit 1; }; }
31658 fi
31659 cat >conftest.$ac_ext <<_ACEOF
31660 /* confdefs.h.  */
31661 _ACEOF
31662 cat confdefs.h >>conftest.$ac_ext
31663 cat >>conftest.$ac_ext <<_ACEOF
31664 /* end confdefs.h.  */
31665 #include <locale.h>
31666 int
31667 main ()
31668 {
31669 return LC_MESSAGES
31670   ;
31671   return 0;
31672 }
31673 _ACEOF
31674 rm -f conftest.$ac_objext conftest$ac_exeext
31675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31676   (eval $ac_link) 2>conftest.er1
31677   ac_status=$?
31678   grep -v '^ *+' conftest.er1 >conftest.err
31679   rm -f conftest.er1
31680   cat conftest.err >&5
31681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31682   (exit $ac_status); } &&
31683          { ac_try='test -z "$ac_c_werror_flag"
31684                          || test ! -s conftest.err'
31685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31686   (eval $ac_try) 2>&5
31687   ac_status=$?
31688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689   (exit $ac_status); }; } &&
31690          { ac_try='test -s conftest$ac_exeext'
31691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31692   (eval $ac_try) 2>&5
31693   ac_status=$?
31694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695   (exit $ac_status); }; }; then
31696   ac_cv_val_LC_MESSAGES=yes
31697 else
31698   echo "$as_me: failed program was:" >&5
31699 sed 's/^/| /' conftest.$ac_ext >&5
31700
31701 ac_cv_val_LC_MESSAGES=no
31702 fi
31703 rm -f conftest.err conftest.$ac_objext \
31704       conftest$ac_exeext conftest.$ac_ext
31705 fi
31706 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31707 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31708     if test $ac_cv_val_LC_MESSAGES = yes; then
31709
31710 cat >>confdefs.h <<\_ACEOF
31711 #define HAVE_LC_MESSAGES 1
31712 _ACEOF
31713
31714     fi
31715
31716 fi
31717
31718
31719
31720
31721   cat >conftest.$ac_ext <<_ACEOF
31722 /* confdefs.h.  */
31723 _ACEOF
31724 cat confdefs.h >>conftest.$ac_ext
31725 cat >>conftest.$ac_ext <<_ACEOF
31726 /* end confdefs.h.  */
31727 #include <setjmp.h>
31728 int
31729 main ()
31730 {
31731 sigjmp_buf env;
31732      while (! sigsetjmp (env, 1))
31733        siglongjmp (env, 1);
31734
31735   ;
31736   return 0;
31737 }
31738 _ACEOF
31739 rm -f conftest.$ac_objext
31740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31741   (eval $ac_compile) 2>conftest.er1
31742   ac_status=$?
31743   grep -v '^ *+' conftest.er1 >conftest.err
31744   rm -f conftest.er1
31745   cat conftest.err >&5
31746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747   (exit $ac_status); } &&
31748          { ac_try='test -z "$ac_c_werror_flag"
31749                          || test ! -s conftest.err'
31750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31751   (eval $ac_try) 2>&5
31752   ac_status=$?
31753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754   (exit $ac_status); }; } &&
31755          { ac_try='test -s conftest.$ac_objext'
31756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31757   (eval $ac_try) 2>&5
31758   ac_status=$?
31759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760   (exit $ac_status); }; }; then
31761
31762 cat >>confdefs.h <<\_ACEOF
31763 #define HAVE_SIGSETJMP 1
31764 _ACEOF
31765
31766 else
31767   echo "$as_me: failed program was:" >&5
31768 sed 's/^/| /' conftest.$ac_ext >&5
31769
31770 fi
31771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31772
31773   if test x$gcc_no_link = xyes; then
31774   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31775     ac_cv_func_mmap_fixed_mapped=no
31776   fi
31777 fi
31778 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31779
31780
31781 for ac_header in stdlib.h unistd.h
31782 do
31783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31785   echo "$as_me:$LINENO: checking for $ac_header" >&5
31786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31788   echo $ECHO_N "(cached) $ECHO_C" >&6
31789 fi
31790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31792 else
31793   # Is the header compilable?
31794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31796 cat >conftest.$ac_ext <<_ACEOF
31797 /* confdefs.h.  */
31798 _ACEOF
31799 cat confdefs.h >>conftest.$ac_ext
31800 cat >>conftest.$ac_ext <<_ACEOF
31801 /* end confdefs.h.  */
31802 $ac_includes_default
31803 #include <$ac_header>
31804 _ACEOF
31805 rm -f conftest.$ac_objext
31806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31807   (eval $ac_compile) 2>conftest.er1
31808   ac_status=$?
31809   grep -v '^ *+' conftest.er1 >conftest.err
31810   rm -f conftest.er1
31811   cat conftest.err >&5
31812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813   (exit $ac_status); } &&
31814          { ac_try='test -z "$ac_c_werror_flag"
31815                          || test ! -s conftest.err'
31816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31817   (eval $ac_try) 2>&5
31818   ac_status=$?
31819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820   (exit $ac_status); }; } &&
31821          { ac_try='test -s conftest.$ac_objext'
31822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31823   (eval $ac_try) 2>&5
31824   ac_status=$?
31825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826   (exit $ac_status); }; }; then
31827   ac_header_compiler=yes
31828 else
31829   echo "$as_me: failed program was:" >&5
31830 sed 's/^/| /' conftest.$ac_ext >&5
31831
31832 ac_header_compiler=no
31833 fi
31834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31836 echo "${ECHO_T}$ac_header_compiler" >&6
31837
31838 # Is the header present?
31839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31841 cat >conftest.$ac_ext <<_ACEOF
31842 /* confdefs.h.  */
31843 _ACEOF
31844 cat confdefs.h >>conftest.$ac_ext
31845 cat >>conftest.$ac_ext <<_ACEOF
31846 /* end confdefs.h.  */
31847 #include <$ac_header>
31848 _ACEOF
31849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31850   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31851   ac_status=$?
31852   grep -v '^ *+' conftest.er1 >conftest.err
31853   rm -f conftest.er1
31854   cat conftest.err >&5
31855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856   (exit $ac_status); } >/dev/null; then
31857   if test -s conftest.err; then
31858     ac_cpp_err=$ac_c_preproc_warn_flag
31859     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31860   else
31861     ac_cpp_err=
31862   fi
31863 else
31864   ac_cpp_err=yes
31865 fi
31866 if test -z "$ac_cpp_err"; then
31867   ac_header_preproc=yes
31868 else
31869   echo "$as_me: failed program was:" >&5
31870 sed 's/^/| /' conftest.$ac_ext >&5
31871
31872   ac_header_preproc=no
31873 fi
31874 rm -f conftest.err conftest.$ac_ext
31875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31876 echo "${ECHO_T}$ac_header_preproc" >&6
31877
31878 # So?  What about this header?
31879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31880   yes:no: )
31881     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31883     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31885     ac_header_preproc=yes
31886     ;;
31887   no:yes:* )
31888     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31890     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31891 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31892     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31894     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31895 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31896     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31898     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31900     (
31901       cat <<\_ASBOX
31902 ## ----------------------------------------- ##
31903 ## Report this to the package-unused lists.  ##
31904 ## ----------------------------------------- ##
31905 _ASBOX
31906     ) |
31907       sed "s/^/$as_me: WARNING:     /" >&2
31908     ;;
31909 esac
31910 echo "$as_me:$LINENO: checking for $ac_header" >&5
31911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31913   echo $ECHO_N "(cached) $ECHO_C" >&6
31914 else
31915   eval "$as_ac_Header=\$ac_header_preproc"
31916 fi
31917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31919
31920 fi
31921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31922   cat >>confdefs.h <<_ACEOF
31923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31924 _ACEOF
31925
31926 fi
31927
31928 done
31929
31930
31931 for ac_func in getpagesize
31932 do
31933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31934 echo "$as_me:$LINENO: checking for $ac_func" >&5
31935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31936 if eval "test \"\${$as_ac_var+set}\" = set"; then
31937   echo $ECHO_N "(cached) $ECHO_C" >&6
31938 else
31939   if test x$gcc_no_link = xyes; then
31940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31942    { (exit 1); exit 1; }; }
31943 fi
31944 cat >conftest.$ac_ext <<_ACEOF
31945 /* confdefs.h.  */
31946 _ACEOF
31947 cat confdefs.h >>conftest.$ac_ext
31948 cat >>conftest.$ac_ext <<_ACEOF
31949 /* end confdefs.h.  */
31950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31951    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31952 #define $ac_func innocuous_$ac_func
31953
31954 /* System header to define __stub macros and hopefully few prototypes,
31955     which can conflict with char $ac_func (); below.
31956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31957     <limits.h> exists even on freestanding compilers.  */
31958
31959 #ifdef __STDC__
31960 # include <limits.h>
31961 #else
31962 # include <assert.h>
31963 #endif
31964
31965 #undef $ac_func
31966
31967 /* Override any gcc2 internal prototype to avoid an error.  */
31968 #ifdef __cplusplus
31969 extern "C"
31970 {
31971 #endif
31972 /* We use char because int might match the return type of a gcc2
31973    builtin and then its argument prototype would still apply.  */
31974 char $ac_func ();
31975 /* The GNU C library defines this for functions which it implements
31976     to always fail with ENOSYS.  Some functions are actually named
31977     something starting with __ and the normal name is an alias.  */
31978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31979 choke me
31980 #else
31981 char (*f) () = $ac_func;
31982 #endif
31983 #ifdef __cplusplus
31984 }
31985 #endif
31986
31987 int
31988 main ()
31989 {
31990 return f != $ac_func;
31991   ;
31992   return 0;
31993 }
31994 _ACEOF
31995 rm -f conftest.$ac_objext conftest$ac_exeext
31996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31997   (eval $ac_link) 2>conftest.er1
31998   ac_status=$?
31999   grep -v '^ *+' conftest.er1 >conftest.err
32000   rm -f conftest.er1
32001   cat conftest.err >&5
32002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003   (exit $ac_status); } &&
32004          { ac_try='test -z "$ac_c_werror_flag"
32005                          || test ! -s conftest.err'
32006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007   (eval $ac_try) 2>&5
32008   ac_status=$?
32009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010   (exit $ac_status); }; } &&
32011          { ac_try='test -s conftest$ac_exeext'
32012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32013   (eval $ac_try) 2>&5
32014   ac_status=$?
32015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016   (exit $ac_status); }; }; then
32017   eval "$as_ac_var=yes"
32018 else
32019   echo "$as_me: failed program was:" >&5
32020 sed 's/^/| /' conftest.$ac_ext >&5
32021
32022 eval "$as_ac_var=no"
32023 fi
32024 rm -f conftest.err conftest.$ac_objext \
32025       conftest$ac_exeext conftest.$ac_ext
32026 fi
32027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32029 if test `eval echo '${'$as_ac_var'}'` = yes; then
32030   cat >>confdefs.h <<_ACEOF
32031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32032 _ACEOF
32033
32034 fi
32035 done
32036
32037 echo "$as_me:$LINENO: checking for working mmap" >&5
32038 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
32039 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
32040   echo $ECHO_N "(cached) $ECHO_C" >&6
32041 else
32042   if test "$cross_compiling" = yes; then
32043   ac_cv_func_mmap_fixed_mapped=no
32044 else
32045   cat >conftest.$ac_ext <<_ACEOF
32046 /* confdefs.h.  */
32047 _ACEOF
32048 cat confdefs.h >>conftest.$ac_ext
32049 cat >>conftest.$ac_ext <<_ACEOF
32050 /* end confdefs.h.  */
32051 $ac_includes_default
32052 /* malloc might have been renamed as rpl_malloc. */
32053 #undef malloc
32054
32055 /* Thanks to Mike Haertel and Jim Avera for this test.
32056    Here is a matrix of mmap possibilities:
32057         mmap private not fixed
32058         mmap private fixed at somewhere currently unmapped
32059         mmap private fixed at somewhere already mapped
32060         mmap shared not fixed
32061         mmap shared fixed at somewhere currently unmapped
32062         mmap shared fixed at somewhere already mapped
32063    For private mappings, we should verify that changes cannot be read()
32064    back from the file, nor mmap's back from the file at a different
32065    address.  (There have been systems where private was not correctly
32066    implemented like the infamous i386 svr4.0, and systems where the
32067    VM page cache was not coherent with the file system buffer cache
32068    like early versions of FreeBSD and possibly contemporary NetBSD.)
32069    For shared mappings, we should conversely verify that changes get
32070    propagated back to all the places they're supposed to be.
32071
32072    Grep wants private fixed already mapped.
32073    The main things grep needs to know about mmap are:
32074    * does it exist and is it safe to write into the mmap'd area
32075    * how to use it (BSD variants)  */
32076
32077 #include <fcntl.h>
32078 #include <sys/mman.h>
32079
32080 #if !STDC_HEADERS && !HAVE_STDLIB_H
32081 char *malloc ();
32082 #endif
32083
32084 /* This mess was copied from the GNU getpagesize.h.  */
32085 #if !HAVE_GETPAGESIZE
32086 /* Assume that all systems that can run configure have sys/param.h.  */
32087 # if !HAVE_SYS_PARAM_H
32088 #  define HAVE_SYS_PARAM_H 1
32089 # endif
32090
32091 # ifdef _SC_PAGESIZE
32092 #  define getpagesize() sysconf(_SC_PAGESIZE)
32093 # else /* no _SC_PAGESIZE */
32094 #  if HAVE_SYS_PARAM_H
32095 #   include <sys/param.h>
32096 #   ifdef EXEC_PAGESIZE
32097 #    define getpagesize() EXEC_PAGESIZE
32098 #   else /* no EXEC_PAGESIZE */
32099 #    ifdef NBPG
32100 #     define getpagesize() NBPG * CLSIZE
32101 #     ifndef CLSIZE
32102 #      define CLSIZE 1
32103 #     endif /* no CLSIZE */
32104 #    else /* no NBPG */
32105 #     ifdef NBPC
32106 #      define getpagesize() NBPC
32107 #     else /* no NBPC */
32108 #      ifdef PAGESIZE
32109 #       define getpagesize() PAGESIZE
32110 #      endif /* PAGESIZE */
32111 #     endif /* no NBPC */
32112 #    endif /* no NBPG */
32113 #   endif /* no EXEC_PAGESIZE */
32114 #  else /* no HAVE_SYS_PARAM_H */
32115 #   define getpagesize() 8192   /* punt totally */
32116 #  endif /* no HAVE_SYS_PARAM_H */
32117 # endif /* no _SC_PAGESIZE */
32118
32119 #endif /* no HAVE_GETPAGESIZE */
32120
32121 int
32122 main ()
32123 {
32124   char *data, *data2, *data3;
32125   int i, pagesize;
32126   int fd;
32127
32128   pagesize = getpagesize ();
32129
32130   /* First, make a file with some known garbage in it. */
32131   data = (char *) malloc (pagesize);
32132   if (!data)
32133     exit (1);
32134   for (i = 0; i < pagesize; ++i)
32135     *(data + i) = rand ();
32136   umask (0);
32137   fd = creat ("conftest.mmap", 0600);
32138   if (fd < 0)
32139     exit (1);
32140   if (write (fd, data, pagesize) != pagesize)
32141     exit (1);
32142   close (fd);
32143
32144   /* Next, try to mmap the file at a fixed address which already has
32145      something else allocated at it.  If we can, also make sure that
32146      we see the same garbage.  */
32147   fd = open ("conftest.mmap", O_RDWR);
32148   if (fd < 0)
32149     exit (1);
32150   data2 = (char *) malloc (2 * pagesize);
32151   if (!data2)
32152     exit (1);
32153   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
32154   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
32155                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
32156     exit (1);
32157   for (i = 0; i < pagesize; ++i)
32158     if (*(data + i) != *(data2 + i))
32159       exit (1);
32160
32161   /* Finally, make sure that changes to the mapped area do not
32162      percolate back to the file as seen by read().  (This is a bug on
32163      some variants of i386 svr4.0.)  */
32164   for (i = 0; i < pagesize; ++i)
32165     *(data2 + i) = *(data2 + i) + 1;
32166   data3 = (char *) malloc (pagesize);
32167   if (!data3)
32168     exit (1);
32169   if (read (fd, data3, pagesize) != pagesize)
32170     exit (1);
32171   for (i = 0; i < pagesize; ++i)
32172     if (*(data + i) != *(data3 + i))
32173       exit (1);
32174   close (fd);
32175   exit (0);
32176 }
32177 _ACEOF
32178 rm -f conftest$ac_exeext
32179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32180   (eval $ac_link) 2>&5
32181   ac_status=$?
32182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32185   (eval $ac_try) 2>&5
32186   ac_status=$?
32187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32188   (exit $ac_status); }; }; then
32189   ac_cv_func_mmap_fixed_mapped=yes
32190 else
32191   echo "$as_me: program exited with status $ac_status" >&5
32192 echo "$as_me: failed program was:" >&5
32193 sed 's/^/| /' conftest.$ac_ext >&5
32194
32195 ( exit $ac_status )
32196 ac_cv_func_mmap_fixed_mapped=no
32197 fi
32198 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32199 fi
32200 fi
32201 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
32202 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
32203 if test $ac_cv_func_mmap_fixed_mapped = yes; then
32204
32205 cat >>confdefs.h <<\_ACEOF
32206 #define HAVE_MMAP 1
32207 _ACEOF
32208
32209 fi
32210 rm -f conftest.mmap
32211
32212 fi
32213
32214 else
32215
32216   # This lets us hard-code the functionality we know we'll have in the cross
32217   # target environment.  "Let" is a sugar-coated word placed on an especially
32218   # dull and tedious hack, actually.
32219   #
32220   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32221   # that involve linking, can't be used:
32222   #    "cannot open sim-crt0.o"
32223   #    "cannot open crt0.o"
32224   # etc.  All this is because there currently exists no unified, consistent
32225   # way for top level CC information to be passed down to target directories:
32226   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32227   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32228   # crosses can be removed.
32229
32230   # If Canadian cross, then don't pick up tools from the build directory.
32231   # Used only in GLIBCXX_EXPORT_INCLUDES.
32232   if test -n "$with_cross_host" &&
32233      test x"$build_alias" != x"$with_cross_host" &&
32234      test x"$build" != x"$target";
32235   then
32236     CANADIAN=yes
32237   else
32238     CANADIAN=no
32239   fi
32240
32241   # Construct crosses by hand, eliminating bits that need ld...
32242   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32243   # GLIBCXX_CHECK_MATH_SUPPORT
32244
32245   # First, test for "known" system libraries.  We may be using newlib even
32246   # on a hosted environment.
32247   if test "x${with_newlib}" = "xyes"; then
32248     os_include_dir="os/newlib"
32249     cat >>confdefs.h <<\_ACEOF
32250 #define HAVE_HYPOT 1
32251 _ACEOF
32252
32253
32254     # GLIBCXX_CHECK_STDLIB_SUPPORT
32255     cat >>confdefs.h <<\_ACEOF
32256 #define HAVE_STRTOF 1
32257 _ACEOF
32258
32259     # AC_FUNC_MMAP
32260     cat >>confdefs.h <<\_ACEOF
32261 #define HAVE_MMAP 1
32262 _ACEOF
32263
32264
32265     cat >>confdefs.h <<\_ACEOF
32266 #define HAVE_ACOSF 1
32267 _ACEOF
32268
32269     cat >>confdefs.h <<\_ACEOF
32270 #define HAVE_ASINF 1
32271 _ACEOF
32272
32273     cat >>confdefs.h <<\_ACEOF
32274 #define HAVE_ATAN2F 1
32275 _ACEOF
32276
32277     cat >>confdefs.h <<\_ACEOF
32278 #define HAVE_ATANF 1
32279 _ACEOF
32280
32281     cat >>confdefs.h <<\_ACEOF
32282 #define HAVE_CEILF 1
32283 _ACEOF
32284
32285     cat >>confdefs.h <<\_ACEOF
32286 #define HAVE_COPYSIGN 1
32287 _ACEOF
32288
32289     cat >>confdefs.h <<\_ACEOF
32290 #define HAVE_COPYSIGNF 1
32291 _ACEOF
32292
32293     cat >>confdefs.h <<\_ACEOF
32294 #define HAVE_COSF 1
32295 _ACEOF
32296
32297     cat >>confdefs.h <<\_ACEOF
32298 #define HAVE_COSHF 1
32299 _ACEOF
32300
32301     cat >>confdefs.h <<\_ACEOF
32302 #define HAVE_EXPF 1
32303 _ACEOF
32304
32305     cat >>confdefs.h <<\_ACEOF
32306 #define HAVE_FABSF 1
32307 _ACEOF
32308
32309     cat >>confdefs.h <<\_ACEOF
32310 #define HAVE_FLOORF 1
32311 _ACEOF
32312
32313     cat >>confdefs.h <<\_ACEOF
32314 #define HAVE_FMODF 1
32315 _ACEOF
32316
32317     cat >>confdefs.h <<\_ACEOF
32318 #define HAVE_FREXPF 1
32319 _ACEOF
32320
32321     cat >>confdefs.h <<\_ACEOF
32322 #define HAVE_LDEXPF 1
32323 _ACEOF
32324
32325     cat >>confdefs.h <<\_ACEOF
32326 #define HAVE_LOG10F 1
32327 _ACEOF
32328
32329     cat >>confdefs.h <<\_ACEOF
32330 #define HAVE_LOGF 1
32331 _ACEOF
32332
32333     cat >>confdefs.h <<\_ACEOF
32334 #define HAVE_MODFF 1
32335 _ACEOF
32336
32337     cat >>confdefs.h <<\_ACEOF
32338 #define HAVE_POWF 1
32339 _ACEOF
32340
32341     cat >>confdefs.h <<\_ACEOF
32342 #define HAVE_SINF 1
32343 _ACEOF
32344
32345     cat >>confdefs.h <<\_ACEOF
32346 #define HAVE_SINHF 1
32347 _ACEOF
32348
32349     cat >>confdefs.h <<\_ACEOF
32350 #define HAVE_SQRTF 1
32351 _ACEOF
32352
32353     cat >>confdefs.h <<\_ACEOF
32354 #define HAVE_TANF 1
32355 _ACEOF
32356
32357     cat >>confdefs.h <<\_ACEOF
32358 #define HAVE_TANHF 1
32359 _ACEOF
32360
32361
32362     cat >>confdefs.h <<\_ACEOF
32363 #define HAVE_S_ISREG 1
32364 _ACEOF
32365
32366     cat >>confdefs.h <<\_ACEOF
32367 #define HAVE_S_IFREG 1
32368 _ACEOF
32369
32370   else
32371
32372 # Base decisions on target environment.
32373 case "${host}" in
32374   arm*-*-symbianelf*)
32375     # This is a freestanding configuration; there is nothing to do here.
32376     ;;
32377
32378   *-darwin*)
32379     # Darwin versions vary, but the linker should work in a cross environment,
32380     # so we just check for all the features here.
32381     # Check for available headers.
32382
32383
32384
32385
32386
32387
32388
32389
32390
32391
32392
32393
32394
32395 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32396     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32397     sys/types.h
32398 do
32399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32401   echo "$as_me:$LINENO: checking for $ac_header" >&5
32402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32404   echo $ECHO_N "(cached) $ECHO_C" >&6
32405 fi
32406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32408 else
32409   # Is the header compilable?
32410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32412 cat >conftest.$ac_ext <<_ACEOF
32413 /* confdefs.h.  */
32414 _ACEOF
32415 cat confdefs.h >>conftest.$ac_ext
32416 cat >>conftest.$ac_ext <<_ACEOF
32417 /* end confdefs.h.  */
32418 $ac_includes_default
32419 #include <$ac_header>
32420 _ACEOF
32421 rm -f conftest.$ac_objext
32422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32423   (eval $ac_compile) 2>conftest.er1
32424   ac_status=$?
32425   grep -v '^ *+' conftest.er1 >conftest.err
32426   rm -f conftest.er1
32427   cat conftest.err >&5
32428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429   (exit $ac_status); } &&
32430          { ac_try='test -z "$ac_c_werror_flag"
32431                          || test ! -s conftest.err'
32432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32433   (eval $ac_try) 2>&5
32434   ac_status=$?
32435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436   (exit $ac_status); }; } &&
32437          { ac_try='test -s conftest.$ac_objext'
32438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32439   (eval $ac_try) 2>&5
32440   ac_status=$?
32441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32442   (exit $ac_status); }; }; then
32443   ac_header_compiler=yes
32444 else
32445   echo "$as_me: failed program was:" >&5
32446 sed 's/^/| /' conftest.$ac_ext >&5
32447
32448 ac_header_compiler=no
32449 fi
32450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32452 echo "${ECHO_T}$ac_header_compiler" >&6
32453
32454 # Is the header present?
32455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32457 cat >conftest.$ac_ext <<_ACEOF
32458 /* confdefs.h.  */
32459 _ACEOF
32460 cat confdefs.h >>conftest.$ac_ext
32461 cat >>conftest.$ac_ext <<_ACEOF
32462 /* end confdefs.h.  */
32463 #include <$ac_header>
32464 _ACEOF
32465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32466   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32467   ac_status=$?
32468   grep -v '^ *+' conftest.er1 >conftest.err
32469   rm -f conftest.er1
32470   cat conftest.err >&5
32471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472   (exit $ac_status); } >/dev/null; then
32473   if test -s conftest.err; then
32474     ac_cpp_err=$ac_c_preproc_warn_flag
32475     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32476   else
32477     ac_cpp_err=
32478   fi
32479 else
32480   ac_cpp_err=yes
32481 fi
32482 if test -z "$ac_cpp_err"; then
32483   ac_header_preproc=yes
32484 else
32485   echo "$as_me: failed program was:" >&5
32486 sed 's/^/| /' conftest.$ac_ext >&5
32487
32488   ac_header_preproc=no
32489 fi
32490 rm -f conftest.err conftest.$ac_ext
32491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32492 echo "${ECHO_T}$ac_header_preproc" >&6
32493
32494 # So?  What about this header?
32495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32496   yes:no: )
32497     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32499     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32501     ac_header_preproc=yes
32502     ;;
32503   no:yes:* )
32504     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32506     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
32507 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
32508     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32510     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
32511 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
32512     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32514     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32516     (
32517       cat <<\_ASBOX
32518 ## ----------------------------------------- ##
32519 ## Report this to the package-unused lists.  ##
32520 ## ----------------------------------------- ##
32521 _ASBOX
32522     ) |
32523       sed "s/^/$as_me: WARNING:     /" >&2
32524     ;;
32525 esac
32526 echo "$as_me:$LINENO: checking for $ac_header" >&5
32527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32529   echo $ECHO_N "(cached) $ECHO_C" >&6
32530 else
32531   eval "$as_ac_Header=\$ac_header_preproc"
32532 fi
32533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32535
32536 fi
32537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32538   cat >>confdefs.h <<_ACEOF
32539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32540 _ACEOF
32541
32542 fi
32543
32544 done
32545
32546
32547     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32548
32549   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32550   ac_save_CXXFLAGS="$CXXFLAGS"
32551   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32552
32553     echo "$as_me:$LINENO: checking for sin in -lm" >&5
32554 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32555 if test "${ac_cv_lib_m_sin+set}" = set; then
32556   echo $ECHO_N "(cached) $ECHO_C" >&6
32557 else
32558   ac_check_lib_save_LIBS=$LIBS
32559 LIBS="-lm  $LIBS"
32560 if test x$gcc_no_link = xyes; then
32561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32563    { (exit 1); exit 1; }; }
32564 fi
32565 cat >conftest.$ac_ext <<_ACEOF
32566 /* confdefs.h.  */
32567 _ACEOF
32568 cat confdefs.h >>conftest.$ac_ext
32569 cat >>conftest.$ac_ext <<_ACEOF
32570 /* end confdefs.h.  */
32571
32572 /* Override any gcc2 internal prototype to avoid an error.  */
32573 #ifdef __cplusplus
32574 extern "C"
32575 #endif
32576 /* We use char because int might match the return type of a gcc2
32577    builtin and then its argument prototype would still apply.  */
32578 char sin ();
32579 int
32580 main ()
32581 {
32582 sin ();
32583   ;
32584   return 0;
32585 }
32586 _ACEOF
32587 rm -f conftest.$ac_objext conftest$ac_exeext
32588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32589   (eval $ac_link) 2>conftest.er1
32590   ac_status=$?
32591   grep -v '^ *+' conftest.er1 >conftest.err
32592   rm -f conftest.er1
32593   cat conftest.err >&5
32594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595   (exit $ac_status); } &&
32596          { ac_try='test -z "$ac_c_werror_flag"
32597                          || test ! -s conftest.err'
32598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32599   (eval $ac_try) 2>&5
32600   ac_status=$?
32601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602   (exit $ac_status); }; } &&
32603          { ac_try='test -s conftest$ac_exeext'
32604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32605   (eval $ac_try) 2>&5
32606   ac_status=$?
32607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32608   (exit $ac_status); }; }; then
32609   ac_cv_lib_m_sin=yes
32610 else
32611   echo "$as_me: failed program was:" >&5
32612 sed 's/^/| /' conftest.$ac_ext >&5
32613
32614 ac_cv_lib_m_sin=no
32615 fi
32616 rm -f conftest.err conftest.$ac_objext \
32617       conftest$ac_exeext conftest.$ac_ext
32618 LIBS=$ac_check_lib_save_LIBS
32619 fi
32620 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32621 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32622 if test $ac_cv_lib_m_sin = yes; then
32623   libm="-lm"
32624 fi
32625
32626   ac_save_LIBS="$LIBS"
32627   LIBS="$LIBS $libm"
32628
32629
32630
32631   echo "$as_me:$LINENO: checking for isinf declaration" >&5
32632 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32633   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32634     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32635   echo $ECHO_N "(cached) $ECHO_C" >&6
32636 else
32637
32638
32639
32640       ac_ext=cc
32641 ac_cpp='$CXXCPP $CPPFLAGS'
32642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32645
32646       cat >conftest.$ac_ext <<_ACEOF
32647 /* confdefs.h.  */
32648 _ACEOF
32649 cat confdefs.h >>conftest.$ac_ext
32650 cat >>conftest.$ac_ext <<_ACEOF
32651 /* end confdefs.h.  */
32652 #include <math.h>
32653                       #ifdef HAVE_IEEEFP_H
32654                       #include <ieeefp.h>
32655                       #endif
32656
32657 int
32658 main ()
32659 {
32660  isinf(0);
32661   ;
32662   return 0;
32663 }
32664 _ACEOF
32665 rm -f conftest.$ac_objext
32666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32667   (eval $ac_compile) 2>conftest.er1
32668   ac_status=$?
32669   grep -v '^ *+' conftest.er1 >conftest.err
32670   rm -f conftest.er1
32671   cat conftest.err >&5
32672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673   (exit $ac_status); } &&
32674          { ac_try='test -z "$ac_cxx_werror_flag"
32675                          || test ! -s conftest.err'
32676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677   (eval $ac_try) 2>&5
32678   ac_status=$?
32679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680   (exit $ac_status); }; } &&
32681          { ac_try='test -s conftest.$ac_objext'
32682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32683   (eval $ac_try) 2>&5
32684   ac_status=$?
32685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686   (exit $ac_status); }; }; then
32687   glibcxx_cv_func_isinf_use=yes
32688 else
32689   echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.$ac_ext >&5
32691
32692 glibcxx_cv_func_isinf_use=no
32693 fi
32694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32695       ac_ext=c
32696 ac_cpp='$CPP $CPPFLAGS'
32697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32700
32701
32702 fi
32703
32704   fi
32705   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
32706 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
32707
32708   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32709
32710 for ac_func in isinf
32711 do
32712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32713 echo "$as_me:$LINENO: checking for $ac_func" >&5
32714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32715 if eval "test \"\${$as_ac_var+set}\" = set"; then
32716   echo $ECHO_N "(cached) $ECHO_C" >&6
32717 else
32718   if test x$gcc_no_link = xyes; then
32719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32721    { (exit 1); exit 1; }; }
32722 fi
32723 cat >conftest.$ac_ext <<_ACEOF
32724 /* confdefs.h.  */
32725 _ACEOF
32726 cat confdefs.h >>conftest.$ac_ext
32727 cat >>conftest.$ac_ext <<_ACEOF
32728 /* end confdefs.h.  */
32729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32730    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32731 #define $ac_func innocuous_$ac_func
32732
32733 /* System header to define __stub macros and hopefully few prototypes,
32734     which can conflict with char $ac_func (); below.
32735     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32736     <limits.h> exists even on freestanding compilers.  */
32737
32738 #ifdef __STDC__
32739 # include <limits.h>
32740 #else
32741 # include <assert.h>
32742 #endif
32743
32744 #undef $ac_func
32745
32746 /* Override any gcc2 internal prototype to avoid an error.  */
32747 #ifdef __cplusplus
32748 extern "C"
32749 {
32750 #endif
32751 /* We use char because int might match the return type of a gcc2
32752    builtin and then its argument prototype would still apply.  */
32753 char $ac_func ();
32754 /* The GNU C library defines this for functions which it implements
32755     to always fail with ENOSYS.  Some functions are actually named
32756     something starting with __ and the normal name is an alias.  */
32757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32758 choke me
32759 #else
32760 char (*f) () = $ac_func;
32761 #endif
32762 #ifdef __cplusplus
32763 }
32764 #endif
32765
32766 int
32767 main ()
32768 {
32769 return f != $ac_func;
32770   ;
32771   return 0;
32772 }
32773 _ACEOF
32774 rm -f conftest.$ac_objext conftest$ac_exeext
32775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32776   (eval $ac_link) 2>conftest.er1
32777   ac_status=$?
32778   grep -v '^ *+' conftest.er1 >conftest.err
32779   rm -f conftest.er1
32780   cat conftest.err >&5
32781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782   (exit $ac_status); } &&
32783          { ac_try='test -z "$ac_c_werror_flag"
32784                          || test ! -s conftest.err'
32785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32786   (eval $ac_try) 2>&5
32787   ac_status=$?
32788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789   (exit $ac_status); }; } &&
32790          { ac_try='test -s conftest$ac_exeext'
32791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32792   (eval $ac_try) 2>&5
32793   ac_status=$?
32794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795   (exit $ac_status); }; }; then
32796   eval "$as_ac_var=yes"
32797 else
32798   echo "$as_me: failed program was:" >&5
32799 sed 's/^/| /' conftest.$ac_ext >&5
32800
32801 eval "$as_ac_var=no"
32802 fi
32803 rm -f conftest.err conftest.$ac_objext \
32804       conftest$ac_exeext conftest.$ac_ext
32805 fi
32806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32808 if test `eval echo '${'$as_ac_var'}'` = yes; then
32809   cat >>confdefs.h <<_ACEOF
32810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32811 _ACEOF
32812
32813 fi
32814 done
32815
32816   else
32817
32818   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
32819 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
32820   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32821     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
32822   echo $ECHO_N "(cached) $ECHO_C" >&6
32823 else
32824
32825
32826
32827       ac_ext=cc
32828 ac_cpp='$CXXCPP $CPPFLAGS'
32829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32832
32833       cat >conftest.$ac_ext <<_ACEOF
32834 /* confdefs.h.  */
32835 _ACEOF
32836 cat confdefs.h >>conftest.$ac_ext
32837 cat >>conftest.$ac_ext <<_ACEOF
32838 /* end confdefs.h.  */
32839 #include <math.h>
32840                       #ifdef HAVE_IEEEFP_H
32841                       #include <ieeefp.h>
32842                       #endif
32843
32844 int
32845 main ()
32846 {
32847  _isinf(0);
32848   ;
32849   return 0;
32850 }
32851 _ACEOF
32852 rm -f conftest.$ac_objext
32853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32854   (eval $ac_compile) 2>conftest.er1
32855   ac_status=$?
32856   grep -v '^ *+' conftest.er1 >conftest.err
32857   rm -f conftest.er1
32858   cat conftest.err >&5
32859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32860   (exit $ac_status); } &&
32861          { ac_try='test -z "$ac_cxx_werror_flag"
32862                          || test ! -s conftest.err'
32863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864   (eval $ac_try) 2>&5
32865   ac_status=$?
32866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867   (exit $ac_status); }; } &&
32868          { ac_try='test -s conftest.$ac_objext'
32869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32870   (eval $ac_try) 2>&5
32871   ac_status=$?
32872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873   (exit $ac_status); }; }; then
32874   glibcxx_cv_func__isinf_use=yes
32875 else
32876   echo "$as_me: failed program was:" >&5
32877 sed 's/^/| /' conftest.$ac_ext >&5
32878
32879 glibcxx_cv_func__isinf_use=no
32880 fi
32881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32882       ac_ext=c
32883 ac_cpp='$CPP $CPPFLAGS'
32884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32887
32888
32889 fi
32890
32891   fi
32892   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
32893 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
32894
32895     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32896
32897 for ac_func in _isinf
32898 do
32899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32900 echo "$as_me:$LINENO: checking for $ac_func" >&5
32901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32902 if eval "test \"\${$as_ac_var+set}\" = set"; then
32903   echo $ECHO_N "(cached) $ECHO_C" >&6
32904 else
32905   if test x$gcc_no_link = xyes; then
32906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32908    { (exit 1); exit 1; }; }
32909 fi
32910 cat >conftest.$ac_ext <<_ACEOF
32911 /* confdefs.h.  */
32912 _ACEOF
32913 cat confdefs.h >>conftest.$ac_ext
32914 cat >>conftest.$ac_ext <<_ACEOF
32915 /* end confdefs.h.  */
32916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32918 #define $ac_func innocuous_$ac_func
32919
32920 /* System header to define __stub macros and hopefully few prototypes,
32921     which can conflict with char $ac_func (); below.
32922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32923     <limits.h> exists even on freestanding compilers.  */
32924
32925 #ifdef __STDC__
32926 # include <limits.h>
32927 #else
32928 # include <assert.h>
32929 #endif
32930
32931 #undef $ac_func
32932
32933 /* Override any gcc2 internal prototype to avoid an error.  */
32934 #ifdef __cplusplus
32935 extern "C"
32936 {
32937 #endif
32938 /* We use char because int might match the return type of a gcc2
32939    builtin and then its argument prototype would still apply.  */
32940 char $ac_func ();
32941 /* The GNU C library defines this for functions which it implements
32942     to always fail with ENOSYS.  Some functions are actually named
32943     something starting with __ and the normal name is an alias.  */
32944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32945 choke me
32946 #else
32947 char (*f) () = $ac_func;
32948 #endif
32949 #ifdef __cplusplus
32950 }
32951 #endif
32952
32953 int
32954 main ()
32955 {
32956 return f != $ac_func;
32957   ;
32958   return 0;
32959 }
32960 _ACEOF
32961 rm -f conftest.$ac_objext conftest$ac_exeext
32962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32963   (eval $ac_link) 2>conftest.er1
32964   ac_status=$?
32965   grep -v '^ *+' conftest.er1 >conftest.err
32966   rm -f conftest.er1
32967   cat conftest.err >&5
32968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32969   (exit $ac_status); } &&
32970          { ac_try='test -z "$ac_c_werror_flag"
32971                          || test ! -s conftest.err'
32972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32973   (eval $ac_try) 2>&5
32974   ac_status=$?
32975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976   (exit $ac_status); }; } &&
32977          { ac_try='test -s conftest$ac_exeext'
32978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32979   (eval $ac_try) 2>&5
32980   ac_status=$?
32981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32982   (exit $ac_status); }; }; then
32983   eval "$as_ac_var=yes"
32984 else
32985   echo "$as_me: failed program was:" >&5
32986 sed 's/^/| /' conftest.$ac_ext >&5
32987
32988 eval "$as_ac_var=no"
32989 fi
32990 rm -f conftest.err conftest.$ac_objext \
32991       conftest$ac_exeext conftest.$ac_ext
32992 fi
32993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32995 if test `eval echo '${'$as_ac_var'}'` = yes; then
32996   cat >>confdefs.h <<_ACEOF
32997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32998 _ACEOF
32999
33000 fi
33001 done
33002
33003     fi
33004   fi
33005
33006
33007
33008
33009
33010
33011   echo "$as_me:$LINENO: checking for isnan declaration" >&5
33012 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
33013   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33014     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
33015   echo $ECHO_N "(cached) $ECHO_C" >&6
33016 else
33017
33018
33019
33020       ac_ext=cc
33021 ac_cpp='$CXXCPP $CPPFLAGS'
33022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33025
33026       cat >conftest.$ac_ext <<_ACEOF
33027 /* confdefs.h.  */
33028 _ACEOF
33029 cat confdefs.h >>conftest.$ac_ext
33030 cat >>conftest.$ac_ext <<_ACEOF
33031 /* end confdefs.h.  */
33032 #include <math.h>
33033                       #ifdef HAVE_IEEEFP_H
33034                       #include <ieeefp.h>
33035                       #endif
33036
33037 int
33038 main ()
33039 {
33040  isnan(0);
33041   ;
33042   return 0;
33043 }
33044 _ACEOF
33045 rm -f conftest.$ac_objext
33046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33047   (eval $ac_compile) 2>conftest.er1
33048   ac_status=$?
33049   grep -v '^ *+' conftest.er1 >conftest.err
33050   rm -f conftest.er1
33051   cat conftest.err >&5
33052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053   (exit $ac_status); } &&
33054          { ac_try='test -z "$ac_cxx_werror_flag"
33055                          || test ! -s conftest.err'
33056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33057   (eval $ac_try) 2>&5
33058   ac_status=$?
33059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060   (exit $ac_status); }; } &&
33061          { ac_try='test -s conftest.$ac_objext'
33062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33063   (eval $ac_try) 2>&5
33064   ac_status=$?
33065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066   (exit $ac_status); }; }; then
33067   glibcxx_cv_func_isnan_use=yes
33068 else
33069   echo "$as_me: failed program was:" >&5
33070 sed 's/^/| /' conftest.$ac_ext >&5
33071
33072 glibcxx_cv_func_isnan_use=no
33073 fi
33074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33075       ac_ext=c
33076 ac_cpp='$CPP $CPPFLAGS'
33077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33080
33081
33082 fi
33083
33084   fi
33085   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33086 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33087
33088   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33089
33090 for ac_func in isnan
33091 do
33092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33093 echo "$as_me:$LINENO: checking for $ac_func" >&5
33094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33095 if eval "test \"\${$as_ac_var+set}\" = set"; then
33096   echo $ECHO_N "(cached) $ECHO_C" >&6
33097 else
33098   if test x$gcc_no_link = xyes; then
33099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33101    { (exit 1); exit 1; }; }
33102 fi
33103 cat >conftest.$ac_ext <<_ACEOF
33104 /* confdefs.h.  */
33105 _ACEOF
33106 cat confdefs.h >>conftest.$ac_ext
33107 cat >>conftest.$ac_ext <<_ACEOF
33108 /* end confdefs.h.  */
33109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33111 #define $ac_func innocuous_$ac_func
33112
33113 /* System header to define __stub macros and hopefully few prototypes,
33114     which can conflict with char $ac_func (); below.
33115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33116     <limits.h> exists even on freestanding compilers.  */
33117
33118 #ifdef __STDC__
33119 # include <limits.h>
33120 #else
33121 # include <assert.h>
33122 #endif
33123
33124 #undef $ac_func
33125
33126 /* Override any gcc2 internal prototype to avoid an error.  */
33127 #ifdef __cplusplus
33128 extern "C"
33129 {
33130 #endif
33131 /* We use char because int might match the return type of a gcc2
33132    builtin and then its argument prototype would still apply.  */
33133 char $ac_func ();
33134 /* The GNU C library defines this for functions which it implements
33135     to always fail with ENOSYS.  Some functions are actually named
33136     something starting with __ and the normal name is an alias.  */
33137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33138 choke me
33139 #else
33140 char (*f) () = $ac_func;
33141 #endif
33142 #ifdef __cplusplus
33143 }
33144 #endif
33145
33146 int
33147 main ()
33148 {
33149 return f != $ac_func;
33150   ;
33151   return 0;
33152 }
33153 _ACEOF
33154 rm -f conftest.$ac_objext conftest$ac_exeext
33155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33156   (eval $ac_link) 2>conftest.er1
33157   ac_status=$?
33158   grep -v '^ *+' conftest.er1 >conftest.err
33159   rm -f conftest.er1
33160   cat conftest.err >&5
33161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162   (exit $ac_status); } &&
33163          { ac_try='test -z "$ac_c_werror_flag"
33164                          || test ! -s conftest.err'
33165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33166   (eval $ac_try) 2>&5
33167   ac_status=$?
33168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169   (exit $ac_status); }; } &&
33170          { ac_try='test -s conftest$ac_exeext'
33171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33172   (eval $ac_try) 2>&5
33173   ac_status=$?
33174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33175   (exit $ac_status); }; }; then
33176   eval "$as_ac_var=yes"
33177 else
33178   echo "$as_me: failed program was:" >&5
33179 sed 's/^/| /' conftest.$ac_ext >&5
33180
33181 eval "$as_ac_var=no"
33182 fi
33183 rm -f conftest.err conftest.$ac_objext \
33184       conftest$ac_exeext conftest.$ac_ext
33185 fi
33186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33188 if test `eval echo '${'$as_ac_var'}'` = yes; then
33189   cat >>confdefs.h <<_ACEOF
33190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33191 _ACEOF
33192
33193 fi
33194 done
33195
33196   else
33197
33198   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33199 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33200   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33201     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33202   echo $ECHO_N "(cached) $ECHO_C" >&6
33203 else
33204
33205
33206
33207       ac_ext=cc
33208 ac_cpp='$CXXCPP $CPPFLAGS'
33209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33212
33213       cat >conftest.$ac_ext <<_ACEOF
33214 /* confdefs.h.  */
33215 _ACEOF
33216 cat confdefs.h >>conftest.$ac_ext
33217 cat >>conftest.$ac_ext <<_ACEOF
33218 /* end confdefs.h.  */
33219 #include <math.h>
33220                       #ifdef HAVE_IEEEFP_H
33221                       #include <ieeefp.h>
33222                       #endif
33223
33224 int
33225 main ()
33226 {
33227  _isnan(0);
33228   ;
33229   return 0;
33230 }
33231 _ACEOF
33232 rm -f conftest.$ac_objext
33233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33234   (eval $ac_compile) 2>conftest.er1
33235   ac_status=$?
33236   grep -v '^ *+' conftest.er1 >conftest.err
33237   rm -f conftest.er1
33238   cat conftest.err >&5
33239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33240   (exit $ac_status); } &&
33241          { ac_try='test -z "$ac_cxx_werror_flag"
33242                          || test ! -s conftest.err'
33243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33244   (eval $ac_try) 2>&5
33245   ac_status=$?
33246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247   (exit $ac_status); }; } &&
33248          { ac_try='test -s conftest.$ac_objext'
33249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33250   (eval $ac_try) 2>&5
33251   ac_status=$?
33252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33253   (exit $ac_status); }; }; then
33254   glibcxx_cv_func__isnan_use=yes
33255 else
33256   echo "$as_me: failed program was:" >&5
33257 sed 's/^/| /' conftest.$ac_ext >&5
33258
33259 glibcxx_cv_func__isnan_use=no
33260 fi
33261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33262       ac_ext=c
33263 ac_cpp='$CPP $CPPFLAGS'
33264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33267
33268
33269 fi
33270
33271   fi
33272   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33273 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33274
33275     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33276
33277 for ac_func in _isnan
33278 do
33279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33280 echo "$as_me:$LINENO: checking for $ac_func" >&5
33281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33282 if eval "test \"\${$as_ac_var+set}\" = set"; then
33283   echo $ECHO_N "(cached) $ECHO_C" >&6
33284 else
33285   if test x$gcc_no_link = xyes; then
33286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33288    { (exit 1); exit 1; }; }
33289 fi
33290 cat >conftest.$ac_ext <<_ACEOF
33291 /* confdefs.h.  */
33292 _ACEOF
33293 cat confdefs.h >>conftest.$ac_ext
33294 cat >>conftest.$ac_ext <<_ACEOF
33295 /* end confdefs.h.  */
33296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33298 #define $ac_func innocuous_$ac_func
33299
33300 /* System header to define __stub macros and hopefully few prototypes,
33301     which can conflict with char $ac_func (); below.
33302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33303     <limits.h> exists even on freestanding compilers.  */
33304
33305 #ifdef __STDC__
33306 # include <limits.h>
33307 #else
33308 # include <assert.h>
33309 #endif
33310
33311 #undef $ac_func
33312
33313 /* Override any gcc2 internal prototype to avoid an error.  */
33314 #ifdef __cplusplus
33315 extern "C"
33316 {
33317 #endif
33318 /* We use char because int might match the return type of a gcc2
33319    builtin and then its argument prototype would still apply.  */
33320 char $ac_func ();
33321 /* The GNU C library defines this for functions which it implements
33322     to always fail with ENOSYS.  Some functions are actually named
33323     something starting with __ and the normal name is an alias.  */
33324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33325 choke me
33326 #else
33327 char (*f) () = $ac_func;
33328 #endif
33329 #ifdef __cplusplus
33330 }
33331 #endif
33332
33333 int
33334 main ()
33335 {
33336 return f != $ac_func;
33337   ;
33338   return 0;
33339 }
33340 _ACEOF
33341 rm -f conftest.$ac_objext conftest$ac_exeext
33342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33343   (eval $ac_link) 2>conftest.er1
33344   ac_status=$?
33345   grep -v '^ *+' conftest.er1 >conftest.err
33346   rm -f conftest.er1
33347   cat conftest.err >&5
33348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349   (exit $ac_status); } &&
33350          { ac_try='test -z "$ac_c_werror_flag"
33351                          || test ! -s conftest.err'
33352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33353   (eval $ac_try) 2>&5
33354   ac_status=$?
33355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356   (exit $ac_status); }; } &&
33357          { ac_try='test -s conftest$ac_exeext'
33358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359   (eval $ac_try) 2>&5
33360   ac_status=$?
33361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362   (exit $ac_status); }; }; then
33363   eval "$as_ac_var=yes"
33364 else
33365   echo "$as_me: failed program was:" >&5
33366 sed 's/^/| /' conftest.$ac_ext >&5
33367
33368 eval "$as_ac_var=no"
33369 fi
33370 rm -f conftest.err conftest.$ac_objext \
33371       conftest$ac_exeext conftest.$ac_ext
33372 fi
33373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33375 if test `eval echo '${'$as_ac_var'}'` = yes; then
33376   cat >>confdefs.h <<_ACEOF
33377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33378 _ACEOF
33379
33380 fi
33381 done
33382
33383     fi
33384   fi
33385
33386
33387
33388
33389
33390
33391   echo "$as_me:$LINENO: checking for finite declaration" >&5
33392 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33393   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33394     if test "${glibcxx_cv_func_finite_use+set}" = set; then
33395   echo $ECHO_N "(cached) $ECHO_C" >&6
33396 else
33397
33398
33399
33400       ac_ext=cc
33401 ac_cpp='$CXXCPP $CPPFLAGS'
33402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33405
33406       cat >conftest.$ac_ext <<_ACEOF
33407 /* confdefs.h.  */
33408 _ACEOF
33409 cat confdefs.h >>conftest.$ac_ext
33410 cat >>conftest.$ac_ext <<_ACEOF
33411 /* end confdefs.h.  */
33412 #include <math.h>
33413                       #ifdef HAVE_IEEEFP_H
33414                       #include <ieeefp.h>
33415                       #endif
33416
33417 int
33418 main ()
33419 {
33420  finite(0);
33421   ;
33422   return 0;
33423 }
33424 _ACEOF
33425 rm -f conftest.$ac_objext
33426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33427   (eval $ac_compile) 2>conftest.er1
33428   ac_status=$?
33429   grep -v '^ *+' conftest.er1 >conftest.err
33430   rm -f conftest.er1
33431   cat conftest.err >&5
33432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433   (exit $ac_status); } &&
33434          { ac_try='test -z "$ac_cxx_werror_flag"
33435                          || test ! -s conftest.err'
33436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33437   (eval $ac_try) 2>&5
33438   ac_status=$?
33439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33440   (exit $ac_status); }; } &&
33441          { ac_try='test -s conftest.$ac_objext'
33442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33443   (eval $ac_try) 2>&5
33444   ac_status=$?
33445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446   (exit $ac_status); }; }; then
33447   glibcxx_cv_func_finite_use=yes
33448 else
33449   echo "$as_me: failed program was:" >&5
33450 sed 's/^/| /' conftest.$ac_ext >&5
33451
33452 glibcxx_cv_func_finite_use=no
33453 fi
33454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33455       ac_ext=c
33456 ac_cpp='$CPP $CPPFLAGS'
33457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33460
33461
33462 fi
33463
33464   fi
33465   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33466 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33467
33468   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33469
33470 for ac_func in finite
33471 do
33472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33473 echo "$as_me:$LINENO: checking for $ac_func" >&5
33474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33475 if eval "test \"\${$as_ac_var+set}\" = set"; then
33476   echo $ECHO_N "(cached) $ECHO_C" >&6
33477 else
33478   if test x$gcc_no_link = xyes; then
33479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33481    { (exit 1); exit 1; }; }
33482 fi
33483 cat >conftest.$ac_ext <<_ACEOF
33484 /* confdefs.h.  */
33485 _ACEOF
33486 cat confdefs.h >>conftest.$ac_ext
33487 cat >>conftest.$ac_ext <<_ACEOF
33488 /* end confdefs.h.  */
33489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33491 #define $ac_func innocuous_$ac_func
33492
33493 /* System header to define __stub macros and hopefully few prototypes,
33494     which can conflict with char $ac_func (); below.
33495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33496     <limits.h> exists even on freestanding compilers.  */
33497
33498 #ifdef __STDC__
33499 # include <limits.h>
33500 #else
33501 # include <assert.h>
33502 #endif
33503
33504 #undef $ac_func
33505
33506 /* Override any gcc2 internal prototype to avoid an error.  */
33507 #ifdef __cplusplus
33508 extern "C"
33509 {
33510 #endif
33511 /* We use char because int might match the return type of a gcc2
33512    builtin and then its argument prototype would still apply.  */
33513 char $ac_func ();
33514 /* The GNU C library defines this for functions which it implements
33515     to always fail with ENOSYS.  Some functions are actually named
33516     something starting with __ and the normal name is an alias.  */
33517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33518 choke me
33519 #else
33520 char (*f) () = $ac_func;
33521 #endif
33522 #ifdef __cplusplus
33523 }
33524 #endif
33525
33526 int
33527 main ()
33528 {
33529 return f != $ac_func;
33530   ;
33531   return 0;
33532 }
33533 _ACEOF
33534 rm -f conftest.$ac_objext conftest$ac_exeext
33535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33536   (eval $ac_link) 2>conftest.er1
33537   ac_status=$?
33538   grep -v '^ *+' conftest.er1 >conftest.err
33539   rm -f conftest.er1
33540   cat conftest.err >&5
33541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542   (exit $ac_status); } &&
33543          { ac_try='test -z "$ac_c_werror_flag"
33544                          || test ! -s conftest.err'
33545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33546   (eval $ac_try) 2>&5
33547   ac_status=$?
33548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33549   (exit $ac_status); }; } &&
33550          { ac_try='test -s conftest$ac_exeext'
33551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33552   (eval $ac_try) 2>&5
33553   ac_status=$?
33554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555   (exit $ac_status); }; }; then
33556   eval "$as_ac_var=yes"
33557 else
33558   echo "$as_me: failed program was:" >&5
33559 sed 's/^/| /' conftest.$ac_ext >&5
33560
33561 eval "$as_ac_var=no"
33562 fi
33563 rm -f conftest.err conftest.$ac_objext \
33564       conftest$ac_exeext conftest.$ac_ext
33565 fi
33566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33568 if test `eval echo '${'$as_ac_var'}'` = yes; then
33569   cat >>confdefs.h <<_ACEOF
33570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33571 _ACEOF
33572
33573 fi
33574 done
33575
33576   else
33577
33578   echo "$as_me:$LINENO: checking for _finite declaration" >&5
33579 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
33580   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33581     if test "${glibcxx_cv_func__finite_use+set}" = set; then
33582   echo $ECHO_N "(cached) $ECHO_C" >&6
33583 else
33584
33585
33586
33587       ac_ext=cc
33588 ac_cpp='$CXXCPP $CPPFLAGS'
33589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33592
33593       cat >conftest.$ac_ext <<_ACEOF
33594 /* confdefs.h.  */
33595 _ACEOF
33596 cat confdefs.h >>conftest.$ac_ext
33597 cat >>conftest.$ac_ext <<_ACEOF
33598 /* end confdefs.h.  */
33599 #include <math.h>
33600                       #ifdef HAVE_IEEEFP_H
33601                       #include <ieeefp.h>
33602                       #endif
33603
33604 int
33605 main ()
33606 {
33607  _finite(0);
33608   ;
33609   return 0;
33610 }
33611 _ACEOF
33612 rm -f conftest.$ac_objext
33613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33614   (eval $ac_compile) 2>conftest.er1
33615   ac_status=$?
33616   grep -v '^ *+' conftest.er1 >conftest.err
33617   rm -f conftest.er1
33618   cat conftest.err >&5
33619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33620   (exit $ac_status); } &&
33621          { ac_try='test -z "$ac_cxx_werror_flag"
33622                          || test ! -s conftest.err'
33623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33624   (eval $ac_try) 2>&5
33625   ac_status=$?
33626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627   (exit $ac_status); }; } &&
33628          { ac_try='test -s conftest.$ac_objext'
33629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33630   (eval $ac_try) 2>&5
33631   ac_status=$?
33632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633   (exit $ac_status); }; }; then
33634   glibcxx_cv_func__finite_use=yes
33635 else
33636   echo "$as_me: failed program was:" >&5
33637 sed 's/^/| /' conftest.$ac_ext >&5
33638
33639 glibcxx_cv_func__finite_use=no
33640 fi
33641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33642       ac_ext=c
33643 ac_cpp='$CPP $CPPFLAGS'
33644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33647
33648
33649 fi
33650
33651   fi
33652   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33653 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33654
33655     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33656
33657 for ac_func in _finite
33658 do
33659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33660 echo "$as_me:$LINENO: checking for $ac_func" >&5
33661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33662 if eval "test \"\${$as_ac_var+set}\" = set"; then
33663   echo $ECHO_N "(cached) $ECHO_C" >&6
33664 else
33665   if test x$gcc_no_link = xyes; then
33666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33668    { (exit 1); exit 1; }; }
33669 fi
33670 cat >conftest.$ac_ext <<_ACEOF
33671 /* confdefs.h.  */
33672 _ACEOF
33673 cat confdefs.h >>conftest.$ac_ext
33674 cat >>conftest.$ac_ext <<_ACEOF
33675 /* end confdefs.h.  */
33676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33678 #define $ac_func innocuous_$ac_func
33679
33680 /* System header to define __stub macros and hopefully few prototypes,
33681     which can conflict with char $ac_func (); below.
33682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33683     <limits.h> exists even on freestanding compilers.  */
33684
33685 #ifdef __STDC__
33686 # include <limits.h>
33687 #else
33688 # include <assert.h>
33689 #endif
33690
33691 #undef $ac_func
33692
33693 /* Override any gcc2 internal prototype to avoid an error.  */
33694 #ifdef __cplusplus
33695 extern "C"
33696 {
33697 #endif
33698 /* We use char because int might match the return type of a gcc2
33699    builtin and then its argument prototype would still apply.  */
33700 char $ac_func ();
33701 /* The GNU C library defines this for functions which it implements
33702     to always fail with ENOSYS.  Some functions are actually named
33703     something starting with __ and the normal name is an alias.  */
33704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33705 choke me
33706 #else
33707 char (*f) () = $ac_func;
33708 #endif
33709 #ifdef __cplusplus
33710 }
33711 #endif
33712
33713 int
33714 main ()
33715 {
33716 return f != $ac_func;
33717   ;
33718   return 0;
33719 }
33720 _ACEOF
33721 rm -f conftest.$ac_objext conftest$ac_exeext
33722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33723   (eval $ac_link) 2>conftest.er1
33724   ac_status=$?
33725   grep -v '^ *+' conftest.er1 >conftest.err
33726   rm -f conftest.er1
33727   cat conftest.err >&5
33728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729   (exit $ac_status); } &&
33730          { ac_try='test -z "$ac_c_werror_flag"
33731                          || test ! -s conftest.err'
33732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33733   (eval $ac_try) 2>&5
33734   ac_status=$?
33735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736   (exit $ac_status); }; } &&
33737          { ac_try='test -s conftest$ac_exeext'
33738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33739   (eval $ac_try) 2>&5
33740   ac_status=$?
33741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742   (exit $ac_status); }; }; then
33743   eval "$as_ac_var=yes"
33744 else
33745   echo "$as_me: failed program was:" >&5
33746 sed 's/^/| /' conftest.$ac_ext >&5
33747
33748 eval "$as_ac_var=no"
33749 fi
33750 rm -f conftest.err conftest.$ac_objext \
33751       conftest$ac_exeext conftest.$ac_ext
33752 fi
33753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33755 if test `eval echo '${'$as_ac_var'}'` = yes; then
33756   cat >>confdefs.h <<_ACEOF
33757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33758 _ACEOF
33759
33760 fi
33761 done
33762
33763     fi
33764   fi
33765
33766
33767
33768
33769
33770
33771   echo "$as_me:$LINENO: checking for copysign declaration" >&5
33772 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
33773   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
33774     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
33775   echo $ECHO_N "(cached) $ECHO_C" >&6
33776 else
33777
33778
33779
33780       ac_ext=cc
33781 ac_cpp='$CXXCPP $CPPFLAGS'
33782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33785
33786       cat >conftest.$ac_ext <<_ACEOF
33787 /* confdefs.h.  */
33788 _ACEOF
33789 cat confdefs.h >>conftest.$ac_ext
33790 cat >>conftest.$ac_ext <<_ACEOF
33791 /* end confdefs.h.  */
33792 #include <math.h>
33793 int
33794 main ()
33795 {
33796  copysign(0, 0);
33797   ;
33798   return 0;
33799 }
33800 _ACEOF
33801 rm -f conftest.$ac_objext
33802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33803   (eval $ac_compile) 2>conftest.er1
33804   ac_status=$?
33805   grep -v '^ *+' conftest.er1 >conftest.err
33806   rm -f conftest.er1
33807   cat conftest.err >&5
33808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809   (exit $ac_status); } &&
33810          { ac_try='test -z "$ac_cxx_werror_flag"
33811                          || test ! -s conftest.err'
33812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33813   (eval $ac_try) 2>&5
33814   ac_status=$?
33815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816   (exit $ac_status); }; } &&
33817          { ac_try='test -s conftest.$ac_objext'
33818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33819   (eval $ac_try) 2>&5
33820   ac_status=$?
33821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33822   (exit $ac_status); }; }; then
33823   glibcxx_cv_func_copysign_use=yes
33824 else
33825   echo "$as_me: failed program was:" >&5
33826 sed 's/^/| /' conftest.$ac_ext >&5
33827
33828 glibcxx_cv_func_copysign_use=no
33829 fi
33830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33831       ac_ext=c
33832 ac_cpp='$CPP $CPPFLAGS'
33833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33836
33837
33838 fi
33839
33840   fi
33841   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
33842 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
33843
33844   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
33845
33846 for ac_func in copysign
33847 do
33848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33849 echo "$as_me:$LINENO: checking for $ac_func" >&5
33850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33851 if eval "test \"\${$as_ac_var+set}\" = set"; then
33852   echo $ECHO_N "(cached) $ECHO_C" >&6
33853 else
33854   if test x$gcc_no_link = xyes; then
33855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33857    { (exit 1); exit 1; }; }
33858 fi
33859 cat >conftest.$ac_ext <<_ACEOF
33860 /* confdefs.h.  */
33861 _ACEOF
33862 cat confdefs.h >>conftest.$ac_ext
33863 cat >>conftest.$ac_ext <<_ACEOF
33864 /* end confdefs.h.  */
33865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33867 #define $ac_func innocuous_$ac_func
33868
33869 /* System header to define __stub macros and hopefully few prototypes,
33870     which can conflict with char $ac_func (); below.
33871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33872     <limits.h> exists even on freestanding compilers.  */
33873
33874 #ifdef __STDC__
33875 # include <limits.h>
33876 #else
33877 # include <assert.h>
33878 #endif
33879
33880 #undef $ac_func
33881
33882 /* Override any gcc2 internal prototype to avoid an error.  */
33883 #ifdef __cplusplus
33884 extern "C"
33885 {
33886 #endif
33887 /* We use char because int might match the return type of a gcc2
33888    builtin and then its argument prototype would still apply.  */
33889 char $ac_func ();
33890 /* The GNU C library defines this for functions which it implements
33891     to always fail with ENOSYS.  Some functions are actually named
33892     something starting with __ and the normal name is an alias.  */
33893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33894 choke me
33895 #else
33896 char (*f) () = $ac_func;
33897 #endif
33898 #ifdef __cplusplus
33899 }
33900 #endif
33901
33902 int
33903 main ()
33904 {
33905 return f != $ac_func;
33906   ;
33907   return 0;
33908 }
33909 _ACEOF
33910 rm -f conftest.$ac_objext conftest$ac_exeext
33911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33912   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
33933 else
33934   echo "$as_me: failed program was:" >&5
33935 sed 's/^/| /' conftest.$ac_ext >&5
33936
33937 eval "$as_ac_var=no"
33938 fi
33939 rm -f conftest.err conftest.$ac_objext \
33940       conftest$ac_exeext conftest.$ac_ext
33941 fi
33942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33944 if test `eval echo '${'$as_ac_var'}'` = yes; then
33945   cat >>confdefs.h <<_ACEOF
33946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33947 _ACEOF
33948
33949 fi
33950 done
33951
33952   else
33953
33954   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
33955 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
33956   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
33957     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
33958   echo $ECHO_N "(cached) $ECHO_C" >&6
33959 else
33960
33961
33962
33963       ac_ext=cc
33964 ac_cpp='$CXXCPP $CPPFLAGS'
33965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33968
33969       cat >conftest.$ac_ext <<_ACEOF
33970 /* confdefs.h.  */
33971 _ACEOF
33972 cat confdefs.h >>conftest.$ac_ext
33973 cat >>conftest.$ac_ext <<_ACEOF
33974 /* end confdefs.h.  */
33975 #include <math.h>
33976 int
33977 main ()
33978 {
33979  _copysign(0, 0);
33980   ;
33981   return 0;
33982 }
33983 _ACEOF
33984 rm -f conftest.$ac_objext
33985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33986   (eval $ac_compile) 2>conftest.er1
33987   ac_status=$?
33988   grep -v '^ *+' conftest.er1 >conftest.err
33989   rm -f conftest.er1
33990   cat conftest.err >&5
33991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33992   (exit $ac_status); } &&
33993          { ac_try='test -z "$ac_cxx_werror_flag"
33994                          || test ! -s conftest.err'
33995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33996   (eval $ac_try) 2>&5
33997   ac_status=$?
33998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33999   (exit $ac_status); }; } &&
34000          { ac_try='test -s conftest.$ac_objext'
34001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34002   (eval $ac_try) 2>&5
34003   ac_status=$?
34004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34005   (exit $ac_status); }; }; then
34006   glibcxx_cv_func__copysign_use=yes
34007 else
34008   echo "$as_me: failed program was:" >&5
34009 sed 's/^/| /' conftest.$ac_ext >&5
34010
34011 glibcxx_cv_func__copysign_use=no
34012 fi
34013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34014       ac_ext=c
34015 ac_cpp='$CPP $CPPFLAGS'
34016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34019
34020
34021 fi
34022
34023   fi
34024   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
34025 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
34026
34027     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
34028
34029 for ac_func in _copysign
34030 do
34031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34032 echo "$as_me:$LINENO: checking for $ac_func" >&5
34033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34034 if eval "test \"\${$as_ac_var+set}\" = set"; then
34035   echo $ECHO_N "(cached) $ECHO_C" >&6
34036 else
34037   if test x$gcc_no_link = xyes; then
34038   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34040    { (exit 1); exit 1; }; }
34041 fi
34042 cat >conftest.$ac_ext <<_ACEOF
34043 /* confdefs.h.  */
34044 _ACEOF
34045 cat confdefs.h >>conftest.$ac_ext
34046 cat >>conftest.$ac_ext <<_ACEOF
34047 /* end confdefs.h.  */
34048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34049    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34050 #define $ac_func innocuous_$ac_func
34051
34052 /* System header to define __stub macros and hopefully few prototypes,
34053     which can conflict with char $ac_func (); below.
34054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34055     <limits.h> exists even on freestanding compilers.  */
34056
34057 #ifdef __STDC__
34058 # include <limits.h>
34059 #else
34060 # include <assert.h>
34061 #endif
34062
34063 #undef $ac_func
34064
34065 /* Override any gcc2 internal prototype to avoid an error.  */
34066 #ifdef __cplusplus
34067 extern "C"
34068 {
34069 #endif
34070 /* We use char because int might match the return type of a gcc2
34071    builtin and then its argument prototype would still apply.  */
34072 char $ac_func ();
34073 /* The GNU C library defines this for functions which it implements
34074     to always fail with ENOSYS.  Some functions are actually named
34075     something starting with __ and the normal name is an alias.  */
34076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34077 choke me
34078 #else
34079 char (*f) () = $ac_func;
34080 #endif
34081 #ifdef __cplusplus
34082 }
34083 #endif
34084
34085 int
34086 main ()
34087 {
34088 return f != $ac_func;
34089   ;
34090   return 0;
34091 }
34092 _ACEOF
34093 rm -f conftest.$ac_objext conftest$ac_exeext
34094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34095   (eval $ac_link) 2>conftest.er1
34096   ac_status=$?
34097   grep -v '^ *+' conftest.er1 >conftest.err
34098   rm -f conftest.er1
34099   cat conftest.err >&5
34100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101   (exit $ac_status); } &&
34102          { ac_try='test -z "$ac_c_werror_flag"
34103                          || test ! -s conftest.err'
34104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34105   (eval $ac_try) 2>&5
34106   ac_status=$?
34107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34108   (exit $ac_status); }; } &&
34109          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
34115   eval "$as_ac_var=yes"
34116 else
34117   echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.$ac_ext >&5
34119
34120 eval "$as_ac_var=no"
34121 fi
34122 rm -f conftest.err conftest.$ac_objext \
34123       conftest$ac_exeext conftest.$ac_ext
34124 fi
34125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34127 if test `eval echo '${'$as_ac_var'}'` = yes; then
34128   cat >>confdefs.h <<_ACEOF
34129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34130 _ACEOF
34131
34132 fi
34133 done
34134
34135     fi
34136   fi
34137
34138
34139
34140
34141
34142
34143   echo "$as_me:$LINENO: checking for sincos declaration" >&5
34144 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34145   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34146     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34147   echo $ECHO_N "(cached) $ECHO_C" >&6
34148 else
34149
34150
34151
34152       ac_ext=cc
34153 ac_cpp='$CXXCPP $CPPFLAGS'
34154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34157
34158       cat >conftest.$ac_ext <<_ACEOF
34159 /* confdefs.h.  */
34160 _ACEOF
34161 cat confdefs.h >>conftest.$ac_ext
34162 cat >>conftest.$ac_ext <<_ACEOF
34163 /* end confdefs.h.  */
34164 #include <math.h>
34165 int
34166 main ()
34167 {
34168  sincos(0, 0, 0);
34169   ;
34170   return 0;
34171 }
34172 _ACEOF
34173 rm -f conftest.$ac_objext
34174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34175   (eval $ac_compile) 2>conftest.er1
34176   ac_status=$?
34177   grep -v '^ *+' conftest.er1 >conftest.err
34178   rm -f conftest.er1
34179   cat conftest.err >&5
34180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34181   (exit $ac_status); } &&
34182          { ac_try='test -z "$ac_cxx_werror_flag"
34183                          || test ! -s conftest.err'
34184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34185   (eval $ac_try) 2>&5
34186   ac_status=$?
34187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188   (exit $ac_status); }; } &&
34189          { ac_try='test -s conftest.$ac_objext'
34190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34191   (eval $ac_try) 2>&5
34192   ac_status=$?
34193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194   (exit $ac_status); }; }; then
34195   glibcxx_cv_func_sincos_use=yes
34196 else
34197   echo "$as_me: failed program was:" >&5
34198 sed 's/^/| /' conftest.$ac_ext >&5
34199
34200 glibcxx_cv_func_sincos_use=no
34201 fi
34202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34203       ac_ext=c
34204 ac_cpp='$CPP $CPPFLAGS'
34205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34208
34209
34210 fi
34211
34212   fi
34213   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34214 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34215
34216   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34217
34218 for ac_func in sincos
34219 do
34220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34221 echo "$as_me:$LINENO: checking for $ac_func" >&5
34222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34223 if eval "test \"\${$as_ac_var+set}\" = set"; then
34224   echo $ECHO_N "(cached) $ECHO_C" >&6
34225 else
34226   if test x$gcc_no_link = xyes; then
34227   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34229    { (exit 1); exit 1; }; }
34230 fi
34231 cat >conftest.$ac_ext <<_ACEOF
34232 /* confdefs.h.  */
34233 _ACEOF
34234 cat confdefs.h >>conftest.$ac_ext
34235 cat >>conftest.$ac_ext <<_ACEOF
34236 /* end confdefs.h.  */
34237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34238    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34239 #define $ac_func innocuous_$ac_func
34240
34241 /* System header to define __stub macros and hopefully few prototypes,
34242     which can conflict with char $ac_func (); below.
34243     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34244     <limits.h> exists even on freestanding compilers.  */
34245
34246 #ifdef __STDC__
34247 # include <limits.h>
34248 #else
34249 # include <assert.h>
34250 #endif
34251
34252 #undef $ac_func
34253
34254 /* Override any gcc2 internal prototype to avoid an error.  */
34255 #ifdef __cplusplus
34256 extern "C"
34257 {
34258 #endif
34259 /* We use char because int might match the return type of a gcc2
34260    builtin and then its argument prototype would still apply.  */
34261 char $ac_func ();
34262 /* The GNU C library defines this for functions which it implements
34263     to always fail with ENOSYS.  Some functions are actually named
34264     something starting with __ and the normal name is an alias.  */
34265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34266 choke me
34267 #else
34268 char (*f) () = $ac_func;
34269 #endif
34270 #ifdef __cplusplus
34271 }
34272 #endif
34273
34274 int
34275 main ()
34276 {
34277 return f != $ac_func;
34278   ;
34279   return 0;
34280 }
34281 _ACEOF
34282 rm -f conftest.$ac_objext conftest$ac_exeext
34283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34284   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
34305 else
34306   echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34308
34309 eval "$as_ac_var=no"
34310 fi
34311 rm -f conftest.err conftest.$ac_objext \
34312       conftest$ac_exeext conftest.$ac_ext
34313 fi
34314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34316 if test `eval echo '${'$as_ac_var'}'` = yes; then
34317   cat >>confdefs.h <<_ACEOF
34318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34319 _ACEOF
34320
34321 fi
34322 done
34323
34324   else
34325
34326   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34327 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34328   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34329     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34330   echo $ECHO_N "(cached) $ECHO_C" >&6
34331 else
34332
34333
34334
34335       ac_ext=cc
34336 ac_cpp='$CXXCPP $CPPFLAGS'
34337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34340
34341       cat >conftest.$ac_ext <<_ACEOF
34342 /* confdefs.h.  */
34343 _ACEOF
34344 cat confdefs.h >>conftest.$ac_ext
34345 cat >>conftest.$ac_ext <<_ACEOF
34346 /* end confdefs.h.  */
34347 #include <math.h>
34348 int
34349 main ()
34350 {
34351  _sincos(0, 0, 0);
34352   ;
34353   return 0;
34354 }
34355 _ACEOF
34356 rm -f conftest.$ac_objext
34357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34358   (eval $ac_compile) 2>conftest.er1
34359   ac_status=$?
34360   grep -v '^ *+' conftest.er1 >conftest.err
34361   rm -f conftest.er1
34362   cat conftest.err >&5
34363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364   (exit $ac_status); } &&
34365          { ac_try='test -z "$ac_cxx_werror_flag"
34366                          || test ! -s conftest.err'
34367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34368   (eval $ac_try) 2>&5
34369   ac_status=$?
34370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371   (exit $ac_status); }; } &&
34372          { ac_try='test -s conftest.$ac_objext'
34373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34374   (eval $ac_try) 2>&5
34375   ac_status=$?
34376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377   (exit $ac_status); }; }; then
34378   glibcxx_cv_func__sincos_use=yes
34379 else
34380   echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34382
34383 glibcxx_cv_func__sincos_use=no
34384 fi
34385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34386       ac_ext=c
34387 ac_cpp='$CPP $CPPFLAGS'
34388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34391
34392
34393 fi
34394
34395   fi
34396   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34397 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34398
34399     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34400
34401 for ac_func in _sincos
34402 do
34403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34404 echo "$as_me:$LINENO: checking for $ac_func" >&5
34405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34406 if eval "test \"\${$as_ac_var+set}\" = set"; then
34407   echo $ECHO_N "(cached) $ECHO_C" >&6
34408 else
34409   if test x$gcc_no_link = xyes; then
34410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34412    { (exit 1); exit 1; }; }
34413 fi
34414 cat >conftest.$ac_ext <<_ACEOF
34415 /* confdefs.h.  */
34416 _ACEOF
34417 cat confdefs.h >>conftest.$ac_ext
34418 cat >>conftest.$ac_ext <<_ACEOF
34419 /* end confdefs.h.  */
34420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34421    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34422 #define $ac_func innocuous_$ac_func
34423
34424 /* System header to define __stub macros and hopefully few prototypes,
34425     which can conflict with char $ac_func (); below.
34426     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34427     <limits.h> exists even on freestanding compilers.  */
34428
34429 #ifdef __STDC__
34430 # include <limits.h>
34431 #else
34432 # include <assert.h>
34433 #endif
34434
34435 #undef $ac_func
34436
34437 /* Override any gcc2 internal prototype to avoid an error.  */
34438 #ifdef __cplusplus
34439 extern "C"
34440 {
34441 #endif
34442 /* We use char because int might match the return type of a gcc2
34443    builtin and then its argument prototype would still apply.  */
34444 char $ac_func ();
34445 /* The GNU C library defines this for functions which it implements
34446     to always fail with ENOSYS.  Some functions are actually named
34447     something starting with __ and the normal name is an alias.  */
34448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34449 choke me
34450 #else
34451 char (*f) () = $ac_func;
34452 #endif
34453 #ifdef __cplusplus
34454 }
34455 #endif
34456
34457 int
34458 main ()
34459 {
34460 return f != $ac_func;
34461   ;
34462   return 0;
34463 }
34464 _ACEOF
34465 rm -f conftest.$ac_objext conftest$ac_exeext
34466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34467   (eval $ac_link) 2>conftest.er1
34468   ac_status=$?
34469   grep -v '^ *+' conftest.er1 >conftest.err
34470   rm -f conftest.er1
34471   cat conftest.err >&5
34472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34473   (exit $ac_status); } &&
34474          { ac_try='test -z "$ac_c_werror_flag"
34475                          || test ! -s conftest.err'
34476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34477   (eval $ac_try) 2>&5
34478   ac_status=$?
34479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480   (exit $ac_status); }; } &&
34481          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
34487   eval "$as_ac_var=yes"
34488 else
34489   echo "$as_me: failed program was:" >&5
34490 sed 's/^/| /' conftest.$ac_ext >&5
34491
34492 eval "$as_ac_var=no"
34493 fi
34494 rm -f conftest.err conftest.$ac_objext \
34495       conftest$ac_exeext conftest.$ac_ext
34496 fi
34497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34499 if test `eval echo '${'$as_ac_var'}'` = yes; then
34500   cat >>confdefs.h <<_ACEOF
34501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34502 _ACEOF
34503
34504 fi
34505 done
34506
34507     fi
34508   fi
34509
34510
34511
34512
34513
34514
34515   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34516 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34517   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34518     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34519   echo $ECHO_N "(cached) $ECHO_C" >&6
34520 else
34521
34522
34523
34524       ac_ext=cc
34525 ac_cpp='$CXXCPP $CPPFLAGS'
34526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34529
34530       cat >conftest.$ac_ext <<_ACEOF
34531 /* confdefs.h.  */
34532 _ACEOF
34533 cat confdefs.h >>conftest.$ac_ext
34534 cat >>conftest.$ac_ext <<_ACEOF
34535 /* end confdefs.h.  */
34536 #include <math.h>
34537                       #ifdef HAVE_IEEEFP_H
34538                       #include <ieeefp.h>
34539                       #endif
34540
34541 int
34542 main ()
34543 {
34544  fpclass(0);
34545   ;
34546   return 0;
34547 }
34548 _ACEOF
34549 rm -f conftest.$ac_objext
34550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34551   (eval $ac_compile) 2>conftest.er1
34552   ac_status=$?
34553   grep -v '^ *+' conftest.er1 >conftest.err
34554   rm -f conftest.er1
34555   cat conftest.err >&5
34556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34557   (exit $ac_status); } &&
34558          { ac_try='test -z "$ac_cxx_werror_flag"
34559                          || test ! -s conftest.err'
34560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34561   (eval $ac_try) 2>&5
34562   ac_status=$?
34563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564   (exit $ac_status); }; } &&
34565          { ac_try='test -s conftest.$ac_objext'
34566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34567   (eval $ac_try) 2>&5
34568   ac_status=$?
34569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34570   (exit $ac_status); }; }; then
34571   glibcxx_cv_func_fpclass_use=yes
34572 else
34573   echo "$as_me: failed program was:" >&5
34574 sed 's/^/| /' conftest.$ac_ext >&5
34575
34576 glibcxx_cv_func_fpclass_use=no
34577 fi
34578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34579       ac_ext=c
34580 ac_cpp='$CPP $CPPFLAGS'
34581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34584
34585
34586 fi
34587
34588   fi
34589   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
34590 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
34591
34592   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34593
34594 for ac_func in fpclass
34595 do
34596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34597 echo "$as_me:$LINENO: checking for $ac_func" >&5
34598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34599 if eval "test \"\${$as_ac_var+set}\" = set"; then
34600   echo $ECHO_N "(cached) $ECHO_C" >&6
34601 else
34602   if test x$gcc_no_link = xyes; then
34603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34605    { (exit 1); exit 1; }; }
34606 fi
34607 cat >conftest.$ac_ext <<_ACEOF
34608 /* confdefs.h.  */
34609 _ACEOF
34610 cat confdefs.h >>conftest.$ac_ext
34611 cat >>conftest.$ac_ext <<_ACEOF
34612 /* end confdefs.h.  */
34613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34614    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34615 #define $ac_func innocuous_$ac_func
34616
34617 /* System header to define __stub macros and hopefully few prototypes,
34618     which can conflict with char $ac_func (); below.
34619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34620     <limits.h> exists even on freestanding compilers.  */
34621
34622 #ifdef __STDC__
34623 # include <limits.h>
34624 #else
34625 # include <assert.h>
34626 #endif
34627
34628 #undef $ac_func
34629
34630 /* Override any gcc2 internal prototype to avoid an error.  */
34631 #ifdef __cplusplus
34632 extern "C"
34633 {
34634 #endif
34635 /* We use char because int might match the return type of a gcc2
34636    builtin and then its argument prototype would still apply.  */
34637 char $ac_func ();
34638 /* The GNU C library defines this for functions which it implements
34639     to always fail with ENOSYS.  Some functions are actually named
34640     something starting with __ and the normal name is an alias.  */
34641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34642 choke me
34643 #else
34644 char (*f) () = $ac_func;
34645 #endif
34646 #ifdef __cplusplus
34647 }
34648 #endif
34649
34650 int
34651 main ()
34652 {
34653 return f != $ac_func;
34654   ;
34655   return 0;
34656 }
34657 _ACEOF
34658 rm -f conftest.$ac_objext conftest$ac_exeext
34659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34660   (eval $ac_link) 2>conftest.er1
34661   ac_status=$?
34662   grep -v '^ *+' conftest.er1 >conftest.err
34663   rm -f conftest.er1
34664   cat conftest.err >&5
34665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666   (exit $ac_status); } &&
34667          { ac_try='test -z "$ac_c_werror_flag"
34668                          || test ! -s conftest.err'
34669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34670   (eval $ac_try) 2>&5
34671   ac_status=$?
34672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673   (exit $ac_status); }; } &&
34674          { ac_try='test -s conftest$ac_exeext'
34675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34676   (eval $ac_try) 2>&5
34677   ac_status=$?
34678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679   (exit $ac_status); }; }; then
34680   eval "$as_ac_var=yes"
34681 else
34682   echo "$as_me: failed program was:" >&5
34683 sed 's/^/| /' conftest.$ac_ext >&5
34684
34685 eval "$as_ac_var=no"
34686 fi
34687 rm -f conftest.err conftest.$ac_objext \
34688       conftest$ac_exeext conftest.$ac_ext
34689 fi
34690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34692 if test `eval echo '${'$as_ac_var'}'` = yes; then
34693   cat >>confdefs.h <<_ACEOF
34694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34695 _ACEOF
34696
34697 fi
34698 done
34699
34700   else
34701
34702   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
34703 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
34704   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34705     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
34706   echo $ECHO_N "(cached) $ECHO_C" >&6
34707 else
34708
34709
34710
34711       ac_ext=cc
34712 ac_cpp='$CXXCPP $CPPFLAGS'
34713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34716
34717       cat >conftest.$ac_ext <<_ACEOF
34718 /* confdefs.h.  */
34719 _ACEOF
34720 cat confdefs.h >>conftest.$ac_ext
34721 cat >>conftest.$ac_ext <<_ACEOF
34722 /* end confdefs.h.  */
34723 #include <math.h>
34724                       #ifdef HAVE_IEEEFP_H
34725                       #include <ieeefp.h>
34726                       #endif
34727
34728 int
34729 main ()
34730 {
34731  _fpclass(0);
34732   ;
34733   return 0;
34734 }
34735 _ACEOF
34736 rm -f conftest.$ac_objext
34737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34738   (eval $ac_compile) 2>conftest.er1
34739   ac_status=$?
34740   grep -v '^ *+' conftest.er1 >conftest.err
34741   rm -f conftest.er1
34742   cat conftest.err >&5
34743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744   (exit $ac_status); } &&
34745          { ac_try='test -z "$ac_cxx_werror_flag"
34746                          || test ! -s conftest.err'
34747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34748   (eval $ac_try) 2>&5
34749   ac_status=$?
34750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34751   (exit $ac_status); }; } &&
34752          { ac_try='test -s conftest.$ac_objext'
34753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34754   (eval $ac_try) 2>&5
34755   ac_status=$?
34756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757   (exit $ac_status); }; }; then
34758   glibcxx_cv_func__fpclass_use=yes
34759 else
34760   echo "$as_me: failed program was:" >&5
34761 sed 's/^/| /' conftest.$ac_ext >&5
34762
34763 glibcxx_cv_func__fpclass_use=no
34764 fi
34765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34766       ac_ext=c
34767 ac_cpp='$CPP $CPPFLAGS'
34768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34771
34772
34773 fi
34774
34775   fi
34776   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
34777 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
34778
34779     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34780
34781 for ac_func in _fpclass
34782 do
34783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34784 echo "$as_me:$LINENO: checking for $ac_func" >&5
34785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34786 if eval "test \"\${$as_ac_var+set}\" = set"; then
34787   echo $ECHO_N "(cached) $ECHO_C" >&6
34788 else
34789   if test x$gcc_no_link = xyes; then
34790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34792    { (exit 1); exit 1; }; }
34793 fi
34794 cat >conftest.$ac_ext <<_ACEOF
34795 /* confdefs.h.  */
34796 _ACEOF
34797 cat confdefs.h >>conftest.$ac_ext
34798 cat >>conftest.$ac_ext <<_ACEOF
34799 /* end confdefs.h.  */
34800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34802 #define $ac_func innocuous_$ac_func
34803
34804 /* System header to define __stub macros and hopefully few prototypes,
34805     which can conflict with char $ac_func (); below.
34806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34807     <limits.h> exists even on freestanding compilers.  */
34808
34809 #ifdef __STDC__
34810 # include <limits.h>
34811 #else
34812 # include <assert.h>
34813 #endif
34814
34815 #undef $ac_func
34816
34817 /* Override any gcc2 internal prototype to avoid an error.  */
34818 #ifdef __cplusplus
34819 extern "C"
34820 {
34821 #endif
34822 /* We use char because int might match the return type of a gcc2
34823    builtin and then its argument prototype would still apply.  */
34824 char $ac_func ();
34825 /* The GNU C library defines this for functions which it implements
34826     to always fail with ENOSYS.  Some functions are actually named
34827     something starting with __ and the normal name is an alias.  */
34828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34829 choke me
34830 #else
34831 char (*f) () = $ac_func;
34832 #endif
34833 #ifdef __cplusplus
34834 }
34835 #endif
34836
34837 int
34838 main ()
34839 {
34840 return f != $ac_func;
34841   ;
34842   return 0;
34843 }
34844 _ACEOF
34845 rm -f conftest.$ac_objext conftest$ac_exeext
34846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34847   (eval $ac_link) 2>conftest.er1
34848   ac_status=$?
34849   grep -v '^ *+' conftest.er1 >conftest.err
34850   rm -f conftest.er1
34851   cat conftest.err >&5
34852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853   (exit $ac_status); } &&
34854          { ac_try='test -z "$ac_c_werror_flag"
34855                          || test ! -s conftest.err'
34856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34857   (eval $ac_try) 2>&5
34858   ac_status=$?
34859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860   (exit $ac_status); }; } &&
34861          { ac_try='test -s conftest$ac_exeext'
34862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34863   (eval $ac_try) 2>&5
34864   ac_status=$?
34865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866   (exit $ac_status); }; }; then
34867   eval "$as_ac_var=yes"
34868 else
34869   echo "$as_me: failed program was:" >&5
34870 sed 's/^/| /' conftest.$ac_ext >&5
34871
34872 eval "$as_ac_var=no"
34873 fi
34874 rm -f conftest.err conftest.$ac_objext \
34875       conftest$ac_exeext conftest.$ac_ext
34876 fi
34877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34879 if test `eval echo '${'$as_ac_var'}'` = yes; then
34880   cat >>confdefs.h <<_ACEOF
34881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34882 _ACEOF
34883
34884 fi
34885 done
34886
34887     fi
34888   fi
34889
34890
34891
34892
34893
34894
34895   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
34896 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
34897   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34898     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
34899   echo $ECHO_N "(cached) $ECHO_C" >&6
34900 else
34901
34902
34903
34904       ac_ext=cc
34905 ac_cpp='$CXXCPP $CPPFLAGS'
34906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34909
34910       cat >conftest.$ac_ext <<_ACEOF
34911 /* confdefs.h.  */
34912 _ACEOF
34913 cat confdefs.h >>conftest.$ac_ext
34914 cat >>conftest.$ac_ext <<_ACEOF
34915 /* end confdefs.h.  */
34916 #include <math.h>
34917                       #ifdef HAVE_IEEEFP_H
34918                       #include <ieeefp.h>
34919                       #endif
34920
34921 int
34922 main ()
34923 {
34924  qfpclass(0);
34925   ;
34926   return 0;
34927 }
34928 _ACEOF
34929 rm -f conftest.$ac_objext
34930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34931   (eval $ac_compile) 2>conftest.er1
34932   ac_status=$?
34933   grep -v '^ *+' conftest.er1 >conftest.err
34934   rm -f conftest.er1
34935   cat conftest.err >&5
34936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937   (exit $ac_status); } &&
34938          { ac_try='test -z "$ac_cxx_werror_flag"
34939                          || test ! -s conftest.err'
34940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34941   (eval $ac_try) 2>&5
34942   ac_status=$?
34943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34944   (exit $ac_status); }; } &&
34945          { ac_try='test -s conftest.$ac_objext'
34946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34947   (eval $ac_try) 2>&5
34948   ac_status=$?
34949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34950   (exit $ac_status); }; }; then
34951   glibcxx_cv_func_qfpclass_use=yes
34952 else
34953   echo "$as_me: failed program was:" >&5
34954 sed 's/^/| /' conftest.$ac_ext >&5
34955
34956 glibcxx_cv_func_qfpclass_use=no
34957 fi
34958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34959       ac_ext=c
34960 ac_cpp='$CPP $CPPFLAGS'
34961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34964
34965
34966 fi
34967
34968   fi
34969   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
34970 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
34971
34972   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34973
34974 for ac_func in qfpclass
34975 do
34976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34977 echo "$as_me:$LINENO: checking for $ac_func" >&5
34978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34979 if eval "test \"\${$as_ac_var+set}\" = set"; then
34980   echo $ECHO_N "(cached) $ECHO_C" >&6
34981 else
34982   if test x$gcc_no_link = xyes; then
34983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34985    { (exit 1); exit 1; }; }
34986 fi
34987 cat >conftest.$ac_ext <<_ACEOF
34988 /* confdefs.h.  */
34989 _ACEOF
34990 cat confdefs.h >>conftest.$ac_ext
34991 cat >>conftest.$ac_ext <<_ACEOF
34992 /* end confdefs.h.  */
34993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34994    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34995 #define $ac_func innocuous_$ac_func
34996
34997 /* System header to define __stub macros and hopefully few prototypes,
34998     which can conflict with char $ac_func (); below.
34999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35000     <limits.h> exists even on freestanding compilers.  */
35001
35002 #ifdef __STDC__
35003 # include <limits.h>
35004 #else
35005 # include <assert.h>
35006 #endif
35007
35008 #undef $ac_func
35009
35010 /* Override any gcc2 internal prototype to avoid an error.  */
35011 #ifdef __cplusplus
35012 extern "C"
35013 {
35014 #endif
35015 /* We use char because int might match the return type of a gcc2
35016    builtin and then its argument prototype would still apply.  */
35017 char $ac_func ();
35018 /* The GNU C library defines this for functions which it implements
35019     to always fail with ENOSYS.  Some functions are actually named
35020     something starting with __ and the normal name is an alias.  */
35021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35022 choke me
35023 #else
35024 char (*f) () = $ac_func;
35025 #endif
35026 #ifdef __cplusplus
35027 }
35028 #endif
35029
35030 int
35031 main ()
35032 {
35033 return f != $ac_func;
35034   ;
35035   return 0;
35036 }
35037 _ACEOF
35038 rm -f conftest.$ac_objext conftest$ac_exeext
35039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35040   (eval $ac_link) 2>conftest.er1
35041   ac_status=$?
35042   grep -v '^ *+' conftest.er1 >conftest.err
35043   rm -f conftest.er1
35044   cat conftest.err >&5
35045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35046   (exit $ac_status); } &&
35047          { ac_try='test -z "$ac_c_werror_flag"
35048                          || test ! -s conftest.err'
35049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35050   (eval $ac_try) 2>&5
35051   ac_status=$?
35052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053   (exit $ac_status); }; } &&
35054          { ac_try='test -s conftest$ac_exeext'
35055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35056   (eval $ac_try) 2>&5
35057   ac_status=$?
35058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059   (exit $ac_status); }; }; then
35060   eval "$as_ac_var=yes"
35061 else
35062   echo "$as_me: failed program was:" >&5
35063 sed 's/^/| /' conftest.$ac_ext >&5
35064
35065 eval "$as_ac_var=no"
35066 fi
35067 rm -f conftest.err conftest.$ac_objext \
35068       conftest$ac_exeext conftest.$ac_ext
35069 fi
35070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35072 if test `eval echo '${'$as_ac_var'}'` = yes; then
35073   cat >>confdefs.h <<_ACEOF
35074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35075 _ACEOF
35076
35077 fi
35078 done
35079
35080   else
35081
35082   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35083 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35084   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35085     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35086   echo $ECHO_N "(cached) $ECHO_C" >&6
35087 else
35088
35089
35090
35091       ac_ext=cc
35092 ac_cpp='$CXXCPP $CPPFLAGS'
35093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35096
35097       cat >conftest.$ac_ext <<_ACEOF
35098 /* confdefs.h.  */
35099 _ACEOF
35100 cat confdefs.h >>conftest.$ac_ext
35101 cat >>conftest.$ac_ext <<_ACEOF
35102 /* end confdefs.h.  */
35103 #include <math.h>
35104                       #ifdef HAVE_IEEEFP_H
35105                       #include <ieeefp.h>
35106                       #endif
35107
35108 int
35109 main ()
35110 {
35111  _qfpclass(0);
35112   ;
35113   return 0;
35114 }
35115 _ACEOF
35116 rm -f conftest.$ac_objext
35117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35118   (eval $ac_compile) 2>conftest.er1
35119   ac_status=$?
35120   grep -v '^ *+' conftest.er1 >conftest.err
35121   rm -f conftest.er1
35122   cat conftest.err >&5
35123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124   (exit $ac_status); } &&
35125          { ac_try='test -z "$ac_cxx_werror_flag"
35126                          || test ! -s conftest.err'
35127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35128   (eval $ac_try) 2>&5
35129   ac_status=$?
35130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35131   (exit $ac_status); }; } &&
35132          { ac_try='test -s conftest.$ac_objext'
35133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35134   (eval $ac_try) 2>&5
35135   ac_status=$?
35136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35137   (exit $ac_status); }; }; then
35138   glibcxx_cv_func__qfpclass_use=yes
35139 else
35140   echo "$as_me: failed program was:" >&5
35141 sed 's/^/| /' conftest.$ac_ext >&5
35142
35143 glibcxx_cv_func__qfpclass_use=no
35144 fi
35145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35146       ac_ext=c
35147 ac_cpp='$CPP $CPPFLAGS'
35148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35151
35152
35153 fi
35154
35155   fi
35156   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35157 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35158
35159     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35160
35161 for ac_func in _qfpclass
35162 do
35163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35164 echo "$as_me:$LINENO: checking for $ac_func" >&5
35165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35166 if eval "test \"\${$as_ac_var+set}\" = set"; then
35167   echo $ECHO_N "(cached) $ECHO_C" >&6
35168 else
35169   if test x$gcc_no_link = xyes; then
35170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35172    { (exit 1); exit 1; }; }
35173 fi
35174 cat >conftest.$ac_ext <<_ACEOF
35175 /* confdefs.h.  */
35176 _ACEOF
35177 cat confdefs.h >>conftest.$ac_ext
35178 cat >>conftest.$ac_ext <<_ACEOF
35179 /* end confdefs.h.  */
35180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35182 #define $ac_func innocuous_$ac_func
35183
35184 /* System header to define __stub macros and hopefully few prototypes,
35185     which can conflict with char $ac_func (); below.
35186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35187     <limits.h> exists even on freestanding compilers.  */
35188
35189 #ifdef __STDC__
35190 # include <limits.h>
35191 #else
35192 # include <assert.h>
35193 #endif
35194
35195 #undef $ac_func
35196
35197 /* Override any gcc2 internal prototype to avoid an error.  */
35198 #ifdef __cplusplus
35199 extern "C"
35200 {
35201 #endif
35202 /* We use char because int might match the return type of a gcc2
35203    builtin and then its argument prototype would still apply.  */
35204 char $ac_func ();
35205 /* The GNU C library defines this for functions which it implements
35206     to always fail with ENOSYS.  Some functions are actually named
35207     something starting with __ and the normal name is an alias.  */
35208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35209 choke me
35210 #else
35211 char (*f) () = $ac_func;
35212 #endif
35213 #ifdef __cplusplus
35214 }
35215 #endif
35216
35217 int
35218 main ()
35219 {
35220 return f != $ac_func;
35221   ;
35222   return 0;
35223 }
35224 _ACEOF
35225 rm -f conftest.$ac_objext conftest$ac_exeext
35226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35227   (eval $ac_link) 2>conftest.er1
35228   ac_status=$?
35229   grep -v '^ *+' conftest.er1 >conftest.err
35230   rm -f conftest.er1
35231   cat conftest.err >&5
35232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35233   (exit $ac_status); } &&
35234          { ac_try='test -z "$ac_c_werror_flag"
35235                          || test ! -s conftest.err'
35236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35237   (eval $ac_try) 2>&5
35238   ac_status=$?
35239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240   (exit $ac_status); }; } &&
35241          { ac_try='test -s conftest$ac_exeext'
35242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35243   (eval $ac_try) 2>&5
35244   ac_status=$?
35245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246   (exit $ac_status); }; }; then
35247   eval "$as_ac_var=yes"
35248 else
35249   echo "$as_me: failed program was:" >&5
35250 sed 's/^/| /' conftest.$ac_ext >&5
35251
35252 eval "$as_ac_var=no"
35253 fi
35254 rm -f conftest.err conftest.$ac_objext \
35255       conftest$ac_exeext conftest.$ac_ext
35256 fi
35257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35259 if test `eval echo '${'$as_ac_var'}'` = yes; then
35260   cat >>confdefs.h <<_ACEOF
35261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35262 _ACEOF
35263
35264 fi
35265 done
35266
35267     fi
35268   fi
35269
35270
35271
35272
35273
35274
35275   echo "$as_me:$LINENO: checking for hypot declaration" >&5
35276 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35277   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35278     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35279   echo $ECHO_N "(cached) $ECHO_C" >&6
35280 else
35281
35282
35283
35284       ac_ext=cc
35285 ac_cpp='$CXXCPP $CPPFLAGS'
35286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35289
35290       cat >conftest.$ac_ext <<_ACEOF
35291 /* confdefs.h.  */
35292 _ACEOF
35293 cat confdefs.h >>conftest.$ac_ext
35294 cat >>conftest.$ac_ext <<_ACEOF
35295 /* end confdefs.h.  */
35296 #include <math.h>
35297 int
35298 main ()
35299 {
35300  hypot(0, 0);
35301   ;
35302   return 0;
35303 }
35304 _ACEOF
35305 rm -f conftest.$ac_objext
35306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35307   (eval $ac_compile) 2>conftest.er1
35308   ac_status=$?
35309   grep -v '^ *+' conftest.er1 >conftest.err
35310   rm -f conftest.er1
35311   cat conftest.err >&5
35312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313   (exit $ac_status); } &&
35314          { ac_try='test -z "$ac_cxx_werror_flag"
35315                          || test ! -s conftest.err'
35316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35317   (eval $ac_try) 2>&5
35318   ac_status=$?
35319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35320   (exit $ac_status); }; } &&
35321          { ac_try='test -s conftest.$ac_objext'
35322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35323   (eval $ac_try) 2>&5
35324   ac_status=$?
35325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326   (exit $ac_status); }; }; then
35327   glibcxx_cv_func_hypot_use=yes
35328 else
35329   echo "$as_me: failed program was:" >&5
35330 sed 's/^/| /' conftest.$ac_ext >&5
35331
35332 glibcxx_cv_func_hypot_use=no
35333 fi
35334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35335       ac_ext=c
35336 ac_cpp='$CPP $CPPFLAGS'
35337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35340
35341
35342 fi
35343
35344   fi
35345   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35346 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35347
35348   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35349
35350 for ac_func in hypot
35351 do
35352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35353 echo "$as_me:$LINENO: checking for $ac_func" >&5
35354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35355 if eval "test \"\${$as_ac_var+set}\" = set"; then
35356   echo $ECHO_N "(cached) $ECHO_C" >&6
35357 else
35358   if test x$gcc_no_link = xyes; then
35359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35361    { (exit 1); exit 1; }; }
35362 fi
35363 cat >conftest.$ac_ext <<_ACEOF
35364 /* confdefs.h.  */
35365 _ACEOF
35366 cat confdefs.h >>conftest.$ac_ext
35367 cat >>conftest.$ac_ext <<_ACEOF
35368 /* end confdefs.h.  */
35369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35370    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35371 #define $ac_func innocuous_$ac_func
35372
35373 /* System header to define __stub macros and hopefully few prototypes,
35374     which can conflict with char $ac_func (); below.
35375     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35376     <limits.h> exists even on freestanding compilers.  */
35377
35378 #ifdef __STDC__
35379 # include <limits.h>
35380 #else
35381 # include <assert.h>
35382 #endif
35383
35384 #undef $ac_func
35385
35386 /* Override any gcc2 internal prototype to avoid an error.  */
35387 #ifdef __cplusplus
35388 extern "C"
35389 {
35390 #endif
35391 /* We use char because int might match the return type of a gcc2
35392    builtin and then its argument prototype would still apply.  */
35393 char $ac_func ();
35394 /* The GNU C library defines this for functions which it implements
35395     to always fail with ENOSYS.  Some functions are actually named
35396     something starting with __ and the normal name is an alias.  */
35397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35398 choke me
35399 #else
35400 char (*f) () = $ac_func;
35401 #endif
35402 #ifdef __cplusplus
35403 }
35404 #endif
35405
35406 int
35407 main ()
35408 {
35409 return f != $ac_func;
35410   ;
35411   return 0;
35412 }
35413 _ACEOF
35414 rm -f conftest.$ac_objext conftest$ac_exeext
35415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35416   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
35437 else
35438   echo "$as_me: failed program was:" >&5
35439 sed 's/^/| /' conftest.$ac_ext >&5
35440
35441 eval "$as_ac_var=no"
35442 fi
35443 rm -f conftest.err conftest.$ac_objext \
35444       conftest$ac_exeext conftest.$ac_ext
35445 fi
35446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35448 if test `eval echo '${'$as_ac_var'}'` = yes; then
35449   cat >>confdefs.h <<_ACEOF
35450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35451 _ACEOF
35452
35453 fi
35454 done
35455
35456   else
35457
35458   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35459 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35460   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35461     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35462   echo $ECHO_N "(cached) $ECHO_C" >&6
35463 else
35464
35465
35466
35467       ac_ext=cc
35468 ac_cpp='$CXXCPP $CPPFLAGS'
35469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35472
35473       cat >conftest.$ac_ext <<_ACEOF
35474 /* confdefs.h.  */
35475 _ACEOF
35476 cat confdefs.h >>conftest.$ac_ext
35477 cat >>conftest.$ac_ext <<_ACEOF
35478 /* end confdefs.h.  */
35479 #include <math.h>
35480 int
35481 main ()
35482 {
35483  _hypot(0, 0);
35484   ;
35485   return 0;
35486 }
35487 _ACEOF
35488 rm -f conftest.$ac_objext
35489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35490   (eval $ac_compile) 2>conftest.er1
35491   ac_status=$?
35492   grep -v '^ *+' conftest.er1 >conftest.err
35493   rm -f conftest.er1
35494   cat conftest.err >&5
35495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496   (exit $ac_status); } &&
35497          { ac_try='test -z "$ac_cxx_werror_flag"
35498                          || test ! -s conftest.err'
35499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35500   (eval $ac_try) 2>&5
35501   ac_status=$?
35502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503   (exit $ac_status); }; } &&
35504          { ac_try='test -s conftest.$ac_objext'
35505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35506   (eval $ac_try) 2>&5
35507   ac_status=$?
35508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35509   (exit $ac_status); }; }; then
35510   glibcxx_cv_func__hypot_use=yes
35511 else
35512   echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.$ac_ext >&5
35514
35515 glibcxx_cv_func__hypot_use=no
35516 fi
35517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35518       ac_ext=c
35519 ac_cpp='$CPP $CPPFLAGS'
35520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35523
35524
35525 fi
35526
35527   fi
35528   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35529 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35530
35531     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35532
35533 for ac_func in _hypot
35534 do
35535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35536 echo "$as_me:$LINENO: checking for $ac_func" >&5
35537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35538 if eval "test \"\${$as_ac_var+set}\" = set"; then
35539   echo $ECHO_N "(cached) $ECHO_C" >&6
35540 else
35541   if test x$gcc_no_link = xyes; then
35542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35544    { (exit 1); exit 1; }; }
35545 fi
35546 cat >conftest.$ac_ext <<_ACEOF
35547 /* confdefs.h.  */
35548 _ACEOF
35549 cat confdefs.h >>conftest.$ac_ext
35550 cat >>conftest.$ac_ext <<_ACEOF
35551 /* end confdefs.h.  */
35552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35553    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35554 #define $ac_func innocuous_$ac_func
35555
35556 /* System header to define __stub macros and hopefully few prototypes,
35557     which can conflict with char $ac_func (); below.
35558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35559     <limits.h> exists even on freestanding compilers.  */
35560
35561 #ifdef __STDC__
35562 # include <limits.h>
35563 #else
35564 # include <assert.h>
35565 #endif
35566
35567 #undef $ac_func
35568
35569 /* Override any gcc2 internal prototype to avoid an error.  */
35570 #ifdef __cplusplus
35571 extern "C"
35572 {
35573 #endif
35574 /* We use char because int might match the return type of a gcc2
35575    builtin and then its argument prototype would still apply.  */
35576 char $ac_func ();
35577 /* The GNU C library defines this for functions which it implements
35578     to always fail with ENOSYS.  Some functions are actually named
35579     something starting with __ and the normal name is an alias.  */
35580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35581 choke me
35582 #else
35583 char (*f) () = $ac_func;
35584 #endif
35585 #ifdef __cplusplus
35586 }
35587 #endif
35588
35589 int
35590 main ()
35591 {
35592 return f != $ac_func;
35593   ;
35594   return 0;
35595 }
35596 _ACEOF
35597 rm -f conftest.$ac_objext conftest$ac_exeext
35598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35599   (eval $ac_link) 2>conftest.er1
35600   ac_status=$?
35601   grep -v '^ *+' conftest.er1 >conftest.err
35602   rm -f conftest.er1
35603   cat conftest.err >&5
35604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605   (exit $ac_status); } &&
35606          { ac_try='test -z "$ac_c_werror_flag"
35607                          || test ! -s conftest.err'
35608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35609   (eval $ac_try) 2>&5
35610   ac_status=$?
35611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35612   (exit $ac_status); }; } &&
35613          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
35619   eval "$as_ac_var=yes"
35620 else
35621   echo "$as_me: failed program was:" >&5
35622 sed 's/^/| /' conftest.$ac_ext >&5
35623
35624 eval "$as_ac_var=no"
35625 fi
35626 rm -f conftest.err conftest.$ac_objext \
35627       conftest$ac_exeext conftest.$ac_ext
35628 fi
35629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35631 if test `eval echo '${'$as_ac_var'}'` = yes; then
35632   cat >>confdefs.h <<_ACEOF
35633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35634 _ACEOF
35635
35636 fi
35637 done
35638
35639     fi
35640   fi
35641
35642
35643
35644
35645
35646
35647     echo "$as_me:$LINENO: checking for float trig functions" >&5
35648 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35649   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35650   echo $ECHO_N "(cached) $ECHO_C" >&6
35651 else
35652
35653
35654
35655     ac_ext=cc
35656 ac_cpp='$CXXCPP $CPPFLAGS'
35657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35660
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 #include <math.h>
35668 int
35669 main ()
35670 {
35671 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35672   ;
35673   return 0;
35674 }
35675 _ACEOF
35676 rm -f conftest.$ac_objext
35677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35678   (eval $ac_compile) 2>conftest.er1
35679   ac_status=$?
35680   grep -v '^ *+' conftest.er1 >conftest.err
35681   rm -f conftest.er1
35682   cat conftest.err >&5
35683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35684   (exit $ac_status); } &&
35685          { ac_try='test -z "$ac_cxx_werror_flag"
35686                          || test ! -s conftest.err'
35687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35688   (eval $ac_try) 2>&5
35689   ac_status=$?
35690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691   (exit $ac_status); }; } &&
35692          { ac_try='test -s conftest.$ac_objext'
35693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35694   (eval $ac_try) 2>&5
35695   ac_status=$?
35696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35697   (exit $ac_status); }; }; then
35698   glibcxx_cv_func_float_trig_use=yes
35699 else
35700   echo "$as_me: failed program was:" >&5
35701 sed 's/^/| /' conftest.$ac_ext >&5
35702
35703 glibcxx_cv_func_float_trig_use=no
35704 fi
35705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35706     ac_ext=c
35707 ac_cpp='$CPP $CPPFLAGS'
35708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35711
35712 fi
35713
35714   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
35715 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
35716   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35727 do
35728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35729 echo "$as_me:$LINENO: checking for $ac_func" >&5
35730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35731 if eval "test \"\${$as_ac_var+set}\" = set"; then
35732   echo $ECHO_N "(cached) $ECHO_C" >&6
35733 else
35734   if test x$gcc_no_link = xyes; then
35735   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35737    { (exit 1); exit 1; }; }
35738 fi
35739 cat >conftest.$ac_ext <<_ACEOF
35740 /* confdefs.h.  */
35741 _ACEOF
35742 cat confdefs.h >>conftest.$ac_ext
35743 cat >>conftest.$ac_ext <<_ACEOF
35744 /* end confdefs.h.  */
35745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35747 #define $ac_func innocuous_$ac_func
35748
35749 /* System header to define __stub macros and hopefully few prototypes,
35750     which can conflict with char $ac_func (); below.
35751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35752     <limits.h> exists even on freestanding compilers.  */
35753
35754 #ifdef __STDC__
35755 # include <limits.h>
35756 #else
35757 # include <assert.h>
35758 #endif
35759
35760 #undef $ac_func
35761
35762 /* Override any gcc2 internal prototype to avoid an error.  */
35763 #ifdef __cplusplus
35764 extern "C"
35765 {
35766 #endif
35767 /* We use char because int might match the return type of a gcc2
35768    builtin and then its argument prototype would still apply.  */
35769 char $ac_func ();
35770 /* The GNU C library defines this for functions which it implements
35771     to always fail with ENOSYS.  Some functions are actually named
35772     something starting with __ and the normal name is an alias.  */
35773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35774 choke me
35775 #else
35776 char (*f) () = $ac_func;
35777 #endif
35778 #ifdef __cplusplus
35779 }
35780 #endif
35781
35782 int
35783 main ()
35784 {
35785 return f != $ac_func;
35786   ;
35787   return 0;
35788 }
35789 _ACEOF
35790 rm -f conftest.$ac_objext conftest$ac_exeext
35791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35792   (eval $ac_link) 2>conftest.er1
35793   ac_status=$?
35794   grep -v '^ *+' conftest.er1 >conftest.err
35795   rm -f conftest.er1
35796   cat conftest.err >&5
35797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35798   (exit $ac_status); } &&
35799          { ac_try='test -z "$ac_c_werror_flag"
35800                          || test ! -s conftest.err'
35801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35802   (eval $ac_try) 2>&5
35803   ac_status=$?
35804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35805   (exit $ac_status); }; } &&
35806          { ac_try='test -s conftest$ac_exeext'
35807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35808   (eval $ac_try) 2>&5
35809   ac_status=$?
35810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35811   (exit $ac_status); }; }; then
35812   eval "$as_ac_var=yes"
35813 else
35814   echo "$as_me: failed program was:" >&5
35815 sed 's/^/| /' conftest.$ac_ext >&5
35816
35817 eval "$as_ac_var=no"
35818 fi
35819 rm -f conftest.err conftest.$ac_objext \
35820       conftest$ac_exeext conftest.$ac_ext
35821 fi
35822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35824 if test `eval echo '${'$as_ac_var'}'` = yes; then
35825   cat >>confdefs.h <<_ACEOF
35826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35827 _ACEOF
35828
35829 fi
35830 done
35831
35832   else
35833     echo "$as_me:$LINENO: checking for _float trig functions" >&5
35834 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
35835     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
35836   echo $ECHO_N "(cached) $ECHO_C" >&6
35837 else
35838
35839
35840
35841       ac_ext=cc
35842 ac_cpp='$CXXCPP $CPPFLAGS'
35843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35846
35847       cat >conftest.$ac_ext <<_ACEOF
35848 /* confdefs.h.  */
35849 _ACEOF
35850 cat confdefs.h >>conftest.$ac_ext
35851 cat >>conftest.$ac_ext <<_ACEOF
35852 /* end confdefs.h.  */
35853 #include <math.h>
35854 int
35855 main ()
35856 {
35857 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35858   ;
35859   return 0;
35860 }
35861 _ACEOF
35862 rm -f conftest.$ac_objext
35863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35864   (eval $ac_compile) 2>conftest.er1
35865   ac_status=$?
35866   grep -v '^ *+' conftest.er1 >conftest.err
35867   rm -f conftest.er1
35868   cat conftest.err >&5
35869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870   (exit $ac_status); } &&
35871          { ac_try='test -z "$ac_cxx_werror_flag"
35872                          || test ! -s conftest.err'
35873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35874   (eval $ac_try) 2>&5
35875   ac_status=$?
35876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877   (exit $ac_status); }; } &&
35878          { ac_try='test -s conftest.$ac_objext'
35879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35880   (eval $ac_try) 2>&5
35881   ac_status=$?
35882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35883   (exit $ac_status); }; }; then
35884   glibcxx_cv_func__float_trig_use=yes
35885 else
35886   echo "$as_me: failed program was:" >&5
35887 sed 's/^/| /' conftest.$ac_ext >&5
35888
35889 glibcxx_cv_func__float_trig_use=no
35890 fi
35891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35892       ac_ext=c
35893 ac_cpp='$CPP $CPPFLAGS'
35894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35897
35898 fi
35899
35900     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
35901 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
35902     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35903
35904
35905
35906
35907
35908
35909
35910
35911
35912 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35913 do
35914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35915 echo "$as_me:$LINENO: checking for $ac_func" >&5
35916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35917 if eval "test \"\${$as_ac_var+set}\" = set"; then
35918   echo $ECHO_N "(cached) $ECHO_C" >&6
35919 else
35920   if test x$gcc_no_link = xyes; then
35921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35923    { (exit 1); exit 1; }; }
35924 fi
35925 cat >conftest.$ac_ext <<_ACEOF
35926 /* confdefs.h.  */
35927 _ACEOF
35928 cat confdefs.h >>conftest.$ac_ext
35929 cat >>conftest.$ac_ext <<_ACEOF
35930 /* end confdefs.h.  */
35931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35932    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35933 #define $ac_func innocuous_$ac_func
35934
35935 /* System header to define __stub macros and hopefully few prototypes,
35936     which can conflict with char $ac_func (); below.
35937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35938     <limits.h> exists even on freestanding compilers.  */
35939
35940 #ifdef __STDC__
35941 # include <limits.h>
35942 #else
35943 # include <assert.h>
35944 #endif
35945
35946 #undef $ac_func
35947
35948 /* Override any gcc2 internal prototype to avoid an error.  */
35949 #ifdef __cplusplus
35950 extern "C"
35951 {
35952 #endif
35953 /* We use char because int might match the return type of a gcc2
35954    builtin and then its argument prototype would still apply.  */
35955 char $ac_func ();
35956 /* The GNU C library defines this for functions which it implements
35957     to always fail with ENOSYS.  Some functions are actually named
35958     something starting with __ and the normal name is an alias.  */
35959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35960 choke me
35961 #else
35962 char (*f) () = $ac_func;
35963 #endif
35964 #ifdef __cplusplus
35965 }
35966 #endif
35967
35968 int
35969 main ()
35970 {
35971 return f != $ac_func;
35972   ;
35973   return 0;
35974 }
35975 _ACEOF
35976 rm -f conftest.$ac_objext conftest$ac_exeext
35977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35978   (eval $ac_link) 2>conftest.er1
35979   ac_status=$?
35980   grep -v '^ *+' conftest.er1 >conftest.err
35981   rm -f conftest.er1
35982   cat conftest.err >&5
35983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984   (exit $ac_status); } &&
35985          { ac_try='test -z "$ac_c_werror_flag"
35986                          || test ! -s conftest.err'
35987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35988   (eval $ac_try) 2>&5
35989   ac_status=$?
35990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991   (exit $ac_status); }; } &&
35992          { ac_try='test -s conftest$ac_exeext'
35993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35994   (eval $ac_try) 2>&5
35995   ac_status=$?
35996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35997   (exit $ac_status); }; }; then
35998   eval "$as_ac_var=yes"
35999 else
36000   echo "$as_me: failed program was:" >&5
36001 sed 's/^/| /' conftest.$ac_ext >&5
36002
36003 eval "$as_ac_var=no"
36004 fi
36005 rm -f conftest.err conftest.$ac_objext \
36006       conftest$ac_exeext conftest.$ac_ext
36007 fi
36008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36010 if test `eval echo '${'$as_ac_var'}'` = yes; then
36011   cat >>confdefs.h <<_ACEOF
36012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36013 _ACEOF
36014
36015 fi
36016 done
36017
36018     fi
36019   fi
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034     echo "$as_me:$LINENO: checking for float round functions" >&5
36035 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
36036   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
36037   echo $ECHO_N "(cached) $ECHO_C" >&6
36038 else
36039
36040
36041
36042     ac_ext=cc
36043 ac_cpp='$CXXCPP $CPPFLAGS'
36044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36047
36048     cat >conftest.$ac_ext <<_ACEOF
36049 /* confdefs.h.  */
36050 _ACEOF
36051 cat confdefs.h >>conftest.$ac_ext
36052 cat >>conftest.$ac_ext <<_ACEOF
36053 /* end confdefs.h.  */
36054 #include <math.h>
36055 int
36056 main ()
36057 {
36058 ceilf (0); floorf (0);
36059   ;
36060   return 0;
36061 }
36062 _ACEOF
36063 rm -f conftest.$ac_objext
36064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36065   (eval $ac_compile) 2>conftest.er1
36066   ac_status=$?
36067   grep -v '^ *+' conftest.er1 >conftest.err
36068   rm -f conftest.er1
36069   cat conftest.err >&5
36070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36071   (exit $ac_status); } &&
36072          { ac_try='test -z "$ac_cxx_werror_flag"
36073                          || test ! -s conftest.err'
36074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36075   (eval $ac_try) 2>&5
36076   ac_status=$?
36077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36078   (exit $ac_status); }; } &&
36079          { ac_try='test -s conftest.$ac_objext'
36080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36081   (eval $ac_try) 2>&5
36082   ac_status=$?
36083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084   (exit $ac_status); }; }; then
36085   glibcxx_cv_func_float_round_use=yes
36086 else
36087   echo "$as_me: failed program was:" >&5
36088 sed 's/^/| /' conftest.$ac_ext >&5
36089
36090 glibcxx_cv_func_float_round_use=no
36091 fi
36092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36093     ac_ext=c
36094 ac_cpp='$CPP $CPPFLAGS'
36095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36098
36099 fi
36100
36101   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36102 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36103   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36104
36105
36106 for ac_func in ceilf floorf
36107 do
36108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36109 echo "$as_me:$LINENO: checking for $ac_func" >&5
36110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36111 if eval "test \"\${$as_ac_var+set}\" = set"; then
36112   echo $ECHO_N "(cached) $ECHO_C" >&6
36113 else
36114   if test x$gcc_no_link = xyes; then
36115   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36117    { (exit 1); exit 1; }; }
36118 fi
36119 cat >conftest.$ac_ext <<_ACEOF
36120 /* confdefs.h.  */
36121 _ACEOF
36122 cat confdefs.h >>conftest.$ac_ext
36123 cat >>conftest.$ac_ext <<_ACEOF
36124 /* end confdefs.h.  */
36125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36126    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36127 #define $ac_func innocuous_$ac_func
36128
36129 /* System header to define __stub macros and hopefully few prototypes,
36130     which can conflict with char $ac_func (); below.
36131     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36132     <limits.h> exists even on freestanding compilers.  */
36133
36134 #ifdef __STDC__
36135 # include <limits.h>
36136 #else
36137 # include <assert.h>
36138 #endif
36139
36140 #undef $ac_func
36141
36142 /* Override any gcc2 internal prototype to avoid an error.  */
36143 #ifdef __cplusplus
36144 extern "C"
36145 {
36146 #endif
36147 /* We use char because int might match the return type of a gcc2
36148    builtin and then its argument prototype would still apply.  */
36149 char $ac_func ();
36150 /* The GNU C library defines this for functions which it implements
36151     to always fail with ENOSYS.  Some functions are actually named
36152     something starting with __ and the normal name is an alias.  */
36153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36154 choke me
36155 #else
36156 char (*f) () = $ac_func;
36157 #endif
36158 #ifdef __cplusplus
36159 }
36160 #endif
36161
36162 int
36163 main ()
36164 {
36165 return f != $ac_func;
36166   ;
36167   return 0;
36168 }
36169 _ACEOF
36170 rm -f conftest.$ac_objext conftest$ac_exeext
36171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36172   (eval $ac_link) 2>conftest.er1
36173   ac_status=$?
36174   grep -v '^ *+' conftest.er1 >conftest.err
36175   rm -f conftest.er1
36176   cat conftest.err >&5
36177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178   (exit $ac_status); } &&
36179          { ac_try='test -z "$ac_c_werror_flag"
36180                          || test ! -s conftest.err'
36181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36182   (eval $ac_try) 2>&5
36183   ac_status=$?
36184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185   (exit $ac_status); }; } &&
36186          { ac_try='test -s conftest$ac_exeext'
36187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36188   (eval $ac_try) 2>&5
36189   ac_status=$?
36190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191   (exit $ac_status); }; }; then
36192   eval "$as_ac_var=yes"
36193 else
36194   echo "$as_me: failed program was:" >&5
36195 sed 's/^/| /' conftest.$ac_ext >&5
36196
36197 eval "$as_ac_var=no"
36198 fi
36199 rm -f conftest.err conftest.$ac_objext \
36200       conftest$ac_exeext conftest.$ac_ext
36201 fi
36202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36204 if test `eval echo '${'$as_ac_var'}'` = yes; then
36205   cat >>confdefs.h <<_ACEOF
36206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36207 _ACEOF
36208
36209 fi
36210 done
36211
36212   else
36213     echo "$as_me:$LINENO: checking for _float round functions" >&5
36214 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36215     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36216   echo $ECHO_N "(cached) $ECHO_C" >&6
36217 else
36218
36219
36220
36221       ac_ext=cc
36222 ac_cpp='$CXXCPP $CPPFLAGS'
36223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36226
36227       cat >conftest.$ac_ext <<_ACEOF
36228 /* confdefs.h.  */
36229 _ACEOF
36230 cat confdefs.h >>conftest.$ac_ext
36231 cat >>conftest.$ac_ext <<_ACEOF
36232 /* end confdefs.h.  */
36233 #include <math.h>
36234 int
36235 main ()
36236 {
36237 _ceilf (0); _floorf (0);
36238   ;
36239   return 0;
36240 }
36241 _ACEOF
36242 rm -f conftest.$ac_objext
36243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36244   (eval $ac_compile) 2>conftest.er1
36245   ac_status=$?
36246   grep -v '^ *+' conftest.er1 >conftest.err
36247   rm -f conftest.er1
36248   cat conftest.err >&5
36249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250   (exit $ac_status); } &&
36251          { ac_try='test -z "$ac_cxx_werror_flag"
36252                          || test ! -s conftest.err'
36253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36254   (eval $ac_try) 2>&5
36255   ac_status=$?
36256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36257   (exit $ac_status); }; } &&
36258          { ac_try='test -s conftest.$ac_objext'
36259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36260   (eval $ac_try) 2>&5
36261   ac_status=$?
36262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36263   (exit $ac_status); }; }; then
36264   glibcxx_cv_func__float_round_use=yes
36265 else
36266   echo "$as_me: failed program was:" >&5
36267 sed 's/^/| /' conftest.$ac_ext >&5
36268
36269 glibcxx_cv_func__float_round_use=no
36270 fi
36271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36272       ac_ext=c
36273 ac_cpp='$CPP $CPPFLAGS'
36274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36277
36278 fi
36279
36280     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36281 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36282     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36283
36284
36285 for ac_func in _ceilf _floorf
36286 do
36287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36288 echo "$as_me:$LINENO: checking for $ac_func" >&5
36289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36290 if eval "test \"\${$as_ac_var+set}\" = set"; then
36291   echo $ECHO_N "(cached) $ECHO_C" >&6
36292 else
36293   if test x$gcc_no_link = xyes; then
36294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36296    { (exit 1); exit 1; }; }
36297 fi
36298 cat >conftest.$ac_ext <<_ACEOF
36299 /* confdefs.h.  */
36300 _ACEOF
36301 cat confdefs.h >>conftest.$ac_ext
36302 cat >>conftest.$ac_ext <<_ACEOF
36303 /* end confdefs.h.  */
36304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36305    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36306 #define $ac_func innocuous_$ac_func
36307
36308 /* System header to define __stub macros and hopefully few prototypes,
36309     which can conflict with char $ac_func (); below.
36310     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36311     <limits.h> exists even on freestanding compilers.  */
36312
36313 #ifdef __STDC__
36314 # include <limits.h>
36315 #else
36316 # include <assert.h>
36317 #endif
36318
36319 #undef $ac_func
36320
36321 /* Override any gcc2 internal prototype to avoid an error.  */
36322 #ifdef __cplusplus
36323 extern "C"
36324 {
36325 #endif
36326 /* We use char because int might match the return type of a gcc2
36327    builtin and then its argument prototype would still apply.  */
36328 char $ac_func ();
36329 /* The GNU C library defines this for functions which it implements
36330     to always fail with ENOSYS.  Some functions are actually named
36331     something starting with __ and the normal name is an alias.  */
36332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36333 choke me
36334 #else
36335 char (*f) () = $ac_func;
36336 #endif
36337 #ifdef __cplusplus
36338 }
36339 #endif
36340
36341 int
36342 main ()
36343 {
36344 return f != $ac_func;
36345   ;
36346   return 0;
36347 }
36348 _ACEOF
36349 rm -f conftest.$ac_objext conftest$ac_exeext
36350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36351   (eval $ac_link) 2>conftest.er1
36352   ac_status=$?
36353   grep -v '^ *+' conftest.er1 >conftest.err
36354   rm -f conftest.er1
36355   cat conftest.err >&5
36356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357   (exit $ac_status); } &&
36358          { ac_try='test -z "$ac_c_werror_flag"
36359                          || test ! -s conftest.err'
36360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36361   (eval $ac_try) 2>&5
36362   ac_status=$?
36363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36364   (exit $ac_status); }; } &&
36365          { ac_try='test -s conftest$ac_exeext'
36366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36367   (eval $ac_try) 2>&5
36368   ac_status=$?
36369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370   (exit $ac_status); }; }; then
36371   eval "$as_ac_var=yes"
36372 else
36373   echo "$as_me: failed program was:" >&5
36374 sed 's/^/| /' conftest.$ac_ext >&5
36375
36376 eval "$as_ac_var=no"
36377 fi
36378 rm -f conftest.err conftest.$ac_objext \
36379       conftest$ac_exeext conftest.$ac_ext
36380 fi
36381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36383 if test `eval echo '${'$as_ac_var'}'` = yes; then
36384   cat >>confdefs.h <<_ACEOF
36385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36386 _ACEOF
36387
36388 fi
36389 done
36390
36391     fi
36392   fi
36393
36394
36395
36396
36397
36398
36399
36400
36401   echo "$as_me:$LINENO: checking for expf declaration" >&5
36402 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36403   if test x${glibcxx_cv_func_expf_use+set} != xset; then
36404     if test "${glibcxx_cv_func_expf_use+set}" = set; then
36405   echo $ECHO_N "(cached) $ECHO_C" >&6
36406 else
36407
36408
36409
36410       ac_ext=cc
36411 ac_cpp='$CXXCPP $CPPFLAGS'
36412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36415
36416       cat >conftest.$ac_ext <<_ACEOF
36417 /* confdefs.h.  */
36418 _ACEOF
36419 cat confdefs.h >>conftest.$ac_ext
36420 cat >>conftest.$ac_ext <<_ACEOF
36421 /* end confdefs.h.  */
36422 #include <math.h>
36423                       #ifdef HAVE_IEEEFP_H
36424                       #include <ieeefp.h>
36425                       #endif
36426
36427 int
36428 main ()
36429 {
36430  expf(0);
36431   ;
36432   return 0;
36433 }
36434 _ACEOF
36435 rm -f conftest.$ac_objext
36436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36437   (eval $ac_compile) 2>conftest.er1
36438   ac_status=$?
36439   grep -v '^ *+' conftest.er1 >conftest.err
36440   rm -f conftest.er1
36441   cat conftest.err >&5
36442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443   (exit $ac_status); } &&
36444          { ac_try='test -z "$ac_cxx_werror_flag"
36445                          || test ! -s conftest.err'
36446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36447   (eval $ac_try) 2>&5
36448   ac_status=$?
36449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36450   (exit $ac_status); }; } &&
36451          { ac_try='test -s conftest.$ac_objext'
36452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36453   (eval $ac_try) 2>&5
36454   ac_status=$?
36455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456   (exit $ac_status); }; }; then
36457   glibcxx_cv_func_expf_use=yes
36458 else
36459   echo "$as_me: failed program was:" >&5
36460 sed 's/^/| /' conftest.$ac_ext >&5
36461
36462 glibcxx_cv_func_expf_use=no
36463 fi
36464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36465       ac_ext=c
36466 ac_cpp='$CPP $CPPFLAGS'
36467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36470
36471
36472 fi
36473
36474   fi
36475   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36476 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36477
36478   if test x$glibcxx_cv_func_expf_use = x"yes"; then
36479
36480 for ac_func in expf
36481 do
36482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36483 echo "$as_me:$LINENO: checking for $ac_func" >&5
36484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36485 if eval "test \"\${$as_ac_var+set}\" = set"; then
36486   echo $ECHO_N "(cached) $ECHO_C" >&6
36487 else
36488   if test x$gcc_no_link = xyes; then
36489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36491    { (exit 1); exit 1; }; }
36492 fi
36493 cat >conftest.$ac_ext <<_ACEOF
36494 /* confdefs.h.  */
36495 _ACEOF
36496 cat confdefs.h >>conftest.$ac_ext
36497 cat >>conftest.$ac_ext <<_ACEOF
36498 /* end confdefs.h.  */
36499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36500    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36501 #define $ac_func innocuous_$ac_func
36502
36503 /* System header to define __stub macros and hopefully few prototypes,
36504     which can conflict with char $ac_func (); below.
36505     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36506     <limits.h> exists even on freestanding compilers.  */
36507
36508 #ifdef __STDC__
36509 # include <limits.h>
36510 #else
36511 # include <assert.h>
36512 #endif
36513
36514 #undef $ac_func
36515
36516 /* Override any gcc2 internal prototype to avoid an error.  */
36517 #ifdef __cplusplus
36518 extern "C"
36519 {
36520 #endif
36521 /* We use char because int might match the return type of a gcc2
36522    builtin and then its argument prototype would still apply.  */
36523 char $ac_func ();
36524 /* The GNU C library defines this for functions which it implements
36525     to always fail with ENOSYS.  Some functions are actually named
36526     something starting with __ and the normal name is an alias.  */
36527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36528 choke me
36529 #else
36530 char (*f) () = $ac_func;
36531 #endif
36532 #ifdef __cplusplus
36533 }
36534 #endif
36535
36536 int
36537 main ()
36538 {
36539 return f != $ac_func;
36540   ;
36541   return 0;
36542 }
36543 _ACEOF
36544 rm -f conftest.$ac_objext conftest$ac_exeext
36545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36546   (eval $ac_link) 2>conftest.er1
36547   ac_status=$?
36548   grep -v '^ *+' conftest.er1 >conftest.err
36549   rm -f conftest.er1
36550   cat conftest.err >&5
36551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552   (exit $ac_status); } &&
36553          { ac_try='test -z "$ac_c_werror_flag"
36554                          || test ! -s conftest.err'
36555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556   (eval $ac_try) 2>&5
36557   ac_status=$?
36558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559   (exit $ac_status); }; } &&
36560          { ac_try='test -s conftest$ac_exeext'
36561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36562   (eval $ac_try) 2>&5
36563   ac_status=$?
36564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565   (exit $ac_status); }; }; then
36566   eval "$as_ac_var=yes"
36567 else
36568   echo "$as_me: failed program was:" >&5
36569 sed 's/^/| /' conftest.$ac_ext >&5
36570
36571 eval "$as_ac_var=no"
36572 fi
36573 rm -f conftest.err conftest.$ac_objext \
36574       conftest$ac_exeext conftest.$ac_ext
36575 fi
36576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36578 if test `eval echo '${'$as_ac_var'}'` = yes; then
36579   cat >>confdefs.h <<_ACEOF
36580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36581 _ACEOF
36582
36583 fi
36584 done
36585
36586   else
36587
36588   echo "$as_me:$LINENO: checking for _expf declaration" >&5
36589 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36590   if test x${glibcxx_cv_func__expf_use+set} != xset; then
36591     if test "${glibcxx_cv_func__expf_use+set}" = set; then
36592   echo $ECHO_N "(cached) $ECHO_C" >&6
36593 else
36594
36595
36596
36597       ac_ext=cc
36598 ac_cpp='$CXXCPP $CPPFLAGS'
36599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36602
36603       cat >conftest.$ac_ext <<_ACEOF
36604 /* confdefs.h.  */
36605 _ACEOF
36606 cat confdefs.h >>conftest.$ac_ext
36607 cat >>conftest.$ac_ext <<_ACEOF
36608 /* end confdefs.h.  */
36609 #include <math.h>
36610                       #ifdef HAVE_IEEEFP_H
36611                       #include <ieeefp.h>
36612                       #endif
36613
36614 int
36615 main ()
36616 {
36617  _expf(0);
36618   ;
36619   return 0;
36620 }
36621 _ACEOF
36622 rm -f conftest.$ac_objext
36623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36624   (eval $ac_compile) 2>conftest.er1
36625   ac_status=$?
36626   grep -v '^ *+' conftest.er1 >conftest.err
36627   rm -f conftest.er1
36628   cat conftest.err >&5
36629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630   (exit $ac_status); } &&
36631          { ac_try='test -z "$ac_cxx_werror_flag"
36632                          || test ! -s conftest.err'
36633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36634   (eval $ac_try) 2>&5
36635   ac_status=$?
36636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36637   (exit $ac_status); }; } &&
36638          { ac_try='test -s conftest.$ac_objext'
36639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36640   (eval $ac_try) 2>&5
36641   ac_status=$?
36642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643   (exit $ac_status); }; }; then
36644   glibcxx_cv_func__expf_use=yes
36645 else
36646   echo "$as_me: failed program was:" >&5
36647 sed 's/^/| /' conftest.$ac_ext >&5
36648
36649 glibcxx_cv_func__expf_use=no
36650 fi
36651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36652       ac_ext=c
36653 ac_cpp='$CPP $CPPFLAGS'
36654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36657
36658
36659 fi
36660
36661   fi
36662   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36663 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36664
36665     if test x$glibcxx_cv_func__expf_use = x"yes"; then
36666
36667 for ac_func in _expf
36668 do
36669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36670 echo "$as_me:$LINENO: checking for $ac_func" >&5
36671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36672 if eval "test \"\${$as_ac_var+set}\" = set"; then
36673   echo $ECHO_N "(cached) $ECHO_C" >&6
36674 else
36675   if test x$gcc_no_link = xyes; then
36676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36678    { (exit 1); exit 1; }; }
36679 fi
36680 cat >conftest.$ac_ext <<_ACEOF
36681 /* confdefs.h.  */
36682 _ACEOF
36683 cat confdefs.h >>conftest.$ac_ext
36684 cat >>conftest.$ac_ext <<_ACEOF
36685 /* end confdefs.h.  */
36686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36687    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36688 #define $ac_func innocuous_$ac_func
36689
36690 /* System header to define __stub macros and hopefully few prototypes,
36691     which can conflict with char $ac_func (); below.
36692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36693     <limits.h> exists even on freestanding compilers.  */
36694
36695 #ifdef __STDC__
36696 # include <limits.h>
36697 #else
36698 # include <assert.h>
36699 #endif
36700
36701 #undef $ac_func
36702
36703 /* Override any gcc2 internal prototype to avoid an error.  */
36704 #ifdef __cplusplus
36705 extern "C"
36706 {
36707 #endif
36708 /* We use char because int might match the return type of a gcc2
36709    builtin and then its argument prototype would still apply.  */
36710 char $ac_func ();
36711 /* The GNU C library defines this for functions which it implements
36712     to always fail with ENOSYS.  Some functions are actually named
36713     something starting with __ and the normal name is an alias.  */
36714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36715 choke me
36716 #else
36717 char (*f) () = $ac_func;
36718 #endif
36719 #ifdef __cplusplus
36720 }
36721 #endif
36722
36723 int
36724 main ()
36725 {
36726 return f != $ac_func;
36727   ;
36728   return 0;
36729 }
36730 _ACEOF
36731 rm -f conftest.$ac_objext conftest$ac_exeext
36732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36733   (eval $ac_link) 2>conftest.er1
36734   ac_status=$?
36735   grep -v '^ *+' conftest.er1 >conftest.err
36736   rm -f conftest.er1
36737   cat conftest.err >&5
36738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36739   (exit $ac_status); } &&
36740          { ac_try='test -z "$ac_c_werror_flag"
36741                          || test ! -s conftest.err'
36742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36743   (eval $ac_try) 2>&5
36744   ac_status=$?
36745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36746   (exit $ac_status); }; } &&
36747          { ac_try='test -s conftest$ac_exeext'
36748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36749   (eval $ac_try) 2>&5
36750   ac_status=$?
36751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36752   (exit $ac_status); }; }; then
36753   eval "$as_ac_var=yes"
36754 else
36755   echo "$as_me: failed program was:" >&5
36756 sed 's/^/| /' conftest.$ac_ext >&5
36757
36758 eval "$as_ac_var=no"
36759 fi
36760 rm -f conftest.err conftest.$ac_objext \
36761       conftest$ac_exeext conftest.$ac_ext
36762 fi
36763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36765 if test `eval echo '${'$as_ac_var'}'` = yes; then
36766   cat >>confdefs.h <<_ACEOF
36767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36768 _ACEOF
36769
36770 fi
36771 done
36772
36773     fi
36774   fi
36775
36776
36777
36778
36779
36780
36781   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36782 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36783   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36784     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36785   echo $ECHO_N "(cached) $ECHO_C" >&6
36786 else
36787
36788
36789
36790       ac_ext=cc
36791 ac_cpp='$CXXCPP $CPPFLAGS'
36792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36795
36796       cat >conftest.$ac_ext <<_ACEOF
36797 /* confdefs.h.  */
36798 _ACEOF
36799 cat confdefs.h >>conftest.$ac_ext
36800 cat >>conftest.$ac_ext <<_ACEOF
36801 /* end confdefs.h.  */
36802 #include <math.h>
36803                       #ifdef HAVE_IEEEFP_H
36804                       #include <ieeefp.h>
36805                       #endif
36806
36807 int
36808 main ()
36809 {
36810  isnanf(0);
36811   ;
36812   return 0;
36813 }
36814 _ACEOF
36815 rm -f conftest.$ac_objext
36816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36817   (eval $ac_compile) 2>conftest.er1
36818   ac_status=$?
36819   grep -v '^ *+' conftest.er1 >conftest.err
36820   rm -f conftest.er1
36821   cat conftest.err >&5
36822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36823   (exit $ac_status); } &&
36824          { ac_try='test -z "$ac_cxx_werror_flag"
36825                          || test ! -s conftest.err'
36826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36827   (eval $ac_try) 2>&5
36828   ac_status=$?
36829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36830   (exit $ac_status); }; } &&
36831          { ac_try='test -s conftest.$ac_objext'
36832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36833   (eval $ac_try) 2>&5
36834   ac_status=$?
36835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36836   (exit $ac_status); }; }; then
36837   glibcxx_cv_func_isnanf_use=yes
36838 else
36839   echo "$as_me: failed program was:" >&5
36840 sed 's/^/| /' conftest.$ac_ext >&5
36841
36842 glibcxx_cv_func_isnanf_use=no
36843 fi
36844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36845       ac_ext=c
36846 ac_cpp='$CPP $CPPFLAGS'
36847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36850
36851
36852 fi
36853
36854   fi
36855   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
36856 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
36857
36858   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36859
36860 for ac_func in isnanf
36861 do
36862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36863 echo "$as_me:$LINENO: checking for $ac_func" >&5
36864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36865 if eval "test \"\${$as_ac_var+set}\" = set"; then
36866   echo $ECHO_N "(cached) $ECHO_C" >&6
36867 else
36868   if test x$gcc_no_link = xyes; then
36869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36871    { (exit 1); exit 1; }; }
36872 fi
36873 cat >conftest.$ac_ext <<_ACEOF
36874 /* confdefs.h.  */
36875 _ACEOF
36876 cat confdefs.h >>conftest.$ac_ext
36877 cat >>conftest.$ac_ext <<_ACEOF
36878 /* end confdefs.h.  */
36879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36881 #define $ac_func innocuous_$ac_func
36882
36883 /* System header to define __stub macros and hopefully few prototypes,
36884     which can conflict with char $ac_func (); below.
36885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36886     <limits.h> exists even on freestanding compilers.  */
36887
36888 #ifdef __STDC__
36889 # include <limits.h>
36890 #else
36891 # include <assert.h>
36892 #endif
36893
36894 #undef $ac_func
36895
36896 /* Override any gcc2 internal prototype to avoid an error.  */
36897 #ifdef __cplusplus
36898 extern "C"
36899 {
36900 #endif
36901 /* We use char because int might match the return type of a gcc2
36902    builtin and then its argument prototype would still apply.  */
36903 char $ac_func ();
36904 /* The GNU C library defines this for functions which it implements
36905     to always fail with ENOSYS.  Some functions are actually named
36906     something starting with __ and the normal name is an alias.  */
36907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36908 choke me
36909 #else
36910 char (*f) () = $ac_func;
36911 #endif
36912 #ifdef __cplusplus
36913 }
36914 #endif
36915
36916 int
36917 main ()
36918 {
36919 return f != $ac_func;
36920   ;
36921   return 0;
36922 }
36923 _ACEOF
36924 rm -f conftest.$ac_objext conftest$ac_exeext
36925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36926   (eval $ac_link) 2>conftest.er1
36927   ac_status=$?
36928   grep -v '^ *+' conftest.er1 >conftest.err
36929   rm -f conftest.er1
36930   cat conftest.err >&5
36931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36932   (exit $ac_status); } &&
36933          { ac_try='test -z "$ac_c_werror_flag"
36934                          || test ! -s conftest.err'
36935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36936   (eval $ac_try) 2>&5
36937   ac_status=$?
36938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36939   (exit $ac_status); }; } &&
36940          { ac_try='test -s conftest$ac_exeext'
36941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36942   (eval $ac_try) 2>&5
36943   ac_status=$?
36944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36945   (exit $ac_status); }; }; then
36946   eval "$as_ac_var=yes"
36947 else
36948   echo "$as_me: failed program was:" >&5
36949 sed 's/^/| /' conftest.$ac_ext >&5
36950
36951 eval "$as_ac_var=no"
36952 fi
36953 rm -f conftest.err conftest.$ac_objext \
36954       conftest$ac_exeext conftest.$ac_ext
36955 fi
36956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36958 if test `eval echo '${'$as_ac_var'}'` = yes; then
36959   cat >>confdefs.h <<_ACEOF
36960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36961 _ACEOF
36962
36963 fi
36964 done
36965
36966   else
36967
36968   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
36969 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
36970   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36971     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
36972   echo $ECHO_N "(cached) $ECHO_C" >&6
36973 else
36974
36975
36976
36977       ac_ext=cc
36978 ac_cpp='$CXXCPP $CPPFLAGS'
36979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36982
36983       cat >conftest.$ac_ext <<_ACEOF
36984 /* confdefs.h.  */
36985 _ACEOF
36986 cat confdefs.h >>conftest.$ac_ext
36987 cat >>conftest.$ac_ext <<_ACEOF
36988 /* end confdefs.h.  */
36989 #include <math.h>
36990                       #ifdef HAVE_IEEEFP_H
36991                       #include <ieeefp.h>
36992                       #endif
36993
36994 int
36995 main ()
36996 {
36997  _isnanf(0);
36998   ;
36999   return 0;
37000 }
37001 _ACEOF
37002 rm -f conftest.$ac_objext
37003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37004   (eval $ac_compile) 2>conftest.er1
37005   ac_status=$?
37006   grep -v '^ *+' conftest.er1 >conftest.err
37007   rm -f conftest.er1
37008   cat conftest.err >&5
37009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010   (exit $ac_status); } &&
37011          { ac_try='test -z "$ac_cxx_werror_flag"
37012                          || test ! -s conftest.err'
37013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37014   (eval $ac_try) 2>&5
37015   ac_status=$?
37016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37017   (exit $ac_status); }; } &&
37018          { ac_try='test -s conftest.$ac_objext'
37019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37020   (eval $ac_try) 2>&5
37021   ac_status=$?
37022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37023   (exit $ac_status); }; }; then
37024   glibcxx_cv_func__isnanf_use=yes
37025 else
37026   echo "$as_me: failed program was:" >&5
37027 sed 's/^/| /' conftest.$ac_ext >&5
37028
37029 glibcxx_cv_func__isnanf_use=no
37030 fi
37031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37032       ac_ext=c
37033 ac_cpp='$CPP $CPPFLAGS'
37034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37037
37038
37039 fi
37040
37041   fi
37042   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37043 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37044
37045     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37046
37047 for ac_func in _isnanf
37048 do
37049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37050 echo "$as_me:$LINENO: checking for $ac_func" >&5
37051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37052 if eval "test \"\${$as_ac_var+set}\" = set"; then
37053   echo $ECHO_N "(cached) $ECHO_C" >&6
37054 else
37055   if test x$gcc_no_link = xyes; then
37056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37058    { (exit 1); exit 1; }; }
37059 fi
37060 cat >conftest.$ac_ext <<_ACEOF
37061 /* confdefs.h.  */
37062 _ACEOF
37063 cat confdefs.h >>conftest.$ac_ext
37064 cat >>conftest.$ac_ext <<_ACEOF
37065 /* end confdefs.h.  */
37066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37067    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37068 #define $ac_func innocuous_$ac_func
37069
37070 /* System header to define __stub macros and hopefully few prototypes,
37071     which can conflict with char $ac_func (); below.
37072     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37073     <limits.h> exists even on freestanding compilers.  */
37074
37075 #ifdef __STDC__
37076 # include <limits.h>
37077 #else
37078 # include <assert.h>
37079 #endif
37080
37081 #undef $ac_func
37082
37083 /* Override any gcc2 internal prototype to avoid an error.  */
37084 #ifdef __cplusplus
37085 extern "C"
37086 {
37087 #endif
37088 /* We use char because int might match the return type of a gcc2
37089    builtin and then its argument prototype would still apply.  */
37090 char $ac_func ();
37091 /* The GNU C library defines this for functions which it implements
37092     to always fail with ENOSYS.  Some functions are actually named
37093     something starting with __ and the normal name is an alias.  */
37094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37095 choke me
37096 #else
37097 char (*f) () = $ac_func;
37098 #endif
37099 #ifdef __cplusplus
37100 }
37101 #endif
37102
37103 int
37104 main ()
37105 {
37106 return f != $ac_func;
37107   ;
37108   return 0;
37109 }
37110 _ACEOF
37111 rm -f conftest.$ac_objext conftest$ac_exeext
37112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37113   (eval $ac_link) 2>conftest.er1
37114   ac_status=$?
37115   grep -v '^ *+' conftest.er1 >conftest.err
37116   rm -f conftest.er1
37117   cat conftest.err >&5
37118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37119   (exit $ac_status); } &&
37120          { ac_try='test -z "$ac_c_werror_flag"
37121                          || test ! -s conftest.err'
37122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37123   (eval $ac_try) 2>&5
37124   ac_status=$?
37125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37126   (exit $ac_status); }; } &&
37127          { ac_try='test -s conftest$ac_exeext'
37128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37129   (eval $ac_try) 2>&5
37130   ac_status=$?
37131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37132   (exit $ac_status); }; }; then
37133   eval "$as_ac_var=yes"
37134 else
37135   echo "$as_me: failed program was:" >&5
37136 sed 's/^/| /' conftest.$ac_ext >&5
37137
37138 eval "$as_ac_var=no"
37139 fi
37140 rm -f conftest.err conftest.$ac_objext \
37141       conftest$ac_exeext conftest.$ac_ext
37142 fi
37143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37145 if test `eval echo '${'$as_ac_var'}'` = yes; then
37146   cat >>confdefs.h <<_ACEOF
37147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37148 _ACEOF
37149
37150 fi
37151 done
37152
37153     fi
37154   fi
37155
37156
37157
37158
37159
37160
37161   echo "$as_me:$LINENO: checking for isinff declaration" >&5
37162 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37163   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37164     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37165   echo $ECHO_N "(cached) $ECHO_C" >&6
37166 else
37167
37168
37169
37170       ac_ext=cc
37171 ac_cpp='$CXXCPP $CPPFLAGS'
37172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37175
37176       cat >conftest.$ac_ext <<_ACEOF
37177 /* confdefs.h.  */
37178 _ACEOF
37179 cat confdefs.h >>conftest.$ac_ext
37180 cat >>conftest.$ac_ext <<_ACEOF
37181 /* end confdefs.h.  */
37182 #include <math.h>
37183                       #ifdef HAVE_IEEEFP_H
37184                       #include <ieeefp.h>
37185                       #endif
37186
37187 int
37188 main ()
37189 {
37190  isinff(0);
37191   ;
37192   return 0;
37193 }
37194 _ACEOF
37195 rm -f conftest.$ac_objext
37196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37197   (eval $ac_compile) 2>conftest.er1
37198   ac_status=$?
37199   grep -v '^ *+' conftest.er1 >conftest.err
37200   rm -f conftest.er1
37201   cat conftest.err >&5
37202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203   (exit $ac_status); } &&
37204          { ac_try='test -z "$ac_cxx_werror_flag"
37205                          || test ! -s conftest.err'
37206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37207   (eval $ac_try) 2>&5
37208   ac_status=$?
37209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210   (exit $ac_status); }; } &&
37211          { ac_try='test -s conftest.$ac_objext'
37212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37213   (eval $ac_try) 2>&5
37214   ac_status=$?
37215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216   (exit $ac_status); }; }; then
37217   glibcxx_cv_func_isinff_use=yes
37218 else
37219   echo "$as_me: failed program was:" >&5
37220 sed 's/^/| /' conftest.$ac_ext >&5
37221
37222 glibcxx_cv_func_isinff_use=no
37223 fi
37224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37225       ac_ext=c
37226 ac_cpp='$CPP $CPPFLAGS'
37227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37230
37231
37232 fi
37233
37234   fi
37235   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37236 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37237
37238   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37239
37240 for ac_func in isinff
37241 do
37242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37243 echo "$as_me:$LINENO: checking for $ac_func" >&5
37244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37245 if eval "test \"\${$as_ac_var+set}\" = set"; then
37246   echo $ECHO_N "(cached) $ECHO_C" >&6
37247 else
37248   if test x$gcc_no_link = xyes; then
37249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37251    { (exit 1); exit 1; }; }
37252 fi
37253 cat >conftest.$ac_ext <<_ACEOF
37254 /* confdefs.h.  */
37255 _ACEOF
37256 cat confdefs.h >>conftest.$ac_ext
37257 cat >>conftest.$ac_ext <<_ACEOF
37258 /* end confdefs.h.  */
37259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37260    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37261 #define $ac_func innocuous_$ac_func
37262
37263 /* System header to define __stub macros and hopefully few prototypes,
37264     which can conflict with char $ac_func (); below.
37265     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37266     <limits.h> exists even on freestanding compilers.  */
37267
37268 #ifdef __STDC__
37269 # include <limits.h>
37270 #else
37271 # include <assert.h>
37272 #endif
37273
37274 #undef $ac_func
37275
37276 /* Override any gcc2 internal prototype to avoid an error.  */
37277 #ifdef __cplusplus
37278 extern "C"
37279 {
37280 #endif
37281 /* We use char because int might match the return type of a gcc2
37282    builtin and then its argument prototype would still apply.  */
37283 char $ac_func ();
37284 /* The GNU C library defines this for functions which it implements
37285     to always fail with ENOSYS.  Some functions are actually named
37286     something starting with __ and the normal name is an alias.  */
37287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37288 choke me
37289 #else
37290 char (*f) () = $ac_func;
37291 #endif
37292 #ifdef __cplusplus
37293 }
37294 #endif
37295
37296 int
37297 main ()
37298 {
37299 return f != $ac_func;
37300   ;
37301   return 0;
37302 }
37303 _ACEOF
37304 rm -f conftest.$ac_objext conftest$ac_exeext
37305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37306   (eval $ac_link) 2>conftest.er1
37307   ac_status=$?
37308   grep -v '^ *+' conftest.er1 >conftest.err
37309   rm -f conftest.er1
37310   cat conftest.err >&5
37311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37312   (exit $ac_status); } &&
37313          { ac_try='test -z "$ac_c_werror_flag"
37314                          || test ! -s conftest.err'
37315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37316   (eval $ac_try) 2>&5
37317   ac_status=$?
37318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319   (exit $ac_status); }; } &&
37320          { ac_try='test -s conftest$ac_exeext'
37321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37322   (eval $ac_try) 2>&5
37323   ac_status=$?
37324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325   (exit $ac_status); }; }; then
37326   eval "$as_ac_var=yes"
37327 else
37328   echo "$as_me: failed program was:" >&5
37329 sed 's/^/| /' conftest.$ac_ext >&5
37330
37331 eval "$as_ac_var=no"
37332 fi
37333 rm -f conftest.err conftest.$ac_objext \
37334       conftest$ac_exeext conftest.$ac_ext
37335 fi
37336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37338 if test `eval echo '${'$as_ac_var'}'` = yes; then
37339   cat >>confdefs.h <<_ACEOF
37340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37341 _ACEOF
37342
37343 fi
37344 done
37345
37346   else
37347
37348   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37349 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37350   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37351     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37352   echo $ECHO_N "(cached) $ECHO_C" >&6
37353 else
37354
37355
37356
37357       ac_ext=cc
37358 ac_cpp='$CXXCPP $CPPFLAGS'
37359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37362
37363       cat >conftest.$ac_ext <<_ACEOF
37364 /* confdefs.h.  */
37365 _ACEOF
37366 cat confdefs.h >>conftest.$ac_ext
37367 cat >>conftest.$ac_ext <<_ACEOF
37368 /* end confdefs.h.  */
37369 #include <math.h>
37370                       #ifdef HAVE_IEEEFP_H
37371                       #include <ieeefp.h>
37372                       #endif
37373
37374 int
37375 main ()
37376 {
37377  _isinff(0);
37378   ;
37379   return 0;
37380 }
37381 _ACEOF
37382 rm -f conftest.$ac_objext
37383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37384   (eval $ac_compile) 2>conftest.er1
37385   ac_status=$?
37386   grep -v '^ *+' conftest.er1 >conftest.err
37387   rm -f conftest.er1
37388   cat conftest.err >&5
37389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390   (exit $ac_status); } &&
37391          { ac_try='test -z "$ac_cxx_werror_flag"
37392                          || test ! -s conftest.err'
37393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37394   (eval $ac_try) 2>&5
37395   ac_status=$?
37396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37397   (exit $ac_status); }; } &&
37398          { ac_try='test -s conftest.$ac_objext'
37399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37400   (eval $ac_try) 2>&5
37401   ac_status=$?
37402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37403   (exit $ac_status); }; }; then
37404   glibcxx_cv_func__isinff_use=yes
37405 else
37406   echo "$as_me: failed program was:" >&5
37407 sed 's/^/| /' conftest.$ac_ext >&5
37408
37409 glibcxx_cv_func__isinff_use=no
37410 fi
37411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37412       ac_ext=c
37413 ac_cpp='$CPP $CPPFLAGS'
37414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37417
37418
37419 fi
37420
37421   fi
37422   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37423 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37424
37425     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37426
37427 for ac_func in _isinff
37428 do
37429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37430 echo "$as_me:$LINENO: checking for $ac_func" >&5
37431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37432 if eval "test \"\${$as_ac_var+set}\" = set"; then
37433   echo $ECHO_N "(cached) $ECHO_C" >&6
37434 else
37435   if test x$gcc_no_link = xyes; then
37436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37438    { (exit 1); exit 1; }; }
37439 fi
37440 cat >conftest.$ac_ext <<_ACEOF
37441 /* confdefs.h.  */
37442 _ACEOF
37443 cat confdefs.h >>conftest.$ac_ext
37444 cat >>conftest.$ac_ext <<_ACEOF
37445 /* end confdefs.h.  */
37446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37447    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37448 #define $ac_func innocuous_$ac_func
37449
37450 /* System header to define __stub macros and hopefully few prototypes,
37451     which can conflict with char $ac_func (); below.
37452     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37453     <limits.h> exists even on freestanding compilers.  */
37454
37455 #ifdef __STDC__
37456 # include <limits.h>
37457 #else
37458 # include <assert.h>
37459 #endif
37460
37461 #undef $ac_func
37462
37463 /* Override any gcc2 internal prototype to avoid an error.  */
37464 #ifdef __cplusplus
37465 extern "C"
37466 {
37467 #endif
37468 /* We use char because int might match the return type of a gcc2
37469    builtin and then its argument prototype would still apply.  */
37470 char $ac_func ();
37471 /* The GNU C library defines this for functions which it implements
37472     to always fail with ENOSYS.  Some functions are actually named
37473     something starting with __ and the normal name is an alias.  */
37474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37475 choke me
37476 #else
37477 char (*f) () = $ac_func;
37478 #endif
37479 #ifdef __cplusplus
37480 }
37481 #endif
37482
37483 int
37484 main ()
37485 {
37486 return f != $ac_func;
37487   ;
37488   return 0;
37489 }
37490 _ACEOF
37491 rm -f conftest.$ac_objext conftest$ac_exeext
37492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37493   (eval $ac_link) 2>conftest.er1
37494   ac_status=$?
37495   grep -v '^ *+' conftest.er1 >conftest.err
37496   rm -f conftest.er1
37497   cat conftest.err >&5
37498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37499   (exit $ac_status); } &&
37500          { ac_try='test -z "$ac_c_werror_flag"
37501                          || test ! -s conftest.err'
37502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37503   (eval $ac_try) 2>&5
37504   ac_status=$?
37505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37506   (exit $ac_status); }; } &&
37507          { ac_try='test -s conftest$ac_exeext'
37508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37509   (eval $ac_try) 2>&5
37510   ac_status=$?
37511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37512   (exit $ac_status); }; }; then
37513   eval "$as_ac_var=yes"
37514 else
37515   echo "$as_me: failed program was:" >&5
37516 sed 's/^/| /' conftest.$ac_ext >&5
37517
37518 eval "$as_ac_var=no"
37519 fi
37520 rm -f conftest.err conftest.$ac_objext \
37521       conftest$ac_exeext conftest.$ac_ext
37522 fi
37523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37525 if test `eval echo '${'$as_ac_var'}'` = yes; then
37526   cat >>confdefs.h <<_ACEOF
37527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37528 _ACEOF
37529
37530 fi
37531 done
37532
37533     fi
37534   fi
37535
37536
37537
37538
37539
37540
37541   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37542 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37543   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37544     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37545   echo $ECHO_N "(cached) $ECHO_C" >&6
37546 else
37547
37548
37549
37550       ac_ext=cc
37551 ac_cpp='$CXXCPP $CPPFLAGS'
37552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37555
37556       cat >conftest.$ac_ext <<_ACEOF
37557 /* confdefs.h.  */
37558 _ACEOF
37559 cat confdefs.h >>conftest.$ac_ext
37560 cat >>conftest.$ac_ext <<_ACEOF
37561 /* end confdefs.h.  */
37562 #include <math.h>
37563 int
37564 main ()
37565 {
37566  atan2f(0, 0);
37567   ;
37568   return 0;
37569 }
37570 _ACEOF
37571 rm -f conftest.$ac_objext
37572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37573   (eval $ac_compile) 2>conftest.er1
37574   ac_status=$?
37575   grep -v '^ *+' conftest.er1 >conftest.err
37576   rm -f conftest.er1
37577   cat conftest.err >&5
37578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37579   (exit $ac_status); } &&
37580          { ac_try='test -z "$ac_cxx_werror_flag"
37581                          || test ! -s conftest.err'
37582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37583   (eval $ac_try) 2>&5
37584   ac_status=$?
37585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37586   (exit $ac_status); }; } &&
37587          { ac_try='test -s conftest.$ac_objext'
37588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37589   (eval $ac_try) 2>&5
37590   ac_status=$?
37591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37592   (exit $ac_status); }; }; then
37593   glibcxx_cv_func_atan2f_use=yes
37594 else
37595   echo "$as_me: failed program was:" >&5
37596 sed 's/^/| /' conftest.$ac_ext >&5
37597
37598 glibcxx_cv_func_atan2f_use=no
37599 fi
37600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37601       ac_ext=c
37602 ac_cpp='$CPP $CPPFLAGS'
37603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37606
37607
37608 fi
37609
37610   fi
37611   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37612 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37613
37614   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37615
37616 for ac_func in atan2f
37617 do
37618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37619 echo "$as_me:$LINENO: checking for $ac_func" >&5
37620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37621 if eval "test \"\${$as_ac_var+set}\" = set"; then
37622   echo $ECHO_N "(cached) $ECHO_C" >&6
37623 else
37624   if test x$gcc_no_link = xyes; then
37625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37627    { (exit 1); exit 1; }; }
37628 fi
37629 cat >conftest.$ac_ext <<_ACEOF
37630 /* confdefs.h.  */
37631 _ACEOF
37632 cat confdefs.h >>conftest.$ac_ext
37633 cat >>conftest.$ac_ext <<_ACEOF
37634 /* end confdefs.h.  */
37635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37636    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37637 #define $ac_func innocuous_$ac_func
37638
37639 /* System header to define __stub macros and hopefully few prototypes,
37640     which can conflict with char $ac_func (); below.
37641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37642     <limits.h> exists even on freestanding compilers.  */
37643
37644 #ifdef __STDC__
37645 # include <limits.h>
37646 #else
37647 # include <assert.h>
37648 #endif
37649
37650 #undef $ac_func
37651
37652 /* Override any gcc2 internal prototype to avoid an error.  */
37653 #ifdef __cplusplus
37654 extern "C"
37655 {
37656 #endif
37657 /* We use char because int might match the return type of a gcc2
37658    builtin and then its argument prototype would still apply.  */
37659 char $ac_func ();
37660 /* The GNU C library defines this for functions which it implements
37661     to always fail with ENOSYS.  Some functions are actually named
37662     something starting with __ and the normal name is an alias.  */
37663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37664 choke me
37665 #else
37666 char (*f) () = $ac_func;
37667 #endif
37668 #ifdef __cplusplus
37669 }
37670 #endif
37671
37672 int
37673 main ()
37674 {
37675 return f != $ac_func;
37676   ;
37677   return 0;
37678 }
37679 _ACEOF
37680 rm -f conftest.$ac_objext conftest$ac_exeext
37681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37682   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
37703 else
37704   echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.$ac_ext >&5
37706
37707 eval "$as_ac_var=no"
37708 fi
37709 rm -f conftest.err conftest.$ac_objext \
37710       conftest$ac_exeext conftest.$ac_ext
37711 fi
37712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37714 if test `eval echo '${'$as_ac_var'}'` = yes; then
37715   cat >>confdefs.h <<_ACEOF
37716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37717 _ACEOF
37718
37719 fi
37720 done
37721
37722   else
37723
37724   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37725 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37726   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37727     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37728   echo $ECHO_N "(cached) $ECHO_C" >&6
37729 else
37730
37731
37732
37733       ac_ext=cc
37734 ac_cpp='$CXXCPP $CPPFLAGS'
37735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37738
37739       cat >conftest.$ac_ext <<_ACEOF
37740 /* confdefs.h.  */
37741 _ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h.  */
37745 #include <math.h>
37746 int
37747 main ()
37748 {
37749  _atan2f(0, 0);
37750   ;
37751   return 0;
37752 }
37753 _ACEOF
37754 rm -f conftest.$ac_objext
37755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37756   (eval $ac_compile) 2>conftest.er1
37757   ac_status=$?
37758   grep -v '^ *+' conftest.er1 >conftest.err
37759   rm -f conftest.er1
37760   cat conftest.err >&5
37761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37762   (exit $ac_status); } &&
37763          { ac_try='test -z "$ac_cxx_werror_flag"
37764                          || test ! -s conftest.err'
37765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37766   (eval $ac_try) 2>&5
37767   ac_status=$?
37768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37769   (exit $ac_status); }; } &&
37770          { ac_try='test -s conftest.$ac_objext'
37771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37772   (eval $ac_try) 2>&5
37773   ac_status=$?
37774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37775   (exit $ac_status); }; }; then
37776   glibcxx_cv_func__atan2f_use=yes
37777 else
37778   echo "$as_me: failed program was:" >&5
37779 sed 's/^/| /' conftest.$ac_ext >&5
37780
37781 glibcxx_cv_func__atan2f_use=no
37782 fi
37783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37784       ac_ext=c
37785 ac_cpp='$CPP $CPPFLAGS'
37786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37789
37790
37791 fi
37792
37793   fi
37794   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37795 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37796
37797     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37798
37799 for ac_func in _atan2f
37800 do
37801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37802 echo "$as_me:$LINENO: checking for $ac_func" >&5
37803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37804 if eval "test \"\${$as_ac_var+set}\" = set"; then
37805   echo $ECHO_N "(cached) $ECHO_C" >&6
37806 else
37807   if test x$gcc_no_link = xyes; then
37808   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37810    { (exit 1); exit 1; }; }
37811 fi
37812 cat >conftest.$ac_ext <<_ACEOF
37813 /* confdefs.h.  */
37814 _ACEOF
37815 cat confdefs.h >>conftest.$ac_ext
37816 cat >>conftest.$ac_ext <<_ACEOF
37817 /* end confdefs.h.  */
37818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37819    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37820 #define $ac_func innocuous_$ac_func
37821
37822 /* System header to define __stub macros and hopefully few prototypes,
37823     which can conflict with char $ac_func (); below.
37824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37825     <limits.h> exists even on freestanding compilers.  */
37826
37827 #ifdef __STDC__
37828 # include <limits.h>
37829 #else
37830 # include <assert.h>
37831 #endif
37832
37833 #undef $ac_func
37834
37835 /* Override any gcc2 internal prototype to avoid an error.  */
37836 #ifdef __cplusplus
37837 extern "C"
37838 {
37839 #endif
37840 /* We use char because int might match the return type of a gcc2
37841    builtin and then its argument prototype would still apply.  */
37842 char $ac_func ();
37843 /* The GNU C library defines this for functions which it implements
37844     to always fail with ENOSYS.  Some functions are actually named
37845     something starting with __ and the normal name is an alias.  */
37846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37847 choke me
37848 #else
37849 char (*f) () = $ac_func;
37850 #endif
37851 #ifdef __cplusplus
37852 }
37853 #endif
37854
37855 int
37856 main ()
37857 {
37858 return f != $ac_func;
37859   ;
37860   return 0;
37861 }
37862 _ACEOF
37863 rm -f conftest.$ac_objext conftest$ac_exeext
37864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37865   (eval $ac_link) 2>conftest.er1
37866   ac_status=$?
37867   grep -v '^ *+' conftest.er1 >conftest.err
37868   rm -f conftest.er1
37869   cat conftest.err >&5
37870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871   (exit $ac_status); } &&
37872          { ac_try='test -z "$ac_c_werror_flag"
37873                          || test ! -s conftest.err'
37874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37875   (eval $ac_try) 2>&5
37876   ac_status=$?
37877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878   (exit $ac_status); }; } &&
37879          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
37885   eval "$as_ac_var=yes"
37886 else
37887   echo "$as_me: failed program was:" >&5
37888 sed 's/^/| /' conftest.$ac_ext >&5
37889
37890 eval "$as_ac_var=no"
37891 fi
37892 rm -f conftest.err conftest.$ac_objext \
37893       conftest$ac_exeext conftest.$ac_ext
37894 fi
37895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37897 if test `eval echo '${'$as_ac_var'}'` = yes; then
37898   cat >>confdefs.h <<_ACEOF
37899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37900 _ACEOF
37901
37902 fi
37903 done
37904
37905     fi
37906   fi
37907
37908
37909
37910
37911
37912
37913   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
37914 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
37915   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37916     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
37917   echo $ECHO_N "(cached) $ECHO_C" >&6
37918 else
37919
37920
37921
37922       ac_ext=cc
37923 ac_cpp='$CXXCPP $CPPFLAGS'
37924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37927
37928       cat >conftest.$ac_ext <<_ACEOF
37929 /* confdefs.h.  */
37930 _ACEOF
37931 cat confdefs.h >>conftest.$ac_ext
37932 cat >>conftest.$ac_ext <<_ACEOF
37933 /* end confdefs.h.  */
37934 #include <math.h>
37935                       #ifdef HAVE_IEEEFP_H
37936                       #include <ieeefp.h>
37937                       #endif
37938
37939 int
37940 main ()
37941 {
37942  fabsf(0);
37943   ;
37944   return 0;
37945 }
37946 _ACEOF
37947 rm -f conftest.$ac_objext
37948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37949   (eval $ac_compile) 2>conftest.er1
37950   ac_status=$?
37951   grep -v '^ *+' conftest.er1 >conftest.err
37952   rm -f conftest.er1
37953   cat conftest.err >&5
37954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37955   (exit $ac_status); } &&
37956          { ac_try='test -z "$ac_cxx_werror_flag"
37957                          || test ! -s conftest.err'
37958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37959   (eval $ac_try) 2>&5
37960   ac_status=$?
37961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37962   (exit $ac_status); }; } &&
37963          { ac_try='test -s conftest.$ac_objext'
37964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37965   (eval $ac_try) 2>&5
37966   ac_status=$?
37967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968   (exit $ac_status); }; }; then
37969   glibcxx_cv_func_fabsf_use=yes
37970 else
37971   echo "$as_me: failed program was:" >&5
37972 sed 's/^/| /' conftest.$ac_ext >&5
37973
37974 glibcxx_cv_func_fabsf_use=no
37975 fi
37976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37977       ac_ext=c
37978 ac_cpp='$CPP $CPPFLAGS'
37979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37982
37983
37984 fi
37985
37986   fi
37987   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
37988 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
37989
37990   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37991
37992 for ac_func in fabsf
37993 do
37994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37995 echo "$as_me:$LINENO: checking for $ac_func" >&5
37996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37997 if eval "test \"\${$as_ac_var+set}\" = set"; then
37998   echo $ECHO_N "(cached) $ECHO_C" >&6
37999 else
38000   if test x$gcc_no_link = xyes; then
38001   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38003    { (exit 1); exit 1; }; }
38004 fi
38005 cat >conftest.$ac_ext <<_ACEOF
38006 /* confdefs.h.  */
38007 _ACEOF
38008 cat confdefs.h >>conftest.$ac_ext
38009 cat >>conftest.$ac_ext <<_ACEOF
38010 /* end confdefs.h.  */
38011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38012    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38013 #define $ac_func innocuous_$ac_func
38014
38015 /* System header to define __stub macros and hopefully few prototypes,
38016     which can conflict with char $ac_func (); below.
38017     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38018     <limits.h> exists even on freestanding compilers.  */
38019
38020 #ifdef __STDC__
38021 # include <limits.h>
38022 #else
38023 # include <assert.h>
38024 #endif
38025
38026 #undef $ac_func
38027
38028 /* Override any gcc2 internal prototype to avoid an error.  */
38029 #ifdef __cplusplus
38030 extern "C"
38031 {
38032 #endif
38033 /* We use char because int might match the return type of a gcc2
38034    builtin and then its argument prototype would still apply.  */
38035 char $ac_func ();
38036 /* The GNU C library defines this for functions which it implements
38037     to always fail with ENOSYS.  Some functions are actually named
38038     something starting with __ and the normal name is an alias.  */
38039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38040 choke me
38041 #else
38042 char (*f) () = $ac_func;
38043 #endif
38044 #ifdef __cplusplus
38045 }
38046 #endif
38047
38048 int
38049 main ()
38050 {
38051 return f != $ac_func;
38052   ;
38053   return 0;
38054 }
38055 _ACEOF
38056 rm -f conftest.$ac_objext conftest$ac_exeext
38057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38058   (eval $ac_link) 2>conftest.er1
38059   ac_status=$?
38060   grep -v '^ *+' conftest.er1 >conftest.err
38061   rm -f conftest.er1
38062   cat conftest.err >&5
38063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064   (exit $ac_status); } &&
38065          { ac_try='test -z "$ac_c_werror_flag"
38066                          || test ! -s conftest.err'
38067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38068   (eval $ac_try) 2>&5
38069   ac_status=$?
38070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38071   (exit $ac_status); }; } &&
38072          { ac_try='test -s conftest$ac_exeext'
38073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38074   (eval $ac_try) 2>&5
38075   ac_status=$?
38076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38077   (exit $ac_status); }; }; then
38078   eval "$as_ac_var=yes"
38079 else
38080   echo "$as_me: failed program was:" >&5
38081 sed 's/^/| /' conftest.$ac_ext >&5
38082
38083 eval "$as_ac_var=no"
38084 fi
38085 rm -f conftest.err conftest.$ac_objext \
38086       conftest$ac_exeext conftest.$ac_ext
38087 fi
38088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38090 if test `eval echo '${'$as_ac_var'}'` = yes; then
38091   cat >>confdefs.h <<_ACEOF
38092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38093 _ACEOF
38094
38095 fi
38096 done
38097
38098   else
38099
38100   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38101 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38102   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38103     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38104   echo $ECHO_N "(cached) $ECHO_C" >&6
38105 else
38106
38107
38108
38109       ac_ext=cc
38110 ac_cpp='$CXXCPP $CPPFLAGS'
38111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38114
38115       cat >conftest.$ac_ext <<_ACEOF
38116 /* confdefs.h.  */
38117 _ACEOF
38118 cat confdefs.h >>conftest.$ac_ext
38119 cat >>conftest.$ac_ext <<_ACEOF
38120 /* end confdefs.h.  */
38121 #include <math.h>
38122                       #ifdef HAVE_IEEEFP_H
38123                       #include <ieeefp.h>
38124                       #endif
38125
38126 int
38127 main ()
38128 {
38129  _fabsf(0);
38130   ;
38131   return 0;
38132 }
38133 _ACEOF
38134 rm -f conftest.$ac_objext
38135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38136   (eval $ac_compile) 2>conftest.er1
38137   ac_status=$?
38138   grep -v '^ *+' conftest.er1 >conftest.err
38139   rm -f conftest.er1
38140   cat conftest.err >&5
38141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142   (exit $ac_status); } &&
38143          { ac_try='test -z "$ac_cxx_werror_flag"
38144                          || test ! -s conftest.err'
38145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38146   (eval $ac_try) 2>&5
38147   ac_status=$?
38148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149   (exit $ac_status); }; } &&
38150          { ac_try='test -s conftest.$ac_objext'
38151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38152   (eval $ac_try) 2>&5
38153   ac_status=$?
38154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155   (exit $ac_status); }; }; then
38156   glibcxx_cv_func__fabsf_use=yes
38157 else
38158   echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.$ac_ext >&5
38160
38161 glibcxx_cv_func__fabsf_use=no
38162 fi
38163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38164       ac_ext=c
38165 ac_cpp='$CPP $CPPFLAGS'
38166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38169
38170
38171 fi
38172
38173   fi
38174   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38175 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38176
38177     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38178
38179 for ac_func in _fabsf
38180 do
38181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38182 echo "$as_me:$LINENO: checking for $ac_func" >&5
38183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38184 if eval "test \"\${$as_ac_var+set}\" = set"; then
38185   echo $ECHO_N "(cached) $ECHO_C" >&6
38186 else
38187   if test x$gcc_no_link = xyes; then
38188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38190    { (exit 1); exit 1; }; }
38191 fi
38192 cat >conftest.$ac_ext <<_ACEOF
38193 /* confdefs.h.  */
38194 _ACEOF
38195 cat confdefs.h >>conftest.$ac_ext
38196 cat >>conftest.$ac_ext <<_ACEOF
38197 /* end confdefs.h.  */
38198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38200 #define $ac_func innocuous_$ac_func
38201
38202 /* System header to define __stub macros and hopefully few prototypes,
38203     which can conflict with char $ac_func (); below.
38204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38205     <limits.h> exists even on freestanding compilers.  */
38206
38207 #ifdef __STDC__
38208 # include <limits.h>
38209 #else
38210 # include <assert.h>
38211 #endif
38212
38213 #undef $ac_func
38214
38215 /* Override any gcc2 internal prototype to avoid an error.  */
38216 #ifdef __cplusplus
38217 extern "C"
38218 {
38219 #endif
38220 /* We use char because int might match the return type of a gcc2
38221    builtin and then its argument prototype would still apply.  */
38222 char $ac_func ();
38223 /* The GNU C library defines this for functions which it implements
38224     to always fail with ENOSYS.  Some functions are actually named
38225     something starting with __ and the normal name is an alias.  */
38226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38227 choke me
38228 #else
38229 char (*f) () = $ac_func;
38230 #endif
38231 #ifdef __cplusplus
38232 }
38233 #endif
38234
38235 int
38236 main ()
38237 {
38238 return f != $ac_func;
38239   ;
38240   return 0;
38241 }
38242 _ACEOF
38243 rm -f conftest.$ac_objext conftest$ac_exeext
38244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38245   (eval $ac_link) 2>conftest.er1
38246   ac_status=$?
38247   grep -v '^ *+' conftest.er1 >conftest.err
38248   rm -f conftest.er1
38249   cat conftest.err >&5
38250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251   (exit $ac_status); } &&
38252          { ac_try='test -z "$ac_c_werror_flag"
38253                          || test ! -s conftest.err'
38254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38255   (eval $ac_try) 2>&5
38256   ac_status=$?
38257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258   (exit $ac_status); }; } &&
38259          { ac_try='test -s conftest$ac_exeext'
38260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38261   (eval $ac_try) 2>&5
38262   ac_status=$?
38263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38264   (exit $ac_status); }; }; then
38265   eval "$as_ac_var=yes"
38266 else
38267   echo "$as_me: failed program was:" >&5
38268 sed 's/^/| /' conftest.$ac_ext >&5
38269
38270 eval "$as_ac_var=no"
38271 fi
38272 rm -f conftest.err conftest.$ac_objext \
38273       conftest$ac_exeext conftest.$ac_ext
38274 fi
38275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38277 if test `eval echo '${'$as_ac_var'}'` = yes; then
38278   cat >>confdefs.h <<_ACEOF
38279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38280 _ACEOF
38281
38282 fi
38283 done
38284
38285     fi
38286   fi
38287
38288
38289
38290
38291
38292
38293   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38294 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38295   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38296     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38297   echo $ECHO_N "(cached) $ECHO_C" >&6
38298 else
38299
38300
38301
38302       ac_ext=cc
38303 ac_cpp='$CXXCPP $CPPFLAGS'
38304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38307
38308       cat >conftest.$ac_ext <<_ACEOF
38309 /* confdefs.h.  */
38310 _ACEOF
38311 cat confdefs.h >>conftest.$ac_ext
38312 cat >>conftest.$ac_ext <<_ACEOF
38313 /* end confdefs.h.  */
38314 #include <math.h>
38315 int
38316 main ()
38317 {
38318  fmodf(0, 0);
38319   ;
38320   return 0;
38321 }
38322 _ACEOF
38323 rm -f conftest.$ac_objext
38324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38325   (eval $ac_compile) 2>conftest.er1
38326   ac_status=$?
38327   grep -v '^ *+' conftest.er1 >conftest.err
38328   rm -f conftest.er1
38329   cat conftest.err >&5
38330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331   (exit $ac_status); } &&
38332          { ac_try='test -z "$ac_cxx_werror_flag"
38333                          || test ! -s conftest.err'
38334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38335   (eval $ac_try) 2>&5
38336   ac_status=$?
38337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38338   (exit $ac_status); }; } &&
38339          { ac_try='test -s conftest.$ac_objext'
38340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38341   (eval $ac_try) 2>&5
38342   ac_status=$?
38343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38344   (exit $ac_status); }; }; then
38345   glibcxx_cv_func_fmodf_use=yes
38346 else
38347   echo "$as_me: failed program was:" >&5
38348 sed 's/^/| /' conftest.$ac_ext >&5
38349
38350 glibcxx_cv_func_fmodf_use=no
38351 fi
38352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38353       ac_ext=c
38354 ac_cpp='$CPP $CPPFLAGS'
38355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38358
38359
38360 fi
38361
38362   fi
38363   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38364 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38365
38366   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38367
38368 for ac_func in fmodf
38369 do
38370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38371 echo "$as_me:$LINENO: checking for $ac_func" >&5
38372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38373 if eval "test \"\${$as_ac_var+set}\" = set"; then
38374   echo $ECHO_N "(cached) $ECHO_C" >&6
38375 else
38376   if test x$gcc_no_link = xyes; then
38377   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38379    { (exit 1); exit 1; }; }
38380 fi
38381 cat >conftest.$ac_ext <<_ACEOF
38382 /* confdefs.h.  */
38383 _ACEOF
38384 cat confdefs.h >>conftest.$ac_ext
38385 cat >>conftest.$ac_ext <<_ACEOF
38386 /* end confdefs.h.  */
38387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38388    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38389 #define $ac_func innocuous_$ac_func
38390
38391 /* System header to define __stub macros and hopefully few prototypes,
38392     which can conflict with char $ac_func (); below.
38393     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38394     <limits.h> exists even on freestanding compilers.  */
38395
38396 #ifdef __STDC__
38397 # include <limits.h>
38398 #else
38399 # include <assert.h>
38400 #endif
38401
38402 #undef $ac_func
38403
38404 /* Override any gcc2 internal prototype to avoid an error.  */
38405 #ifdef __cplusplus
38406 extern "C"
38407 {
38408 #endif
38409 /* We use char because int might match the return type of a gcc2
38410    builtin and then its argument prototype would still apply.  */
38411 char $ac_func ();
38412 /* The GNU C library defines this for functions which it implements
38413     to always fail with ENOSYS.  Some functions are actually named
38414     something starting with __ and the normal name is an alias.  */
38415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38416 choke me
38417 #else
38418 char (*f) () = $ac_func;
38419 #endif
38420 #ifdef __cplusplus
38421 }
38422 #endif
38423
38424 int
38425 main ()
38426 {
38427 return f != $ac_func;
38428   ;
38429   return 0;
38430 }
38431 _ACEOF
38432 rm -f conftest.$ac_objext conftest$ac_exeext
38433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38434   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
38455 else
38456   echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.$ac_ext >&5
38458
38459 eval "$as_ac_var=no"
38460 fi
38461 rm -f conftest.err conftest.$ac_objext \
38462       conftest$ac_exeext conftest.$ac_ext
38463 fi
38464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38466 if test `eval echo '${'$as_ac_var'}'` = yes; then
38467   cat >>confdefs.h <<_ACEOF
38468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38469 _ACEOF
38470
38471 fi
38472 done
38473
38474   else
38475
38476   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38477 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38478   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38479     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38480   echo $ECHO_N "(cached) $ECHO_C" >&6
38481 else
38482
38483
38484
38485       ac_ext=cc
38486 ac_cpp='$CXXCPP $CPPFLAGS'
38487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38490
38491       cat >conftest.$ac_ext <<_ACEOF
38492 /* confdefs.h.  */
38493 _ACEOF
38494 cat confdefs.h >>conftest.$ac_ext
38495 cat >>conftest.$ac_ext <<_ACEOF
38496 /* end confdefs.h.  */
38497 #include <math.h>
38498 int
38499 main ()
38500 {
38501  _fmodf(0, 0);
38502   ;
38503   return 0;
38504 }
38505 _ACEOF
38506 rm -f conftest.$ac_objext
38507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38508   (eval $ac_compile) 2>conftest.er1
38509   ac_status=$?
38510   grep -v '^ *+' conftest.er1 >conftest.err
38511   rm -f conftest.er1
38512   cat conftest.err >&5
38513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514   (exit $ac_status); } &&
38515          { ac_try='test -z "$ac_cxx_werror_flag"
38516                          || test ! -s conftest.err'
38517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38518   (eval $ac_try) 2>&5
38519   ac_status=$?
38520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521   (exit $ac_status); }; } &&
38522          { ac_try='test -s conftest.$ac_objext'
38523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38524   (eval $ac_try) 2>&5
38525   ac_status=$?
38526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38527   (exit $ac_status); }; }; then
38528   glibcxx_cv_func__fmodf_use=yes
38529 else
38530   echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.$ac_ext >&5
38532
38533 glibcxx_cv_func__fmodf_use=no
38534 fi
38535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38536       ac_ext=c
38537 ac_cpp='$CPP $CPPFLAGS'
38538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38541
38542
38543 fi
38544
38545   fi
38546   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38547 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38548
38549     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38550
38551 for ac_func in _fmodf
38552 do
38553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38554 echo "$as_me:$LINENO: checking for $ac_func" >&5
38555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38556 if eval "test \"\${$as_ac_var+set}\" = set"; then
38557   echo $ECHO_N "(cached) $ECHO_C" >&6
38558 else
38559   if test x$gcc_no_link = xyes; then
38560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38562    { (exit 1); exit 1; }; }
38563 fi
38564 cat >conftest.$ac_ext <<_ACEOF
38565 /* confdefs.h.  */
38566 _ACEOF
38567 cat confdefs.h >>conftest.$ac_ext
38568 cat >>conftest.$ac_ext <<_ACEOF
38569 /* end confdefs.h.  */
38570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38571    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38572 #define $ac_func innocuous_$ac_func
38573
38574 /* System header to define __stub macros and hopefully few prototypes,
38575     which can conflict with char $ac_func (); below.
38576     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38577     <limits.h> exists even on freestanding compilers.  */
38578
38579 #ifdef __STDC__
38580 # include <limits.h>
38581 #else
38582 # include <assert.h>
38583 #endif
38584
38585 #undef $ac_func
38586
38587 /* Override any gcc2 internal prototype to avoid an error.  */
38588 #ifdef __cplusplus
38589 extern "C"
38590 {
38591 #endif
38592 /* We use char because int might match the return type of a gcc2
38593    builtin and then its argument prototype would still apply.  */
38594 char $ac_func ();
38595 /* The GNU C library defines this for functions which it implements
38596     to always fail with ENOSYS.  Some functions are actually named
38597     something starting with __ and the normal name is an alias.  */
38598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38599 choke me
38600 #else
38601 char (*f) () = $ac_func;
38602 #endif
38603 #ifdef __cplusplus
38604 }
38605 #endif
38606
38607 int
38608 main ()
38609 {
38610 return f != $ac_func;
38611   ;
38612   return 0;
38613 }
38614 _ACEOF
38615 rm -f conftest.$ac_objext conftest$ac_exeext
38616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38617   (eval $ac_link) 2>conftest.er1
38618   ac_status=$?
38619   grep -v '^ *+' conftest.er1 >conftest.err
38620   rm -f conftest.er1
38621   cat conftest.err >&5
38622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38623   (exit $ac_status); } &&
38624          { ac_try='test -z "$ac_c_werror_flag"
38625                          || test ! -s conftest.err'
38626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38627   (eval $ac_try) 2>&5
38628   ac_status=$?
38629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38630   (exit $ac_status); }; } &&
38631          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
38637   eval "$as_ac_var=yes"
38638 else
38639   echo "$as_me: failed program was:" >&5
38640 sed 's/^/| /' conftest.$ac_ext >&5
38641
38642 eval "$as_ac_var=no"
38643 fi
38644 rm -f conftest.err conftest.$ac_objext \
38645       conftest$ac_exeext conftest.$ac_ext
38646 fi
38647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38649 if test `eval echo '${'$as_ac_var'}'` = yes; then
38650   cat >>confdefs.h <<_ACEOF
38651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38652 _ACEOF
38653
38654 fi
38655 done
38656
38657     fi
38658   fi
38659
38660
38661
38662
38663
38664
38665   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38666 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38667   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38668     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38669   echo $ECHO_N "(cached) $ECHO_C" >&6
38670 else
38671
38672
38673
38674       ac_ext=cc
38675 ac_cpp='$CXXCPP $CPPFLAGS'
38676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38679
38680       cat >conftest.$ac_ext <<_ACEOF
38681 /* confdefs.h.  */
38682 _ACEOF
38683 cat confdefs.h >>conftest.$ac_ext
38684 cat >>conftest.$ac_ext <<_ACEOF
38685 /* end confdefs.h.  */
38686 #include <math.h>
38687 int
38688 main ()
38689 {
38690  frexpf(0, 0);
38691   ;
38692   return 0;
38693 }
38694 _ACEOF
38695 rm -f conftest.$ac_objext
38696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38697   (eval $ac_compile) 2>conftest.er1
38698   ac_status=$?
38699   grep -v '^ *+' conftest.er1 >conftest.err
38700   rm -f conftest.er1
38701   cat conftest.err >&5
38702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38703   (exit $ac_status); } &&
38704          { ac_try='test -z "$ac_cxx_werror_flag"
38705                          || test ! -s conftest.err'
38706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38707   (eval $ac_try) 2>&5
38708   ac_status=$?
38709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38710   (exit $ac_status); }; } &&
38711          { ac_try='test -s conftest.$ac_objext'
38712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38713   (eval $ac_try) 2>&5
38714   ac_status=$?
38715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38716   (exit $ac_status); }; }; then
38717   glibcxx_cv_func_frexpf_use=yes
38718 else
38719   echo "$as_me: failed program was:" >&5
38720 sed 's/^/| /' conftest.$ac_ext >&5
38721
38722 glibcxx_cv_func_frexpf_use=no
38723 fi
38724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38725       ac_ext=c
38726 ac_cpp='$CPP $CPPFLAGS'
38727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38730
38731
38732 fi
38733
38734   fi
38735   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38736 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38737
38738   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38739
38740 for ac_func in frexpf
38741 do
38742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38743 echo "$as_me:$LINENO: checking for $ac_func" >&5
38744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38745 if eval "test \"\${$as_ac_var+set}\" = set"; then
38746   echo $ECHO_N "(cached) $ECHO_C" >&6
38747 else
38748   if test x$gcc_no_link = xyes; then
38749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38751    { (exit 1); exit 1; }; }
38752 fi
38753 cat >conftest.$ac_ext <<_ACEOF
38754 /* confdefs.h.  */
38755 _ACEOF
38756 cat confdefs.h >>conftest.$ac_ext
38757 cat >>conftest.$ac_ext <<_ACEOF
38758 /* end confdefs.h.  */
38759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38761 #define $ac_func innocuous_$ac_func
38762
38763 /* System header to define __stub macros and hopefully few prototypes,
38764     which can conflict with char $ac_func (); below.
38765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38766     <limits.h> exists even on freestanding compilers.  */
38767
38768 #ifdef __STDC__
38769 # include <limits.h>
38770 #else
38771 # include <assert.h>
38772 #endif
38773
38774 #undef $ac_func
38775
38776 /* Override any gcc2 internal prototype to avoid an error.  */
38777 #ifdef __cplusplus
38778 extern "C"
38779 {
38780 #endif
38781 /* We use char because int might match the return type of a gcc2
38782    builtin and then its argument prototype would still apply.  */
38783 char $ac_func ();
38784 /* The GNU C library defines this for functions which it implements
38785     to always fail with ENOSYS.  Some functions are actually named
38786     something starting with __ and the normal name is an alias.  */
38787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38788 choke me
38789 #else
38790 char (*f) () = $ac_func;
38791 #endif
38792 #ifdef __cplusplus
38793 }
38794 #endif
38795
38796 int
38797 main ()
38798 {
38799 return f != $ac_func;
38800   ;
38801   return 0;
38802 }
38803 _ACEOF
38804 rm -f conftest.$ac_objext conftest$ac_exeext
38805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38806   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
38827 else
38828   echo "$as_me: failed program was:" >&5
38829 sed 's/^/| /' conftest.$ac_ext >&5
38830
38831 eval "$as_ac_var=no"
38832 fi
38833 rm -f conftest.err conftest.$ac_objext \
38834       conftest$ac_exeext conftest.$ac_ext
38835 fi
38836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38838 if test `eval echo '${'$as_ac_var'}'` = yes; then
38839   cat >>confdefs.h <<_ACEOF
38840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38841 _ACEOF
38842
38843 fi
38844 done
38845
38846   else
38847
38848   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
38849 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
38850   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38851     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
38852   echo $ECHO_N "(cached) $ECHO_C" >&6
38853 else
38854
38855
38856
38857       ac_ext=cc
38858 ac_cpp='$CXXCPP $CPPFLAGS'
38859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38862
38863       cat >conftest.$ac_ext <<_ACEOF
38864 /* confdefs.h.  */
38865 _ACEOF
38866 cat confdefs.h >>conftest.$ac_ext
38867 cat >>conftest.$ac_ext <<_ACEOF
38868 /* end confdefs.h.  */
38869 #include <math.h>
38870 int
38871 main ()
38872 {
38873  _frexpf(0, 0);
38874   ;
38875   return 0;
38876 }
38877 _ACEOF
38878 rm -f conftest.$ac_objext
38879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38880   (eval $ac_compile) 2>conftest.er1
38881   ac_status=$?
38882   grep -v '^ *+' conftest.er1 >conftest.err
38883   rm -f conftest.er1
38884   cat conftest.err >&5
38885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38886   (exit $ac_status); } &&
38887          { ac_try='test -z "$ac_cxx_werror_flag"
38888                          || test ! -s conftest.err'
38889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38890   (eval $ac_try) 2>&5
38891   ac_status=$?
38892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38893   (exit $ac_status); }; } &&
38894          { ac_try='test -s conftest.$ac_objext'
38895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38896   (eval $ac_try) 2>&5
38897   ac_status=$?
38898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38899   (exit $ac_status); }; }; then
38900   glibcxx_cv_func__frexpf_use=yes
38901 else
38902   echo "$as_me: failed program was:" >&5
38903 sed 's/^/| /' conftest.$ac_ext >&5
38904
38905 glibcxx_cv_func__frexpf_use=no
38906 fi
38907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38908       ac_ext=c
38909 ac_cpp='$CPP $CPPFLAGS'
38910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38913
38914
38915 fi
38916
38917   fi
38918   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
38919 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
38920
38921     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38922
38923 for ac_func in _frexpf
38924 do
38925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38926 echo "$as_me:$LINENO: checking for $ac_func" >&5
38927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38928 if eval "test \"\${$as_ac_var+set}\" = set"; then
38929   echo $ECHO_N "(cached) $ECHO_C" >&6
38930 else
38931   if test x$gcc_no_link = xyes; then
38932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38934    { (exit 1); exit 1; }; }
38935 fi
38936 cat >conftest.$ac_ext <<_ACEOF
38937 /* confdefs.h.  */
38938 _ACEOF
38939 cat confdefs.h >>conftest.$ac_ext
38940 cat >>conftest.$ac_ext <<_ACEOF
38941 /* end confdefs.h.  */
38942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38943    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38944 #define $ac_func innocuous_$ac_func
38945
38946 /* System header to define __stub macros and hopefully few prototypes,
38947     which can conflict with char $ac_func (); below.
38948     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38949     <limits.h> exists even on freestanding compilers.  */
38950
38951 #ifdef __STDC__
38952 # include <limits.h>
38953 #else
38954 # include <assert.h>
38955 #endif
38956
38957 #undef $ac_func
38958
38959 /* Override any gcc2 internal prototype to avoid an error.  */
38960 #ifdef __cplusplus
38961 extern "C"
38962 {
38963 #endif
38964 /* We use char because int might match the return type of a gcc2
38965    builtin and then its argument prototype would still apply.  */
38966 char $ac_func ();
38967 /* The GNU C library defines this for functions which it implements
38968     to always fail with ENOSYS.  Some functions are actually named
38969     something starting with __ and the normal name is an alias.  */
38970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38971 choke me
38972 #else
38973 char (*f) () = $ac_func;
38974 #endif
38975 #ifdef __cplusplus
38976 }
38977 #endif
38978
38979 int
38980 main ()
38981 {
38982 return f != $ac_func;
38983   ;
38984   return 0;
38985 }
38986 _ACEOF
38987 rm -f conftest.$ac_objext conftest$ac_exeext
38988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38989   (eval $ac_link) 2>conftest.er1
38990   ac_status=$?
38991   grep -v '^ *+' conftest.er1 >conftest.err
38992   rm -f conftest.er1
38993   cat conftest.err >&5
38994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38995   (exit $ac_status); } &&
38996          { ac_try='test -z "$ac_c_werror_flag"
38997                          || test ! -s conftest.err'
38998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38999   (eval $ac_try) 2>&5
39000   ac_status=$?
39001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002   (exit $ac_status); }; } &&
39003          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39009   eval "$as_ac_var=yes"
39010 else
39011   echo "$as_me: failed program was:" >&5
39012 sed 's/^/| /' conftest.$ac_ext >&5
39013
39014 eval "$as_ac_var=no"
39015 fi
39016 rm -f conftest.err conftest.$ac_objext \
39017       conftest$ac_exeext conftest.$ac_ext
39018 fi
39019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39021 if test `eval echo '${'$as_ac_var'}'` = yes; then
39022   cat >>confdefs.h <<_ACEOF
39023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39024 _ACEOF
39025
39026 fi
39027 done
39028
39029     fi
39030   fi
39031
39032
39033
39034
39035
39036
39037   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
39038 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
39039   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39040     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39041   echo $ECHO_N "(cached) $ECHO_C" >&6
39042 else
39043
39044
39045
39046       ac_ext=cc
39047 ac_cpp='$CXXCPP $CPPFLAGS'
39048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39051
39052       cat >conftest.$ac_ext <<_ACEOF
39053 /* confdefs.h.  */
39054 _ACEOF
39055 cat confdefs.h >>conftest.$ac_ext
39056 cat >>conftest.$ac_ext <<_ACEOF
39057 /* end confdefs.h.  */
39058 #include <math.h>
39059 int
39060 main ()
39061 {
39062  hypotf(0, 0);
39063   ;
39064   return 0;
39065 }
39066 _ACEOF
39067 rm -f conftest.$ac_objext
39068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39069   (eval $ac_compile) 2>conftest.er1
39070   ac_status=$?
39071   grep -v '^ *+' conftest.er1 >conftest.err
39072   rm -f conftest.er1
39073   cat conftest.err >&5
39074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39075   (exit $ac_status); } &&
39076          { ac_try='test -z "$ac_cxx_werror_flag"
39077                          || test ! -s conftest.err'
39078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39079   (eval $ac_try) 2>&5
39080   ac_status=$?
39081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39082   (exit $ac_status); }; } &&
39083          { ac_try='test -s conftest.$ac_objext'
39084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39085   (eval $ac_try) 2>&5
39086   ac_status=$?
39087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39088   (exit $ac_status); }; }; then
39089   glibcxx_cv_func_hypotf_use=yes
39090 else
39091   echo "$as_me: failed program was:" >&5
39092 sed 's/^/| /' conftest.$ac_ext >&5
39093
39094 glibcxx_cv_func_hypotf_use=no
39095 fi
39096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39097       ac_ext=c
39098 ac_cpp='$CPP $CPPFLAGS'
39099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39102
39103
39104 fi
39105
39106   fi
39107   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39108 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39109
39110   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39111
39112 for ac_func in hypotf
39113 do
39114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39115 echo "$as_me:$LINENO: checking for $ac_func" >&5
39116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39117 if eval "test \"\${$as_ac_var+set}\" = set"; then
39118   echo $ECHO_N "(cached) $ECHO_C" >&6
39119 else
39120   if test x$gcc_no_link = xyes; then
39121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39123    { (exit 1); exit 1; }; }
39124 fi
39125 cat >conftest.$ac_ext <<_ACEOF
39126 /* confdefs.h.  */
39127 _ACEOF
39128 cat confdefs.h >>conftest.$ac_ext
39129 cat >>conftest.$ac_ext <<_ACEOF
39130 /* end confdefs.h.  */
39131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39133 #define $ac_func innocuous_$ac_func
39134
39135 /* System header to define __stub macros and hopefully few prototypes,
39136     which can conflict with char $ac_func (); below.
39137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39138     <limits.h> exists even on freestanding compilers.  */
39139
39140 #ifdef __STDC__
39141 # include <limits.h>
39142 #else
39143 # include <assert.h>
39144 #endif
39145
39146 #undef $ac_func
39147
39148 /* Override any gcc2 internal prototype to avoid an error.  */
39149 #ifdef __cplusplus
39150 extern "C"
39151 {
39152 #endif
39153 /* We use char because int might match the return type of a gcc2
39154    builtin and then its argument prototype would still apply.  */
39155 char $ac_func ();
39156 /* The GNU C library defines this for functions which it implements
39157     to always fail with ENOSYS.  Some functions are actually named
39158     something starting with __ and the normal name is an alias.  */
39159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39160 choke me
39161 #else
39162 char (*f) () = $ac_func;
39163 #endif
39164 #ifdef __cplusplus
39165 }
39166 #endif
39167
39168 int
39169 main ()
39170 {
39171 return f != $ac_func;
39172   ;
39173   return 0;
39174 }
39175 _ACEOF
39176 rm -f conftest.$ac_objext conftest$ac_exeext
39177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39178   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
39199 else
39200   echo "$as_me: failed program was:" >&5
39201 sed 's/^/| /' conftest.$ac_ext >&5
39202
39203 eval "$as_ac_var=no"
39204 fi
39205 rm -f conftest.err conftest.$ac_objext \
39206       conftest$ac_exeext conftest.$ac_ext
39207 fi
39208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39210 if test `eval echo '${'$as_ac_var'}'` = yes; then
39211   cat >>confdefs.h <<_ACEOF
39212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39213 _ACEOF
39214
39215 fi
39216 done
39217
39218   else
39219
39220   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39221 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39222   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39223     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39224   echo $ECHO_N "(cached) $ECHO_C" >&6
39225 else
39226
39227
39228
39229       ac_ext=cc
39230 ac_cpp='$CXXCPP $CPPFLAGS'
39231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39234
39235       cat >conftest.$ac_ext <<_ACEOF
39236 /* confdefs.h.  */
39237 _ACEOF
39238 cat confdefs.h >>conftest.$ac_ext
39239 cat >>conftest.$ac_ext <<_ACEOF
39240 /* end confdefs.h.  */
39241 #include <math.h>
39242 int
39243 main ()
39244 {
39245  _hypotf(0, 0);
39246   ;
39247   return 0;
39248 }
39249 _ACEOF
39250 rm -f conftest.$ac_objext
39251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39252   (eval $ac_compile) 2>conftest.er1
39253   ac_status=$?
39254   grep -v '^ *+' conftest.er1 >conftest.err
39255   rm -f conftest.er1
39256   cat conftest.err >&5
39257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39258   (exit $ac_status); } &&
39259          { ac_try='test -z "$ac_cxx_werror_flag"
39260                          || test ! -s conftest.err'
39261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39262   (eval $ac_try) 2>&5
39263   ac_status=$?
39264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39265   (exit $ac_status); }; } &&
39266          { ac_try='test -s conftest.$ac_objext'
39267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39268   (eval $ac_try) 2>&5
39269   ac_status=$?
39270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39271   (exit $ac_status); }; }; then
39272   glibcxx_cv_func__hypotf_use=yes
39273 else
39274   echo "$as_me: failed program was:" >&5
39275 sed 's/^/| /' conftest.$ac_ext >&5
39276
39277 glibcxx_cv_func__hypotf_use=no
39278 fi
39279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39280       ac_ext=c
39281 ac_cpp='$CPP $CPPFLAGS'
39282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39285
39286
39287 fi
39288
39289   fi
39290   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39291 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39292
39293     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39294
39295 for ac_func in _hypotf
39296 do
39297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39298 echo "$as_me:$LINENO: checking for $ac_func" >&5
39299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39300 if eval "test \"\${$as_ac_var+set}\" = set"; then
39301   echo $ECHO_N "(cached) $ECHO_C" >&6
39302 else
39303   if test x$gcc_no_link = xyes; then
39304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39306    { (exit 1); exit 1; }; }
39307 fi
39308 cat >conftest.$ac_ext <<_ACEOF
39309 /* confdefs.h.  */
39310 _ACEOF
39311 cat confdefs.h >>conftest.$ac_ext
39312 cat >>conftest.$ac_ext <<_ACEOF
39313 /* end confdefs.h.  */
39314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39315    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39316 #define $ac_func innocuous_$ac_func
39317
39318 /* System header to define __stub macros and hopefully few prototypes,
39319     which can conflict with char $ac_func (); below.
39320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39321     <limits.h> exists even on freestanding compilers.  */
39322
39323 #ifdef __STDC__
39324 # include <limits.h>
39325 #else
39326 # include <assert.h>
39327 #endif
39328
39329 #undef $ac_func
39330
39331 /* Override any gcc2 internal prototype to avoid an error.  */
39332 #ifdef __cplusplus
39333 extern "C"
39334 {
39335 #endif
39336 /* We use char because int might match the return type of a gcc2
39337    builtin and then its argument prototype would still apply.  */
39338 char $ac_func ();
39339 /* The GNU C library defines this for functions which it implements
39340     to always fail with ENOSYS.  Some functions are actually named
39341     something starting with __ and the normal name is an alias.  */
39342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39343 choke me
39344 #else
39345 char (*f) () = $ac_func;
39346 #endif
39347 #ifdef __cplusplus
39348 }
39349 #endif
39350
39351 int
39352 main ()
39353 {
39354 return f != $ac_func;
39355   ;
39356   return 0;
39357 }
39358 _ACEOF
39359 rm -f conftest.$ac_objext conftest$ac_exeext
39360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39361   (eval $ac_link) 2>conftest.er1
39362   ac_status=$?
39363   grep -v '^ *+' conftest.er1 >conftest.err
39364   rm -f conftest.er1
39365   cat conftest.err >&5
39366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39367   (exit $ac_status); } &&
39368          { ac_try='test -z "$ac_c_werror_flag"
39369                          || test ! -s conftest.err'
39370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39371   (eval $ac_try) 2>&5
39372   ac_status=$?
39373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39374   (exit $ac_status); }; } &&
39375          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39381   eval "$as_ac_var=yes"
39382 else
39383   echo "$as_me: failed program was:" >&5
39384 sed 's/^/| /' conftest.$ac_ext >&5
39385
39386 eval "$as_ac_var=no"
39387 fi
39388 rm -f conftest.err conftest.$ac_objext \
39389       conftest$ac_exeext conftest.$ac_ext
39390 fi
39391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39393 if test `eval echo '${'$as_ac_var'}'` = yes; then
39394   cat >>confdefs.h <<_ACEOF
39395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39396 _ACEOF
39397
39398 fi
39399 done
39400
39401     fi
39402   fi
39403
39404
39405
39406
39407
39408
39409   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39410 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39411   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39412     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39413   echo $ECHO_N "(cached) $ECHO_C" >&6
39414 else
39415
39416
39417
39418       ac_ext=cc
39419 ac_cpp='$CXXCPP $CPPFLAGS'
39420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39423
39424       cat >conftest.$ac_ext <<_ACEOF
39425 /* confdefs.h.  */
39426 _ACEOF
39427 cat confdefs.h >>conftest.$ac_ext
39428 cat >>conftest.$ac_ext <<_ACEOF
39429 /* end confdefs.h.  */
39430 #include <math.h>
39431 int
39432 main ()
39433 {
39434  ldexpf(0, 0);
39435   ;
39436   return 0;
39437 }
39438 _ACEOF
39439 rm -f conftest.$ac_objext
39440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39441   (eval $ac_compile) 2>conftest.er1
39442   ac_status=$?
39443   grep -v '^ *+' conftest.er1 >conftest.err
39444   rm -f conftest.er1
39445   cat conftest.err >&5
39446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39447   (exit $ac_status); } &&
39448          { ac_try='test -z "$ac_cxx_werror_flag"
39449                          || test ! -s conftest.err'
39450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39451   (eval $ac_try) 2>&5
39452   ac_status=$?
39453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39454   (exit $ac_status); }; } &&
39455          { ac_try='test -s conftest.$ac_objext'
39456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39457   (eval $ac_try) 2>&5
39458   ac_status=$?
39459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39460   (exit $ac_status); }; }; then
39461   glibcxx_cv_func_ldexpf_use=yes
39462 else
39463   echo "$as_me: failed program was:" >&5
39464 sed 's/^/| /' conftest.$ac_ext >&5
39465
39466 glibcxx_cv_func_ldexpf_use=no
39467 fi
39468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39469       ac_ext=c
39470 ac_cpp='$CPP $CPPFLAGS'
39471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39474
39475
39476 fi
39477
39478   fi
39479   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39480 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39481
39482   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39483
39484 for ac_func in ldexpf
39485 do
39486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39487 echo "$as_me:$LINENO: checking for $ac_func" >&5
39488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39489 if eval "test \"\${$as_ac_var+set}\" = set"; then
39490   echo $ECHO_N "(cached) $ECHO_C" >&6
39491 else
39492   if test x$gcc_no_link = xyes; then
39493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39495    { (exit 1); exit 1; }; }
39496 fi
39497 cat >conftest.$ac_ext <<_ACEOF
39498 /* confdefs.h.  */
39499 _ACEOF
39500 cat confdefs.h >>conftest.$ac_ext
39501 cat >>conftest.$ac_ext <<_ACEOF
39502 /* end confdefs.h.  */
39503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39505 #define $ac_func innocuous_$ac_func
39506
39507 /* System header to define __stub macros and hopefully few prototypes,
39508     which can conflict with char $ac_func (); below.
39509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39510     <limits.h> exists even on freestanding compilers.  */
39511
39512 #ifdef __STDC__
39513 # include <limits.h>
39514 #else
39515 # include <assert.h>
39516 #endif
39517
39518 #undef $ac_func
39519
39520 /* Override any gcc2 internal prototype to avoid an error.  */
39521 #ifdef __cplusplus
39522 extern "C"
39523 {
39524 #endif
39525 /* We use char because int might match the return type of a gcc2
39526    builtin and then its argument prototype would still apply.  */
39527 char $ac_func ();
39528 /* The GNU C library defines this for functions which it implements
39529     to always fail with ENOSYS.  Some functions are actually named
39530     something starting with __ and the normal name is an alias.  */
39531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39532 choke me
39533 #else
39534 char (*f) () = $ac_func;
39535 #endif
39536 #ifdef __cplusplus
39537 }
39538 #endif
39539
39540 int
39541 main ()
39542 {
39543 return f != $ac_func;
39544   ;
39545   return 0;
39546 }
39547 _ACEOF
39548 rm -f conftest.$ac_objext conftest$ac_exeext
39549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39550   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
39571 else
39572   echo "$as_me: failed program was:" >&5
39573 sed 's/^/| /' conftest.$ac_ext >&5
39574
39575 eval "$as_ac_var=no"
39576 fi
39577 rm -f conftest.err conftest.$ac_objext \
39578       conftest$ac_exeext conftest.$ac_ext
39579 fi
39580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39582 if test `eval echo '${'$as_ac_var'}'` = yes; then
39583   cat >>confdefs.h <<_ACEOF
39584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39585 _ACEOF
39586
39587 fi
39588 done
39589
39590   else
39591
39592   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39593 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39594   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39595     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39596   echo $ECHO_N "(cached) $ECHO_C" >&6
39597 else
39598
39599
39600
39601       ac_ext=cc
39602 ac_cpp='$CXXCPP $CPPFLAGS'
39603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39606
39607       cat >conftest.$ac_ext <<_ACEOF
39608 /* confdefs.h.  */
39609 _ACEOF
39610 cat confdefs.h >>conftest.$ac_ext
39611 cat >>conftest.$ac_ext <<_ACEOF
39612 /* end confdefs.h.  */
39613 #include <math.h>
39614 int
39615 main ()
39616 {
39617  _ldexpf(0, 0);
39618   ;
39619   return 0;
39620 }
39621 _ACEOF
39622 rm -f conftest.$ac_objext
39623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39624   (eval $ac_compile) 2>conftest.er1
39625   ac_status=$?
39626   grep -v '^ *+' conftest.er1 >conftest.err
39627   rm -f conftest.er1
39628   cat conftest.err >&5
39629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39630   (exit $ac_status); } &&
39631          { ac_try='test -z "$ac_cxx_werror_flag"
39632                          || test ! -s conftest.err'
39633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39634   (eval $ac_try) 2>&5
39635   ac_status=$?
39636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39637   (exit $ac_status); }; } &&
39638          { ac_try='test -s conftest.$ac_objext'
39639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39640   (eval $ac_try) 2>&5
39641   ac_status=$?
39642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39643   (exit $ac_status); }; }; then
39644   glibcxx_cv_func__ldexpf_use=yes
39645 else
39646   echo "$as_me: failed program was:" >&5
39647 sed 's/^/| /' conftest.$ac_ext >&5
39648
39649 glibcxx_cv_func__ldexpf_use=no
39650 fi
39651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39652       ac_ext=c
39653 ac_cpp='$CPP $CPPFLAGS'
39654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39657
39658
39659 fi
39660
39661   fi
39662   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39663 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39664
39665     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39666
39667 for ac_func in _ldexpf
39668 do
39669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39670 echo "$as_me:$LINENO: checking for $ac_func" >&5
39671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39672 if eval "test \"\${$as_ac_var+set}\" = set"; then
39673   echo $ECHO_N "(cached) $ECHO_C" >&6
39674 else
39675   if test x$gcc_no_link = xyes; then
39676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39678    { (exit 1); exit 1; }; }
39679 fi
39680 cat >conftest.$ac_ext <<_ACEOF
39681 /* confdefs.h.  */
39682 _ACEOF
39683 cat confdefs.h >>conftest.$ac_ext
39684 cat >>conftest.$ac_ext <<_ACEOF
39685 /* end confdefs.h.  */
39686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39687    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39688 #define $ac_func innocuous_$ac_func
39689
39690 /* System header to define __stub macros and hopefully few prototypes,
39691     which can conflict with char $ac_func (); below.
39692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39693     <limits.h> exists even on freestanding compilers.  */
39694
39695 #ifdef __STDC__
39696 # include <limits.h>
39697 #else
39698 # include <assert.h>
39699 #endif
39700
39701 #undef $ac_func
39702
39703 /* Override any gcc2 internal prototype to avoid an error.  */
39704 #ifdef __cplusplus
39705 extern "C"
39706 {
39707 #endif
39708 /* We use char because int might match the return type of a gcc2
39709    builtin and then its argument prototype would still apply.  */
39710 char $ac_func ();
39711 /* The GNU C library defines this for functions which it implements
39712     to always fail with ENOSYS.  Some functions are actually named
39713     something starting with __ and the normal name is an alias.  */
39714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39715 choke me
39716 #else
39717 char (*f) () = $ac_func;
39718 #endif
39719 #ifdef __cplusplus
39720 }
39721 #endif
39722
39723 int
39724 main ()
39725 {
39726 return f != $ac_func;
39727   ;
39728   return 0;
39729 }
39730 _ACEOF
39731 rm -f conftest.$ac_objext conftest$ac_exeext
39732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39733   (eval $ac_link) 2>conftest.er1
39734   ac_status=$?
39735   grep -v '^ *+' conftest.er1 >conftest.err
39736   rm -f conftest.er1
39737   cat conftest.err >&5
39738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739   (exit $ac_status); } &&
39740          { ac_try='test -z "$ac_c_werror_flag"
39741                          || test ! -s conftest.err'
39742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39743   (eval $ac_try) 2>&5
39744   ac_status=$?
39745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39746   (exit $ac_status); }; } &&
39747          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39753   eval "$as_ac_var=yes"
39754 else
39755   echo "$as_me: failed program was:" >&5
39756 sed 's/^/| /' conftest.$ac_ext >&5
39757
39758 eval "$as_ac_var=no"
39759 fi
39760 rm -f conftest.err conftest.$ac_objext \
39761       conftest$ac_exeext conftest.$ac_ext
39762 fi
39763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39765 if test `eval echo '${'$as_ac_var'}'` = yes; then
39766   cat >>confdefs.h <<_ACEOF
39767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39768 _ACEOF
39769
39770 fi
39771 done
39772
39773     fi
39774   fi
39775
39776
39777
39778
39779
39780
39781   echo "$as_me:$LINENO: checking for logf declaration" >&5
39782 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39783   if test x${glibcxx_cv_func_logf_use+set} != xset; then
39784     if test "${glibcxx_cv_func_logf_use+set}" = set; then
39785   echo $ECHO_N "(cached) $ECHO_C" >&6
39786 else
39787
39788
39789
39790       ac_ext=cc
39791 ac_cpp='$CXXCPP $CPPFLAGS'
39792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39795
39796       cat >conftest.$ac_ext <<_ACEOF
39797 /* confdefs.h.  */
39798 _ACEOF
39799 cat confdefs.h >>conftest.$ac_ext
39800 cat >>conftest.$ac_ext <<_ACEOF
39801 /* end confdefs.h.  */
39802 #include <math.h>
39803                       #ifdef HAVE_IEEEFP_H
39804                       #include <ieeefp.h>
39805                       #endif
39806
39807 int
39808 main ()
39809 {
39810  logf(0);
39811   ;
39812   return 0;
39813 }
39814 _ACEOF
39815 rm -f conftest.$ac_objext
39816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39817   (eval $ac_compile) 2>conftest.er1
39818   ac_status=$?
39819   grep -v '^ *+' conftest.er1 >conftest.err
39820   rm -f conftest.er1
39821   cat conftest.err >&5
39822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39823   (exit $ac_status); } &&
39824          { ac_try='test -z "$ac_cxx_werror_flag"
39825                          || test ! -s conftest.err'
39826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39827   (eval $ac_try) 2>&5
39828   ac_status=$?
39829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39830   (exit $ac_status); }; } &&
39831          { ac_try='test -s conftest.$ac_objext'
39832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39833   (eval $ac_try) 2>&5
39834   ac_status=$?
39835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39836   (exit $ac_status); }; }; then
39837   glibcxx_cv_func_logf_use=yes
39838 else
39839   echo "$as_me: failed program was:" >&5
39840 sed 's/^/| /' conftest.$ac_ext >&5
39841
39842 glibcxx_cv_func_logf_use=no
39843 fi
39844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39845       ac_ext=c
39846 ac_cpp='$CPP $CPPFLAGS'
39847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39850
39851
39852 fi
39853
39854   fi
39855   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
39856 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
39857
39858   if test x$glibcxx_cv_func_logf_use = x"yes"; then
39859
39860 for ac_func in logf
39861 do
39862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39863 echo "$as_me:$LINENO: checking for $ac_func" >&5
39864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39865 if eval "test \"\${$as_ac_var+set}\" = set"; then
39866   echo $ECHO_N "(cached) $ECHO_C" >&6
39867 else
39868   if test x$gcc_no_link = xyes; then
39869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39871    { (exit 1); exit 1; }; }
39872 fi
39873 cat >conftest.$ac_ext <<_ACEOF
39874 /* confdefs.h.  */
39875 _ACEOF
39876 cat confdefs.h >>conftest.$ac_ext
39877 cat >>conftest.$ac_ext <<_ACEOF
39878 /* end confdefs.h.  */
39879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39881 #define $ac_func innocuous_$ac_func
39882
39883 /* System header to define __stub macros and hopefully few prototypes,
39884     which can conflict with char $ac_func (); below.
39885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39886     <limits.h> exists even on freestanding compilers.  */
39887
39888 #ifdef __STDC__
39889 # include <limits.h>
39890 #else
39891 # include <assert.h>
39892 #endif
39893
39894 #undef $ac_func
39895
39896 /* Override any gcc2 internal prototype to avoid an error.  */
39897 #ifdef __cplusplus
39898 extern "C"
39899 {
39900 #endif
39901 /* We use char because int might match the return type of a gcc2
39902    builtin and then its argument prototype would still apply.  */
39903 char $ac_func ();
39904 /* The GNU C library defines this for functions which it implements
39905     to always fail with ENOSYS.  Some functions are actually named
39906     something starting with __ and the normal name is an alias.  */
39907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39908 choke me
39909 #else
39910 char (*f) () = $ac_func;
39911 #endif
39912 #ifdef __cplusplus
39913 }
39914 #endif
39915
39916 int
39917 main ()
39918 {
39919 return f != $ac_func;
39920   ;
39921   return 0;
39922 }
39923 _ACEOF
39924 rm -f conftest.$ac_objext conftest$ac_exeext
39925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39926   (eval $ac_link) 2>conftest.er1
39927   ac_status=$?
39928   grep -v '^ *+' conftest.er1 >conftest.err
39929   rm -f conftest.er1
39930   cat conftest.err >&5
39931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39932   (exit $ac_status); } &&
39933          { ac_try='test -z "$ac_c_werror_flag"
39934                          || test ! -s conftest.err'
39935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39936   (eval $ac_try) 2>&5
39937   ac_status=$?
39938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939   (exit $ac_status); }; } &&
39940          { ac_try='test -s conftest$ac_exeext'
39941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39942   (eval $ac_try) 2>&5
39943   ac_status=$?
39944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945   (exit $ac_status); }; }; then
39946   eval "$as_ac_var=yes"
39947 else
39948   echo "$as_me: failed program was:" >&5
39949 sed 's/^/| /' conftest.$ac_ext >&5
39950
39951 eval "$as_ac_var=no"
39952 fi
39953 rm -f conftest.err conftest.$ac_objext \
39954       conftest$ac_exeext conftest.$ac_ext
39955 fi
39956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39958 if test `eval echo '${'$as_ac_var'}'` = yes; then
39959   cat >>confdefs.h <<_ACEOF
39960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39961 _ACEOF
39962
39963 fi
39964 done
39965
39966   else
39967
39968   echo "$as_me:$LINENO: checking for _logf declaration" >&5
39969 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
39970   if test x${glibcxx_cv_func__logf_use+set} != xset; then
39971     if test "${glibcxx_cv_func__logf_use+set}" = set; then
39972   echo $ECHO_N "(cached) $ECHO_C" >&6
39973 else
39974
39975
39976
39977       ac_ext=cc
39978 ac_cpp='$CXXCPP $CPPFLAGS'
39979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39982
39983       cat >conftest.$ac_ext <<_ACEOF
39984 /* confdefs.h.  */
39985 _ACEOF
39986 cat confdefs.h >>conftest.$ac_ext
39987 cat >>conftest.$ac_ext <<_ACEOF
39988 /* end confdefs.h.  */
39989 #include <math.h>
39990                       #ifdef HAVE_IEEEFP_H
39991                       #include <ieeefp.h>
39992                       #endif
39993
39994 int
39995 main ()
39996 {
39997  _logf(0);
39998   ;
39999   return 0;
40000 }
40001 _ACEOF
40002 rm -f conftest.$ac_objext
40003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40004   (eval $ac_compile) 2>conftest.er1
40005   ac_status=$?
40006   grep -v '^ *+' conftest.er1 >conftest.err
40007   rm -f conftest.er1
40008   cat conftest.err >&5
40009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40010   (exit $ac_status); } &&
40011          { ac_try='test -z "$ac_cxx_werror_flag"
40012                          || test ! -s conftest.err'
40013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40014   (eval $ac_try) 2>&5
40015   ac_status=$?
40016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40017   (exit $ac_status); }; } &&
40018          { ac_try='test -s conftest.$ac_objext'
40019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40020   (eval $ac_try) 2>&5
40021   ac_status=$?
40022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023   (exit $ac_status); }; }; then
40024   glibcxx_cv_func__logf_use=yes
40025 else
40026   echo "$as_me: failed program was:" >&5
40027 sed 's/^/| /' conftest.$ac_ext >&5
40028
40029 glibcxx_cv_func__logf_use=no
40030 fi
40031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40032       ac_ext=c
40033 ac_cpp='$CPP $CPPFLAGS'
40034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40037
40038
40039 fi
40040
40041   fi
40042   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40043 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40044
40045     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40046
40047 for ac_func in _logf
40048 do
40049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40050 echo "$as_me:$LINENO: checking for $ac_func" >&5
40051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40052 if eval "test \"\${$as_ac_var+set}\" = set"; then
40053   echo $ECHO_N "(cached) $ECHO_C" >&6
40054 else
40055   if test x$gcc_no_link = xyes; then
40056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40058    { (exit 1); exit 1; }; }
40059 fi
40060 cat >conftest.$ac_ext <<_ACEOF
40061 /* confdefs.h.  */
40062 _ACEOF
40063 cat confdefs.h >>conftest.$ac_ext
40064 cat >>conftest.$ac_ext <<_ACEOF
40065 /* end confdefs.h.  */
40066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40067    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40068 #define $ac_func innocuous_$ac_func
40069
40070 /* System header to define __stub macros and hopefully few prototypes,
40071     which can conflict with char $ac_func (); below.
40072     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40073     <limits.h> exists even on freestanding compilers.  */
40074
40075 #ifdef __STDC__
40076 # include <limits.h>
40077 #else
40078 # include <assert.h>
40079 #endif
40080
40081 #undef $ac_func
40082
40083 /* Override any gcc2 internal prototype to avoid an error.  */
40084 #ifdef __cplusplus
40085 extern "C"
40086 {
40087 #endif
40088 /* We use char because int might match the return type of a gcc2
40089    builtin and then its argument prototype would still apply.  */
40090 char $ac_func ();
40091 /* The GNU C library defines this for functions which it implements
40092     to always fail with ENOSYS.  Some functions are actually named
40093     something starting with __ and the normal name is an alias.  */
40094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40095 choke me
40096 #else
40097 char (*f) () = $ac_func;
40098 #endif
40099 #ifdef __cplusplus
40100 }
40101 #endif
40102
40103 int
40104 main ()
40105 {
40106 return f != $ac_func;
40107   ;
40108   return 0;
40109 }
40110 _ACEOF
40111 rm -f conftest.$ac_objext conftest$ac_exeext
40112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40113   (eval $ac_link) 2>conftest.er1
40114   ac_status=$?
40115   grep -v '^ *+' conftest.er1 >conftest.err
40116   rm -f conftest.er1
40117   cat conftest.err >&5
40118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119   (exit $ac_status); } &&
40120          { ac_try='test -z "$ac_c_werror_flag"
40121                          || test ! -s conftest.err'
40122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40123   (eval $ac_try) 2>&5
40124   ac_status=$?
40125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126   (exit $ac_status); }; } &&
40127          { ac_try='test -s conftest$ac_exeext'
40128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40129   (eval $ac_try) 2>&5
40130   ac_status=$?
40131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132   (exit $ac_status); }; }; then
40133   eval "$as_ac_var=yes"
40134 else
40135   echo "$as_me: failed program was:" >&5
40136 sed 's/^/| /' conftest.$ac_ext >&5
40137
40138 eval "$as_ac_var=no"
40139 fi
40140 rm -f conftest.err conftest.$ac_objext \
40141       conftest$ac_exeext conftest.$ac_ext
40142 fi
40143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40145 if test `eval echo '${'$as_ac_var'}'` = yes; then
40146   cat >>confdefs.h <<_ACEOF
40147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40148 _ACEOF
40149
40150 fi
40151 done
40152
40153     fi
40154   fi
40155
40156
40157
40158
40159
40160
40161   echo "$as_me:$LINENO: checking for log10f declaration" >&5
40162 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40163   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40164     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40165   echo $ECHO_N "(cached) $ECHO_C" >&6
40166 else
40167
40168
40169
40170       ac_ext=cc
40171 ac_cpp='$CXXCPP $CPPFLAGS'
40172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40175
40176       cat >conftest.$ac_ext <<_ACEOF
40177 /* confdefs.h.  */
40178 _ACEOF
40179 cat confdefs.h >>conftest.$ac_ext
40180 cat >>conftest.$ac_ext <<_ACEOF
40181 /* end confdefs.h.  */
40182 #include <math.h>
40183                       #ifdef HAVE_IEEEFP_H
40184                       #include <ieeefp.h>
40185                       #endif
40186
40187 int
40188 main ()
40189 {
40190  log10f(0);
40191   ;
40192   return 0;
40193 }
40194 _ACEOF
40195 rm -f conftest.$ac_objext
40196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40197   (eval $ac_compile) 2>conftest.er1
40198   ac_status=$?
40199   grep -v '^ *+' conftest.er1 >conftest.err
40200   rm -f conftest.er1
40201   cat conftest.err >&5
40202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40203   (exit $ac_status); } &&
40204          { ac_try='test -z "$ac_cxx_werror_flag"
40205                          || test ! -s conftest.err'
40206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40207   (eval $ac_try) 2>&5
40208   ac_status=$?
40209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40210   (exit $ac_status); }; } &&
40211          { ac_try='test -s conftest.$ac_objext'
40212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40213   (eval $ac_try) 2>&5
40214   ac_status=$?
40215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40216   (exit $ac_status); }; }; then
40217   glibcxx_cv_func_log10f_use=yes
40218 else
40219   echo "$as_me: failed program was:" >&5
40220 sed 's/^/| /' conftest.$ac_ext >&5
40221
40222 glibcxx_cv_func_log10f_use=no
40223 fi
40224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40225       ac_ext=c
40226 ac_cpp='$CPP $CPPFLAGS'
40227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40230
40231
40232 fi
40233
40234   fi
40235   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40236 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40237
40238   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40239
40240 for ac_func in log10f
40241 do
40242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40243 echo "$as_me:$LINENO: checking for $ac_func" >&5
40244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40245 if eval "test \"\${$as_ac_var+set}\" = set"; then
40246   echo $ECHO_N "(cached) $ECHO_C" >&6
40247 else
40248   if test x$gcc_no_link = xyes; then
40249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40251    { (exit 1); exit 1; }; }
40252 fi
40253 cat >conftest.$ac_ext <<_ACEOF
40254 /* confdefs.h.  */
40255 _ACEOF
40256 cat confdefs.h >>conftest.$ac_ext
40257 cat >>conftest.$ac_ext <<_ACEOF
40258 /* end confdefs.h.  */
40259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40260    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40261 #define $ac_func innocuous_$ac_func
40262
40263 /* System header to define __stub macros and hopefully few prototypes,
40264     which can conflict with char $ac_func (); below.
40265     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40266     <limits.h> exists even on freestanding compilers.  */
40267
40268 #ifdef __STDC__
40269 # include <limits.h>
40270 #else
40271 # include <assert.h>
40272 #endif
40273
40274 #undef $ac_func
40275
40276 /* Override any gcc2 internal prototype to avoid an error.  */
40277 #ifdef __cplusplus
40278 extern "C"
40279 {
40280 #endif
40281 /* We use char because int might match the return type of a gcc2
40282    builtin and then its argument prototype would still apply.  */
40283 char $ac_func ();
40284 /* The GNU C library defines this for functions which it implements
40285     to always fail with ENOSYS.  Some functions are actually named
40286     something starting with __ and the normal name is an alias.  */
40287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40288 choke me
40289 #else
40290 char (*f) () = $ac_func;
40291 #endif
40292 #ifdef __cplusplus
40293 }
40294 #endif
40295
40296 int
40297 main ()
40298 {
40299 return f != $ac_func;
40300   ;
40301   return 0;
40302 }
40303 _ACEOF
40304 rm -f conftest.$ac_objext conftest$ac_exeext
40305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40306   (eval $ac_link) 2>conftest.er1
40307   ac_status=$?
40308   grep -v '^ *+' conftest.er1 >conftest.err
40309   rm -f conftest.er1
40310   cat conftest.err >&5
40311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312   (exit $ac_status); } &&
40313          { ac_try='test -z "$ac_c_werror_flag"
40314                          || test ! -s conftest.err'
40315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40316   (eval $ac_try) 2>&5
40317   ac_status=$?
40318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40319   (exit $ac_status); }; } &&
40320          { ac_try='test -s conftest$ac_exeext'
40321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40322   (eval $ac_try) 2>&5
40323   ac_status=$?
40324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40325   (exit $ac_status); }; }; then
40326   eval "$as_ac_var=yes"
40327 else
40328   echo "$as_me: failed program was:" >&5
40329 sed 's/^/| /' conftest.$ac_ext >&5
40330
40331 eval "$as_ac_var=no"
40332 fi
40333 rm -f conftest.err conftest.$ac_objext \
40334       conftest$ac_exeext conftest.$ac_ext
40335 fi
40336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40338 if test `eval echo '${'$as_ac_var'}'` = yes; then
40339   cat >>confdefs.h <<_ACEOF
40340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40341 _ACEOF
40342
40343 fi
40344 done
40345
40346   else
40347
40348   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40349 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40350   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40351     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40352   echo $ECHO_N "(cached) $ECHO_C" >&6
40353 else
40354
40355
40356
40357       ac_ext=cc
40358 ac_cpp='$CXXCPP $CPPFLAGS'
40359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40362
40363       cat >conftest.$ac_ext <<_ACEOF
40364 /* confdefs.h.  */
40365 _ACEOF
40366 cat confdefs.h >>conftest.$ac_ext
40367 cat >>conftest.$ac_ext <<_ACEOF
40368 /* end confdefs.h.  */
40369 #include <math.h>
40370                       #ifdef HAVE_IEEEFP_H
40371                       #include <ieeefp.h>
40372                       #endif
40373
40374 int
40375 main ()
40376 {
40377  _log10f(0);
40378   ;
40379   return 0;
40380 }
40381 _ACEOF
40382 rm -f conftest.$ac_objext
40383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40384   (eval $ac_compile) 2>conftest.er1
40385   ac_status=$?
40386   grep -v '^ *+' conftest.er1 >conftest.err
40387   rm -f conftest.er1
40388   cat conftest.err >&5
40389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40390   (exit $ac_status); } &&
40391          { ac_try='test -z "$ac_cxx_werror_flag"
40392                          || test ! -s conftest.err'
40393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40394   (eval $ac_try) 2>&5
40395   ac_status=$?
40396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40397   (exit $ac_status); }; } &&
40398          { ac_try='test -s conftest.$ac_objext'
40399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40400   (eval $ac_try) 2>&5
40401   ac_status=$?
40402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40403   (exit $ac_status); }; }; then
40404   glibcxx_cv_func__log10f_use=yes
40405 else
40406   echo "$as_me: failed program was:" >&5
40407 sed 's/^/| /' conftest.$ac_ext >&5
40408
40409 glibcxx_cv_func__log10f_use=no
40410 fi
40411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40412       ac_ext=c
40413 ac_cpp='$CPP $CPPFLAGS'
40414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40417
40418
40419 fi
40420
40421   fi
40422   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40423 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40424
40425     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40426
40427 for ac_func in _log10f
40428 do
40429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40430 echo "$as_me:$LINENO: checking for $ac_func" >&5
40431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40432 if eval "test \"\${$as_ac_var+set}\" = set"; then
40433   echo $ECHO_N "(cached) $ECHO_C" >&6
40434 else
40435   if test x$gcc_no_link = xyes; then
40436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40438    { (exit 1); exit 1; }; }
40439 fi
40440 cat >conftest.$ac_ext <<_ACEOF
40441 /* confdefs.h.  */
40442 _ACEOF
40443 cat confdefs.h >>conftest.$ac_ext
40444 cat >>conftest.$ac_ext <<_ACEOF
40445 /* end confdefs.h.  */
40446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40447    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40448 #define $ac_func innocuous_$ac_func
40449
40450 /* System header to define __stub macros and hopefully few prototypes,
40451     which can conflict with char $ac_func (); below.
40452     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40453     <limits.h> exists even on freestanding compilers.  */
40454
40455 #ifdef __STDC__
40456 # include <limits.h>
40457 #else
40458 # include <assert.h>
40459 #endif
40460
40461 #undef $ac_func
40462
40463 /* Override any gcc2 internal prototype to avoid an error.  */
40464 #ifdef __cplusplus
40465 extern "C"
40466 {
40467 #endif
40468 /* We use char because int might match the return type of a gcc2
40469    builtin and then its argument prototype would still apply.  */
40470 char $ac_func ();
40471 /* The GNU C library defines this for functions which it implements
40472     to always fail with ENOSYS.  Some functions are actually named
40473     something starting with __ and the normal name is an alias.  */
40474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40475 choke me
40476 #else
40477 char (*f) () = $ac_func;
40478 #endif
40479 #ifdef __cplusplus
40480 }
40481 #endif
40482
40483 int
40484 main ()
40485 {
40486 return f != $ac_func;
40487   ;
40488   return 0;
40489 }
40490 _ACEOF
40491 rm -f conftest.$ac_objext conftest$ac_exeext
40492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40493   (eval $ac_link) 2>conftest.er1
40494   ac_status=$?
40495   grep -v '^ *+' conftest.er1 >conftest.err
40496   rm -f conftest.er1
40497   cat conftest.err >&5
40498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499   (exit $ac_status); } &&
40500          { ac_try='test -z "$ac_c_werror_flag"
40501                          || test ! -s conftest.err'
40502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40503   (eval $ac_try) 2>&5
40504   ac_status=$?
40505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40506   (exit $ac_status); }; } &&
40507          { ac_try='test -s conftest$ac_exeext'
40508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40509   (eval $ac_try) 2>&5
40510   ac_status=$?
40511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40512   (exit $ac_status); }; }; then
40513   eval "$as_ac_var=yes"
40514 else
40515   echo "$as_me: failed program was:" >&5
40516 sed 's/^/| /' conftest.$ac_ext >&5
40517
40518 eval "$as_ac_var=no"
40519 fi
40520 rm -f conftest.err conftest.$ac_objext \
40521       conftest$ac_exeext conftest.$ac_ext
40522 fi
40523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40525 if test `eval echo '${'$as_ac_var'}'` = yes; then
40526   cat >>confdefs.h <<_ACEOF
40527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40528 _ACEOF
40529
40530 fi
40531 done
40532
40533     fi
40534   fi
40535
40536
40537
40538
40539
40540
40541   echo "$as_me:$LINENO: checking for modff declaration" >&5
40542 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40543   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40544     if test "${glibcxx_cv_func_modff_use+set}" = set; then
40545   echo $ECHO_N "(cached) $ECHO_C" >&6
40546 else
40547
40548
40549
40550       ac_ext=cc
40551 ac_cpp='$CXXCPP $CPPFLAGS'
40552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40555
40556       cat >conftest.$ac_ext <<_ACEOF
40557 /* confdefs.h.  */
40558 _ACEOF
40559 cat confdefs.h >>conftest.$ac_ext
40560 cat >>conftest.$ac_ext <<_ACEOF
40561 /* end confdefs.h.  */
40562 #include <math.h>
40563 int
40564 main ()
40565 {
40566  modff(0, 0);
40567   ;
40568   return 0;
40569 }
40570 _ACEOF
40571 rm -f conftest.$ac_objext
40572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40573   (eval $ac_compile) 2>conftest.er1
40574   ac_status=$?
40575   grep -v '^ *+' conftest.er1 >conftest.err
40576   rm -f conftest.er1
40577   cat conftest.err >&5
40578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579   (exit $ac_status); } &&
40580          { ac_try='test -z "$ac_cxx_werror_flag"
40581                          || test ! -s conftest.err'
40582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40583   (eval $ac_try) 2>&5
40584   ac_status=$?
40585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40586   (exit $ac_status); }; } &&
40587          { ac_try='test -s conftest.$ac_objext'
40588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40589   (eval $ac_try) 2>&5
40590   ac_status=$?
40591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40592   (exit $ac_status); }; }; then
40593   glibcxx_cv_func_modff_use=yes
40594 else
40595   echo "$as_me: failed program was:" >&5
40596 sed 's/^/| /' conftest.$ac_ext >&5
40597
40598 glibcxx_cv_func_modff_use=no
40599 fi
40600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40601       ac_ext=c
40602 ac_cpp='$CPP $CPPFLAGS'
40603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40606
40607
40608 fi
40609
40610   fi
40611   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40612 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40613
40614   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40615
40616 for ac_func in modff
40617 do
40618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40619 echo "$as_me:$LINENO: checking for $ac_func" >&5
40620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40621 if eval "test \"\${$as_ac_var+set}\" = set"; then
40622   echo $ECHO_N "(cached) $ECHO_C" >&6
40623 else
40624   if test x$gcc_no_link = xyes; then
40625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40627    { (exit 1); exit 1; }; }
40628 fi
40629 cat >conftest.$ac_ext <<_ACEOF
40630 /* confdefs.h.  */
40631 _ACEOF
40632 cat confdefs.h >>conftest.$ac_ext
40633 cat >>conftest.$ac_ext <<_ACEOF
40634 /* end confdefs.h.  */
40635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40636    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40637 #define $ac_func innocuous_$ac_func
40638
40639 /* System header to define __stub macros and hopefully few prototypes,
40640     which can conflict with char $ac_func (); below.
40641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40642     <limits.h> exists even on freestanding compilers.  */
40643
40644 #ifdef __STDC__
40645 # include <limits.h>
40646 #else
40647 # include <assert.h>
40648 #endif
40649
40650 #undef $ac_func
40651
40652 /* Override any gcc2 internal prototype to avoid an error.  */
40653 #ifdef __cplusplus
40654 extern "C"
40655 {
40656 #endif
40657 /* We use char because int might match the return type of a gcc2
40658    builtin and then its argument prototype would still apply.  */
40659 char $ac_func ();
40660 /* The GNU C library defines this for functions which it implements
40661     to always fail with ENOSYS.  Some functions are actually named
40662     something starting with __ and the normal name is an alias.  */
40663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40664 choke me
40665 #else
40666 char (*f) () = $ac_func;
40667 #endif
40668 #ifdef __cplusplus
40669 }
40670 #endif
40671
40672 int
40673 main ()
40674 {
40675 return f != $ac_func;
40676   ;
40677   return 0;
40678 }
40679 _ACEOF
40680 rm -f conftest.$ac_objext conftest$ac_exeext
40681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40682   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
40703 else
40704   echo "$as_me: failed program was:" >&5
40705 sed 's/^/| /' conftest.$ac_ext >&5
40706
40707 eval "$as_ac_var=no"
40708 fi
40709 rm -f conftest.err conftest.$ac_objext \
40710       conftest$ac_exeext conftest.$ac_ext
40711 fi
40712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40714 if test `eval echo '${'$as_ac_var'}'` = yes; then
40715   cat >>confdefs.h <<_ACEOF
40716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40717 _ACEOF
40718
40719 fi
40720 done
40721
40722   else
40723
40724   echo "$as_me:$LINENO: checking for _modff declaration" >&5
40725 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40726   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40727     if test "${glibcxx_cv_func__modff_use+set}" = set; then
40728   echo $ECHO_N "(cached) $ECHO_C" >&6
40729 else
40730
40731
40732
40733       ac_ext=cc
40734 ac_cpp='$CXXCPP $CPPFLAGS'
40735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40738
40739       cat >conftest.$ac_ext <<_ACEOF
40740 /* confdefs.h.  */
40741 _ACEOF
40742 cat confdefs.h >>conftest.$ac_ext
40743 cat >>conftest.$ac_ext <<_ACEOF
40744 /* end confdefs.h.  */
40745 #include <math.h>
40746 int
40747 main ()
40748 {
40749  _modff(0, 0);
40750   ;
40751   return 0;
40752 }
40753 _ACEOF
40754 rm -f conftest.$ac_objext
40755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40756   (eval $ac_compile) 2>conftest.er1
40757   ac_status=$?
40758   grep -v '^ *+' conftest.er1 >conftest.err
40759   rm -f conftest.er1
40760   cat conftest.err >&5
40761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40762   (exit $ac_status); } &&
40763          { ac_try='test -z "$ac_cxx_werror_flag"
40764                          || test ! -s conftest.err'
40765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40766   (eval $ac_try) 2>&5
40767   ac_status=$?
40768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40769   (exit $ac_status); }; } &&
40770          { ac_try='test -s conftest.$ac_objext'
40771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40772   (eval $ac_try) 2>&5
40773   ac_status=$?
40774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40775   (exit $ac_status); }; }; then
40776   glibcxx_cv_func__modff_use=yes
40777 else
40778   echo "$as_me: failed program was:" >&5
40779 sed 's/^/| /' conftest.$ac_ext >&5
40780
40781 glibcxx_cv_func__modff_use=no
40782 fi
40783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40784       ac_ext=c
40785 ac_cpp='$CPP $CPPFLAGS'
40786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40789
40790
40791 fi
40792
40793   fi
40794   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40795 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40796
40797     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40798
40799 for ac_func in _modff
40800 do
40801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40802 echo "$as_me:$LINENO: checking for $ac_func" >&5
40803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40804 if eval "test \"\${$as_ac_var+set}\" = set"; then
40805   echo $ECHO_N "(cached) $ECHO_C" >&6
40806 else
40807   if test x$gcc_no_link = xyes; then
40808   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40810    { (exit 1); exit 1; }; }
40811 fi
40812 cat >conftest.$ac_ext <<_ACEOF
40813 /* confdefs.h.  */
40814 _ACEOF
40815 cat confdefs.h >>conftest.$ac_ext
40816 cat >>conftest.$ac_ext <<_ACEOF
40817 /* end confdefs.h.  */
40818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40819    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40820 #define $ac_func innocuous_$ac_func
40821
40822 /* System header to define __stub macros and hopefully few prototypes,
40823     which can conflict with char $ac_func (); below.
40824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40825     <limits.h> exists even on freestanding compilers.  */
40826
40827 #ifdef __STDC__
40828 # include <limits.h>
40829 #else
40830 # include <assert.h>
40831 #endif
40832
40833 #undef $ac_func
40834
40835 /* Override any gcc2 internal prototype to avoid an error.  */
40836 #ifdef __cplusplus
40837 extern "C"
40838 {
40839 #endif
40840 /* We use char because int might match the return type of a gcc2
40841    builtin and then its argument prototype would still apply.  */
40842 char $ac_func ();
40843 /* The GNU C library defines this for functions which it implements
40844     to always fail with ENOSYS.  Some functions are actually named
40845     something starting with __ and the normal name is an alias.  */
40846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40847 choke me
40848 #else
40849 char (*f) () = $ac_func;
40850 #endif
40851 #ifdef __cplusplus
40852 }
40853 #endif
40854
40855 int
40856 main ()
40857 {
40858 return f != $ac_func;
40859   ;
40860   return 0;
40861 }
40862 _ACEOF
40863 rm -f conftest.$ac_objext conftest$ac_exeext
40864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40865   (eval $ac_link) 2>conftest.er1
40866   ac_status=$?
40867   grep -v '^ *+' conftest.er1 >conftest.err
40868   rm -f conftest.er1
40869   cat conftest.err >&5
40870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40871   (exit $ac_status); } &&
40872          { ac_try='test -z "$ac_c_werror_flag"
40873                          || test ! -s conftest.err'
40874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40875   (eval $ac_try) 2>&5
40876   ac_status=$?
40877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40878   (exit $ac_status); }; } &&
40879          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
40885   eval "$as_ac_var=yes"
40886 else
40887   echo "$as_me: failed program was:" >&5
40888 sed 's/^/| /' conftest.$ac_ext >&5
40889
40890 eval "$as_ac_var=no"
40891 fi
40892 rm -f conftest.err conftest.$ac_objext \
40893       conftest$ac_exeext conftest.$ac_ext
40894 fi
40895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40897 if test `eval echo '${'$as_ac_var'}'` = yes; then
40898   cat >>confdefs.h <<_ACEOF
40899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40900 _ACEOF
40901
40902 fi
40903 done
40904
40905     fi
40906   fi
40907
40908
40909
40910
40911
40912
40913   echo "$as_me:$LINENO: checking for modf declaration" >&5
40914 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
40915   if test x${glibcxx_cv_func_modf_use+set} != xset; then
40916     if test "${glibcxx_cv_func_modf_use+set}" = set; then
40917   echo $ECHO_N "(cached) $ECHO_C" >&6
40918 else
40919
40920
40921
40922       ac_ext=cc
40923 ac_cpp='$CXXCPP $CPPFLAGS'
40924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40927
40928       cat >conftest.$ac_ext <<_ACEOF
40929 /* confdefs.h.  */
40930 _ACEOF
40931 cat confdefs.h >>conftest.$ac_ext
40932 cat >>conftest.$ac_ext <<_ACEOF
40933 /* end confdefs.h.  */
40934 #include <math.h>
40935 int
40936 main ()
40937 {
40938  modf(0, 0);
40939   ;
40940   return 0;
40941 }
40942 _ACEOF
40943 rm -f conftest.$ac_objext
40944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40945   (eval $ac_compile) 2>conftest.er1
40946   ac_status=$?
40947   grep -v '^ *+' conftest.er1 >conftest.err
40948   rm -f conftest.er1
40949   cat conftest.err >&5
40950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40951   (exit $ac_status); } &&
40952          { ac_try='test -z "$ac_cxx_werror_flag"
40953                          || test ! -s conftest.err'
40954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40955   (eval $ac_try) 2>&5
40956   ac_status=$?
40957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40958   (exit $ac_status); }; } &&
40959          { ac_try='test -s conftest.$ac_objext'
40960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40961   (eval $ac_try) 2>&5
40962   ac_status=$?
40963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964   (exit $ac_status); }; }; then
40965   glibcxx_cv_func_modf_use=yes
40966 else
40967   echo "$as_me: failed program was:" >&5
40968 sed 's/^/| /' conftest.$ac_ext >&5
40969
40970 glibcxx_cv_func_modf_use=no
40971 fi
40972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40973       ac_ext=c
40974 ac_cpp='$CPP $CPPFLAGS'
40975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40978
40979
40980 fi
40981
40982   fi
40983   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
40984 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
40985
40986   if test x$glibcxx_cv_func_modf_use = x"yes"; then
40987
40988 for ac_func in modf
40989 do
40990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40991 echo "$as_me:$LINENO: checking for $ac_func" >&5
40992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40993 if eval "test \"\${$as_ac_var+set}\" = set"; then
40994   echo $ECHO_N "(cached) $ECHO_C" >&6
40995 else
40996   if test x$gcc_no_link = xyes; then
40997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40999    { (exit 1); exit 1; }; }
41000 fi
41001 cat >conftest.$ac_ext <<_ACEOF
41002 /* confdefs.h.  */
41003 _ACEOF
41004 cat confdefs.h >>conftest.$ac_ext
41005 cat >>conftest.$ac_ext <<_ACEOF
41006 /* end confdefs.h.  */
41007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41008    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41009 #define $ac_func innocuous_$ac_func
41010
41011 /* System header to define __stub macros and hopefully few prototypes,
41012     which can conflict with char $ac_func (); below.
41013     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41014     <limits.h> exists even on freestanding compilers.  */
41015
41016 #ifdef __STDC__
41017 # include <limits.h>
41018 #else
41019 # include <assert.h>
41020 #endif
41021
41022 #undef $ac_func
41023
41024 /* Override any gcc2 internal prototype to avoid an error.  */
41025 #ifdef __cplusplus
41026 extern "C"
41027 {
41028 #endif
41029 /* We use char because int might match the return type of a gcc2
41030    builtin and then its argument prototype would still apply.  */
41031 char $ac_func ();
41032 /* The GNU C library defines this for functions which it implements
41033     to always fail with ENOSYS.  Some functions are actually named
41034     something starting with __ and the normal name is an alias.  */
41035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41036 choke me
41037 #else
41038 char (*f) () = $ac_func;
41039 #endif
41040 #ifdef __cplusplus
41041 }
41042 #endif
41043
41044 int
41045 main ()
41046 {
41047 return f != $ac_func;
41048   ;
41049   return 0;
41050 }
41051 _ACEOF
41052 rm -f conftest.$ac_objext conftest$ac_exeext
41053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41054   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
41075 else
41076   echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.$ac_ext >&5
41078
41079 eval "$as_ac_var=no"
41080 fi
41081 rm -f conftest.err conftest.$ac_objext \
41082       conftest$ac_exeext conftest.$ac_ext
41083 fi
41084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41086 if test `eval echo '${'$as_ac_var'}'` = yes; then
41087   cat >>confdefs.h <<_ACEOF
41088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41089 _ACEOF
41090
41091 fi
41092 done
41093
41094   else
41095
41096   echo "$as_me:$LINENO: checking for _modf declaration" >&5
41097 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
41098   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41099     if test "${glibcxx_cv_func__modf_use+set}" = set; then
41100   echo $ECHO_N "(cached) $ECHO_C" >&6
41101 else
41102
41103
41104
41105       ac_ext=cc
41106 ac_cpp='$CXXCPP $CPPFLAGS'
41107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41110
41111       cat >conftest.$ac_ext <<_ACEOF
41112 /* confdefs.h.  */
41113 _ACEOF
41114 cat confdefs.h >>conftest.$ac_ext
41115 cat >>conftest.$ac_ext <<_ACEOF
41116 /* end confdefs.h.  */
41117 #include <math.h>
41118 int
41119 main ()
41120 {
41121  _modf(0, 0);
41122   ;
41123   return 0;
41124 }
41125 _ACEOF
41126 rm -f conftest.$ac_objext
41127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41128   (eval $ac_compile) 2>conftest.er1
41129   ac_status=$?
41130   grep -v '^ *+' conftest.er1 >conftest.err
41131   rm -f conftest.er1
41132   cat conftest.err >&5
41133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134   (exit $ac_status); } &&
41135          { ac_try='test -z "$ac_cxx_werror_flag"
41136                          || test ! -s conftest.err'
41137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41138   (eval $ac_try) 2>&5
41139   ac_status=$?
41140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41141   (exit $ac_status); }; } &&
41142          { ac_try='test -s conftest.$ac_objext'
41143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41144   (eval $ac_try) 2>&5
41145   ac_status=$?
41146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41147   (exit $ac_status); }; }; then
41148   glibcxx_cv_func__modf_use=yes
41149 else
41150   echo "$as_me: failed program was:" >&5
41151 sed 's/^/| /' conftest.$ac_ext >&5
41152
41153 glibcxx_cv_func__modf_use=no
41154 fi
41155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41156       ac_ext=c
41157 ac_cpp='$CPP $CPPFLAGS'
41158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41161
41162
41163 fi
41164
41165   fi
41166   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41167 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41168
41169     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41170
41171 for ac_func in _modf
41172 do
41173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41174 echo "$as_me:$LINENO: checking for $ac_func" >&5
41175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41176 if eval "test \"\${$as_ac_var+set}\" = set"; then
41177   echo $ECHO_N "(cached) $ECHO_C" >&6
41178 else
41179   if test x$gcc_no_link = xyes; then
41180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41182    { (exit 1); exit 1; }; }
41183 fi
41184 cat >conftest.$ac_ext <<_ACEOF
41185 /* confdefs.h.  */
41186 _ACEOF
41187 cat confdefs.h >>conftest.$ac_ext
41188 cat >>conftest.$ac_ext <<_ACEOF
41189 /* end confdefs.h.  */
41190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41191    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41192 #define $ac_func innocuous_$ac_func
41193
41194 /* System header to define __stub macros and hopefully few prototypes,
41195     which can conflict with char $ac_func (); below.
41196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41197     <limits.h> exists even on freestanding compilers.  */
41198
41199 #ifdef __STDC__
41200 # include <limits.h>
41201 #else
41202 # include <assert.h>
41203 #endif
41204
41205 #undef $ac_func
41206
41207 /* Override any gcc2 internal prototype to avoid an error.  */
41208 #ifdef __cplusplus
41209 extern "C"
41210 {
41211 #endif
41212 /* We use char because int might match the return type of a gcc2
41213    builtin and then its argument prototype would still apply.  */
41214 char $ac_func ();
41215 /* The GNU C library defines this for functions which it implements
41216     to always fail with ENOSYS.  Some functions are actually named
41217     something starting with __ and the normal name is an alias.  */
41218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41219 choke me
41220 #else
41221 char (*f) () = $ac_func;
41222 #endif
41223 #ifdef __cplusplus
41224 }
41225 #endif
41226
41227 int
41228 main ()
41229 {
41230 return f != $ac_func;
41231   ;
41232   return 0;
41233 }
41234 _ACEOF
41235 rm -f conftest.$ac_objext conftest$ac_exeext
41236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41237   (eval $ac_link) 2>conftest.er1
41238   ac_status=$?
41239   grep -v '^ *+' conftest.er1 >conftest.err
41240   rm -f conftest.er1
41241   cat conftest.err >&5
41242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243   (exit $ac_status); } &&
41244          { ac_try='test -z "$ac_c_werror_flag"
41245                          || test ! -s conftest.err'
41246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41247   (eval $ac_try) 2>&5
41248   ac_status=$?
41249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250   (exit $ac_status); }; } &&
41251          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
41257   eval "$as_ac_var=yes"
41258 else
41259   echo "$as_me: failed program was:" >&5
41260 sed 's/^/| /' conftest.$ac_ext >&5
41261
41262 eval "$as_ac_var=no"
41263 fi
41264 rm -f conftest.err conftest.$ac_objext \
41265       conftest$ac_exeext conftest.$ac_ext
41266 fi
41267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41269 if test `eval echo '${'$as_ac_var'}'` = yes; then
41270   cat >>confdefs.h <<_ACEOF
41271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41272 _ACEOF
41273
41274 fi
41275 done
41276
41277     fi
41278   fi
41279
41280
41281
41282
41283
41284
41285   echo "$as_me:$LINENO: checking for powf declaration" >&5
41286 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41287   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41288     if test "${glibcxx_cv_func_powf_use+set}" = set; then
41289   echo $ECHO_N "(cached) $ECHO_C" >&6
41290 else
41291
41292
41293
41294       ac_ext=cc
41295 ac_cpp='$CXXCPP $CPPFLAGS'
41296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41299
41300       cat >conftest.$ac_ext <<_ACEOF
41301 /* confdefs.h.  */
41302 _ACEOF
41303 cat confdefs.h >>conftest.$ac_ext
41304 cat >>conftest.$ac_ext <<_ACEOF
41305 /* end confdefs.h.  */
41306 #include <math.h>
41307 int
41308 main ()
41309 {
41310  powf(0, 0);
41311   ;
41312   return 0;
41313 }
41314 _ACEOF
41315 rm -f conftest.$ac_objext
41316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41317   (eval $ac_compile) 2>conftest.er1
41318   ac_status=$?
41319   grep -v '^ *+' conftest.er1 >conftest.err
41320   rm -f conftest.er1
41321   cat conftest.err >&5
41322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323   (exit $ac_status); } &&
41324          { ac_try='test -z "$ac_cxx_werror_flag"
41325                          || test ! -s conftest.err'
41326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41327   (eval $ac_try) 2>&5
41328   ac_status=$?
41329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330   (exit $ac_status); }; } &&
41331          { ac_try='test -s conftest.$ac_objext'
41332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41333   (eval $ac_try) 2>&5
41334   ac_status=$?
41335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41336   (exit $ac_status); }; }; then
41337   glibcxx_cv_func_powf_use=yes
41338 else
41339   echo "$as_me: failed program was:" >&5
41340 sed 's/^/| /' conftest.$ac_ext >&5
41341
41342 glibcxx_cv_func_powf_use=no
41343 fi
41344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41345       ac_ext=c
41346 ac_cpp='$CPP $CPPFLAGS'
41347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41350
41351
41352 fi
41353
41354   fi
41355   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41356 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41357
41358   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41359
41360 for ac_func in powf
41361 do
41362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41363 echo "$as_me:$LINENO: checking for $ac_func" >&5
41364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41365 if eval "test \"\${$as_ac_var+set}\" = set"; then
41366   echo $ECHO_N "(cached) $ECHO_C" >&6
41367 else
41368   if test x$gcc_no_link = xyes; then
41369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41371    { (exit 1); exit 1; }; }
41372 fi
41373 cat >conftest.$ac_ext <<_ACEOF
41374 /* confdefs.h.  */
41375 _ACEOF
41376 cat confdefs.h >>conftest.$ac_ext
41377 cat >>conftest.$ac_ext <<_ACEOF
41378 /* end confdefs.h.  */
41379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41380    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41381 #define $ac_func innocuous_$ac_func
41382
41383 /* System header to define __stub macros and hopefully few prototypes,
41384     which can conflict with char $ac_func (); below.
41385     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41386     <limits.h> exists even on freestanding compilers.  */
41387
41388 #ifdef __STDC__
41389 # include <limits.h>
41390 #else
41391 # include <assert.h>
41392 #endif
41393
41394 #undef $ac_func
41395
41396 /* Override any gcc2 internal prototype to avoid an error.  */
41397 #ifdef __cplusplus
41398 extern "C"
41399 {
41400 #endif
41401 /* We use char because int might match the return type of a gcc2
41402    builtin and then its argument prototype would still apply.  */
41403 char $ac_func ();
41404 /* The GNU C library defines this for functions which it implements
41405     to always fail with ENOSYS.  Some functions are actually named
41406     something starting with __ and the normal name is an alias.  */
41407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41408 choke me
41409 #else
41410 char (*f) () = $ac_func;
41411 #endif
41412 #ifdef __cplusplus
41413 }
41414 #endif
41415
41416 int
41417 main ()
41418 {
41419 return f != $ac_func;
41420   ;
41421   return 0;
41422 }
41423 _ACEOF
41424 rm -f conftest.$ac_objext conftest$ac_exeext
41425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41426   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
41447 else
41448   echo "$as_me: failed program was:" >&5
41449 sed 's/^/| /' conftest.$ac_ext >&5
41450
41451 eval "$as_ac_var=no"
41452 fi
41453 rm -f conftest.err conftest.$ac_objext \
41454       conftest$ac_exeext conftest.$ac_ext
41455 fi
41456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41458 if test `eval echo '${'$as_ac_var'}'` = yes; then
41459   cat >>confdefs.h <<_ACEOF
41460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41461 _ACEOF
41462
41463 fi
41464 done
41465
41466   else
41467
41468   echo "$as_me:$LINENO: checking for _powf declaration" >&5
41469 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41470   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41471     if test "${glibcxx_cv_func__powf_use+set}" = set; then
41472   echo $ECHO_N "(cached) $ECHO_C" >&6
41473 else
41474
41475
41476
41477       ac_ext=cc
41478 ac_cpp='$CXXCPP $CPPFLAGS'
41479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41482
41483       cat >conftest.$ac_ext <<_ACEOF
41484 /* confdefs.h.  */
41485 _ACEOF
41486 cat confdefs.h >>conftest.$ac_ext
41487 cat >>conftest.$ac_ext <<_ACEOF
41488 /* end confdefs.h.  */
41489 #include <math.h>
41490 int
41491 main ()
41492 {
41493  _powf(0, 0);
41494   ;
41495   return 0;
41496 }
41497 _ACEOF
41498 rm -f conftest.$ac_objext
41499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41500   (eval $ac_compile) 2>conftest.er1
41501   ac_status=$?
41502   grep -v '^ *+' conftest.er1 >conftest.err
41503   rm -f conftest.er1
41504   cat conftest.err >&5
41505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41506   (exit $ac_status); } &&
41507          { ac_try='test -z "$ac_cxx_werror_flag"
41508                          || test ! -s conftest.err'
41509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41510   (eval $ac_try) 2>&5
41511   ac_status=$?
41512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41513   (exit $ac_status); }; } &&
41514          { ac_try='test -s conftest.$ac_objext'
41515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41516   (eval $ac_try) 2>&5
41517   ac_status=$?
41518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41519   (exit $ac_status); }; }; then
41520   glibcxx_cv_func__powf_use=yes
41521 else
41522   echo "$as_me: failed program was:" >&5
41523 sed 's/^/| /' conftest.$ac_ext >&5
41524
41525 glibcxx_cv_func__powf_use=no
41526 fi
41527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41528       ac_ext=c
41529 ac_cpp='$CPP $CPPFLAGS'
41530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41533
41534
41535 fi
41536
41537   fi
41538   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41539 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41540
41541     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41542
41543 for ac_func in _powf
41544 do
41545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41546 echo "$as_me:$LINENO: checking for $ac_func" >&5
41547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41548 if eval "test \"\${$as_ac_var+set}\" = set"; then
41549   echo $ECHO_N "(cached) $ECHO_C" >&6
41550 else
41551   if test x$gcc_no_link = xyes; then
41552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41554    { (exit 1); exit 1; }; }
41555 fi
41556 cat >conftest.$ac_ext <<_ACEOF
41557 /* confdefs.h.  */
41558 _ACEOF
41559 cat confdefs.h >>conftest.$ac_ext
41560 cat >>conftest.$ac_ext <<_ACEOF
41561 /* end confdefs.h.  */
41562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41563    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41564 #define $ac_func innocuous_$ac_func
41565
41566 /* System header to define __stub macros and hopefully few prototypes,
41567     which can conflict with char $ac_func (); below.
41568     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41569     <limits.h> exists even on freestanding compilers.  */
41570
41571 #ifdef __STDC__
41572 # include <limits.h>
41573 #else
41574 # include <assert.h>
41575 #endif
41576
41577 #undef $ac_func
41578
41579 /* Override any gcc2 internal prototype to avoid an error.  */
41580 #ifdef __cplusplus
41581 extern "C"
41582 {
41583 #endif
41584 /* We use char because int might match the return type of a gcc2
41585    builtin and then its argument prototype would still apply.  */
41586 char $ac_func ();
41587 /* The GNU C library defines this for functions which it implements
41588     to always fail with ENOSYS.  Some functions are actually named
41589     something starting with __ and the normal name is an alias.  */
41590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41591 choke me
41592 #else
41593 char (*f) () = $ac_func;
41594 #endif
41595 #ifdef __cplusplus
41596 }
41597 #endif
41598
41599 int
41600 main ()
41601 {
41602 return f != $ac_func;
41603   ;
41604   return 0;
41605 }
41606 _ACEOF
41607 rm -f conftest.$ac_objext conftest$ac_exeext
41608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41609   (eval $ac_link) 2>conftest.er1
41610   ac_status=$?
41611   grep -v '^ *+' conftest.er1 >conftest.err
41612   rm -f conftest.er1
41613   cat conftest.err >&5
41614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615   (exit $ac_status); } &&
41616          { ac_try='test -z "$ac_c_werror_flag"
41617                          || test ! -s conftest.err'
41618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41619   (eval $ac_try) 2>&5
41620   ac_status=$?
41621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41622   (exit $ac_status); }; } &&
41623          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
41629   eval "$as_ac_var=yes"
41630 else
41631   echo "$as_me: failed program was:" >&5
41632 sed 's/^/| /' conftest.$ac_ext >&5
41633
41634 eval "$as_ac_var=no"
41635 fi
41636 rm -f conftest.err conftest.$ac_objext \
41637       conftest$ac_exeext conftest.$ac_ext
41638 fi
41639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41641 if test `eval echo '${'$as_ac_var'}'` = yes; then
41642   cat >>confdefs.h <<_ACEOF
41643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41644 _ACEOF
41645
41646 fi
41647 done
41648
41649     fi
41650   fi
41651
41652
41653
41654
41655
41656
41657   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41658 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41659   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41660     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41661   echo $ECHO_N "(cached) $ECHO_C" >&6
41662 else
41663
41664
41665
41666       ac_ext=cc
41667 ac_cpp='$CXXCPP $CPPFLAGS'
41668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41671
41672       cat >conftest.$ac_ext <<_ACEOF
41673 /* confdefs.h.  */
41674 _ACEOF
41675 cat confdefs.h >>conftest.$ac_ext
41676 cat >>conftest.$ac_ext <<_ACEOF
41677 /* end confdefs.h.  */
41678 #include <math.h>
41679                       #ifdef HAVE_IEEEFP_H
41680                       #include <ieeefp.h>
41681                       #endif
41682
41683 int
41684 main ()
41685 {
41686  sqrtf(0);
41687   ;
41688   return 0;
41689 }
41690 _ACEOF
41691 rm -f conftest.$ac_objext
41692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41693   (eval $ac_compile) 2>conftest.er1
41694   ac_status=$?
41695   grep -v '^ *+' conftest.er1 >conftest.err
41696   rm -f conftest.er1
41697   cat conftest.err >&5
41698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41699   (exit $ac_status); } &&
41700          { ac_try='test -z "$ac_cxx_werror_flag"
41701                          || test ! -s conftest.err'
41702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41703   (eval $ac_try) 2>&5
41704   ac_status=$?
41705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41706   (exit $ac_status); }; } &&
41707          { ac_try='test -s conftest.$ac_objext'
41708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41709   (eval $ac_try) 2>&5
41710   ac_status=$?
41711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41712   (exit $ac_status); }; }; then
41713   glibcxx_cv_func_sqrtf_use=yes
41714 else
41715   echo "$as_me: failed program was:" >&5
41716 sed 's/^/| /' conftest.$ac_ext >&5
41717
41718 glibcxx_cv_func_sqrtf_use=no
41719 fi
41720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41721       ac_ext=c
41722 ac_cpp='$CPP $CPPFLAGS'
41723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41726
41727
41728 fi
41729
41730   fi
41731   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41732 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41733
41734   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41735
41736 for ac_func in sqrtf
41737 do
41738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41739 echo "$as_me:$LINENO: checking for $ac_func" >&5
41740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41741 if eval "test \"\${$as_ac_var+set}\" = set"; then
41742   echo $ECHO_N "(cached) $ECHO_C" >&6
41743 else
41744   if test x$gcc_no_link = xyes; then
41745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41747    { (exit 1); exit 1; }; }
41748 fi
41749 cat >conftest.$ac_ext <<_ACEOF
41750 /* confdefs.h.  */
41751 _ACEOF
41752 cat confdefs.h >>conftest.$ac_ext
41753 cat >>conftest.$ac_ext <<_ACEOF
41754 /* end confdefs.h.  */
41755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41757 #define $ac_func innocuous_$ac_func
41758
41759 /* System header to define __stub macros and hopefully few prototypes,
41760     which can conflict with char $ac_func (); below.
41761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41762     <limits.h> exists even on freestanding compilers.  */
41763
41764 #ifdef __STDC__
41765 # include <limits.h>
41766 #else
41767 # include <assert.h>
41768 #endif
41769
41770 #undef $ac_func
41771
41772 /* Override any gcc2 internal prototype to avoid an error.  */
41773 #ifdef __cplusplus
41774 extern "C"
41775 {
41776 #endif
41777 /* We use char because int might match the return type of a gcc2
41778    builtin and then its argument prototype would still apply.  */
41779 char $ac_func ();
41780 /* The GNU C library defines this for functions which it implements
41781     to always fail with ENOSYS.  Some functions are actually named
41782     something starting with __ and the normal name is an alias.  */
41783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41784 choke me
41785 #else
41786 char (*f) () = $ac_func;
41787 #endif
41788 #ifdef __cplusplus
41789 }
41790 #endif
41791
41792 int
41793 main ()
41794 {
41795 return f != $ac_func;
41796   ;
41797   return 0;
41798 }
41799 _ACEOF
41800 rm -f conftest.$ac_objext conftest$ac_exeext
41801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41802   (eval $ac_link) 2>conftest.er1
41803   ac_status=$?
41804   grep -v '^ *+' conftest.er1 >conftest.err
41805   rm -f conftest.er1
41806   cat conftest.err >&5
41807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41808   (exit $ac_status); } &&
41809          { ac_try='test -z "$ac_c_werror_flag"
41810                          || test ! -s conftest.err'
41811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41812   (eval $ac_try) 2>&5
41813   ac_status=$?
41814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41815   (exit $ac_status); }; } &&
41816          { ac_try='test -s conftest$ac_exeext'
41817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41818   (eval $ac_try) 2>&5
41819   ac_status=$?
41820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41821   (exit $ac_status); }; }; then
41822   eval "$as_ac_var=yes"
41823 else
41824   echo "$as_me: failed program was:" >&5
41825 sed 's/^/| /' conftest.$ac_ext >&5
41826
41827 eval "$as_ac_var=no"
41828 fi
41829 rm -f conftest.err conftest.$ac_objext \
41830       conftest$ac_exeext conftest.$ac_ext
41831 fi
41832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41834 if test `eval echo '${'$as_ac_var'}'` = yes; then
41835   cat >>confdefs.h <<_ACEOF
41836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41837 _ACEOF
41838
41839 fi
41840 done
41841
41842   else
41843
41844   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
41845 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
41846   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41847     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
41848   echo $ECHO_N "(cached) $ECHO_C" >&6
41849 else
41850
41851
41852
41853       ac_ext=cc
41854 ac_cpp='$CXXCPP $CPPFLAGS'
41855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41858
41859       cat >conftest.$ac_ext <<_ACEOF
41860 /* confdefs.h.  */
41861 _ACEOF
41862 cat confdefs.h >>conftest.$ac_ext
41863 cat >>conftest.$ac_ext <<_ACEOF
41864 /* end confdefs.h.  */
41865 #include <math.h>
41866                       #ifdef HAVE_IEEEFP_H
41867                       #include <ieeefp.h>
41868                       #endif
41869
41870 int
41871 main ()
41872 {
41873  _sqrtf(0);
41874   ;
41875   return 0;
41876 }
41877 _ACEOF
41878 rm -f conftest.$ac_objext
41879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41880   (eval $ac_compile) 2>conftest.er1
41881   ac_status=$?
41882   grep -v '^ *+' conftest.er1 >conftest.err
41883   rm -f conftest.er1
41884   cat conftest.err >&5
41885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41886   (exit $ac_status); } &&
41887          { ac_try='test -z "$ac_cxx_werror_flag"
41888                          || test ! -s conftest.err'
41889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41890   (eval $ac_try) 2>&5
41891   ac_status=$?
41892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41893   (exit $ac_status); }; } &&
41894          { ac_try='test -s conftest.$ac_objext'
41895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41896   (eval $ac_try) 2>&5
41897   ac_status=$?
41898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41899   (exit $ac_status); }; }; then
41900   glibcxx_cv_func__sqrtf_use=yes
41901 else
41902   echo "$as_me: failed program was:" >&5
41903 sed 's/^/| /' conftest.$ac_ext >&5
41904
41905 glibcxx_cv_func__sqrtf_use=no
41906 fi
41907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41908       ac_ext=c
41909 ac_cpp='$CPP $CPPFLAGS'
41910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41913
41914
41915 fi
41916
41917   fi
41918   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
41919 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
41920
41921     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41922
41923 for ac_func in _sqrtf
41924 do
41925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41926 echo "$as_me:$LINENO: checking for $ac_func" >&5
41927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41928 if eval "test \"\${$as_ac_var+set}\" = set"; then
41929   echo $ECHO_N "(cached) $ECHO_C" >&6
41930 else
41931   if test x$gcc_no_link = xyes; then
41932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41934    { (exit 1); exit 1; }; }
41935 fi
41936 cat >conftest.$ac_ext <<_ACEOF
41937 /* confdefs.h.  */
41938 _ACEOF
41939 cat confdefs.h >>conftest.$ac_ext
41940 cat >>conftest.$ac_ext <<_ACEOF
41941 /* end confdefs.h.  */
41942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41943    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41944 #define $ac_func innocuous_$ac_func
41945
41946 /* System header to define __stub macros and hopefully few prototypes,
41947     which can conflict with char $ac_func (); below.
41948     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41949     <limits.h> exists even on freestanding compilers.  */
41950
41951 #ifdef __STDC__
41952 # include <limits.h>
41953 #else
41954 # include <assert.h>
41955 #endif
41956
41957 #undef $ac_func
41958
41959 /* Override any gcc2 internal prototype to avoid an error.  */
41960 #ifdef __cplusplus
41961 extern "C"
41962 {
41963 #endif
41964 /* We use char because int might match the return type of a gcc2
41965    builtin and then its argument prototype would still apply.  */
41966 char $ac_func ();
41967 /* The GNU C library defines this for functions which it implements
41968     to always fail with ENOSYS.  Some functions are actually named
41969     something starting with __ and the normal name is an alias.  */
41970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41971 choke me
41972 #else
41973 char (*f) () = $ac_func;
41974 #endif
41975 #ifdef __cplusplus
41976 }
41977 #endif
41978
41979 int
41980 main ()
41981 {
41982 return f != $ac_func;
41983   ;
41984   return 0;
41985 }
41986 _ACEOF
41987 rm -f conftest.$ac_objext conftest$ac_exeext
41988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41989   (eval $ac_link) 2>conftest.er1
41990   ac_status=$?
41991   grep -v '^ *+' conftest.er1 >conftest.err
41992   rm -f conftest.er1
41993   cat conftest.err >&5
41994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41995   (exit $ac_status); } &&
41996          { ac_try='test -z "$ac_c_werror_flag"
41997                          || test ! -s conftest.err'
41998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41999   (eval $ac_try) 2>&5
42000   ac_status=$?
42001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42002   (exit $ac_status); }; } &&
42003          { ac_try='test -s conftest$ac_exeext'
42004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42005   (eval $ac_try) 2>&5
42006   ac_status=$?
42007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42008   (exit $ac_status); }; }; then
42009   eval "$as_ac_var=yes"
42010 else
42011   echo "$as_me: failed program was:" >&5
42012 sed 's/^/| /' conftest.$ac_ext >&5
42013
42014 eval "$as_ac_var=no"
42015 fi
42016 rm -f conftest.err conftest.$ac_objext \
42017       conftest$ac_exeext conftest.$ac_ext
42018 fi
42019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42021 if test `eval echo '${'$as_ac_var'}'` = yes; then
42022   cat >>confdefs.h <<_ACEOF
42023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42024 _ACEOF
42025
42026 fi
42027 done
42028
42029     fi
42030   fi
42031
42032
42033
42034
42035
42036
42037   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
42038 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
42039   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42040     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
42041   echo $ECHO_N "(cached) $ECHO_C" >&6
42042 else
42043
42044
42045
42046       ac_ext=cc
42047 ac_cpp='$CXXCPP $CPPFLAGS'
42048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42051
42052       cat >conftest.$ac_ext <<_ACEOF
42053 /* confdefs.h.  */
42054 _ACEOF
42055 cat confdefs.h >>conftest.$ac_ext
42056 cat >>conftest.$ac_ext <<_ACEOF
42057 /* end confdefs.h.  */
42058 #include <math.h>
42059 int
42060 main ()
42061 {
42062  sincosf(0, 0, 0);
42063   ;
42064   return 0;
42065 }
42066 _ACEOF
42067 rm -f conftest.$ac_objext
42068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42069   (eval $ac_compile) 2>conftest.er1
42070   ac_status=$?
42071   grep -v '^ *+' conftest.er1 >conftest.err
42072   rm -f conftest.er1
42073   cat conftest.err >&5
42074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42075   (exit $ac_status); } &&
42076          { ac_try='test -z "$ac_cxx_werror_flag"
42077                          || test ! -s conftest.err'
42078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42079   (eval $ac_try) 2>&5
42080   ac_status=$?
42081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42082   (exit $ac_status); }; } &&
42083          { ac_try='test -s conftest.$ac_objext'
42084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42085   (eval $ac_try) 2>&5
42086   ac_status=$?
42087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42088   (exit $ac_status); }; }; then
42089   glibcxx_cv_func_sincosf_use=yes
42090 else
42091   echo "$as_me: failed program was:" >&5
42092 sed 's/^/| /' conftest.$ac_ext >&5
42093
42094 glibcxx_cv_func_sincosf_use=no
42095 fi
42096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42097       ac_ext=c
42098 ac_cpp='$CPP $CPPFLAGS'
42099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42102
42103
42104 fi
42105
42106   fi
42107   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42108 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42109
42110   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42111
42112 for ac_func in sincosf
42113 do
42114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42115 echo "$as_me:$LINENO: checking for $ac_func" >&5
42116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42117 if eval "test \"\${$as_ac_var+set}\" = set"; then
42118   echo $ECHO_N "(cached) $ECHO_C" >&6
42119 else
42120   if test x$gcc_no_link = xyes; then
42121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42123    { (exit 1); exit 1; }; }
42124 fi
42125 cat >conftest.$ac_ext <<_ACEOF
42126 /* confdefs.h.  */
42127 _ACEOF
42128 cat confdefs.h >>conftest.$ac_ext
42129 cat >>conftest.$ac_ext <<_ACEOF
42130 /* end confdefs.h.  */
42131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42133 #define $ac_func innocuous_$ac_func
42134
42135 /* System header to define __stub macros and hopefully few prototypes,
42136     which can conflict with char $ac_func (); below.
42137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42138     <limits.h> exists even on freestanding compilers.  */
42139
42140 #ifdef __STDC__
42141 # include <limits.h>
42142 #else
42143 # include <assert.h>
42144 #endif
42145
42146 #undef $ac_func
42147
42148 /* Override any gcc2 internal prototype to avoid an error.  */
42149 #ifdef __cplusplus
42150 extern "C"
42151 {
42152 #endif
42153 /* We use char because int might match the return type of a gcc2
42154    builtin and then its argument prototype would still apply.  */
42155 char $ac_func ();
42156 /* The GNU C library defines this for functions which it implements
42157     to always fail with ENOSYS.  Some functions are actually named
42158     something starting with __ and the normal name is an alias.  */
42159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42160 choke me
42161 #else
42162 char (*f) () = $ac_func;
42163 #endif
42164 #ifdef __cplusplus
42165 }
42166 #endif
42167
42168 int
42169 main ()
42170 {
42171 return f != $ac_func;
42172   ;
42173   return 0;
42174 }
42175 _ACEOF
42176 rm -f conftest.$ac_objext conftest$ac_exeext
42177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42178   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
42199 else
42200   echo "$as_me: failed program was:" >&5
42201 sed 's/^/| /' conftest.$ac_ext >&5
42202
42203 eval "$as_ac_var=no"
42204 fi
42205 rm -f conftest.err conftest.$ac_objext \
42206       conftest$ac_exeext conftest.$ac_ext
42207 fi
42208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42210 if test `eval echo '${'$as_ac_var'}'` = yes; then
42211   cat >>confdefs.h <<_ACEOF
42212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42213 _ACEOF
42214
42215 fi
42216 done
42217
42218   else
42219
42220   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42221 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42222   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42223     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42224   echo $ECHO_N "(cached) $ECHO_C" >&6
42225 else
42226
42227
42228
42229       ac_ext=cc
42230 ac_cpp='$CXXCPP $CPPFLAGS'
42231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42234
42235       cat >conftest.$ac_ext <<_ACEOF
42236 /* confdefs.h.  */
42237 _ACEOF
42238 cat confdefs.h >>conftest.$ac_ext
42239 cat >>conftest.$ac_ext <<_ACEOF
42240 /* end confdefs.h.  */
42241 #include <math.h>
42242 int
42243 main ()
42244 {
42245  _sincosf(0, 0, 0);
42246   ;
42247   return 0;
42248 }
42249 _ACEOF
42250 rm -f conftest.$ac_objext
42251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42252   (eval $ac_compile) 2>conftest.er1
42253   ac_status=$?
42254   grep -v '^ *+' conftest.er1 >conftest.err
42255   rm -f conftest.er1
42256   cat conftest.err >&5
42257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42258   (exit $ac_status); } &&
42259          { ac_try='test -z "$ac_cxx_werror_flag"
42260                          || test ! -s conftest.err'
42261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42262   (eval $ac_try) 2>&5
42263   ac_status=$?
42264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265   (exit $ac_status); }; } &&
42266          { ac_try='test -s conftest.$ac_objext'
42267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42268   (eval $ac_try) 2>&5
42269   ac_status=$?
42270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271   (exit $ac_status); }; }; then
42272   glibcxx_cv_func__sincosf_use=yes
42273 else
42274   echo "$as_me: failed program was:" >&5
42275 sed 's/^/| /' conftest.$ac_ext >&5
42276
42277 glibcxx_cv_func__sincosf_use=no
42278 fi
42279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42280       ac_ext=c
42281 ac_cpp='$CPP $CPPFLAGS'
42282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42285
42286
42287 fi
42288
42289   fi
42290   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42291 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42292
42293     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42294
42295 for ac_func in _sincosf
42296 do
42297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42298 echo "$as_me:$LINENO: checking for $ac_func" >&5
42299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42300 if eval "test \"\${$as_ac_var+set}\" = set"; then
42301   echo $ECHO_N "(cached) $ECHO_C" >&6
42302 else
42303   if test x$gcc_no_link = xyes; then
42304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42306    { (exit 1); exit 1; }; }
42307 fi
42308 cat >conftest.$ac_ext <<_ACEOF
42309 /* confdefs.h.  */
42310 _ACEOF
42311 cat confdefs.h >>conftest.$ac_ext
42312 cat >>conftest.$ac_ext <<_ACEOF
42313 /* end confdefs.h.  */
42314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42315    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42316 #define $ac_func innocuous_$ac_func
42317
42318 /* System header to define __stub macros and hopefully few prototypes,
42319     which can conflict with char $ac_func (); below.
42320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42321     <limits.h> exists even on freestanding compilers.  */
42322
42323 #ifdef __STDC__
42324 # include <limits.h>
42325 #else
42326 # include <assert.h>
42327 #endif
42328
42329 #undef $ac_func
42330
42331 /* Override any gcc2 internal prototype to avoid an error.  */
42332 #ifdef __cplusplus
42333 extern "C"
42334 {
42335 #endif
42336 /* We use char because int might match the return type of a gcc2
42337    builtin and then its argument prototype would still apply.  */
42338 char $ac_func ();
42339 /* The GNU C library defines this for functions which it implements
42340     to always fail with ENOSYS.  Some functions are actually named
42341     something starting with __ and the normal name is an alias.  */
42342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42343 choke me
42344 #else
42345 char (*f) () = $ac_func;
42346 #endif
42347 #ifdef __cplusplus
42348 }
42349 #endif
42350
42351 int
42352 main ()
42353 {
42354 return f != $ac_func;
42355   ;
42356   return 0;
42357 }
42358 _ACEOF
42359 rm -f conftest.$ac_objext conftest$ac_exeext
42360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42361   (eval $ac_link) 2>conftest.er1
42362   ac_status=$?
42363   grep -v '^ *+' conftest.er1 >conftest.err
42364   rm -f conftest.er1
42365   cat conftest.err >&5
42366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42367   (exit $ac_status); } &&
42368          { ac_try='test -z "$ac_c_werror_flag"
42369                          || test ! -s conftest.err'
42370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42371   (eval $ac_try) 2>&5
42372   ac_status=$?
42373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374   (exit $ac_status); }; } &&
42375          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
42381   eval "$as_ac_var=yes"
42382 else
42383   echo "$as_me: failed program was:" >&5
42384 sed 's/^/| /' conftest.$ac_ext >&5
42385
42386 eval "$as_ac_var=no"
42387 fi
42388 rm -f conftest.err conftest.$ac_objext \
42389       conftest$ac_exeext conftest.$ac_ext
42390 fi
42391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42393 if test `eval echo '${'$as_ac_var'}'` = yes; then
42394   cat >>confdefs.h <<_ACEOF
42395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42396 _ACEOF
42397
42398 fi
42399 done
42400
42401     fi
42402   fi
42403
42404
42405
42406
42407
42408
42409   echo "$as_me:$LINENO: checking for finitef declaration" >&5
42410 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42411   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42412     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42413   echo $ECHO_N "(cached) $ECHO_C" >&6
42414 else
42415
42416
42417
42418       ac_ext=cc
42419 ac_cpp='$CXXCPP $CPPFLAGS'
42420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42423
42424       cat >conftest.$ac_ext <<_ACEOF
42425 /* confdefs.h.  */
42426 _ACEOF
42427 cat confdefs.h >>conftest.$ac_ext
42428 cat >>conftest.$ac_ext <<_ACEOF
42429 /* end confdefs.h.  */
42430 #include <math.h>
42431                       #ifdef HAVE_IEEEFP_H
42432                       #include <ieeefp.h>
42433                       #endif
42434
42435 int
42436 main ()
42437 {
42438  finitef(0);
42439   ;
42440   return 0;
42441 }
42442 _ACEOF
42443 rm -f conftest.$ac_objext
42444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42445   (eval $ac_compile) 2>conftest.er1
42446   ac_status=$?
42447   grep -v '^ *+' conftest.er1 >conftest.err
42448   rm -f conftest.er1
42449   cat conftest.err >&5
42450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42451   (exit $ac_status); } &&
42452          { ac_try='test -z "$ac_cxx_werror_flag"
42453                          || test ! -s conftest.err'
42454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42455   (eval $ac_try) 2>&5
42456   ac_status=$?
42457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42458   (exit $ac_status); }; } &&
42459          { ac_try='test -s conftest.$ac_objext'
42460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42461   (eval $ac_try) 2>&5
42462   ac_status=$?
42463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42464   (exit $ac_status); }; }; then
42465   glibcxx_cv_func_finitef_use=yes
42466 else
42467   echo "$as_me: failed program was:" >&5
42468 sed 's/^/| /' conftest.$ac_ext >&5
42469
42470 glibcxx_cv_func_finitef_use=no
42471 fi
42472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42473       ac_ext=c
42474 ac_cpp='$CPP $CPPFLAGS'
42475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42478
42479
42480 fi
42481
42482   fi
42483   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42484 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42485
42486   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42487
42488 for ac_func in finitef
42489 do
42490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42491 echo "$as_me:$LINENO: checking for $ac_func" >&5
42492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42493 if eval "test \"\${$as_ac_var+set}\" = set"; then
42494   echo $ECHO_N "(cached) $ECHO_C" >&6
42495 else
42496   if test x$gcc_no_link = xyes; then
42497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42499    { (exit 1); exit 1; }; }
42500 fi
42501 cat >conftest.$ac_ext <<_ACEOF
42502 /* confdefs.h.  */
42503 _ACEOF
42504 cat confdefs.h >>conftest.$ac_ext
42505 cat >>conftest.$ac_ext <<_ACEOF
42506 /* end confdefs.h.  */
42507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42508    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42509 #define $ac_func innocuous_$ac_func
42510
42511 /* System header to define __stub macros and hopefully few prototypes,
42512     which can conflict with char $ac_func (); below.
42513     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42514     <limits.h> exists even on freestanding compilers.  */
42515
42516 #ifdef __STDC__
42517 # include <limits.h>
42518 #else
42519 # include <assert.h>
42520 #endif
42521
42522 #undef $ac_func
42523
42524 /* Override any gcc2 internal prototype to avoid an error.  */
42525 #ifdef __cplusplus
42526 extern "C"
42527 {
42528 #endif
42529 /* We use char because int might match the return type of a gcc2
42530    builtin and then its argument prototype would still apply.  */
42531 char $ac_func ();
42532 /* The GNU C library defines this for functions which it implements
42533     to always fail with ENOSYS.  Some functions are actually named
42534     something starting with __ and the normal name is an alias.  */
42535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42536 choke me
42537 #else
42538 char (*f) () = $ac_func;
42539 #endif
42540 #ifdef __cplusplus
42541 }
42542 #endif
42543
42544 int
42545 main ()
42546 {
42547 return f != $ac_func;
42548   ;
42549   return 0;
42550 }
42551 _ACEOF
42552 rm -f conftest.$ac_objext conftest$ac_exeext
42553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42554   (eval $ac_link) 2>conftest.er1
42555   ac_status=$?
42556   grep -v '^ *+' conftest.er1 >conftest.err
42557   rm -f conftest.er1
42558   cat conftest.err >&5
42559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42560   (exit $ac_status); } &&
42561          { ac_try='test -z "$ac_c_werror_flag"
42562                          || test ! -s conftest.err'
42563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42564   (eval $ac_try) 2>&5
42565   ac_status=$?
42566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42567   (exit $ac_status); }; } &&
42568          { ac_try='test -s conftest$ac_exeext'
42569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42570   (eval $ac_try) 2>&5
42571   ac_status=$?
42572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42573   (exit $ac_status); }; }; then
42574   eval "$as_ac_var=yes"
42575 else
42576   echo "$as_me: failed program was:" >&5
42577 sed 's/^/| /' conftest.$ac_ext >&5
42578
42579 eval "$as_ac_var=no"
42580 fi
42581 rm -f conftest.err conftest.$ac_objext \
42582       conftest$ac_exeext conftest.$ac_ext
42583 fi
42584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42586 if test `eval echo '${'$as_ac_var'}'` = yes; then
42587   cat >>confdefs.h <<_ACEOF
42588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42589 _ACEOF
42590
42591 fi
42592 done
42593
42594   else
42595
42596   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42597 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42598   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42599     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42600   echo $ECHO_N "(cached) $ECHO_C" >&6
42601 else
42602
42603
42604
42605       ac_ext=cc
42606 ac_cpp='$CXXCPP $CPPFLAGS'
42607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42610
42611       cat >conftest.$ac_ext <<_ACEOF
42612 /* confdefs.h.  */
42613 _ACEOF
42614 cat confdefs.h >>conftest.$ac_ext
42615 cat >>conftest.$ac_ext <<_ACEOF
42616 /* end confdefs.h.  */
42617 #include <math.h>
42618                       #ifdef HAVE_IEEEFP_H
42619                       #include <ieeefp.h>
42620                       #endif
42621
42622 int
42623 main ()
42624 {
42625  _finitef(0);
42626   ;
42627   return 0;
42628 }
42629 _ACEOF
42630 rm -f conftest.$ac_objext
42631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42632   (eval $ac_compile) 2>conftest.er1
42633   ac_status=$?
42634   grep -v '^ *+' conftest.er1 >conftest.err
42635   rm -f conftest.er1
42636   cat conftest.err >&5
42637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638   (exit $ac_status); } &&
42639          { ac_try='test -z "$ac_cxx_werror_flag"
42640                          || test ! -s conftest.err'
42641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42642   (eval $ac_try) 2>&5
42643   ac_status=$?
42644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42645   (exit $ac_status); }; } &&
42646          { ac_try='test -s conftest.$ac_objext'
42647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42648   (eval $ac_try) 2>&5
42649   ac_status=$?
42650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42651   (exit $ac_status); }; }; then
42652   glibcxx_cv_func__finitef_use=yes
42653 else
42654   echo "$as_me: failed program was:" >&5
42655 sed 's/^/| /' conftest.$ac_ext >&5
42656
42657 glibcxx_cv_func__finitef_use=no
42658 fi
42659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42660       ac_ext=c
42661 ac_cpp='$CPP $CPPFLAGS'
42662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42665
42666
42667 fi
42668
42669   fi
42670   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42671 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42672
42673     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42674
42675 for ac_func in _finitef
42676 do
42677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42678 echo "$as_me:$LINENO: checking for $ac_func" >&5
42679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42680 if eval "test \"\${$as_ac_var+set}\" = set"; then
42681   echo $ECHO_N "(cached) $ECHO_C" >&6
42682 else
42683   if test x$gcc_no_link = xyes; then
42684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42686    { (exit 1); exit 1; }; }
42687 fi
42688 cat >conftest.$ac_ext <<_ACEOF
42689 /* confdefs.h.  */
42690 _ACEOF
42691 cat confdefs.h >>conftest.$ac_ext
42692 cat >>conftest.$ac_ext <<_ACEOF
42693 /* end confdefs.h.  */
42694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42696 #define $ac_func innocuous_$ac_func
42697
42698 /* System header to define __stub macros and hopefully few prototypes,
42699     which can conflict with char $ac_func (); below.
42700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42701     <limits.h> exists even on freestanding compilers.  */
42702
42703 #ifdef __STDC__
42704 # include <limits.h>
42705 #else
42706 # include <assert.h>
42707 #endif
42708
42709 #undef $ac_func
42710
42711 /* Override any gcc2 internal prototype to avoid an error.  */
42712 #ifdef __cplusplus
42713 extern "C"
42714 {
42715 #endif
42716 /* We use char because int might match the return type of a gcc2
42717    builtin and then its argument prototype would still apply.  */
42718 char $ac_func ();
42719 /* The GNU C library defines this for functions which it implements
42720     to always fail with ENOSYS.  Some functions are actually named
42721     something starting with __ and the normal name is an alias.  */
42722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42723 choke me
42724 #else
42725 char (*f) () = $ac_func;
42726 #endif
42727 #ifdef __cplusplus
42728 }
42729 #endif
42730
42731 int
42732 main ()
42733 {
42734 return f != $ac_func;
42735   ;
42736   return 0;
42737 }
42738 _ACEOF
42739 rm -f conftest.$ac_objext conftest$ac_exeext
42740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42741   (eval $ac_link) 2>conftest.er1
42742   ac_status=$?
42743   grep -v '^ *+' conftest.er1 >conftest.err
42744   rm -f conftest.er1
42745   cat conftest.err >&5
42746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42747   (exit $ac_status); } &&
42748          { ac_try='test -z "$ac_c_werror_flag"
42749                          || test ! -s conftest.err'
42750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42751   (eval $ac_try) 2>&5
42752   ac_status=$?
42753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42754   (exit $ac_status); }; } &&
42755          { ac_try='test -s conftest$ac_exeext'
42756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42757   (eval $ac_try) 2>&5
42758   ac_status=$?
42759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760   (exit $ac_status); }; }; then
42761   eval "$as_ac_var=yes"
42762 else
42763   echo "$as_me: failed program was:" >&5
42764 sed 's/^/| /' conftest.$ac_ext >&5
42765
42766 eval "$as_ac_var=no"
42767 fi
42768 rm -f conftest.err conftest.$ac_objext \
42769       conftest$ac_exeext conftest.$ac_ext
42770 fi
42771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42773 if test `eval echo '${'$as_ac_var'}'` = yes; then
42774   cat >>confdefs.h <<_ACEOF
42775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42776 _ACEOF
42777
42778 fi
42779 done
42780
42781     fi
42782   fi
42783
42784
42785
42786
42787
42788
42789     echo "$as_me:$LINENO: checking for long double trig functions" >&5
42790 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42791   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42792   echo $ECHO_N "(cached) $ECHO_C" >&6
42793 else
42794
42795
42796
42797     ac_ext=cc
42798 ac_cpp='$CXXCPP $CPPFLAGS'
42799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42802
42803     cat >conftest.$ac_ext <<_ACEOF
42804 /* confdefs.h.  */
42805 _ACEOF
42806 cat confdefs.h >>conftest.$ac_ext
42807 cat >>conftest.$ac_ext <<_ACEOF
42808 /* end confdefs.h.  */
42809 #include <math.h>
42810 int
42811 main ()
42812 {
42813 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42814   ;
42815   return 0;
42816 }
42817 _ACEOF
42818 rm -f conftest.$ac_objext
42819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42820   (eval $ac_compile) 2>conftest.er1
42821   ac_status=$?
42822   grep -v '^ *+' conftest.er1 >conftest.err
42823   rm -f conftest.er1
42824   cat conftest.err >&5
42825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42826   (exit $ac_status); } &&
42827          { ac_try='test -z "$ac_cxx_werror_flag"
42828                          || test ! -s conftest.err'
42829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42830   (eval $ac_try) 2>&5
42831   ac_status=$?
42832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42833   (exit $ac_status); }; } &&
42834          { ac_try='test -s conftest.$ac_objext'
42835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42836   (eval $ac_try) 2>&5
42837   ac_status=$?
42838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42839   (exit $ac_status); }; }; then
42840   glibcxx_cv_func_long_double_trig_use=yes
42841 else
42842   echo "$as_me: failed program was:" >&5
42843 sed 's/^/| /' conftest.$ac_ext >&5
42844
42845 glibcxx_cv_func_long_double_trig_use=no
42846 fi
42847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42848     ac_ext=c
42849 ac_cpp='$CPP $CPPFLAGS'
42850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42853
42854 fi
42855
42856   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
42857 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
42858   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42859
42860
42861
42862
42863
42864
42865
42866
42867
42868 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42869 do
42870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42871 echo "$as_me:$LINENO: checking for $ac_func" >&5
42872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42873 if eval "test \"\${$as_ac_var+set}\" = set"; then
42874   echo $ECHO_N "(cached) $ECHO_C" >&6
42875 else
42876   if test x$gcc_no_link = xyes; then
42877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42879    { (exit 1); exit 1; }; }
42880 fi
42881 cat >conftest.$ac_ext <<_ACEOF
42882 /* confdefs.h.  */
42883 _ACEOF
42884 cat confdefs.h >>conftest.$ac_ext
42885 cat >>conftest.$ac_ext <<_ACEOF
42886 /* end confdefs.h.  */
42887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42889 #define $ac_func innocuous_$ac_func
42890
42891 /* System header to define __stub macros and hopefully few prototypes,
42892     which can conflict with char $ac_func (); below.
42893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42894     <limits.h> exists even on freestanding compilers.  */
42895
42896 #ifdef __STDC__
42897 # include <limits.h>
42898 #else
42899 # include <assert.h>
42900 #endif
42901
42902 #undef $ac_func
42903
42904 /* Override any gcc2 internal prototype to avoid an error.  */
42905 #ifdef __cplusplus
42906 extern "C"
42907 {
42908 #endif
42909 /* We use char because int might match the return type of a gcc2
42910    builtin and then its argument prototype would still apply.  */
42911 char $ac_func ();
42912 /* The GNU C library defines this for functions which it implements
42913     to always fail with ENOSYS.  Some functions are actually named
42914     something starting with __ and the normal name is an alias.  */
42915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42916 choke me
42917 #else
42918 char (*f) () = $ac_func;
42919 #endif
42920 #ifdef __cplusplus
42921 }
42922 #endif
42923
42924 int
42925 main ()
42926 {
42927 return f != $ac_func;
42928   ;
42929   return 0;
42930 }
42931 _ACEOF
42932 rm -f conftest.$ac_objext conftest$ac_exeext
42933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42934   (eval $ac_link) 2>conftest.er1
42935   ac_status=$?
42936   grep -v '^ *+' conftest.er1 >conftest.err
42937   rm -f conftest.er1
42938   cat conftest.err >&5
42939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42940   (exit $ac_status); } &&
42941          { ac_try='test -z "$ac_c_werror_flag"
42942                          || test ! -s conftest.err'
42943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42944   (eval $ac_try) 2>&5
42945   ac_status=$?
42946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42947   (exit $ac_status); }; } &&
42948          { ac_try='test -s conftest$ac_exeext'
42949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42950   (eval $ac_try) 2>&5
42951   ac_status=$?
42952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42953   (exit $ac_status); }; }; then
42954   eval "$as_ac_var=yes"
42955 else
42956   echo "$as_me: failed program was:" >&5
42957 sed 's/^/| /' conftest.$ac_ext >&5
42958
42959 eval "$as_ac_var=no"
42960 fi
42961 rm -f conftest.err conftest.$ac_objext \
42962       conftest$ac_exeext conftest.$ac_ext
42963 fi
42964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42966 if test `eval echo '${'$as_ac_var'}'` = yes; then
42967   cat >>confdefs.h <<_ACEOF
42968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42969 _ACEOF
42970
42971 fi
42972 done
42973
42974   else
42975     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
42976 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
42977     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
42978   echo $ECHO_N "(cached) $ECHO_C" >&6
42979 else
42980
42981
42982
42983       ac_ext=cc
42984 ac_cpp='$CXXCPP $CPPFLAGS'
42985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42988
42989       cat >conftest.$ac_ext <<_ACEOF
42990 /* confdefs.h.  */
42991 _ACEOF
42992 cat confdefs.h >>conftest.$ac_ext
42993 cat >>conftest.$ac_ext <<_ACEOF
42994 /* end confdefs.h.  */
42995 #include <math.h>
42996 int
42997 main ()
42998 {
42999 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43000   ;
43001   return 0;
43002 }
43003 _ACEOF
43004 rm -f conftest.$ac_objext
43005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43006   (eval $ac_compile) 2>conftest.er1
43007   ac_status=$?
43008   grep -v '^ *+' conftest.er1 >conftest.err
43009   rm -f conftest.er1
43010   cat conftest.err >&5
43011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43012   (exit $ac_status); } &&
43013          { ac_try='test -z "$ac_cxx_werror_flag"
43014                          || test ! -s conftest.err'
43015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43016   (eval $ac_try) 2>&5
43017   ac_status=$?
43018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43019   (exit $ac_status); }; } &&
43020          { ac_try='test -s conftest.$ac_objext'
43021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43022   (eval $ac_try) 2>&5
43023   ac_status=$?
43024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43025   (exit $ac_status); }; }; then
43026   glibcxx_cv_func__long_double_trig_use=yes
43027 else
43028   echo "$as_me: failed program was:" >&5
43029 sed 's/^/| /' conftest.$ac_ext >&5
43030
43031 glibcxx_cv_func__long_double_trig_use=no
43032 fi
43033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43034       ac_ext=c
43035 ac_cpp='$CPP $CPPFLAGS'
43036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43039
43040 fi
43041
43042     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
43043 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
43044     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43045
43046
43047
43048
43049
43050
43051
43052
43053
43054 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43055 do
43056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43057 echo "$as_me:$LINENO: checking for $ac_func" >&5
43058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43059 if eval "test \"\${$as_ac_var+set}\" = set"; then
43060   echo $ECHO_N "(cached) $ECHO_C" >&6
43061 else
43062   if test x$gcc_no_link = xyes; then
43063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43065    { (exit 1); exit 1; }; }
43066 fi
43067 cat >conftest.$ac_ext <<_ACEOF
43068 /* confdefs.h.  */
43069 _ACEOF
43070 cat confdefs.h >>conftest.$ac_ext
43071 cat >>conftest.$ac_ext <<_ACEOF
43072 /* end confdefs.h.  */
43073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43074    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43075 #define $ac_func innocuous_$ac_func
43076
43077 /* System header to define __stub macros and hopefully few prototypes,
43078     which can conflict with char $ac_func (); below.
43079     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43080     <limits.h> exists even on freestanding compilers.  */
43081
43082 #ifdef __STDC__
43083 # include <limits.h>
43084 #else
43085 # include <assert.h>
43086 #endif
43087
43088 #undef $ac_func
43089
43090 /* Override any gcc2 internal prototype to avoid an error.  */
43091 #ifdef __cplusplus
43092 extern "C"
43093 {
43094 #endif
43095 /* We use char because int might match the return type of a gcc2
43096    builtin and then its argument prototype would still apply.  */
43097 char $ac_func ();
43098 /* The GNU C library defines this for functions which it implements
43099     to always fail with ENOSYS.  Some functions are actually named
43100     something starting with __ and the normal name is an alias.  */
43101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43102 choke me
43103 #else
43104 char (*f) () = $ac_func;
43105 #endif
43106 #ifdef __cplusplus
43107 }
43108 #endif
43109
43110 int
43111 main ()
43112 {
43113 return f != $ac_func;
43114   ;
43115   return 0;
43116 }
43117 _ACEOF
43118 rm -f conftest.$ac_objext conftest$ac_exeext
43119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43120   (eval $ac_link) 2>conftest.er1
43121   ac_status=$?
43122   grep -v '^ *+' conftest.er1 >conftest.err
43123   rm -f conftest.er1
43124   cat conftest.err >&5
43125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43126   (exit $ac_status); } &&
43127          { ac_try='test -z "$ac_c_werror_flag"
43128                          || test ! -s conftest.err'
43129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43130   (eval $ac_try) 2>&5
43131   ac_status=$?
43132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43133   (exit $ac_status); }; } &&
43134          { ac_try='test -s conftest$ac_exeext'
43135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43136   (eval $ac_try) 2>&5
43137   ac_status=$?
43138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43139   (exit $ac_status); }; }; then
43140   eval "$as_ac_var=yes"
43141 else
43142   echo "$as_me: failed program was:" >&5
43143 sed 's/^/| /' conftest.$ac_ext >&5
43144
43145 eval "$as_ac_var=no"
43146 fi
43147 rm -f conftest.err conftest.$ac_objext \
43148       conftest$ac_exeext conftest.$ac_ext
43149 fi
43150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43152 if test `eval echo '${'$as_ac_var'}'` = yes; then
43153   cat >>confdefs.h <<_ACEOF
43154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43155 _ACEOF
43156
43157 fi
43158 done
43159
43160     fi
43161   fi
43162
43163
43164
43165
43166
43167
43168
43169
43170
43171
43172
43173
43174
43175
43176     echo "$as_me:$LINENO: checking for long double round functions" >&5
43177 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43178   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43179   echo $ECHO_N "(cached) $ECHO_C" >&6
43180 else
43181
43182
43183
43184     ac_ext=cc
43185 ac_cpp='$CXXCPP $CPPFLAGS'
43186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43189
43190     cat >conftest.$ac_ext <<_ACEOF
43191 /* confdefs.h.  */
43192 _ACEOF
43193 cat confdefs.h >>conftest.$ac_ext
43194 cat >>conftest.$ac_ext <<_ACEOF
43195 /* end confdefs.h.  */
43196 #include <math.h>
43197 int
43198 main ()
43199 {
43200 ceill (0); floorl (0);
43201   ;
43202   return 0;
43203 }
43204 _ACEOF
43205 rm -f conftest.$ac_objext
43206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43207   (eval $ac_compile) 2>conftest.er1
43208   ac_status=$?
43209   grep -v '^ *+' conftest.er1 >conftest.err
43210   rm -f conftest.er1
43211   cat conftest.err >&5
43212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43213   (exit $ac_status); } &&
43214          { ac_try='test -z "$ac_cxx_werror_flag"
43215                          || test ! -s conftest.err'
43216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43217   (eval $ac_try) 2>&5
43218   ac_status=$?
43219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43220   (exit $ac_status); }; } &&
43221          { ac_try='test -s conftest.$ac_objext'
43222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43223   (eval $ac_try) 2>&5
43224   ac_status=$?
43225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43226   (exit $ac_status); }; }; then
43227   glibcxx_cv_func_long_double_round_use=yes
43228 else
43229   echo "$as_me: failed program was:" >&5
43230 sed 's/^/| /' conftest.$ac_ext >&5
43231
43232 glibcxx_cv_func_long_double_round_use=no
43233 fi
43234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43235     ac_ext=c
43236 ac_cpp='$CPP $CPPFLAGS'
43237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43240
43241 fi
43242
43243   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43244 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43245   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43246
43247
43248 for ac_func in ceill floorl
43249 do
43250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43251 echo "$as_me:$LINENO: checking for $ac_func" >&5
43252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43253 if eval "test \"\${$as_ac_var+set}\" = set"; then
43254   echo $ECHO_N "(cached) $ECHO_C" >&6
43255 else
43256   if test x$gcc_no_link = xyes; then
43257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43259    { (exit 1); exit 1; }; }
43260 fi
43261 cat >conftest.$ac_ext <<_ACEOF
43262 /* confdefs.h.  */
43263 _ACEOF
43264 cat confdefs.h >>conftest.$ac_ext
43265 cat >>conftest.$ac_ext <<_ACEOF
43266 /* end confdefs.h.  */
43267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43268    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43269 #define $ac_func innocuous_$ac_func
43270
43271 /* System header to define __stub macros and hopefully few prototypes,
43272     which can conflict with char $ac_func (); below.
43273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43274     <limits.h> exists even on freestanding compilers.  */
43275
43276 #ifdef __STDC__
43277 # include <limits.h>
43278 #else
43279 # include <assert.h>
43280 #endif
43281
43282 #undef $ac_func
43283
43284 /* Override any gcc2 internal prototype to avoid an error.  */
43285 #ifdef __cplusplus
43286 extern "C"
43287 {
43288 #endif
43289 /* We use char because int might match the return type of a gcc2
43290    builtin and then its argument prototype would still apply.  */
43291 char $ac_func ();
43292 /* The GNU C library defines this for functions which it implements
43293     to always fail with ENOSYS.  Some functions are actually named
43294     something starting with __ and the normal name is an alias.  */
43295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43296 choke me
43297 #else
43298 char (*f) () = $ac_func;
43299 #endif
43300 #ifdef __cplusplus
43301 }
43302 #endif
43303
43304 int
43305 main ()
43306 {
43307 return f != $ac_func;
43308   ;
43309   return 0;
43310 }
43311 _ACEOF
43312 rm -f conftest.$ac_objext conftest$ac_exeext
43313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43314   (eval $ac_link) 2>conftest.er1
43315   ac_status=$?
43316   grep -v '^ *+' conftest.er1 >conftest.err
43317   rm -f conftest.er1
43318   cat conftest.err >&5
43319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43320   (exit $ac_status); } &&
43321          { ac_try='test -z "$ac_c_werror_flag"
43322                          || test ! -s conftest.err'
43323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43324   (eval $ac_try) 2>&5
43325   ac_status=$?
43326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43327   (exit $ac_status); }; } &&
43328          { ac_try='test -s conftest$ac_exeext'
43329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43330   (eval $ac_try) 2>&5
43331   ac_status=$?
43332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43333   (exit $ac_status); }; }; then
43334   eval "$as_ac_var=yes"
43335 else
43336   echo "$as_me: failed program was:" >&5
43337 sed 's/^/| /' conftest.$ac_ext >&5
43338
43339 eval "$as_ac_var=no"
43340 fi
43341 rm -f conftest.err conftest.$ac_objext \
43342       conftest$ac_exeext conftest.$ac_ext
43343 fi
43344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43346 if test `eval echo '${'$as_ac_var'}'` = yes; then
43347   cat >>confdefs.h <<_ACEOF
43348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43349 _ACEOF
43350
43351 fi
43352 done
43353
43354   else
43355     echo "$as_me:$LINENO: checking for _long double round functions" >&5
43356 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43357     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43358   echo $ECHO_N "(cached) $ECHO_C" >&6
43359 else
43360
43361
43362
43363       ac_ext=cc
43364 ac_cpp='$CXXCPP $CPPFLAGS'
43365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43368
43369       cat >conftest.$ac_ext <<_ACEOF
43370 /* confdefs.h.  */
43371 _ACEOF
43372 cat confdefs.h >>conftest.$ac_ext
43373 cat >>conftest.$ac_ext <<_ACEOF
43374 /* end confdefs.h.  */
43375 #include <math.h>
43376 int
43377 main ()
43378 {
43379 _ceill (0); _floorl (0);
43380   ;
43381   return 0;
43382 }
43383 _ACEOF
43384 rm -f conftest.$ac_objext
43385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43386   (eval $ac_compile) 2>conftest.er1
43387   ac_status=$?
43388   grep -v '^ *+' conftest.er1 >conftest.err
43389   rm -f conftest.er1
43390   cat conftest.err >&5
43391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43392   (exit $ac_status); } &&
43393          { ac_try='test -z "$ac_cxx_werror_flag"
43394                          || test ! -s conftest.err'
43395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43396   (eval $ac_try) 2>&5
43397   ac_status=$?
43398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43399   (exit $ac_status); }; } &&
43400          { ac_try='test -s conftest.$ac_objext'
43401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43402   (eval $ac_try) 2>&5
43403   ac_status=$?
43404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43405   (exit $ac_status); }; }; then
43406   glibcxx_cv_func__long_double_round_use=yes
43407 else
43408   echo "$as_me: failed program was:" >&5
43409 sed 's/^/| /' conftest.$ac_ext >&5
43410
43411 glibcxx_cv_func__long_double_round_use=no
43412 fi
43413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43414       ac_ext=c
43415 ac_cpp='$CPP $CPPFLAGS'
43416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43419
43420 fi
43421
43422     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43423 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43424     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43425
43426
43427 for ac_func in _ceill _floorl
43428 do
43429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43430 echo "$as_me:$LINENO: checking for $ac_func" >&5
43431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43432 if eval "test \"\${$as_ac_var+set}\" = set"; then
43433   echo $ECHO_N "(cached) $ECHO_C" >&6
43434 else
43435   if test x$gcc_no_link = xyes; then
43436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43438    { (exit 1); exit 1; }; }
43439 fi
43440 cat >conftest.$ac_ext <<_ACEOF
43441 /* confdefs.h.  */
43442 _ACEOF
43443 cat confdefs.h >>conftest.$ac_ext
43444 cat >>conftest.$ac_ext <<_ACEOF
43445 /* end confdefs.h.  */
43446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43447    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43448 #define $ac_func innocuous_$ac_func
43449
43450 /* System header to define __stub macros and hopefully few prototypes,
43451     which can conflict with char $ac_func (); below.
43452     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43453     <limits.h> exists even on freestanding compilers.  */
43454
43455 #ifdef __STDC__
43456 # include <limits.h>
43457 #else
43458 # include <assert.h>
43459 #endif
43460
43461 #undef $ac_func
43462
43463 /* Override any gcc2 internal prototype to avoid an error.  */
43464 #ifdef __cplusplus
43465 extern "C"
43466 {
43467 #endif
43468 /* We use char because int might match the return type of a gcc2
43469    builtin and then its argument prototype would still apply.  */
43470 char $ac_func ();
43471 /* The GNU C library defines this for functions which it implements
43472     to always fail with ENOSYS.  Some functions are actually named
43473     something starting with __ and the normal name is an alias.  */
43474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43475 choke me
43476 #else
43477 char (*f) () = $ac_func;
43478 #endif
43479 #ifdef __cplusplus
43480 }
43481 #endif
43482
43483 int
43484 main ()
43485 {
43486 return f != $ac_func;
43487   ;
43488   return 0;
43489 }
43490 _ACEOF
43491 rm -f conftest.$ac_objext conftest$ac_exeext
43492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43493   (eval $ac_link) 2>conftest.er1
43494   ac_status=$?
43495   grep -v '^ *+' conftest.er1 >conftest.err
43496   rm -f conftest.er1
43497   cat conftest.err >&5
43498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43499   (exit $ac_status); } &&
43500          { ac_try='test -z "$ac_c_werror_flag"
43501                          || test ! -s conftest.err'
43502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43503   (eval $ac_try) 2>&5
43504   ac_status=$?
43505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43506   (exit $ac_status); }; } &&
43507          { ac_try='test -s conftest$ac_exeext'
43508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43509   (eval $ac_try) 2>&5
43510   ac_status=$?
43511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43512   (exit $ac_status); }; }; then
43513   eval "$as_ac_var=yes"
43514 else
43515   echo "$as_me: failed program was:" >&5
43516 sed 's/^/| /' conftest.$ac_ext >&5
43517
43518 eval "$as_ac_var=no"
43519 fi
43520 rm -f conftest.err conftest.$ac_objext \
43521       conftest$ac_exeext conftest.$ac_ext
43522 fi
43523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43525 if test `eval echo '${'$as_ac_var'}'` = yes; then
43526   cat >>confdefs.h <<_ACEOF
43527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43528 _ACEOF
43529
43530 fi
43531 done
43532
43533     fi
43534   fi
43535
43536
43537
43538
43539
43540
43541
43542
43543   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43544 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43545   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43546     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43547   echo $ECHO_N "(cached) $ECHO_C" >&6
43548 else
43549
43550
43551
43552       ac_ext=cc
43553 ac_cpp='$CXXCPP $CPPFLAGS'
43554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43557
43558       cat >conftest.$ac_ext <<_ACEOF
43559 /* confdefs.h.  */
43560 _ACEOF
43561 cat confdefs.h >>conftest.$ac_ext
43562 cat >>conftest.$ac_ext <<_ACEOF
43563 /* end confdefs.h.  */
43564 #include <math.h>
43565                       #ifdef HAVE_IEEEFP_H
43566                       #include <ieeefp.h>
43567                       #endif
43568
43569 int
43570 main ()
43571 {
43572  isnanl(0);
43573   ;
43574   return 0;
43575 }
43576 _ACEOF
43577 rm -f conftest.$ac_objext
43578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43579   (eval $ac_compile) 2>conftest.er1
43580   ac_status=$?
43581   grep -v '^ *+' conftest.er1 >conftest.err
43582   rm -f conftest.er1
43583   cat conftest.err >&5
43584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43585   (exit $ac_status); } &&
43586          { ac_try='test -z "$ac_cxx_werror_flag"
43587                          || test ! -s conftest.err'
43588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43589   (eval $ac_try) 2>&5
43590   ac_status=$?
43591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43592   (exit $ac_status); }; } &&
43593          { ac_try='test -s conftest.$ac_objext'
43594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43595   (eval $ac_try) 2>&5
43596   ac_status=$?
43597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43598   (exit $ac_status); }; }; then
43599   glibcxx_cv_func_isnanl_use=yes
43600 else
43601   echo "$as_me: failed program was:" >&5
43602 sed 's/^/| /' conftest.$ac_ext >&5
43603
43604 glibcxx_cv_func_isnanl_use=no
43605 fi
43606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43607       ac_ext=c
43608 ac_cpp='$CPP $CPPFLAGS'
43609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43612
43613
43614 fi
43615
43616   fi
43617   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
43618 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43619
43620   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43621
43622 for ac_func in isnanl
43623 do
43624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43625 echo "$as_me:$LINENO: checking for $ac_func" >&5
43626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43627 if eval "test \"\${$as_ac_var+set}\" = set"; then
43628   echo $ECHO_N "(cached) $ECHO_C" >&6
43629 else
43630   if test x$gcc_no_link = xyes; then
43631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43633    { (exit 1); exit 1; }; }
43634 fi
43635 cat >conftest.$ac_ext <<_ACEOF
43636 /* confdefs.h.  */
43637 _ACEOF
43638 cat confdefs.h >>conftest.$ac_ext
43639 cat >>conftest.$ac_ext <<_ACEOF
43640 /* end confdefs.h.  */
43641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43642    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43643 #define $ac_func innocuous_$ac_func
43644
43645 /* System header to define __stub macros and hopefully few prototypes,
43646     which can conflict with char $ac_func (); below.
43647     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43648     <limits.h> exists even on freestanding compilers.  */
43649
43650 #ifdef __STDC__
43651 # include <limits.h>
43652 #else
43653 # include <assert.h>
43654 #endif
43655
43656 #undef $ac_func
43657
43658 /* Override any gcc2 internal prototype to avoid an error.  */
43659 #ifdef __cplusplus
43660 extern "C"
43661 {
43662 #endif
43663 /* We use char because int might match the return type of a gcc2
43664    builtin and then its argument prototype would still apply.  */
43665 char $ac_func ();
43666 /* The GNU C library defines this for functions which it implements
43667     to always fail with ENOSYS.  Some functions are actually named
43668     something starting with __ and the normal name is an alias.  */
43669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43670 choke me
43671 #else
43672 char (*f) () = $ac_func;
43673 #endif
43674 #ifdef __cplusplus
43675 }
43676 #endif
43677
43678 int
43679 main ()
43680 {
43681 return f != $ac_func;
43682   ;
43683   return 0;
43684 }
43685 _ACEOF
43686 rm -f conftest.$ac_objext conftest$ac_exeext
43687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43688   (eval $ac_link) 2>conftest.er1
43689   ac_status=$?
43690   grep -v '^ *+' conftest.er1 >conftest.err
43691   rm -f conftest.er1
43692   cat conftest.err >&5
43693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43694   (exit $ac_status); } &&
43695          { ac_try='test -z "$ac_c_werror_flag"
43696                          || test ! -s conftest.err'
43697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43698   (eval $ac_try) 2>&5
43699   ac_status=$?
43700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43701   (exit $ac_status); }; } &&
43702          { ac_try='test -s conftest$ac_exeext'
43703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43704   (eval $ac_try) 2>&5
43705   ac_status=$?
43706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43707   (exit $ac_status); }; }; then
43708   eval "$as_ac_var=yes"
43709 else
43710   echo "$as_me: failed program was:" >&5
43711 sed 's/^/| /' conftest.$ac_ext >&5
43712
43713 eval "$as_ac_var=no"
43714 fi
43715 rm -f conftest.err conftest.$ac_objext \
43716       conftest$ac_exeext conftest.$ac_ext
43717 fi
43718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43720 if test `eval echo '${'$as_ac_var'}'` = yes; then
43721   cat >>confdefs.h <<_ACEOF
43722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43723 _ACEOF
43724
43725 fi
43726 done
43727
43728   else
43729
43730   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43731 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43732   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43733     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43734   echo $ECHO_N "(cached) $ECHO_C" >&6
43735 else
43736
43737
43738
43739       ac_ext=cc
43740 ac_cpp='$CXXCPP $CPPFLAGS'
43741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43744
43745       cat >conftest.$ac_ext <<_ACEOF
43746 /* confdefs.h.  */
43747 _ACEOF
43748 cat confdefs.h >>conftest.$ac_ext
43749 cat >>conftest.$ac_ext <<_ACEOF
43750 /* end confdefs.h.  */
43751 #include <math.h>
43752                       #ifdef HAVE_IEEEFP_H
43753                       #include <ieeefp.h>
43754                       #endif
43755
43756 int
43757 main ()
43758 {
43759  _isnanl(0);
43760   ;
43761   return 0;
43762 }
43763 _ACEOF
43764 rm -f conftest.$ac_objext
43765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43766   (eval $ac_compile) 2>conftest.er1
43767   ac_status=$?
43768   grep -v '^ *+' conftest.er1 >conftest.err
43769   rm -f conftest.er1
43770   cat conftest.err >&5
43771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43772   (exit $ac_status); } &&
43773          { ac_try='test -z "$ac_cxx_werror_flag"
43774                          || test ! -s conftest.err'
43775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43776   (eval $ac_try) 2>&5
43777   ac_status=$?
43778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43779   (exit $ac_status); }; } &&
43780          { ac_try='test -s conftest.$ac_objext'
43781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43782   (eval $ac_try) 2>&5
43783   ac_status=$?
43784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43785   (exit $ac_status); }; }; then
43786   glibcxx_cv_func__isnanl_use=yes
43787 else
43788   echo "$as_me: failed program was:" >&5
43789 sed 's/^/| /' conftest.$ac_ext >&5
43790
43791 glibcxx_cv_func__isnanl_use=no
43792 fi
43793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43794       ac_ext=c
43795 ac_cpp='$CPP $CPPFLAGS'
43796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43799
43800
43801 fi
43802
43803   fi
43804   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43805 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43806
43807     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43808
43809 for ac_func in _isnanl
43810 do
43811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43812 echo "$as_me:$LINENO: checking for $ac_func" >&5
43813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43814 if eval "test \"\${$as_ac_var+set}\" = set"; then
43815   echo $ECHO_N "(cached) $ECHO_C" >&6
43816 else
43817   if test x$gcc_no_link = xyes; then
43818   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43820    { (exit 1); exit 1; }; }
43821 fi
43822 cat >conftest.$ac_ext <<_ACEOF
43823 /* confdefs.h.  */
43824 _ACEOF
43825 cat confdefs.h >>conftest.$ac_ext
43826 cat >>conftest.$ac_ext <<_ACEOF
43827 /* end confdefs.h.  */
43828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43829    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43830 #define $ac_func innocuous_$ac_func
43831
43832 /* System header to define __stub macros and hopefully few prototypes,
43833     which can conflict with char $ac_func (); below.
43834     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43835     <limits.h> exists even on freestanding compilers.  */
43836
43837 #ifdef __STDC__
43838 # include <limits.h>
43839 #else
43840 # include <assert.h>
43841 #endif
43842
43843 #undef $ac_func
43844
43845 /* Override any gcc2 internal prototype to avoid an error.  */
43846 #ifdef __cplusplus
43847 extern "C"
43848 {
43849 #endif
43850 /* We use char because int might match the return type of a gcc2
43851    builtin and then its argument prototype would still apply.  */
43852 char $ac_func ();
43853 /* The GNU C library defines this for functions which it implements
43854     to always fail with ENOSYS.  Some functions are actually named
43855     something starting with __ and the normal name is an alias.  */
43856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43857 choke me
43858 #else
43859 char (*f) () = $ac_func;
43860 #endif
43861 #ifdef __cplusplus
43862 }
43863 #endif
43864
43865 int
43866 main ()
43867 {
43868 return f != $ac_func;
43869   ;
43870   return 0;
43871 }
43872 _ACEOF
43873 rm -f conftest.$ac_objext conftest$ac_exeext
43874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43875   (eval $ac_link) 2>conftest.er1
43876   ac_status=$?
43877   grep -v '^ *+' conftest.er1 >conftest.err
43878   rm -f conftest.er1
43879   cat conftest.err >&5
43880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43881   (exit $ac_status); } &&
43882          { ac_try='test -z "$ac_c_werror_flag"
43883                          || test ! -s conftest.err'
43884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43885   (eval $ac_try) 2>&5
43886   ac_status=$?
43887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43888   (exit $ac_status); }; } &&
43889          { ac_try='test -s conftest$ac_exeext'
43890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43891   (eval $ac_try) 2>&5
43892   ac_status=$?
43893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43894   (exit $ac_status); }; }; then
43895   eval "$as_ac_var=yes"
43896 else
43897   echo "$as_me: failed program was:" >&5
43898 sed 's/^/| /' conftest.$ac_ext >&5
43899
43900 eval "$as_ac_var=no"
43901 fi
43902 rm -f conftest.err conftest.$ac_objext \
43903       conftest$ac_exeext conftest.$ac_ext
43904 fi
43905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43907 if test `eval echo '${'$as_ac_var'}'` = yes; then
43908   cat >>confdefs.h <<_ACEOF
43909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43910 _ACEOF
43911
43912 fi
43913 done
43914
43915     fi
43916   fi
43917
43918
43919
43920
43921
43922
43923   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
43924 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
43925   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43926     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
43927   echo $ECHO_N "(cached) $ECHO_C" >&6
43928 else
43929
43930
43931
43932       ac_ext=cc
43933 ac_cpp='$CXXCPP $CPPFLAGS'
43934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43937
43938       cat >conftest.$ac_ext <<_ACEOF
43939 /* confdefs.h.  */
43940 _ACEOF
43941 cat confdefs.h >>conftest.$ac_ext
43942 cat >>conftest.$ac_ext <<_ACEOF
43943 /* end confdefs.h.  */
43944 #include <math.h>
43945                       #ifdef HAVE_IEEEFP_H
43946                       #include <ieeefp.h>
43947                       #endif
43948
43949 int
43950 main ()
43951 {
43952  isinfl(0);
43953   ;
43954   return 0;
43955 }
43956 _ACEOF
43957 rm -f conftest.$ac_objext
43958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43959   (eval $ac_compile) 2>conftest.er1
43960   ac_status=$?
43961   grep -v '^ *+' conftest.er1 >conftest.err
43962   rm -f conftest.er1
43963   cat conftest.err >&5
43964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43965   (exit $ac_status); } &&
43966          { ac_try='test -z "$ac_cxx_werror_flag"
43967                          || test ! -s conftest.err'
43968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43969   (eval $ac_try) 2>&5
43970   ac_status=$?
43971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43972   (exit $ac_status); }; } &&
43973          { ac_try='test -s conftest.$ac_objext'
43974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43975   (eval $ac_try) 2>&5
43976   ac_status=$?
43977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43978   (exit $ac_status); }; }; then
43979   glibcxx_cv_func_isinfl_use=yes
43980 else
43981   echo "$as_me: failed program was:" >&5
43982 sed 's/^/| /' conftest.$ac_ext >&5
43983
43984 glibcxx_cv_func_isinfl_use=no
43985 fi
43986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43987       ac_ext=c
43988 ac_cpp='$CPP $CPPFLAGS'
43989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43992
43993
43994 fi
43995
43996   fi
43997   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
43998 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
43999
44000   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44001
44002 for ac_func in isinfl
44003 do
44004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44005 echo "$as_me:$LINENO: checking for $ac_func" >&5
44006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44007 if eval "test \"\${$as_ac_var+set}\" = set"; then
44008   echo $ECHO_N "(cached) $ECHO_C" >&6
44009 else
44010   if test x$gcc_no_link = xyes; then
44011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44013    { (exit 1); exit 1; }; }
44014 fi
44015 cat >conftest.$ac_ext <<_ACEOF
44016 /* confdefs.h.  */
44017 _ACEOF
44018 cat confdefs.h >>conftest.$ac_ext
44019 cat >>conftest.$ac_ext <<_ACEOF
44020 /* end confdefs.h.  */
44021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44023 #define $ac_func innocuous_$ac_func
44024
44025 /* System header to define __stub macros and hopefully few prototypes,
44026     which can conflict with char $ac_func (); below.
44027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44028     <limits.h> exists even on freestanding compilers.  */
44029
44030 #ifdef __STDC__
44031 # include <limits.h>
44032 #else
44033 # include <assert.h>
44034 #endif
44035
44036 #undef $ac_func
44037
44038 /* Override any gcc2 internal prototype to avoid an error.  */
44039 #ifdef __cplusplus
44040 extern "C"
44041 {
44042 #endif
44043 /* We use char because int might match the return type of a gcc2
44044    builtin and then its argument prototype would still apply.  */
44045 char $ac_func ();
44046 /* The GNU C library defines this for functions which it implements
44047     to always fail with ENOSYS.  Some functions are actually named
44048     something starting with __ and the normal name is an alias.  */
44049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44050 choke me
44051 #else
44052 char (*f) () = $ac_func;
44053 #endif
44054 #ifdef __cplusplus
44055 }
44056 #endif
44057
44058 int
44059 main ()
44060 {
44061 return f != $ac_func;
44062   ;
44063   return 0;
44064 }
44065 _ACEOF
44066 rm -f conftest.$ac_objext conftest$ac_exeext
44067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44068   (eval $ac_link) 2>conftest.er1
44069   ac_status=$?
44070   grep -v '^ *+' conftest.er1 >conftest.err
44071   rm -f conftest.er1
44072   cat conftest.err >&5
44073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074   (exit $ac_status); } &&
44075          { ac_try='test -z "$ac_c_werror_flag"
44076                          || test ! -s conftest.err'
44077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44078   (eval $ac_try) 2>&5
44079   ac_status=$?
44080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44081   (exit $ac_status); }; } &&
44082          { ac_try='test -s conftest$ac_exeext'
44083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44084   (eval $ac_try) 2>&5
44085   ac_status=$?
44086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44087   (exit $ac_status); }; }; then
44088   eval "$as_ac_var=yes"
44089 else
44090   echo "$as_me: failed program was:" >&5
44091 sed 's/^/| /' conftest.$ac_ext >&5
44092
44093 eval "$as_ac_var=no"
44094 fi
44095 rm -f conftest.err conftest.$ac_objext \
44096       conftest$ac_exeext conftest.$ac_ext
44097 fi
44098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44100 if test `eval echo '${'$as_ac_var'}'` = yes; then
44101   cat >>confdefs.h <<_ACEOF
44102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44103 _ACEOF
44104
44105 fi
44106 done
44107
44108   else
44109
44110   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44111 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44112   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44113     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44114   echo $ECHO_N "(cached) $ECHO_C" >&6
44115 else
44116
44117
44118
44119       ac_ext=cc
44120 ac_cpp='$CXXCPP $CPPFLAGS'
44121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44124
44125       cat >conftest.$ac_ext <<_ACEOF
44126 /* confdefs.h.  */
44127 _ACEOF
44128 cat confdefs.h >>conftest.$ac_ext
44129 cat >>conftest.$ac_ext <<_ACEOF
44130 /* end confdefs.h.  */
44131 #include <math.h>
44132                       #ifdef HAVE_IEEEFP_H
44133                       #include <ieeefp.h>
44134                       #endif
44135
44136 int
44137 main ()
44138 {
44139  _isinfl(0);
44140   ;
44141   return 0;
44142 }
44143 _ACEOF
44144 rm -f conftest.$ac_objext
44145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44146   (eval $ac_compile) 2>conftest.er1
44147   ac_status=$?
44148   grep -v '^ *+' conftest.er1 >conftest.err
44149   rm -f conftest.er1
44150   cat conftest.err >&5
44151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152   (exit $ac_status); } &&
44153          { ac_try='test -z "$ac_cxx_werror_flag"
44154                          || test ! -s conftest.err'
44155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44156   (eval $ac_try) 2>&5
44157   ac_status=$?
44158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44159   (exit $ac_status); }; } &&
44160          { ac_try='test -s conftest.$ac_objext'
44161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44162   (eval $ac_try) 2>&5
44163   ac_status=$?
44164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44165   (exit $ac_status); }; }; then
44166   glibcxx_cv_func__isinfl_use=yes
44167 else
44168   echo "$as_me: failed program was:" >&5
44169 sed 's/^/| /' conftest.$ac_ext >&5
44170
44171 glibcxx_cv_func__isinfl_use=no
44172 fi
44173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44174       ac_ext=c
44175 ac_cpp='$CPP $CPPFLAGS'
44176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44179
44180
44181 fi
44182
44183   fi
44184   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44185 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44186
44187     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44188
44189 for ac_func in _isinfl
44190 do
44191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44192 echo "$as_me:$LINENO: checking for $ac_func" >&5
44193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44194 if eval "test \"\${$as_ac_var+set}\" = set"; then
44195   echo $ECHO_N "(cached) $ECHO_C" >&6
44196 else
44197   if test x$gcc_no_link = xyes; then
44198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44200    { (exit 1); exit 1; }; }
44201 fi
44202 cat >conftest.$ac_ext <<_ACEOF
44203 /* confdefs.h.  */
44204 _ACEOF
44205 cat confdefs.h >>conftest.$ac_ext
44206 cat >>conftest.$ac_ext <<_ACEOF
44207 /* end confdefs.h.  */
44208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44210 #define $ac_func innocuous_$ac_func
44211
44212 /* System header to define __stub macros and hopefully few prototypes,
44213     which can conflict with char $ac_func (); below.
44214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44215     <limits.h> exists even on freestanding compilers.  */
44216
44217 #ifdef __STDC__
44218 # include <limits.h>
44219 #else
44220 # include <assert.h>
44221 #endif
44222
44223 #undef $ac_func
44224
44225 /* Override any gcc2 internal prototype to avoid an error.  */
44226 #ifdef __cplusplus
44227 extern "C"
44228 {
44229 #endif
44230 /* We use char because int might match the return type of a gcc2
44231    builtin and then its argument prototype would still apply.  */
44232 char $ac_func ();
44233 /* The GNU C library defines this for functions which it implements
44234     to always fail with ENOSYS.  Some functions are actually named
44235     something starting with __ and the normal name is an alias.  */
44236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44237 choke me
44238 #else
44239 char (*f) () = $ac_func;
44240 #endif
44241 #ifdef __cplusplus
44242 }
44243 #endif
44244
44245 int
44246 main ()
44247 {
44248 return f != $ac_func;
44249   ;
44250   return 0;
44251 }
44252 _ACEOF
44253 rm -f conftest.$ac_objext conftest$ac_exeext
44254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44255   (eval $ac_link) 2>conftest.er1
44256   ac_status=$?
44257   grep -v '^ *+' conftest.er1 >conftest.err
44258   rm -f conftest.er1
44259   cat conftest.err >&5
44260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44261   (exit $ac_status); } &&
44262          { ac_try='test -z "$ac_c_werror_flag"
44263                          || test ! -s conftest.err'
44264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44265   (eval $ac_try) 2>&5
44266   ac_status=$?
44267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44268   (exit $ac_status); }; } &&
44269          { ac_try='test -s conftest$ac_exeext'
44270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44271   (eval $ac_try) 2>&5
44272   ac_status=$?
44273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44274   (exit $ac_status); }; }; then
44275   eval "$as_ac_var=yes"
44276 else
44277   echo "$as_me: failed program was:" >&5
44278 sed 's/^/| /' conftest.$ac_ext >&5
44279
44280 eval "$as_ac_var=no"
44281 fi
44282 rm -f conftest.err conftest.$ac_objext \
44283       conftest$ac_exeext conftest.$ac_ext
44284 fi
44285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44287 if test `eval echo '${'$as_ac_var'}'` = yes; then
44288   cat >>confdefs.h <<_ACEOF
44289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44290 _ACEOF
44291
44292 fi
44293 done
44294
44295     fi
44296   fi
44297
44298
44299
44300
44301
44302
44303   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44304 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44305   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44306     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44307   echo $ECHO_N "(cached) $ECHO_C" >&6
44308 else
44309
44310
44311
44312       ac_ext=cc
44313 ac_cpp='$CXXCPP $CPPFLAGS'
44314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44317
44318       cat >conftest.$ac_ext <<_ACEOF
44319 /* confdefs.h.  */
44320 _ACEOF
44321 cat confdefs.h >>conftest.$ac_ext
44322 cat >>conftest.$ac_ext <<_ACEOF
44323 /* end confdefs.h.  */
44324 #include <math.h>
44325 int
44326 main ()
44327 {
44328  copysignl(0, 0);
44329   ;
44330   return 0;
44331 }
44332 _ACEOF
44333 rm -f conftest.$ac_objext
44334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44335   (eval $ac_compile) 2>conftest.er1
44336   ac_status=$?
44337   grep -v '^ *+' conftest.er1 >conftest.err
44338   rm -f conftest.er1
44339   cat conftest.err >&5
44340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44341   (exit $ac_status); } &&
44342          { ac_try='test -z "$ac_cxx_werror_flag"
44343                          || test ! -s conftest.err'
44344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44345   (eval $ac_try) 2>&5
44346   ac_status=$?
44347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44348   (exit $ac_status); }; } &&
44349          { ac_try='test -s conftest.$ac_objext'
44350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44351   (eval $ac_try) 2>&5
44352   ac_status=$?
44353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44354   (exit $ac_status); }; }; then
44355   glibcxx_cv_func_copysignl_use=yes
44356 else
44357   echo "$as_me: failed program was:" >&5
44358 sed 's/^/| /' conftest.$ac_ext >&5
44359
44360 glibcxx_cv_func_copysignl_use=no
44361 fi
44362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44363       ac_ext=c
44364 ac_cpp='$CPP $CPPFLAGS'
44365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44368
44369
44370 fi
44371
44372   fi
44373   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44374 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44375
44376   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44377
44378 for ac_func in copysignl
44379 do
44380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44381 echo "$as_me:$LINENO: checking for $ac_func" >&5
44382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44383 if eval "test \"\${$as_ac_var+set}\" = set"; then
44384   echo $ECHO_N "(cached) $ECHO_C" >&6
44385 else
44386   if test x$gcc_no_link = xyes; then
44387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44389    { (exit 1); exit 1; }; }
44390 fi
44391 cat >conftest.$ac_ext <<_ACEOF
44392 /* confdefs.h.  */
44393 _ACEOF
44394 cat confdefs.h >>conftest.$ac_ext
44395 cat >>conftest.$ac_ext <<_ACEOF
44396 /* end confdefs.h.  */
44397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44399 #define $ac_func innocuous_$ac_func
44400
44401 /* System header to define __stub macros and hopefully few prototypes,
44402     which can conflict with char $ac_func (); below.
44403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44404     <limits.h> exists even on freestanding compilers.  */
44405
44406 #ifdef __STDC__
44407 # include <limits.h>
44408 #else
44409 # include <assert.h>
44410 #endif
44411
44412 #undef $ac_func
44413
44414 /* Override any gcc2 internal prototype to avoid an error.  */
44415 #ifdef __cplusplus
44416 extern "C"
44417 {
44418 #endif
44419 /* We use char because int might match the return type of a gcc2
44420    builtin and then its argument prototype would still apply.  */
44421 char $ac_func ();
44422 /* The GNU C library defines this for functions which it implements
44423     to always fail with ENOSYS.  Some functions are actually named
44424     something starting with __ and the normal name is an alias.  */
44425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44426 choke me
44427 #else
44428 char (*f) () = $ac_func;
44429 #endif
44430 #ifdef __cplusplus
44431 }
44432 #endif
44433
44434 int
44435 main ()
44436 {
44437 return f != $ac_func;
44438   ;
44439   return 0;
44440 }
44441 _ACEOF
44442 rm -f conftest.$ac_objext conftest$ac_exeext
44443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44444   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
44465 else
44466   echo "$as_me: failed program was:" >&5
44467 sed 's/^/| /' conftest.$ac_ext >&5
44468
44469 eval "$as_ac_var=no"
44470 fi
44471 rm -f conftest.err conftest.$ac_objext \
44472       conftest$ac_exeext conftest.$ac_ext
44473 fi
44474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44476 if test `eval echo '${'$as_ac_var'}'` = yes; then
44477   cat >>confdefs.h <<_ACEOF
44478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44479 _ACEOF
44480
44481 fi
44482 done
44483
44484   else
44485
44486   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44487 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44488   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44489     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44490   echo $ECHO_N "(cached) $ECHO_C" >&6
44491 else
44492
44493
44494
44495       ac_ext=cc
44496 ac_cpp='$CXXCPP $CPPFLAGS'
44497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44500
44501       cat >conftest.$ac_ext <<_ACEOF
44502 /* confdefs.h.  */
44503 _ACEOF
44504 cat confdefs.h >>conftest.$ac_ext
44505 cat >>conftest.$ac_ext <<_ACEOF
44506 /* end confdefs.h.  */
44507 #include <math.h>
44508 int
44509 main ()
44510 {
44511  _copysignl(0, 0);
44512   ;
44513   return 0;
44514 }
44515 _ACEOF
44516 rm -f conftest.$ac_objext
44517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44518   (eval $ac_compile) 2>conftest.er1
44519   ac_status=$?
44520   grep -v '^ *+' conftest.er1 >conftest.err
44521   rm -f conftest.er1
44522   cat conftest.err >&5
44523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524   (exit $ac_status); } &&
44525          { ac_try='test -z "$ac_cxx_werror_flag"
44526                          || test ! -s conftest.err'
44527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44528   (eval $ac_try) 2>&5
44529   ac_status=$?
44530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531   (exit $ac_status); }; } &&
44532          { ac_try='test -s conftest.$ac_objext'
44533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44534   (eval $ac_try) 2>&5
44535   ac_status=$?
44536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44537   (exit $ac_status); }; }; then
44538   glibcxx_cv_func__copysignl_use=yes
44539 else
44540   echo "$as_me: failed program was:" >&5
44541 sed 's/^/| /' conftest.$ac_ext >&5
44542
44543 glibcxx_cv_func__copysignl_use=no
44544 fi
44545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44546       ac_ext=c
44547 ac_cpp='$CPP $CPPFLAGS'
44548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44551
44552
44553 fi
44554
44555   fi
44556   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44557 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44558
44559     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44560
44561 for ac_func in _copysignl
44562 do
44563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44564 echo "$as_me:$LINENO: checking for $ac_func" >&5
44565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44566 if eval "test \"\${$as_ac_var+set}\" = set"; then
44567   echo $ECHO_N "(cached) $ECHO_C" >&6
44568 else
44569   if test x$gcc_no_link = xyes; then
44570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44572    { (exit 1); exit 1; }; }
44573 fi
44574 cat >conftest.$ac_ext <<_ACEOF
44575 /* confdefs.h.  */
44576 _ACEOF
44577 cat confdefs.h >>conftest.$ac_ext
44578 cat >>conftest.$ac_ext <<_ACEOF
44579 /* end confdefs.h.  */
44580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44582 #define $ac_func innocuous_$ac_func
44583
44584 /* System header to define __stub macros and hopefully few prototypes,
44585     which can conflict with char $ac_func (); below.
44586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44587     <limits.h> exists even on freestanding compilers.  */
44588
44589 #ifdef __STDC__
44590 # include <limits.h>
44591 #else
44592 # include <assert.h>
44593 #endif
44594
44595 #undef $ac_func
44596
44597 /* Override any gcc2 internal prototype to avoid an error.  */
44598 #ifdef __cplusplus
44599 extern "C"
44600 {
44601 #endif
44602 /* We use char because int might match the return type of a gcc2
44603    builtin and then its argument prototype would still apply.  */
44604 char $ac_func ();
44605 /* The GNU C library defines this for functions which it implements
44606     to always fail with ENOSYS.  Some functions are actually named
44607     something starting with __ and the normal name is an alias.  */
44608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44609 choke me
44610 #else
44611 char (*f) () = $ac_func;
44612 #endif
44613 #ifdef __cplusplus
44614 }
44615 #endif
44616
44617 int
44618 main ()
44619 {
44620 return f != $ac_func;
44621   ;
44622   return 0;
44623 }
44624 _ACEOF
44625 rm -f conftest.$ac_objext conftest$ac_exeext
44626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44627   (eval $ac_link) 2>conftest.er1
44628   ac_status=$?
44629   grep -v '^ *+' conftest.er1 >conftest.err
44630   rm -f conftest.er1
44631   cat conftest.err >&5
44632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44633   (exit $ac_status); } &&
44634          { ac_try='test -z "$ac_c_werror_flag"
44635                          || test ! -s conftest.err'
44636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44637   (eval $ac_try) 2>&5
44638   ac_status=$?
44639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44640   (exit $ac_status); }; } &&
44641          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
44647   eval "$as_ac_var=yes"
44648 else
44649   echo "$as_me: failed program was:" >&5
44650 sed 's/^/| /' conftest.$ac_ext >&5
44651
44652 eval "$as_ac_var=no"
44653 fi
44654 rm -f conftest.err conftest.$ac_objext \
44655       conftest$ac_exeext conftest.$ac_ext
44656 fi
44657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44659 if test `eval echo '${'$as_ac_var'}'` = yes; then
44660   cat >>confdefs.h <<_ACEOF
44661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44662 _ACEOF
44663
44664 fi
44665 done
44666
44667     fi
44668   fi
44669
44670
44671
44672
44673
44674
44675   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44676 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44677   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44678     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44679   echo $ECHO_N "(cached) $ECHO_C" >&6
44680 else
44681
44682
44683
44684       ac_ext=cc
44685 ac_cpp='$CXXCPP $CPPFLAGS'
44686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44689
44690       cat >conftest.$ac_ext <<_ACEOF
44691 /* confdefs.h.  */
44692 _ACEOF
44693 cat confdefs.h >>conftest.$ac_ext
44694 cat >>conftest.$ac_ext <<_ACEOF
44695 /* end confdefs.h.  */
44696 #include <math.h>
44697 int
44698 main ()
44699 {
44700  atan2l(0, 0);
44701   ;
44702   return 0;
44703 }
44704 _ACEOF
44705 rm -f conftest.$ac_objext
44706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44707   (eval $ac_compile) 2>conftest.er1
44708   ac_status=$?
44709   grep -v '^ *+' conftest.er1 >conftest.err
44710   rm -f conftest.er1
44711   cat conftest.err >&5
44712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44713   (exit $ac_status); } &&
44714          { ac_try='test -z "$ac_cxx_werror_flag"
44715                          || test ! -s conftest.err'
44716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44717   (eval $ac_try) 2>&5
44718   ac_status=$?
44719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44720   (exit $ac_status); }; } &&
44721          { ac_try='test -s conftest.$ac_objext'
44722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44723   (eval $ac_try) 2>&5
44724   ac_status=$?
44725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44726   (exit $ac_status); }; }; then
44727   glibcxx_cv_func_atan2l_use=yes
44728 else
44729   echo "$as_me: failed program was:" >&5
44730 sed 's/^/| /' conftest.$ac_ext >&5
44731
44732 glibcxx_cv_func_atan2l_use=no
44733 fi
44734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44735       ac_ext=c
44736 ac_cpp='$CPP $CPPFLAGS'
44737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44740
44741
44742 fi
44743
44744   fi
44745   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44746 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44747
44748   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44749
44750 for ac_func in atan2l
44751 do
44752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44753 echo "$as_me:$LINENO: checking for $ac_func" >&5
44754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44755 if eval "test \"\${$as_ac_var+set}\" = set"; then
44756   echo $ECHO_N "(cached) $ECHO_C" >&6
44757 else
44758   if test x$gcc_no_link = xyes; then
44759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44761    { (exit 1); exit 1; }; }
44762 fi
44763 cat >conftest.$ac_ext <<_ACEOF
44764 /* confdefs.h.  */
44765 _ACEOF
44766 cat confdefs.h >>conftest.$ac_ext
44767 cat >>conftest.$ac_ext <<_ACEOF
44768 /* end confdefs.h.  */
44769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44771 #define $ac_func innocuous_$ac_func
44772
44773 /* System header to define __stub macros and hopefully few prototypes,
44774     which can conflict with char $ac_func (); below.
44775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44776     <limits.h> exists even on freestanding compilers.  */
44777
44778 #ifdef __STDC__
44779 # include <limits.h>
44780 #else
44781 # include <assert.h>
44782 #endif
44783
44784 #undef $ac_func
44785
44786 /* Override any gcc2 internal prototype to avoid an error.  */
44787 #ifdef __cplusplus
44788 extern "C"
44789 {
44790 #endif
44791 /* We use char because int might match the return type of a gcc2
44792    builtin and then its argument prototype would still apply.  */
44793 char $ac_func ();
44794 /* The GNU C library defines this for functions which it implements
44795     to always fail with ENOSYS.  Some functions are actually named
44796     something starting with __ and the normal name is an alias.  */
44797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44798 choke me
44799 #else
44800 char (*f) () = $ac_func;
44801 #endif
44802 #ifdef __cplusplus
44803 }
44804 #endif
44805
44806 int
44807 main ()
44808 {
44809 return f != $ac_func;
44810   ;
44811   return 0;
44812 }
44813 _ACEOF
44814 rm -f conftest.$ac_objext conftest$ac_exeext
44815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44816   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
44837 else
44838   echo "$as_me: failed program was:" >&5
44839 sed 's/^/| /' conftest.$ac_ext >&5
44840
44841 eval "$as_ac_var=no"
44842 fi
44843 rm -f conftest.err conftest.$ac_objext \
44844       conftest$ac_exeext conftest.$ac_ext
44845 fi
44846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44848 if test `eval echo '${'$as_ac_var'}'` = yes; then
44849   cat >>confdefs.h <<_ACEOF
44850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44851 _ACEOF
44852
44853 fi
44854 done
44855
44856   else
44857
44858   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
44859 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
44860   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44861     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
44862   echo $ECHO_N "(cached) $ECHO_C" >&6
44863 else
44864
44865
44866
44867       ac_ext=cc
44868 ac_cpp='$CXXCPP $CPPFLAGS'
44869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44872
44873       cat >conftest.$ac_ext <<_ACEOF
44874 /* confdefs.h.  */
44875 _ACEOF
44876 cat confdefs.h >>conftest.$ac_ext
44877 cat >>conftest.$ac_ext <<_ACEOF
44878 /* end confdefs.h.  */
44879 #include <math.h>
44880 int
44881 main ()
44882 {
44883  _atan2l(0, 0);
44884   ;
44885   return 0;
44886 }
44887 _ACEOF
44888 rm -f conftest.$ac_objext
44889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44890   (eval $ac_compile) 2>conftest.er1
44891   ac_status=$?
44892   grep -v '^ *+' conftest.er1 >conftest.err
44893   rm -f conftest.er1
44894   cat conftest.err >&5
44895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44896   (exit $ac_status); } &&
44897          { ac_try='test -z "$ac_cxx_werror_flag"
44898                          || test ! -s conftest.err'
44899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44900   (eval $ac_try) 2>&5
44901   ac_status=$?
44902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44903   (exit $ac_status); }; } &&
44904          { ac_try='test -s conftest.$ac_objext'
44905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44906   (eval $ac_try) 2>&5
44907   ac_status=$?
44908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44909   (exit $ac_status); }; }; then
44910   glibcxx_cv_func__atan2l_use=yes
44911 else
44912   echo "$as_me: failed program was:" >&5
44913 sed 's/^/| /' conftest.$ac_ext >&5
44914
44915 glibcxx_cv_func__atan2l_use=no
44916 fi
44917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44918       ac_ext=c
44919 ac_cpp='$CPP $CPPFLAGS'
44920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44923
44924
44925 fi
44926
44927   fi
44928   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
44929 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
44930
44931     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44932
44933 for ac_func in _atan2l
44934 do
44935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44936 echo "$as_me:$LINENO: checking for $ac_func" >&5
44937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44938 if eval "test \"\${$as_ac_var+set}\" = set"; then
44939   echo $ECHO_N "(cached) $ECHO_C" >&6
44940 else
44941   if test x$gcc_no_link = xyes; then
44942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44944    { (exit 1); exit 1; }; }
44945 fi
44946 cat >conftest.$ac_ext <<_ACEOF
44947 /* confdefs.h.  */
44948 _ACEOF
44949 cat confdefs.h >>conftest.$ac_ext
44950 cat >>conftest.$ac_ext <<_ACEOF
44951 /* end confdefs.h.  */
44952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44953    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44954 #define $ac_func innocuous_$ac_func
44955
44956 /* System header to define __stub macros and hopefully few prototypes,
44957     which can conflict with char $ac_func (); below.
44958     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44959     <limits.h> exists even on freestanding compilers.  */
44960
44961 #ifdef __STDC__
44962 # include <limits.h>
44963 #else
44964 # include <assert.h>
44965 #endif
44966
44967 #undef $ac_func
44968
44969 /* Override any gcc2 internal prototype to avoid an error.  */
44970 #ifdef __cplusplus
44971 extern "C"
44972 {
44973 #endif
44974 /* We use char because int might match the return type of a gcc2
44975    builtin and then its argument prototype would still apply.  */
44976 char $ac_func ();
44977 /* The GNU C library defines this for functions which it implements
44978     to always fail with ENOSYS.  Some functions are actually named
44979     something starting with __ and the normal name is an alias.  */
44980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44981 choke me
44982 #else
44983 char (*f) () = $ac_func;
44984 #endif
44985 #ifdef __cplusplus
44986 }
44987 #endif
44988
44989 int
44990 main ()
44991 {
44992 return f != $ac_func;
44993   ;
44994   return 0;
44995 }
44996 _ACEOF
44997 rm -f conftest.$ac_objext conftest$ac_exeext
44998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44999   (eval $ac_link) 2>conftest.er1
45000   ac_status=$?
45001   grep -v '^ *+' conftest.er1 >conftest.err
45002   rm -f conftest.er1
45003   cat conftest.err >&5
45004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45005   (exit $ac_status); } &&
45006          { ac_try='test -z "$ac_c_werror_flag"
45007                          || test ! -s conftest.err'
45008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45009   (eval $ac_try) 2>&5
45010   ac_status=$?
45011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45012   (exit $ac_status); }; } &&
45013          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
45019   eval "$as_ac_var=yes"
45020 else
45021   echo "$as_me: failed program was:" >&5
45022 sed 's/^/| /' conftest.$ac_ext >&5
45023
45024 eval "$as_ac_var=no"
45025 fi
45026 rm -f conftest.err conftest.$ac_objext \
45027       conftest$ac_exeext conftest.$ac_ext
45028 fi
45029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45031 if test `eval echo '${'$as_ac_var'}'` = yes; then
45032   cat >>confdefs.h <<_ACEOF
45033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45034 _ACEOF
45035
45036 fi
45037 done
45038
45039     fi
45040   fi
45041
45042
45043
45044
45045
45046
45047   echo "$as_me:$LINENO: checking for expl declaration" >&5
45048 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
45049   if test x${glibcxx_cv_func_expl_use+set} != xset; then
45050     if test "${glibcxx_cv_func_expl_use+set}" = set; then
45051   echo $ECHO_N "(cached) $ECHO_C" >&6
45052 else
45053
45054
45055
45056       ac_ext=cc
45057 ac_cpp='$CXXCPP $CPPFLAGS'
45058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45061
45062       cat >conftest.$ac_ext <<_ACEOF
45063 /* confdefs.h.  */
45064 _ACEOF
45065 cat confdefs.h >>conftest.$ac_ext
45066 cat >>conftest.$ac_ext <<_ACEOF
45067 /* end confdefs.h.  */
45068 #include <math.h>
45069                       #ifdef HAVE_IEEEFP_H
45070                       #include <ieeefp.h>
45071                       #endif
45072
45073 int
45074 main ()
45075 {
45076  expl(0);
45077   ;
45078   return 0;
45079 }
45080 _ACEOF
45081 rm -f conftest.$ac_objext
45082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45083   (eval $ac_compile) 2>conftest.er1
45084   ac_status=$?
45085   grep -v '^ *+' conftest.er1 >conftest.err
45086   rm -f conftest.er1
45087   cat conftest.err >&5
45088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45089   (exit $ac_status); } &&
45090          { ac_try='test -z "$ac_cxx_werror_flag"
45091                          || test ! -s conftest.err'
45092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45093   (eval $ac_try) 2>&5
45094   ac_status=$?
45095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45096   (exit $ac_status); }; } &&
45097          { ac_try='test -s conftest.$ac_objext'
45098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45099   (eval $ac_try) 2>&5
45100   ac_status=$?
45101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45102   (exit $ac_status); }; }; then
45103   glibcxx_cv_func_expl_use=yes
45104 else
45105   echo "$as_me: failed program was:" >&5
45106 sed 's/^/| /' conftest.$ac_ext >&5
45107
45108 glibcxx_cv_func_expl_use=no
45109 fi
45110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45111       ac_ext=c
45112 ac_cpp='$CPP $CPPFLAGS'
45113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45116
45117
45118 fi
45119
45120   fi
45121   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45122 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45123
45124   if test x$glibcxx_cv_func_expl_use = x"yes"; then
45125
45126 for ac_func in expl
45127 do
45128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45129 echo "$as_me:$LINENO: checking for $ac_func" >&5
45130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45131 if eval "test \"\${$as_ac_var+set}\" = set"; then
45132   echo $ECHO_N "(cached) $ECHO_C" >&6
45133 else
45134   if test x$gcc_no_link = xyes; then
45135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45137    { (exit 1); exit 1; }; }
45138 fi
45139 cat >conftest.$ac_ext <<_ACEOF
45140 /* confdefs.h.  */
45141 _ACEOF
45142 cat confdefs.h >>conftest.$ac_ext
45143 cat >>conftest.$ac_ext <<_ACEOF
45144 /* end confdefs.h.  */
45145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45146    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45147 #define $ac_func innocuous_$ac_func
45148
45149 /* System header to define __stub macros and hopefully few prototypes,
45150     which can conflict with char $ac_func (); below.
45151     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45152     <limits.h> exists even on freestanding compilers.  */
45153
45154 #ifdef __STDC__
45155 # include <limits.h>
45156 #else
45157 # include <assert.h>
45158 #endif
45159
45160 #undef $ac_func
45161
45162 /* Override any gcc2 internal prototype to avoid an error.  */
45163 #ifdef __cplusplus
45164 extern "C"
45165 {
45166 #endif
45167 /* We use char because int might match the return type of a gcc2
45168    builtin and then its argument prototype would still apply.  */
45169 char $ac_func ();
45170 /* The GNU C library defines this for functions which it implements
45171     to always fail with ENOSYS.  Some functions are actually named
45172     something starting with __ and the normal name is an alias.  */
45173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45174 choke me
45175 #else
45176 char (*f) () = $ac_func;
45177 #endif
45178 #ifdef __cplusplus
45179 }
45180 #endif
45181
45182 int
45183 main ()
45184 {
45185 return f != $ac_func;
45186   ;
45187   return 0;
45188 }
45189 _ACEOF
45190 rm -f conftest.$ac_objext conftest$ac_exeext
45191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45192   (eval $ac_link) 2>conftest.er1
45193   ac_status=$?
45194   grep -v '^ *+' conftest.er1 >conftest.err
45195   rm -f conftest.er1
45196   cat conftest.err >&5
45197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45198   (exit $ac_status); } &&
45199          { ac_try='test -z "$ac_c_werror_flag"
45200                          || test ! -s conftest.err'
45201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45202   (eval $ac_try) 2>&5
45203   ac_status=$?
45204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45205   (exit $ac_status); }; } &&
45206          { ac_try='test -s conftest$ac_exeext'
45207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45208   (eval $ac_try) 2>&5
45209   ac_status=$?
45210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45211   (exit $ac_status); }; }; then
45212   eval "$as_ac_var=yes"
45213 else
45214   echo "$as_me: failed program was:" >&5
45215 sed 's/^/| /' conftest.$ac_ext >&5
45216
45217 eval "$as_ac_var=no"
45218 fi
45219 rm -f conftest.err conftest.$ac_objext \
45220       conftest$ac_exeext conftest.$ac_ext
45221 fi
45222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45224 if test `eval echo '${'$as_ac_var'}'` = yes; then
45225   cat >>confdefs.h <<_ACEOF
45226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45227 _ACEOF
45228
45229 fi
45230 done
45231
45232   else
45233
45234   echo "$as_me:$LINENO: checking for _expl declaration" >&5
45235 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45236   if test x${glibcxx_cv_func__expl_use+set} != xset; then
45237     if test "${glibcxx_cv_func__expl_use+set}" = set; then
45238   echo $ECHO_N "(cached) $ECHO_C" >&6
45239 else
45240
45241
45242
45243       ac_ext=cc
45244 ac_cpp='$CXXCPP $CPPFLAGS'
45245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45248
45249       cat >conftest.$ac_ext <<_ACEOF
45250 /* confdefs.h.  */
45251 _ACEOF
45252 cat confdefs.h >>conftest.$ac_ext
45253 cat >>conftest.$ac_ext <<_ACEOF
45254 /* end confdefs.h.  */
45255 #include <math.h>
45256                       #ifdef HAVE_IEEEFP_H
45257                       #include <ieeefp.h>
45258                       #endif
45259
45260 int
45261 main ()
45262 {
45263  _expl(0);
45264   ;
45265   return 0;
45266 }
45267 _ACEOF
45268 rm -f conftest.$ac_objext
45269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45270   (eval $ac_compile) 2>conftest.er1
45271   ac_status=$?
45272   grep -v '^ *+' conftest.er1 >conftest.err
45273   rm -f conftest.er1
45274   cat conftest.err >&5
45275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45276   (exit $ac_status); } &&
45277          { ac_try='test -z "$ac_cxx_werror_flag"
45278                          || test ! -s conftest.err'
45279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45280   (eval $ac_try) 2>&5
45281   ac_status=$?
45282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45283   (exit $ac_status); }; } &&
45284          { ac_try='test -s conftest.$ac_objext'
45285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45286   (eval $ac_try) 2>&5
45287   ac_status=$?
45288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45289   (exit $ac_status); }; }; then
45290   glibcxx_cv_func__expl_use=yes
45291 else
45292   echo "$as_me: failed program was:" >&5
45293 sed 's/^/| /' conftest.$ac_ext >&5
45294
45295 glibcxx_cv_func__expl_use=no
45296 fi
45297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45298       ac_ext=c
45299 ac_cpp='$CPP $CPPFLAGS'
45300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45303
45304
45305 fi
45306
45307   fi
45308   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45309 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45310
45311     if test x$glibcxx_cv_func__expl_use = x"yes"; then
45312
45313 for ac_func in _expl
45314 do
45315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45316 echo "$as_me:$LINENO: checking for $ac_func" >&5
45317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45318 if eval "test \"\${$as_ac_var+set}\" = set"; then
45319   echo $ECHO_N "(cached) $ECHO_C" >&6
45320 else
45321   if test x$gcc_no_link = xyes; then
45322   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45324    { (exit 1); exit 1; }; }
45325 fi
45326 cat >conftest.$ac_ext <<_ACEOF
45327 /* confdefs.h.  */
45328 _ACEOF
45329 cat confdefs.h >>conftest.$ac_ext
45330 cat >>conftest.$ac_ext <<_ACEOF
45331 /* end confdefs.h.  */
45332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45333    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45334 #define $ac_func innocuous_$ac_func
45335
45336 /* System header to define __stub macros and hopefully few prototypes,
45337     which can conflict with char $ac_func (); below.
45338     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45339     <limits.h> exists even on freestanding compilers.  */
45340
45341 #ifdef __STDC__
45342 # include <limits.h>
45343 #else
45344 # include <assert.h>
45345 #endif
45346
45347 #undef $ac_func
45348
45349 /* Override any gcc2 internal prototype to avoid an error.  */
45350 #ifdef __cplusplus
45351 extern "C"
45352 {
45353 #endif
45354 /* We use char because int might match the return type of a gcc2
45355    builtin and then its argument prototype would still apply.  */
45356 char $ac_func ();
45357 /* The GNU C library defines this for functions which it implements
45358     to always fail with ENOSYS.  Some functions are actually named
45359     something starting with __ and the normal name is an alias.  */
45360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45361 choke me
45362 #else
45363 char (*f) () = $ac_func;
45364 #endif
45365 #ifdef __cplusplus
45366 }
45367 #endif
45368
45369 int
45370 main ()
45371 {
45372 return f != $ac_func;
45373   ;
45374   return 0;
45375 }
45376 _ACEOF
45377 rm -f conftest.$ac_objext conftest$ac_exeext
45378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45379   (eval $ac_link) 2>conftest.er1
45380   ac_status=$?
45381   grep -v '^ *+' conftest.er1 >conftest.err
45382   rm -f conftest.er1
45383   cat conftest.err >&5
45384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45385   (exit $ac_status); } &&
45386          { ac_try='test -z "$ac_c_werror_flag"
45387                          || test ! -s conftest.err'
45388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45389   (eval $ac_try) 2>&5
45390   ac_status=$?
45391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45392   (exit $ac_status); }; } &&
45393          { ac_try='test -s conftest$ac_exeext'
45394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45395   (eval $ac_try) 2>&5
45396   ac_status=$?
45397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398   (exit $ac_status); }; }; then
45399   eval "$as_ac_var=yes"
45400 else
45401   echo "$as_me: failed program was:" >&5
45402 sed 's/^/| /' conftest.$ac_ext >&5
45403
45404 eval "$as_ac_var=no"
45405 fi
45406 rm -f conftest.err conftest.$ac_objext \
45407       conftest$ac_exeext conftest.$ac_ext
45408 fi
45409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45411 if test `eval echo '${'$as_ac_var'}'` = yes; then
45412   cat >>confdefs.h <<_ACEOF
45413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45414 _ACEOF
45415
45416 fi
45417 done
45418
45419     fi
45420   fi
45421
45422
45423
45424
45425
45426
45427   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45428 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45429   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45430     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45431   echo $ECHO_N "(cached) $ECHO_C" >&6
45432 else
45433
45434
45435
45436       ac_ext=cc
45437 ac_cpp='$CXXCPP $CPPFLAGS'
45438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45441
45442       cat >conftest.$ac_ext <<_ACEOF
45443 /* confdefs.h.  */
45444 _ACEOF
45445 cat confdefs.h >>conftest.$ac_ext
45446 cat >>conftest.$ac_ext <<_ACEOF
45447 /* end confdefs.h.  */
45448 #include <math.h>
45449                       #ifdef HAVE_IEEEFP_H
45450                       #include <ieeefp.h>
45451                       #endif
45452
45453 int
45454 main ()
45455 {
45456  fabsl(0);
45457   ;
45458   return 0;
45459 }
45460 _ACEOF
45461 rm -f conftest.$ac_objext
45462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45463   (eval $ac_compile) 2>conftest.er1
45464   ac_status=$?
45465   grep -v '^ *+' conftest.er1 >conftest.err
45466   rm -f conftest.er1
45467   cat conftest.err >&5
45468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45469   (exit $ac_status); } &&
45470          { ac_try='test -z "$ac_cxx_werror_flag"
45471                          || test ! -s conftest.err'
45472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45473   (eval $ac_try) 2>&5
45474   ac_status=$?
45475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45476   (exit $ac_status); }; } &&
45477          { ac_try='test -s conftest.$ac_objext'
45478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45479   (eval $ac_try) 2>&5
45480   ac_status=$?
45481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45482   (exit $ac_status); }; }; then
45483   glibcxx_cv_func_fabsl_use=yes
45484 else
45485   echo "$as_me: failed program was:" >&5
45486 sed 's/^/| /' conftest.$ac_ext >&5
45487
45488 glibcxx_cv_func_fabsl_use=no
45489 fi
45490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45491       ac_ext=c
45492 ac_cpp='$CPP $CPPFLAGS'
45493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45496
45497
45498 fi
45499
45500   fi
45501   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45502 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45503
45504   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45505
45506 for ac_func in fabsl
45507 do
45508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45509 echo "$as_me:$LINENO: checking for $ac_func" >&5
45510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45511 if eval "test \"\${$as_ac_var+set}\" = set"; then
45512   echo $ECHO_N "(cached) $ECHO_C" >&6
45513 else
45514   if test x$gcc_no_link = xyes; then
45515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45517    { (exit 1); exit 1; }; }
45518 fi
45519 cat >conftest.$ac_ext <<_ACEOF
45520 /* confdefs.h.  */
45521 _ACEOF
45522 cat confdefs.h >>conftest.$ac_ext
45523 cat >>conftest.$ac_ext <<_ACEOF
45524 /* end confdefs.h.  */
45525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45527 #define $ac_func innocuous_$ac_func
45528
45529 /* System header to define __stub macros and hopefully few prototypes,
45530     which can conflict with char $ac_func (); below.
45531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45532     <limits.h> exists even on freestanding compilers.  */
45533
45534 #ifdef __STDC__
45535 # include <limits.h>
45536 #else
45537 # include <assert.h>
45538 #endif
45539
45540 #undef $ac_func
45541
45542 /* Override any gcc2 internal prototype to avoid an error.  */
45543 #ifdef __cplusplus
45544 extern "C"
45545 {
45546 #endif
45547 /* We use char because int might match the return type of a gcc2
45548    builtin and then its argument prototype would still apply.  */
45549 char $ac_func ();
45550 /* The GNU C library defines this for functions which it implements
45551     to always fail with ENOSYS.  Some functions are actually named
45552     something starting with __ and the normal name is an alias.  */
45553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45554 choke me
45555 #else
45556 char (*f) () = $ac_func;
45557 #endif
45558 #ifdef __cplusplus
45559 }
45560 #endif
45561
45562 int
45563 main ()
45564 {
45565 return f != $ac_func;
45566   ;
45567   return 0;
45568 }
45569 _ACEOF
45570 rm -f conftest.$ac_objext conftest$ac_exeext
45571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45572   (eval $ac_link) 2>conftest.er1
45573   ac_status=$?
45574   grep -v '^ *+' conftest.er1 >conftest.err
45575   rm -f conftest.er1
45576   cat conftest.err >&5
45577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45578   (exit $ac_status); } &&
45579          { ac_try='test -z "$ac_c_werror_flag"
45580                          || test ! -s conftest.err'
45581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45582   (eval $ac_try) 2>&5
45583   ac_status=$?
45584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45585   (exit $ac_status); }; } &&
45586          { ac_try='test -s conftest$ac_exeext'
45587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45588   (eval $ac_try) 2>&5
45589   ac_status=$?
45590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45591   (exit $ac_status); }; }; then
45592   eval "$as_ac_var=yes"
45593 else
45594   echo "$as_me: failed program was:" >&5
45595 sed 's/^/| /' conftest.$ac_ext >&5
45596
45597 eval "$as_ac_var=no"
45598 fi
45599 rm -f conftest.err conftest.$ac_objext \
45600       conftest$ac_exeext conftest.$ac_ext
45601 fi
45602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45604 if test `eval echo '${'$as_ac_var'}'` = yes; then
45605   cat >>confdefs.h <<_ACEOF
45606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45607 _ACEOF
45608
45609 fi
45610 done
45611
45612   else
45613
45614   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45615 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45616   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45617     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45618   echo $ECHO_N "(cached) $ECHO_C" >&6
45619 else
45620
45621
45622
45623       ac_ext=cc
45624 ac_cpp='$CXXCPP $CPPFLAGS'
45625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45628
45629       cat >conftest.$ac_ext <<_ACEOF
45630 /* confdefs.h.  */
45631 _ACEOF
45632 cat confdefs.h >>conftest.$ac_ext
45633 cat >>conftest.$ac_ext <<_ACEOF
45634 /* end confdefs.h.  */
45635 #include <math.h>
45636                       #ifdef HAVE_IEEEFP_H
45637                       #include <ieeefp.h>
45638                       #endif
45639
45640 int
45641 main ()
45642 {
45643  _fabsl(0);
45644   ;
45645   return 0;
45646 }
45647 _ACEOF
45648 rm -f conftest.$ac_objext
45649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45650   (eval $ac_compile) 2>conftest.er1
45651   ac_status=$?
45652   grep -v '^ *+' conftest.er1 >conftest.err
45653   rm -f conftest.er1
45654   cat conftest.err >&5
45655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45656   (exit $ac_status); } &&
45657          { ac_try='test -z "$ac_cxx_werror_flag"
45658                          || test ! -s conftest.err'
45659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45660   (eval $ac_try) 2>&5
45661   ac_status=$?
45662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45663   (exit $ac_status); }; } &&
45664          { ac_try='test -s conftest.$ac_objext'
45665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45666   (eval $ac_try) 2>&5
45667   ac_status=$?
45668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45669   (exit $ac_status); }; }; then
45670   glibcxx_cv_func__fabsl_use=yes
45671 else
45672   echo "$as_me: failed program was:" >&5
45673 sed 's/^/| /' conftest.$ac_ext >&5
45674
45675 glibcxx_cv_func__fabsl_use=no
45676 fi
45677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45678       ac_ext=c
45679 ac_cpp='$CPP $CPPFLAGS'
45680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45683
45684
45685 fi
45686
45687   fi
45688   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45689 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45690
45691     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45692
45693 for ac_func in _fabsl
45694 do
45695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45696 echo "$as_me:$LINENO: checking for $ac_func" >&5
45697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45698 if eval "test \"\${$as_ac_var+set}\" = set"; then
45699   echo $ECHO_N "(cached) $ECHO_C" >&6
45700 else
45701   if test x$gcc_no_link = xyes; then
45702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45704    { (exit 1); exit 1; }; }
45705 fi
45706 cat >conftest.$ac_ext <<_ACEOF
45707 /* confdefs.h.  */
45708 _ACEOF
45709 cat confdefs.h >>conftest.$ac_ext
45710 cat >>conftest.$ac_ext <<_ACEOF
45711 /* end confdefs.h.  */
45712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45714 #define $ac_func innocuous_$ac_func
45715
45716 /* System header to define __stub macros and hopefully few prototypes,
45717     which can conflict with char $ac_func (); below.
45718     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45719     <limits.h> exists even on freestanding compilers.  */
45720
45721 #ifdef __STDC__
45722 # include <limits.h>
45723 #else
45724 # include <assert.h>
45725 #endif
45726
45727 #undef $ac_func
45728
45729 /* Override any gcc2 internal prototype to avoid an error.  */
45730 #ifdef __cplusplus
45731 extern "C"
45732 {
45733 #endif
45734 /* We use char because int might match the return type of a gcc2
45735    builtin and then its argument prototype would still apply.  */
45736 char $ac_func ();
45737 /* The GNU C library defines this for functions which it implements
45738     to always fail with ENOSYS.  Some functions are actually named
45739     something starting with __ and the normal name is an alias.  */
45740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45741 choke me
45742 #else
45743 char (*f) () = $ac_func;
45744 #endif
45745 #ifdef __cplusplus
45746 }
45747 #endif
45748
45749 int
45750 main ()
45751 {
45752 return f != $ac_func;
45753   ;
45754   return 0;
45755 }
45756 _ACEOF
45757 rm -f conftest.$ac_objext conftest$ac_exeext
45758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45759   (eval $ac_link) 2>conftest.er1
45760   ac_status=$?
45761   grep -v '^ *+' conftest.er1 >conftest.err
45762   rm -f conftest.er1
45763   cat conftest.err >&5
45764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45765   (exit $ac_status); } &&
45766          { ac_try='test -z "$ac_c_werror_flag"
45767                          || test ! -s conftest.err'
45768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45769   (eval $ac_try) 2>&5
45770   ac_status=$?
45771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45772   (exit $ac_status); }; } &&
45773          { ac_try='test -s conftest$ac_exeext'
45774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45775   (eval $ac_try) 2>&5
45776   ac_status=$?
45777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45778   (exit $ac_status); }; }; then
45779   eval "$as_ac_var=yes"
45780 else
45781   echo "$as_me: failed program was:" >&5
45782 sed 's/^/| /' conftest.$ac_ext >&5
45783
45784 eval "$as_ac_var=no"
45785 fi
45786 rm -f conftest.err conftest.$ac_objext \
45787       conftest$ac_exeext conftest.$ac_ext
45788 fi
45789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45791 if test `eval echo '${'$as_ac_var'}'` = yes; then
45792   cat >>confdefs.h <<_ACEOF
45793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45794 _ACEOF
45795
45796 fi
45797 done
45798
45799     fi
45800   fi
45801
45802
45803
45804
45805
45806
45807   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45808 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45809   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45810     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45811   echo $ECHO_N "(cached) $ECHO_C" >&6
45812 else
45813
45814
45815
45816       ac_ext=cc
45817 ac_cpp='$CXXCPP $CPPFLAGS'
45818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45821
45822       cat >conftest.$ac_ext <<_ACEOF
45823 /* confdefs.h.  */
45824 _ACEOF
45825 cat confdefs.h >>conftest.$ac_ext
45826 cat >>conftest.$ac_ext <<_ACEOF
45827 /* end confdefs.h.  */
45828 #include <math.h>
45829 int
45830 main ()
45831 {
45832  fmodl(0, 0);
45833   ;
45834   return 0;
45835 }
45836 _ACEOF
45837 rm -f conftest.$ac_objext
45838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45839   (eval $ac_compile) 2>conftest.er1
45840   ac_status=$?
45841   grep -v '^ *+' conftest.er1 >conftest.err
45842   rm -f conftest.er1
45843   cat conftest.err >&5
45844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45845   (exit $ac_status); } &&
45846          { ac_try='test -z "$ac_cxx_werror_flag"
45847                          || test ! -s conftest.err'
45848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45849   (eval $ac_try) 2>&5
45850   ac_status=$?
45851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45852   (exit $ac_status); }; } &&
45853          { ac_try='test -s conftest.$ac_objext'
45854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45855   (eval $ac_try) 2>&5
45856   ac_status=$?
45857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45858   (exit $ac_status); }; }; then
45859   glibcxx_cv_func_fmodl_use=yes
45860 else
45861   echo "$as_me: failed program was:" >&5
45862 sed 's/^/| /' conftest.$ac_ext >&5
45863
45864 glibcxx_cv_func_fmodl_use=no
45865 fi
45866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45867       ac_ext=c
45868 ac_cpp='$CPP $CPPFLAGS'
45869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45872
45873
45874 fi
45875
45876   fi
45877   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
45878 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
45879
45880   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45881
45882 for ac_func in fmodl
45883 do
45884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45885 echo "$as_me:$LINENO: checking for $ac_func" >&5
45886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45887 if eval "test \"\${$as_ac_var+set}\" = set"; then
45888   echo $ECHO_N "(cached) $ECHO_C" >&6
45889 else
45890   if test x$gcc_no_link = xyes; then
45891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45893    { (exit 1); exit 1; }; }
45894 fi
45895 cat >conftest.$ac_ext <<_ACEOF
45896 /* confdefs.h.  */
45897 _ACEOF
45898 cat confdefs.h >>conftest.$ac_ext
45899 cat >>conftest.$ac_ext <<_ACEOF
45900 /* end confdefs.h.  */
45901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45903 #define $ac_func innocuous_$ac_func
45904
45905 /* System header to define __stub macros and hopefully few prototypes,
45906     which can conflict with char $ac_func (); below.
45907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45908     <limits.h> exists even on freestanding compilers.  */
45909
45910 #ifdef __STDC__
45911 # include <limits.h>
45912 #else
45913 # include <assert.h>
45914 #endif
45915
45916 #undef $ac_func
45917
45918 /* Override any gcc2 internal prototype to avoid an error.  */
45919 #ifdef __cplusplus
45920 extern "C"
45921 {
45922 #endif
45923 /* We use char because int might match the return type of a gcc2
45924    builtin and then its argument prototype would still apply.  */
45925 char $ac_func ();
45926 /* The GNU C library defines this for functions which it implements
45927     to always fail with ENOSYS.  Some functions are actually named
45928     something starting with __ and the normal name is an alias.  */
45929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45930 choke me
45931 #else
45932 char (*f) () = $ac_func;
45933 #endif
45934 #ifdef __cplusplus
45935 }
45936 #endif
45937
45938 int
45939 main ()
45940 {
45941 return f != $ac_func;
45942   ;
45943   return 0;
45944 }
45945 _ACEOF
45946 rm -f conftest.$ac_objext conftest$ac_exeext
45947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45948   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
45969 else
45970   echo "$as_me: failed program was:" >&5
45971 sed 's/^/| /' conftest.$ac_ext >&5
45972
45973 eval "$as_ac_var=no"
45974 fi
45975 rm -f conftest.err conftest.$ac_objext \
45976       conftest$ac_exeext conftest.$ac_ext
45977 fi
45978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45980 if test `eval echo '${'$as_ac_var'}'` = yes; then
45981   cat >>confdefs.h <<_ACEOF
45982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45983 _ACEOF
45984
45985 fi
45986 done
45987
45988   else
45989
45990   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
45991 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
45992   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45993     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
45994   echo $ECHO_N "(cached) $ECHO_C" >&6
45995 else
45996
45997
45998
45999       ac_ext=cc
46000 ac_cpp='$CXXCPP $CPPFLAGS'
46001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46004
46005       cat >conftest.$ac_ext <<_ACEOF
46006 /* confdefs.h.  */
46007 _ACEOF
46008 cat confdefs.h >>conftest.$ac_ext
46009 cat >>conftest.$ac_ext <<_ACEOF
46010 /* end confdefs.h.  */
46011 #include <math.h>
46012 int
46013 main ()
46014 {
46015  _fmodl(0, 0);
46016   ;
46017   return 0;
46018 }
46019 _ACEOF
46020 rm -f conftest.$ac_objext
46021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46022   (eval $ac_compile) 2>conftest.er1
46023   ac_status=$?
46024   grep -v '^ *+' conftest.er1 >conftest.err
46025   rm -f conftest.er1
46026   cat conftest.err >&5
46027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46028   (exit $ac_status); } &&
46029          { ac_try='test -z "$ac_cxx_werror_flag"
46030                          || test ! -s conftest.err'
46031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46032   (eval $ac_try) 2>&5
46033   ac_status=$?
46034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46035   (exit $ac_status); }; } &&
46036          { ac_try='test -s conftest.$ac_objext'
46037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46038   (eval $ac_try) 2>&5
46039   ac_status=$?
46040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46041   (exit $ac_status); }; }; then
46042   glibcxx_cv_func__fmodl_use=yes
46043 else
46044   echo "$as_me: failed program was:" >&5
46045 sed 's/^/| /' conftest.$ac_ext >&5
46046
46047 glibcxx_cv_func__fmodl_use=no
46048 fi
46049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46050       ac_ext=c
46051 ac_cpp='$CPP $CPPFLAGS'
46052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46055
46056
46057 fi
46058
46059   fi
46060   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
46061 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
46062
46063     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46064
46065 for ac_func in _fmodl
46066 do
46067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46068 echo "$as_me:$LINENO: checking for $ac_func" >&5
46069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46070 if eval "test \"\${$as_ac_var+set}\" = set"; then
46071   echo $ECHO_N "(cached) $ECHO_C" >&6
46072 else
46073   if test x$gcc_no_link = xyes; then
46074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46076    { (exit 1); exit 1; }; }
46077 fi
46078 cat >conftest.$ac_ext <<_ACEOF
46079 /* confdefs.h.  */
46080 _ACEOF
46081 cat confdefs.h >>conftest.$ac_ext
46082 cat >>conftest.$ac_ext <<_ACEOF
46083 /* end confdefs.h.  */
46084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46085    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46086 #define $ac_func innocuous_$ac_func
46087
46088 /* System header to define __stub macros and hopefully few prototypes,
46089     which can conflict with char $ac_func (); below.
46090     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46091     <limits.h> exists even on freestanding compilers.  */
46092
46093 #ifdef __STDC__
46094 # include <limits.h>
46095 #else
46096 # include <assert.h>
46097 #endif
46098
46099 #undef $ac_func
46100
46101 /* Override any gcc2 internal prototype to avoid an error.  */
46102 #ifdef __cplusplus
46103 extern "C"
46104 {
46105 #endif
46106 /* We use char because int might match the return type of a gcc2
46107    builtin and then its argument prototype would still apply.  */
46108 char $ac_func ();
46109 /* The GNU C library defines this for functions which it implements
46110     to always fail with ENOSYS.  Some functions are actually named
46111     something starting with __ and the normal name is an alias.  */
46112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46113 choke me
46114 #else
46115 char (*f) () = $ac_func;
46116 #endif
46117 #ifdef __cplusplus
46118 }
46119 #endif
46120
46121 int
46122 main ()
46123 {
46124 return f != $ac_func;
46125   ;
46126   return 0;
46127 }
46128 _ACEOF
46129 rm -f conftest.$ac_objext conftest$ac_exeext
46130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46131   (eval $ac_link) 2>conftest.er1
46132   ac_status=$?
46133   grep -v '^ *+' conftest.er1 >conftest.err
46134   rm -f conftest.er1
46135   cat conftest.err >&5
46136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46137   (exit $ac_status); } &&
46138          { ac_try='test -z "$ac_c_werror_flag"
46139                          || test ! -s conftest.err'
46140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46141   (eval $ac_try) 2>&5
46142   ac_status=$?
46143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46144   (exit $ac_status); }; } &&
46145          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
46151   eval "$as_ac_var=yes"
46152 else
46153   echo "$as_me: failed program was:" >&5
46154 sed 's/^/| /' conftest.$ac_ext >&5
46155
46156 eval "$as_ac_var=no"
46157 fi
46158 rm -f conftest.err conftest.$ac_objext \
46159       conftest$ac_exeext conftest.$ac_ext
46160 fi
46161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46163 if test `eval echo '${'$as_ac_var'}'` = yes; then
46164   cat >>confdefs.h <<_ACEOF
46165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46166 _ACEOF
46167
46168 fi
46169 done
46170
46171     fi
46172   fi
46173
46174
46175
46176
46177
46178
46179   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46180 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46181   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46182     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46183   echo $ECHO_N "(cached) $ECHO_C" >&6
46184 else
46185
46186
46187
46188       ac_ext=cc
46189 ac_cpp='$CXXCPP $CPPFLAGS'
46190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46193
46194       cat >conftest.$ac_ext <<_ACEOF
46195 /* confdefs.h.  */
46196 _ACEOF
46197 cat confdefs.h >>conftest.$ac_ext
46198 cat >>conftest.$ac_ext <<_ACEOF
46199 /* end confdefs.h.  */
46200 #include <math.h>
46201 int
46202 main ()
46203 {
46204  frexpl(0, 0);
46205   ;
46206   return 0;
46207 }
46208 _ACEOF
46209 rm -f conftest.$ac_objext
46210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46211   (eval $ac_compile) 2>conftest.er1
46212   ac_status=$?
46213   grep -v '^ *+' conftest.er1 >conftest.err
46214   rm -f conftest.er1
46215   cat conftest.err >&5
46216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46217   (exit $ac_status); } &&
46218          { ac_try='test -z "$ac_cxx_werror_flag"
46219                          || test ! -s conftest.err'
46220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46221   (eval $ac_try) 2>&5
46222   ac_status=$?
46223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46224   (exit $ac_status); }; } &&
46225          { ac_try='test -s conftest.$ac_objext'
46226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46227   (eval $ac_try) 2>&5
46228   ac_status=$?
46229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46230   (exit $ac_status); }; }; then
46231   glibcxx_cv_func_frexpl_use=yes
46232 else
46233   echo "$as_me: failed program was:" >&5
46234 sed 's/^/| /' conftest.$ac_ext >&5
46235
46236 glibcxx_cv_func_frexpl_use=no
46237 fi
46238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46239       ac_ext=c
46240 ac_cpp='$CPP $CPPFLAGS'
46241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46244
46245
46246 fi
46247
46248   fi
46249   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46250 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46251
46252   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46253
46254 for ac_func in frexpl
46255 do
46256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46257 echo "$as_me:$LINENO: checking for $ac_func" >&5
46258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46259 if eval "test \"\${$as_ac_var+set}\" = set"; then
46260   echo $ECHO_N "(cached) $ECHO_C" >&6
46261 else
46262   if test x$gcc_no_link = xyes; then
46263   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46265    { (exit 1); exit 1; }; }
46266 fi
46267 cat >conftest.$ac_ext <<_ACEOF
46268 /* confdefs.h.  */
46269 _ACEOF
46270 cat confdefs.h >>conftest.$ac_ext
46271 cat >>conftest.$ac_ext <<_ACEOF
46272 /* end confdefs.h.  */
46273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46274    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46275 #define $ac_func innocuous_$ac_func
46276
46277 /* System header to define __stub macros and hopefully few prototypes,
46278     which can conflict with char $ac_func (); below.
46279     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46280     <limits.h> exists even on freestanding compilers.  */
46281
46282 #ifdef __STDC__
46283 # include <limits.h>
46284 #else
46285 # include <assert.h>
46286 #endif
46287
46288 #undef $ac_func
46289
46290 /* Override any gcc2 internal prototype to avoid an error.  */
46291 #ifdef __cplusplus
46292 extern "C"
46293 {
46294 #endif
46295 /* We use char because int might match the return type of a gcc2
46296    builtin and then its argument prototype would still apply.  */
46297 char $ac_func ();
46298 /* The GNU C library defines this for functions which it implements
46299     to always fail with ENOSYS.  Some functions are actually named
46300     something starting with __ and the normal name is an alias.  */
46301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46302 choke me
46303 #else
46304 char (*f) () = $ac_func;
46305 #endif
46306 #ifdef __cplusplus
46307 }
46308 #endif
46309
46310 int
46311 main ()
46312 {
46313 return f != $ac_func;
46314   ;
46315   return 0;
46316 }
46317 _ACEOF
46318 rm -f conftest.$ac_objext conftest$ac_exeext
46319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46320   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
46341 else
46342   echo "$as_me: failed program was:" >&5
46343 sed 's/^/| /' conftest.$ac_ext >&5
46344
46345 eval "$as_ac_var=no"
46346 fi
46347 rm -f conftest.err conftest.$ac_objext \
46348       conftest$ac_exeext conftest.$ac_ext
46349 fi
46350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46352 if test `eval echo '${'$as_ac_var'}'` = yes; then
46353   cat >>confdefs.h <<_ACEOF
46354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46355 _ACEOF
46356
46357 fi
46358 done
46359
46360   else
46361
46362   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46363 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46364   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46365     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46366   echo $ECHO_N "(cached) $ECHO_C" >&6
46367 else
46368
46369
46370
46371       ac_ext=cc
46372 ac_cpp='$CXXCPP $CPPFLAGS'
46373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46376
46377       cat >conftest.$ac_ext <<_ACEOF
46378 /* confdefs.h.  */
46379 _ACEOF
46380 cat confdefs.h >>conftest.$ac_ext
46381 cat >>conftest.$ac_ext <<_ACEOF
46382 /* end confdefs.h.  */
46383 #include <math.h>
46384 int
46385 main ()
46386 {
46387  _frexpl(0, 0);
46388   ;
46389   return 0;
46390 }
46391 _ACEOF
46392 rm -f conftest.$ac_objext
46393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46394   (eval $ac_compile) 2>conftest.er1
46395   ac_status=$?
46396   grep -v '^ *+' conftest.er1 >conftest.err
46397   rm -f conftest.er1
46398   cat conftest.err >&5
46399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46400   (exit $ac_status); } &&
46401          { ac_try='test -z "$ac_cxx_werror_flag"
46402                          || test ! -s conftest.err'
46403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46404   (eval $ac_try) 2>&5
46405   ac_status=$?
46406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46407   (exit $ac_status); }; } &&
46408          { ac_try='test -s conftest.$ac_objext'
46409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46410   (eval $ac_try) 2>&5
46411   ac_status=$?
46412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46413   (exit $ac_status); }; }; then
46414   glibcxx_cv_func__frexpl_use=yes
46415 else
46416   echo "$as_me: failed program was:" >&5
46417 sed 's/^/| /' conftest.$ac_ext >&5
46418
46419 glibcxx_cv_func__frexpl_use=no
46420 fi
46421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46422       ac_ext=c
46423 ac_cpp='$CPP $CPPFLAGS'
46424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46427
46428
46429 fi
46430
46431   fi
46432   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46433 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46434
46435     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46436
46437 for ac_func in _frexpl
46438 do
46439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46440 echo "$as_me:$LINENO: checking for $ac_func" >&5
46441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46442 if eval "test \"\${$as_ac_var+set}\" = set"; then
46443   echo $ECHO_N "(cached) $ECHO_C" >&6
46444 else
46445   if test x$gcc_no_link = xyes; then
46446   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46448    { (exit 1); exit 1; }; }
46449 fi
46450 cat >conftest.$ac_ext <<_ACEOF
46451 /* confdefs.h.  */
46452 _ACEOF
46453 cat confdefs.h >>conftest.$ac_ext
46454 cat >>conftest.$ac_ext <<_ACEOF
46455 /* end confdefs.h.  */
46456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46457    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46458 #define $ac_func innocuous_$ac_func
46459
46460 /* System header to define __stub macros and hopefully few prototypes,
46461     which can conflict with char $ac_func (); below.
46462     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46463     <limits.h> exists even on freestanding compilers.  */
46464
46465 #ifdef __STDC__
46466 # include <limits.h>
46467 #else
46468 # include <assert.h>
46469 #endif
46470
46471 #undef $ac_func
46472
46473 /* Override any gcc2 internal prototype to avoid an error.  */
46474 #ifdef __cplusplus
46475 extern "C"
46476 {
46477 #endif
46478 /* We use char because int might match the return type of a gcc2
46479    builtin and then its argument prototype would still apply.  */
46480 char $ac_func ();
46481 /* The GNU C library defines this for functions which it implements
46482     to always fail with ENOSYS.  Some functions are actually named
46483     something starting with __ and the normal name is an alias.  */
46484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46485 choke me
46486 #else
46487 char (*f) () = $ac_func;
46488 #endif
46489 #ifdef __cplusplus
46490 }
46491 #endif
46492
46493 int
46494 main ()
46495 {
46496 return f != $ac_func;
46497   ;
46498   return 0;
46499 }
46500 _ACEOF
46501 rm -f conftest.$ac_objext conftest$ac_exeext
46502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46503   (eval $ac_link) 2>conftest.er1
46504   ac_status=$?
46505   grep -v '^ *+' conftest.er1 >conftest.err
46506   rm -f conftest.er1
46507   cat conftest.err >&5
46508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46509   (exit $ac_status); } &&
46510          { ac_try='test -z "$ac_c_werror_flag"
46511                          || test ! -s conftest.err'
46512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46513   (eval $ac_try) 2>&5
46514   ac_status=$?
46515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46516   (exit $ac_status); }; } &&
46517          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
46523   eval "$as_ac_var=yes"
46524 else
46525   echo "$as_me: failed program was:" >&5
46526 sed 's/^/| /' conftest.$ac_ext >&5
46527
46528 eval "$as_ac_var=no"
46529 fi
46530 rm -f conftest.err conftest.$ac_objext \
46531       conftest$ac_exeext conftest.$ac_ext
46532 fi
46533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46535 if test `eval echo '${'$as_ac_var'}'` = yes; then
46536   cat >>confdefs.h <<_ACEOF
46537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46538 _ACEOF
46539
46540 fi
46541 done
46542
46543     fi
46544   fi
46545
46546
46547
46548
46549
46550
46551   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46552 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46553   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46554     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46555   echo $ECHO_N "(cached) $ECHO_C" >&6
46556 else
46557
46558
46559
46560       ac_ext=cc
46561 ac_cpp='$CXXCPP $CPPFLAGS'
46562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46565
46566       cat >conftest.$ac_ext <<_ACEOF
46567 /* confdefs.h.  */
46568 _ACEOF
46569 cat confdefs.h >>conftest.$ac_ext
46570 cat >>conftest.$ac_ext <<_ACEOF
46571 /* end confdefs.h.  */
46572 #include <math.h>
46573 int
46574 main ()
46575 {
46576  hypotl(0, 0);
46577   ;
46578   return 0;
46579 }
46580 _ACEOF
46581 rm -f conftest.$ac_objext
46582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46583   (eval $ac_compile) 2>conftest.er1
46584   ac_status=$?
46585   grep -v '^ *+' conftest.er1 >conftest.err
46586   rm -f conftest.er1
46587   cat conftest.err >&5
46588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46589   (exit $ac_status); } &&
46590          { ac_try='test -z "$ac_cxx_werror_flag"
46591                          || test ! -s conftest.err'
46592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46593   (eval $ac_try) 2>&5
46594   ac_status=$?
46595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46596   (exit $ac_status); }; } &&
46597          { ac_try='test -s conftest.$ac_objext'
46598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46599   (eval $ac_try) 2>&5
46600   ac_status=$?
46601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46602   (exit $ac_status); }; }; then
46603   glibcxx_cv_func_hypotl_use=yes
46604 else
46605   echo "$as_me: failed program was:" >&5
46606 sed 's/^/| /' conftest.$ac_ext >&5
46607
46608 glibcxx_cv_func_hypotl_use=no
46609 fi
46610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46611       ac_ext=c
46612 ac_cpp='$CPP $CPPFLAGS'
46613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46616
46617
46618 fi
46619
46620   fi
46621   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46622 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46623
46624   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46625
46626 for ac_func in hypotl
46627 do
46628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46629 echo "$as_me:$LINENO: checking for $ac_func" >&5
46630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46631 if eval "test \"\${$as_ac_var+set}\" = set"; then
46632   echo $ECHO_N "(cached) $ECHO_C" >&6
46633 else
46634   if test x$gcc_no_link = xyes; then
46635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46637    { (exit 1); exit 1; }; }
46638 fi
46639 cat >conftest.$ac_ext <<_ACEOF
46640 /* confdefs.h.  */
46641 _ACEOF
46642 cat confdefs.h >>conftest.$ac_ext
46643 cat >>conftest.$ac_ext <<_ACEOF
46644 /* end confdefs.h.  */
46645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46646    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46647 #define $ac_func innocuous_$ac_func
46648
46649 /* System header to define __stub macros and hopefully few prototypes,
46650     which can conflict with char $ac_func (); below.
46651     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46652     <limits.h> exists even on freestanding compilers.  */
46653
46654 #ifdef __STDC__
46655 # include <limits.h>
46656 #else
46657 # include <assert.h>
46658 #endif
46659
46660 #undef $ac_func
46661
46662 /* Override any gcc2 internal prototype to avoid an error.  */
46663 #ifdef __cplusplus
46664 extern "C"
46665 {
46666 #endif
46667 /* We use char because int might match the return type of a gcc2
46668    builtin and then its argument prototype would still apply.  */
46669 char $ac_func ();
46670 /* The GNU C library defines this for functions which it implements
46671     to always fail with ENOSYS.  Some functions are actually named
46672     something starting with __ and the normal name is an alias.  */
46673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46674 choke me
46675 #else
46676 char (*f) () = $ac_func;
46677 #endif
46678 #ifdef __cplusplus
46679 }
46680 #endif
46681
46682 int
46683 main ()
46684 {
46685 return f != $ac_func;
46686   ;
46687   return 0;
46688 }
46689 _ACEOF
46690 rm -f conftest.$ac_objext conftest$ac_exeext
46691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46692   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
46713 else
46714   echo "$as_me: failed program was:" >&5
46715 sed 's/^/| /' conftest.$ac_ext >&5
46716
46717 eval "$as_ac_var=no"
46718 fi
46719 rm -f conftest.err conftest.$ac_objext \
46720       conftest$ac_exeext conftest.$ac_ext
46721 fi
46722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46724 if test `eval echo '${'$as_ac_var'}'` = yes; then
46725   cat >>confdefs.h <<_ACEOF
46726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46727 _ACEOF
46728
46729 fi
46730 done
46731
46732   else
46733
46734   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46735 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46736   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46737     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46738   echo $ECHO_N "(cached) $ECHO_C" >&6
46739 else
46740
46741
46742
46743       ac_ext=cc
46744 ac_cpp='$CXXCPP $CPPFLAGS'
46745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46748
46749       cat >conftest.$ac_ext <<_ACEOF
46750 /* confdefs.h.  */
46751 _ACEOF
46752 cat confdefs.h >>conftest.$ac_ext
46753 cat >>conftest.$ac_ext <<_ACEOF
46754 /* end confdefs.h.  */
46755 #include <math.h>
46756 int
46757 main ()
46758 {
46759  _hypotl(0, 0);
46760   ;
46761   return 0;
46762 }
46763 _ACEOF
46764 rm -f conftest.$ac_objext
46765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46766   (eval $ac_compile) 2>conftest.er1
46767   ac_status=$?
46768   grep -v '^ *+' conftest.er1 >conftest.err
46769   rm -f conftest.er1
46770   cat conftest.err >&5
46771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46772   (exit $ac_status); } &&
46773          { ac_try='test -z "$ac_cxx_werror_flag"
46774                          || test ! -s conftest.err'
46775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46776   (eval $ac_try) 2>&5
46777   ac_status=$?
46778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46779   (exit $ac_status); }; } &&
46780          { ac_try='test -s conftest.$ac_objext'
46781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46782   (eval $ac_try) 2>&5
46783   ac_status=$?
46784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46785   (exit $ac_status); }; }; then
46786   glibcxx_cv_func__hypotl_use=yes
46787 else
46788   echo "$as_me: failed program was:" >&5
46789 sed 's/^/| /' conftest.$ac_ext >&5
46790
46791 glibcxx_cv_func__hypotl_use=no
46792 fi
46793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46794       ac_ext=c
46795 ac_cpp='$CPP $CPPFLAGS'
46796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46799
46800
46801 fi
46802
46803   fi
46804   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46805 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46806
46807     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46808
46809 for ac_func in _hypotl
46810 do
46811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46812 echo "$as_me:$LINENO: checking for $ac_func" >&5
46813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46814 if eval "test \"\${$as_ac_var+set}\" = set"; then
46815   echo $ECHO_N "(cached) $ECHO_C" >&6
46816 else
46817   if test x$gcc_no_link = xyes; then
46818   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46820    { (exit 1); exit 1; }; }
46821 fi
46822 cat >conftest.$ac_ext <<_ACEOF
46823 /* confdefs.h.  */
46824 _ACEOF
46825 cat confdefs.h >>conftest.$ac_ext
46826 cat >>conftest.$ac_ext <<_ACEOF
46827 /* end confdefs.h.  */
46828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46829    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46830 #define $ac_func innocuous_$ac_func
46831
46832 /* System header to define __stub macros and hopefully few prototypes,
46833     which can conflict with char $ac_func (); below.
46834     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46835     <limits.h> exists even on freestanding compilers.  */
46836
46837 #ifdef __STDC__
46838 # include <limits.h>
46839 #else
46840 # include <assert.h>
46841 #endif
46842
46843 #undef $ac_func
46844
46845 /* Override any gcc2 internal prototype to avoid an error.  */
46846 #ifdef __cplusplus
46847 extern "C"
46848 {
46849 #endif
46850 /* We use char because int might match the return type of a gcc2
46851    builtin and then its argument prototype would still apply.  */
46852 char $ac_func ();
46853 /* The GNU C library defines this for functions which it implements
46854     to always fail with ENOSYS.  Some functions are actually named
46855     something starting with __ and the normal name is an alias.  */
46856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46857 choke me
46858 #else
46859 char (*f) () = $ac_func;
46860 #endif
46861 #ifdef __cplusplus
46862 }
46863 #endif
46864
46865 int
46866 main ()
46867 {
46868 return f != $ac_func;
46869   ;
46870   return 0;
46871 }
46872 _ACEOF
46873 rm -f conftest.$ac_objext conftest$ac_exeext
46874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46875   (eval $ac_link) 2>conftest.er1
46876   ac_status=$?
46877   grep -v '^ *+' conftest.er1 >conftest.err
46878   rm -f conftest.er1
46879   cat conftest.err >&5
46880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46881   (exit $ac_status); } &&
46882          { ac_try='test -z "$ac_c_werror_flag"
46883                          || test ! -s conftest.err'
46884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46885   (eval $ac_try) 2>&5
46886   ac_status=$?
46887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46888   (exit $ac_status); }; } &&
46889          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
46895   eval "$as_ac_var=yes"
46896 else
46897   echo "$as_me: failed program was:" >&5
46898 sed 's/^/| /' conftest.$ac_ext >&5
46899
46900 eval "$as_ac_var=no"
46901 fi
46902 rm -f conftest.err conftest.$ac_objext \
46903       conftest$ac_exeext conftest.$ac_ext
46904 fi
46905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46907 if test `eval echo '${'$as_ac_var'}'` = yes; then
46908   cat >>confdefs.h <<_ACEOF
46909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46910 _ACEOF
46911
46912 fi
46913 done
46914
46915     fi
46916   fi
46917
46918
46919
46920
46921
46922
46923   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
46924 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
46925   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46926     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
46927   echo $ECHO_N "(cached) $ECHO_C" >&6
46928 else
46929
46930
46931
46932       ac_ext=cc
46933 ac_cpp='$CXXCPP $CPPFLAGS'
46934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46937
46938       cat >conftest.$ac_ext <<_ACEOF
46939 /* confdefs.h.  */
46940 _ACEOF
46941 cat confdefs.h >>conftest.$ac_ext
46942 cat >>conftest.$ac_ext <<_ACEOF
46943 /* end confdefs.h.  */
46944 #include <math.h>
46945 int
46946 main ()
46947 {
46948  ldexpl(0, 0);
46949   ;
46950   return 0;
46951 }
46952 _ACEOF
46953 rm -f conftest.$ac_objext
46954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46955   (eval $ac_compile) 2>conftest.er1
46956   ac_status=$?
46957   grep -v '^ *+' conftest.er1 >conftest.err
46958   rm -f conftest.er1
46959   cat conftest.err >&5
46960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46961   (exit $ac_status); } &&
46962          { ac_try='test -z "$ac_cxx_werror_flag"
46963                          || test ! -s conftest.err'
46964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46965   (eval $ac_try) 2>&5
46966   ac_status=$?
46967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46968   (exit $ac_status); }; } &&
46969          { ac_try='test -s conftest.$ac_objext'
46970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46971   (eval $ac_try) 2>&5
46972   ac_status=$?
46973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46974   (exit $ac_status); }; }; then
46975   glibcxx_cv_func_ldexpl_use=yes
46976 else
46977   echo "$as_me: failed program was:" >&5
46978 sed 's/^/| /' conftest.$ac_ext >&5
46979
46980 glibcxx_cv_func_ldexpl_use=no
46981 fi
46982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46983       ac_ext=c
46984 ac_cpp='$CPP $CPPFLAGS'
46985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46988
46989
46990 fi
46991
46992   fi
46993   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
46994 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
46995
46996   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46997
46998 for ac_func in ldexpl
46999 do
47000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47001 echo "$as_me:$LINENO: checking for $ac_func" >&5
47002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47003 if eval "test \"\${$as_ac_var+set}\" = set"; then
47004   echo $ECHO_N "(cached) $ECHO_C" >&6
47005 else
47006   if test x$gcc_no_link = xyes; then
47007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47009    { (exit 1); exit 1; }; }
47010 fi
47011 cat >conftest.$ac_ext <<_ACEOF
47012 /* confdefs.h.  */
47013 _ACEOF
47014 cat confdefs.h >>conftest.$ac_ext
47015 cat >>conftest.$ac_ext <<_ACEOF
47016 /* end confdefs.h.  */
47017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47019 #define $ac_func innocuous_$ac_func
47020
47021 /* System header to define __stub macros and hopefully few prototypes,
47022     which can conflict with char $ac_func (); below.
47023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47024     <limits.h> exists even on freestanding compilers.  */
47025
47026 #ifdef __STDC__
47027 # include <limits.h>
47028 #else
47029 # include <assert.h>
47030 #endif
47031
47032 #undef $ac_func
47033
47034 /* Override any gcc2 internal prototype to avoid an error.  */
47035 #ifdef __cplusplus
47036 extern "C"
47037 {
47038 #endif
47039 /* We use char because int might match the return type of a gcc2
47040    builtin and then its argument prototype would still apply.  */
47041 char $ac_func ();
47042 /* The GNU C library defines this for functions which it implements
47043     to always fail with ENOSYS.  Some functions are actually named
47044     something starting with __ and the normal name is an alias.  */
47045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47046 choke me
47047 #else
47048 char (*f) () = $ac_func;
47049 #endif
47050 #ifdef __cplusplus
47051 }
47052 #endif
47053
47054 int
47055 main ()
47056 {
47057 return f != $ac_func;
47058   ;
47059   return 0;
47060 }
47061 _ACEOF
47062 rm -f conftest.$ac_objext conftest$ac_exeext
47063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47064   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
47085 else
47086   echo "$as_me: failed program was:" >&5
47087 sed 's/^/| /' conftest.$ac_ext >&5
47088
47089 eval "$as_ac_var=no"
47090 fi
47091 rm -f conftest.err conftest.$ac_objext \
47092       conftest$ac_exeext conftest.$ac_ext
47093 fi
47094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47096 if test `eval echo '${'$as_ac_var'}'` = yes; then
47097   cat >>confdefs.h <<_ACEOF
47098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47099 _ACEOF
47100
47101 fi
47102 done
47103
47104   else
47105
47106   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
47107 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47108   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47109     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47110   echo $ECHO_N "(cached) $ECHO_C" >&6
47111 else
47112
47113
47114
47115       ac_ext=cc
47116 ac_cpp='$CXXCPP $CPPFLAGS'
47117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47120
47121       cat >conftest.$ac_ext <<_ACEOF
47122 /* confdefs.h.  */
47123 _ACEOF
47124 cat confdefs.h >>conftest.$ac_ext
47125 cat >>conftest.$ac_ext <<_ACEOF
47126 /* end confdefs.h.  */
47127 #include <math.h>
47128 int
47129 main ()
47130 {
47131  _ldexpl(0, 0);
47132   ;
47133   return 0;
47134 }
47135 _ACEOF
47136 rm -f conftest.$ac_objext
47137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47138   (eval $ac_compile) 2>conftest.er1
47139   ac_status=$?
47140   grep -v '^ *+' conftest.er1 >conftest.err
47141   rm -f conftest.er1
47142   cat conftest.err >&5
47143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47144   (exit $ac_status); } &&
47145          { ac_try='test -z "$ac_cxx_werror_flag"
47146                          || test ! -s conftest.err'
47147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47148   (eval $ac_try) 2>&5
47149   ac_status=$?
47150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47151   (exit $ac_status); }; } &&
47152          { ac_try='test -s conftest.$ac_objext'
47153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47154   (eval $ac_try) 2>&5
47155   ac_status=$?
47156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157   (exit $ac_status); }; }; then
47158   glibcxx_cv_func__ldexpl_use=yes
47159 else
47160   echo "$as_me: failed program was:" >&5
47161 sed 's/^/| /' conftest.$ac_ext >&5
47162
47163 glibcxx_cv_func__ldexpl_use=no
47164 fi
47165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47166       ac_ext=c
47167 ac_cpp='$CPP $CPPFLAGS'
47168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47171
47172
47173 fi
47174
47175   fi
47176   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47177 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47178
47179     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47180
47181 for ac_func in _ldexpl
47182 do
47183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47184 echo "$as_me:$LINENO: checking for $ac_func" >&5
47185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47186 if eval "test \"\${$as_ac_var+set}\" = set"; then
47187   echo $ECHO_N "(cached) $ECHO_C" >&6
47188 else
47189   if test x$gcc_no_link = xyes; then
47190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47192    { (exit 1); exit 1; }; }
47193 fi
47194 cat >conftest.$ac_ext <<_ACEOF
47195 /* confdefs.h.  */
47196 _ACEOF
47197 cat confdefs.h >>conftest.$ac_ext
47198 cat >>conftest.$ac_ext <<_ACEOF
47199 /* end confdefs.h.  */
47200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47201    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47202 #define $ac_func innocuous_$ac_func
47203
47204 /* System header to define __stub macros and hopefully few prototypes,
47205     which can conflict with char $ac_func (); below.
47206     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47207     <limits.h> exists even on freestanding compilers.  */
47208
47209 #ifdef __STDC__
47210 # include <limits.h>
47211 #else
47212 # include <assert.h>
47213 #endif
47214
47215 #undef $ac_func
47216
47217 /* Override any gcc2 internal prototype to avoid an error.  */
47218 #ifdef __cplusplus
47219 extern "C"
47220 {
47221 #endif
47222 /* We use char because int might match the return type of a gcc2
47223    builtin and then its argument prototype would still apply.  */
47224 char $ac_func ();
47225 /* The GNU C library defines this for functions which it implements
47226     to always fail with ENOSYS.  Some functions are actually named
47227     something starting with __ and the normal name is an alias.  */
47228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47229 choke me
47230 #else
47231 char (*f) () = $ac_func;
47232 #endif
47233 #ifdef __cplusplus
47234 }
47235 #endif
47236
47237 int
47238 main ()
47239 {
47240 return f != $ac_func;
47241   ;
47242   return 0;
47243 }
47244 _ACEOF
47245 rm -f conftest.$ac_objext conftest$ac_exeext
47246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47247   (eval $ac_link) 2>conftest.er1
47248   ac_status=$?
47249   grep -v '^ *+' conftest.er1 >conftest.err
47250   rm -f conftest.er1
47251   cat conftest.err >&5
47252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47253   (exit $ac_status); } &&
47254          { ac_try='test -z "$ac_c_werror_flag"
47255                          || test ! -s conftest.err'
47256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47257   (eval $ac_try) 2>&5
47258   ac_status=$?
47259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47260   (exit $ac_status); }; } &&
47261          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
47267   eval "$as_ac_var=yes"
47268 else
47269   echo "$as_me: failed program was:" >&5
47270 sed 's/^/| /' conftest.$ac_ext >&5
47271
47272 eval "$as_ac_var=no"
47273 fi
47274 rm -f conftest.err conftest.$ac_objext \
47275       conftest$ac_exeext conftest.$ac_ext
47276 fi
47277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47279 if test `eval echo '${'$as_ac_var'}'` = yes; then
47280   cat >>confdefs.h <<_ACEOF
47281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47282 _ACEOF
47283
47284 fi
47285 done
47286
47287     fi
47288   fi
47289
47290
47291
47292
47293
47294
47295   echo "$as_me:$LINENO: checking for logl declaration" >&5
47296 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47297   if test x${glibcxx_cv_func_logl_use+set} != xset; then
47298     if test "${glibcxx_cv_func_logl_use+set}" = set; then
47299   echo $ECHO_N "(cached) $ECHO_C" >&6
47300 else
47301
47302
47303
47304       ac_ext=cc
47305 ac_cpp='$CXXCPP $CPPFLAGS'
47306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47309
47310       cat >conftest.$ac_ext <<_ACEOF
47311 /* confdefs.h.  */
47312 _ACEOF
47313 cat confdefs.h >>conftest.$ac_ext
47314 cat >>conftest.$ac_ext <<_ACEOF
47315 /* end confdefs.h.  */
47316 #include <math.h>
47317                       #ifdef HAVE_IEEEFP_H
47318                       #include <ieeefp.h>
47319                       #endif
47320
47321 int
47322 main ()
47323 {
47324  logl(0);
47325   ;
47326   return 0;
47327 }
47328 _ACEOF
47329 rm -f conftest.$ac_objext
47330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47331   (eval $ac_compile) 2>conftest.er1
47332   ac_status=$?
47333   grep -v '^ *+' conftest.er1 >conftest.err
47334   rm -f conftest.er1
47335   cat conftest.err >&5
47336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47337   (exit $ac_status); } &&
47338          { ac_try='test -z "$ac_cxx_werror_flag"
47339                          || test ! -s conftest.err'
47340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47341   (eval $ac_try) 2>&5
47342   ac_status=$?
47343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47344   (exit $ac_status); }; } &&
47345          { ac_try='test -s conftest.$ac_objext'
47346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47347   (eval $ac_try) 2>&5
47348   ac_status=$?
47349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47350   (exit $ac_status); }; }; then
47351   glibcxx_cv_func_logl_use=yes
47352 else
47353   echo "$as_me: failed program was:" >&5
47354 sed 's/^/| /' conftest.$ac_ext >&5
47355
47356 glibcxx_cv_func_logl_use=no
47357 fi
47358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47359       ac_ext=c
47360 ac_cpp='$CPP $CPPFLAGS'
47361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47364
47365
47366 fi
47367
47368   fi
47369   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47370 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47371
47372   if test x$glibcxx_cv_func_logl_use = x"yes"; then
47373
47374 for ac_func in logl
47375 do
47376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47377 echo "$as_me:$LINENO: checking for $ac_func" >&5
47378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47379 if eval "test \"\${$as_ac_var+set}\" = set"; then
47380   echo $ECHO_N "(cached) $ECHO_C" >&6
47381 else
47382   if test x$gcc_no_link = xyes; then
47383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47385    { (exit 1); exit 1; }; }
47386 fi
47387 cat >conftest.$ac_ext <<_ACEOF
47388 /* confdefs.h.  */
47389 _ACEOF
47390 cat confdefs.h >>conftest.$ac_ext
47391 cat >>conftest.$ac_ext <<_ACEOF
47392 /* end confdefs.h.  */
47393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47394    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47395 #define $ac_func innocuous_$ac_func
47396
47397 /* System header to define __stub macros and hopefully few prototypes,
47398     which can conflict with char $ac_func (); below.
47399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47400     <limits.h> exists even on freestanding compilers.  */
47401
47402 #ifdef __STDC__
47403 # include <limits.h>
47404 #else
47405 # include <assert.h>
47406 #endif
47407
47408 #undef $ac_func
47409
47410 /* Override any gcc2 internal prototype to avoid an error.  */
47411 #ifdef __cplusplus
47412 extern "C"
47413 {
47414 #endif
47415 /* We use char because int might match the return type of a gcc2
47416    builtin and then its argument prototype would still apply.  */
47417 char $ac_func ();
47418 /* The GNU C library defines this for functions which it implements
47419     to always fail with ENOSYS.  Some functions are actually named
47420     something starting with __ and the normal name is an alias.  */
47421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47422 choke me
47423 #else
47424 char (*f) () = $ac_func;
47425 #endif
47426 #ifdef __cplusplus
47427 }
47428 #endif
47429
47430 int
47431 main ()
47432 {
47433 return f != $ac_func;
47434   ;
47435   return 0;
47436 }
47437 _ACEOF
47438 rm -f conftest.$ac_objext conftest$ac_exeext
47439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47440   (eval $ac_link) 2>conftest.er1
47441   ac_status=$?
47442   grep -v '^ *+' conftest.er1 >conftest.err
47443   rm -f conftest.er1
47444   cat conftest.err >&5
47445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47446   (exit $ac_status); } &&
47447          { ac_try='test -z "$ac_c_werror_flag"
47448                          || test ! -s conftest.err'
47449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47450   (eval $ac_try) 2>&5
47451   ac_status=$?
47452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47453   (exit $ac_status); }; } &&
47454          { ac_try='test -s conftest$ac_exeext'
47455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47456   (eval $ac_try) 2>&5
47457   ac_status=$?
47458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47459   (exit $ac_status); }; }; then
47460   eval "$as_ac_var=yes"
47461 else
47462   echo "$as_me: failed program was:" >&5
47463 sed 's/^/| /' conftest.$ac_ext >&5
47464
47465 eval "$as_ac_var=no"
47466 fi
47467 rm -f conftest.err conftest.$ac_objext \
47468       conftest$ac_exeext conftest.$ac_ext
47469 fi
47470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47472 if test `eval echo '${'$as_ac_var'}'` = yes; then
47473   cat >>confdefs.h <<_ACEOF
47474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47475 _ACEOF
47476
47477 fi
47478 done
47479
47480   else
47481
47482   echo "$as_me:$LINENO: checking for _logl declaration" >&5
47483 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47484   if test x${glibcxx_cv_func__logl_use+set} != xset; then
47485     if test "${glibcxx_cv_func__logl_use+set}" = set; then
47486   echo $ECHO_N "(cached) $ECHO_C" >&6
47487 else
47488
47489
47490
47491       ac_ext=cc
47492 ac_cpp='$CXXCPP $CPPFLAGS'
47493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47496
47497       cat >conftest.$ac_ext <<_ACEOF
47498 /* confdefs.h.  */
47499 _ACEOF
47500 cat confdefs.h >>conftest.$ac_ext
47501 cat >>conftest.$ac_ext <<_ACEOF
47502 /* end confdefs.h.  */
47503 #include <math.h>
47504                       #ifdef HAVE_IEEEFP_H
47505                       #include <ieeefp.h>
47506                       #endif
47507
47508 int
47509 main ()
47510 {
47511  _logl(0);
47512   ;
47513   return 0;
47514 }
47515 _ACEOF
47516 rm -f conftest.$ac_objext
47517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47518   (eval $ac_compile) 2>conftest.er1
47519   ac_status=$?
47520   grep -v '^ *+' conftest.er1 >conftest.err
47521   rm -f conftest.er1
47522   cat conftest.err >&5
47523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47524   (exit $ac_status); } &&
47525          { ac_try='test -z "$ac_cxx_werror_flag"
47526                          || test ! -s conftest.err'
47527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47528   (eval $ac_try) 2>&5
47529   ac_status=$?
47530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47531   (exit $ac_status); }; } &&
47532          { ac_try='test -s conftest.$ac_objext'
47533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47534   (eval $ac_try) 2>&5
47535   ac_status=$?
47536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47537   (exit $ac_status); }; }; then
47538   glibcxx_cv_func__logl_use=yes
47539 else
47540   echo "$as_me: failed program was:" >&5
47541 sed 's/^/| /' conftest.$ac_ext >&5
47542
47543 glibcxx_cv_func__logl_use=no
47544 fi
47545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47546       ac_ext=c
47547 ac_cpp='$CPP $CPPFLAGS'
47548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47551
47552
47553 fi
47554
47555   fi
47556   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47557 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47558
47559     if test x$glibcxx_cv_func__logl_use = x"yes"; then
47560
47561 for ac_func in _logl
47562 do
47563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47564 echo "$as_me:$LINENO: checking for $ac_func" >&5
47565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47566 if eval "test \"\${$as_ac_var+set}\" = set"; then
47567   echo $ECHO_N "(cached) $ECHO_C" >&6
47568 else
47569   if test x$gcc_no_link = xyes; then
47570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47572    { (exit 1); exit 1; }; }
47573 fi
47574 cat >conftest.$ac_ext <<_ACEOF
47575 /* confdefs.h.  */
47576 _ACEOF
47577 cat confdefs.h >>conftest.$ac_ext
47578 cat >>conftest.$ac_ext <<_ACEOF
47579 /* end confdefs.h.  */
47580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47582 #define $ac_func innocuous_$ac_func
47583
47584 /* System header to define __stub macros and hopefully few prototypes,
47585     which can conflict with char $ac_func (); below.
47586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47587     <limits.h> exists even on freestanding compilers.  */
47588
47589 #ifdef __STDC__
47590 # include <limits.h>
47591 #else
47592 # include <assert.h>
47593 #endif
47594
47595 #undef $ac_func
47596
47597 /* Override any gcc2 internal prototype to avoid an error.  */
47598 #ifdef __cplusplus
47599 extern "C"
47600 {
47601 #endif
47602 /* We use char because int might match the return type of a gcc2
47603    builtin and then its argument prototype would still apply.  */
47604 char $ac_func ();
47605 /* The GNU C library defines this for functions which it implements
47606     to always fail with ENOSYS.  Some functions are actually named
47607     something starting with __ and the normal name is an alias.  */
47608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47609 choke me
47610 #else
47611 char (*f) () = $ac_func;
47612 #endif
47613 #ifdef __cplusplus
47614 }
47615 #endif
47616
47617 int
47618 main ()
47619 {
47620 return f != $ac_func;
47621   ;
47622   return 0;
47623 }
47624 _ACEOF
47625 rm -f conftest.$ac_objext conftest$ac_exeext
47626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47627   (eval $ac_link) 2>conftest.er1
47628   ac_status=$?
47629   grep -v '^ *+' conftest.er1 >conftest.err
47630   rm -f conftest.er1
47631   cat conftest.err >&5
47632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47633   (exit $ac_status); } &&
47634          { ac_try='test -z "$ac_c_werror_flag"
47635                          || test ! -s conftest.err'
47636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47637   (eval $ac_try) 2>&5
47638   ac_status=$?
47639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47640   (exit $ac_status); }; } &&
47641          { ac_try='test -s conftest$ac_exeext'
47642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47643   (eval $ac_try) 2>&5
47644   ac_status=$?
47645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47646   (exit $ac_status); }; }; then
47647   eval "$as_ac_var=yes"
47648 else
47649   echo "$as_me: failed program was:" >&5
47650 sed 's/^/| /' conftest.$ac_ext >&5
47651
47652 eval "$as_ac_var=no"
47653 fi
47654 rm -f conftest.err conftest.$ac_objext \
47655       conftest$ac_exeext conftest.$ac_ext
47656 fi
47657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47659 if test `eval echo '${'$as_ac_var'}'` = yes; then
47660   cat >>confdefs.h <<_ACEOF
47661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47662 _ACEOF
47663
47664 fi
47665 done
47666
47667     fi
47668   fi
47669
47670
47671
47672
47673
47674
47675   echo "$as_me:$LINENO: checking for log10l declaration" >&5
47676 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47677   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47678     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47679   echo $ECHO_N "(cached) $ECHO_C" >&6
47680 else
47681
47682
47683
47684       ac_ext=cc
47685 ac_cpp='$CXXCPP $CPPFLAGS'
47686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47689
47690       cat >conftest.$ac_ext <<_ACEOF
47691 /* confdefs.h.  */
47692 _ACEOF
47693 cat confdefs.h >>conftest.$ac_ext
47694 cat >>conftest.$ac_ext <<_ACEOF
47695 /* end confdefs.h.  */
47696 #include <math.h>
47697                       #ifdef HAVE_IEEEFP_H
47698                       #include <ieeefp.h>
47699                       #endif
47700
47701 int
47702 main ()
47703 {
47704  log10l(0);
47705   ;
47706   return 0;
47707 }
47708 _ACEOF
47709 rm -f conftest.$ac_objext
47710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47711   (eval $ac_compile) 2>conftest.er1
47712   ac_status=$?
47713   grep -v '^ *+' conftest.er1 >conftest.err
47714   rm -f conftest.er1
47715   cat conftest.err >&5
47716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47717   (exit $ac_status); } &&
47718          { ac_try='test -z "$ac_cxx_werror_flag"
47719                          || test ! -s conftest.err'
47720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47721   (eval $ac_try) 2>&5
47722   ac_status=$?
47723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47724   (exit $ac_status); }; } &&
47725          { ac_try='test -s conftest.$ac_objext'
47726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47727   (eval $ac_try) 2>&5
47728   ac_status=$?
47729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47730   (exit $ac_status); }; }; then
47731   glibcxx_cv_func_log10l_use=yes
47732 else
47733   echo "$as_me: failed program was:" >&5
47734 sed 's/^/| /' conftest.$ac_ext >&5
47735
47736 glibcxx_cv_func_log10l_use=no
47737 fi
47738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47739       ac_ext=c
47740 ac_cpp='$CPP $CPPFLAGS'
47741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47744
47745
47746 fi
47747
47748   fi
47749   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47750 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47751
47752   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47753
47754 for ac_func in log10l
47755 do
47756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47757 echo "$as_me:$LINENO: checking for $ac_func" >&5
47758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47759 if eval "test \"\${$as_ac_var+set}\" = set"; then
47760   echo $ECHO_N "(cached) $ECHO_C" >&6
47761 else
47762   if test x$gcc_no_link = xyes; then
47763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47765    { (exit 1); exit 1; }; }
47766 fi
47767 cat >conftest.$ac_ext <<_ACEOF
47768 /* confdefs.h.  */
47769 _ACEOF
47770 cat confdefs.h >>conftest.$ac_ext
47771 cat >>conftest.$ac_ext <<_ACEOF
47772 /* end confdefs.h.  */
47773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47774    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47775 #define $ac_func innocuous_$ac_func
47776
47777 /* System header to define __stub macros and hopefully few prototypes,
47778     which can conflict with char $ac_func (); below.
47779     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47780     <limits.h> exists even on freestanding compilers.  */
47781
47782 #ifdef __STDC__
47783 # include <limits.h>
47784 #else
47785 # include <assert.h>
47786 #endif
47787
47788 #undef $ac_func
47789
47790 /* Override any gcc2 internal prototype to avoid an error.  */
47791 #ifdef __cplusplus
47792 extern "C"
47793 {
47794 #endif
47795 /* We use char because int might match the return type of a gcc2
47796    builtin and then its argument prototype would still apply.  */
47797 char $ac_func ();
47798 /* The GNU C library defines this for functions which it implements
47799     to always fail with ENOSYS.  Some functions are actually named
47800     something starting with __ and the normal name is an alias.  */
47801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47802 choke me
47803 #else
47804 char (*f) () = $ac_func;
47805 #endif
47806 #ifdef __cplusplus
47807 }
47808 #endif
47809
47810 int
47811 main ()
47812 {
47813 return f != $ac_func;
47814   ;
47815   return 0;
47816 }
47817 _ACEOF
47818 rm -f conftest.$ac_objext conftest$ac_exeext
47819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47820   (eval $ac_link) 2>conftest.er1
47821   ac_status=$?
47822   grep -v '^ *+' conftest.er1 >conftest.err
47823   rm -f conftest.er1
47824   cat conftest.err >&5
47825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47826   (exit $ac_status); } &&
47827          { ac_try='test -z "$ac_c_werror_flag"
47828                          || test ! -s conftest.err'
47829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47830   (eval $ac_try) 2>&5
47831   ac_status=$?
47832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47833   (exit $ac_status); }; } &&
47834          { ac_try='test -s conftest$ac_exeext'
47835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47836   (eval $ac_try) 2>&5
47837   ac_status=$?
47838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47839   (exit $ac_status); }; }; then
47840   eval "$as_ac_var=yes"
47841 else
47842   echo "$as_me: failed program was:" >&5
47843 sed 's/^/| /' conftest.$ac_ext >&5
47844
47845 eval "$as_ac_var=no"
47846 fi
47847 rm -f conftest.err conftest.$ac_objext \
47848       conftest$ac_exeext conftest.$ac_ext
47849 fi
47850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47852 if test `eval echo '${'$as_ac_var'}'` = yes; then
47853   cat >>confdefs.h <<_ACEOF
47854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47855 _ACEOF
47856
47857 fi
47858 done
47859
47860   else
47861
47862   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
47863 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
47864   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
47865     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
47866   echo $ECHO_N "(cached) $ECHO_C" >&6
47867 else
47868
47869
47870
47871       ac_ext=cc
47872 ac_cpp='$CXXCPP $CPPFLAGS'
47873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47876
47877       cat >conftest.$ac_ext <<_ACEOF
47878 /* confdefs.h.  */
47879 _ACEOF
47880 cat confdefs.h >>conftest.$ac_ext
47881 cat >>conftest.$ac_ext <<_ACEOF
47882 /* end confdefs.h.  */
47883 #include <math.h>
47884                       #ifdef HAVE_IEEEFP_H
47885                       #include <ieeefp.h>
47886                       #endif
47887
47888 int
47889 main ()
47890 {
47891  _log10l(0);
47892   ;
47893   return 0;
47894 }
47895 _ACEOF
47896 rm -f conftest.$ac_objext
47897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47898   (eval $ac_compile) 2>conftest.er1
47899   ac_status=$?
47900   grep -v '^ *+' conftest.er1 >conftest.err
47901   rm -f conftest.er1
47902   cat conftest.err >&5
47903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47904   (exit $ac_status); } &&
47905          { ac_try='test -z "$ac_cxx_werror_flag"
47906                          || test ! -s conftest.err'
47907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47908   (eval $ac_try) 2>&5
47909   ac_status=$?
47910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47911   (exit $ac_status); }; } &&
47912          { ac_try='test -s conftest.$ac_objext'
47913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47914   (eval $ac_try) 2>&5
47915   ac_status=$?
47916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47917   (exit $ac_status); }; }; then
47918   glibcxx_cv_func__log10l_use=yes
47919 else
47920   echo "$as_me: failed program was:" >&5
47921 sed 's/^/| /' conftest.$ac_ext >&5
47922
47923 glibcxx_cv_func__log10l_use=no
47924 fi
47925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47926       ac_ext=c
47927 ac_cpp='$CPP $CPPFLAGS'
47928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47931
47932
47933 fi
47934
47935   fi
47936   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
47937 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
47938
47939     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
47940
47941 for ac_func in _log10l
47942 do
47943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47944 echo "$as_me:$LINENO: checking for $ac_func" >&5
47945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47946 if eval "test \"\${$as_ac_var+set}\" = set"; then
47947   echo $ECHO_N "(cached) $ECHO_C" >&6
47948 else
47949   if test x$gcc_no_link = xyes; then
47950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47952    { (exit 1); exit 1; }; }
47953 fi
47954 cat >conftest.$ac_ext <<_ACEOF
47955 /* confdefs.h.  */
47956 _ACEOF
47957 cat confdefs.h >>conftest.$ac_ext
47958 cat >>conftest.$ac_ext <<_ACEOF
47959 /* end confdefs.h.  */
47960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47961    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47962 #define $ac_func innocuous_$ac_func
47963
47964 /* System header to define __stub macros and hopefully few prototypes,
47965     which can conflict with char $ac_func (); below.
47966     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47967     <limits.h> exists even on freestanding compilers.  */
47968
47969 #ifdef __STDC__
47970 # include <limits.h>
47971 #else
47972 # include <assert.h>
47973 #endif
47974
47975 #undef $ac_func
47976
47977 /* Override any gcc2 internal prototype to avoid an error.  */
47978 #ifdef __cplusplus
47979 extern "C"
47980 {
47981 #endif
47982 /* We use char because int might match the return type of a gcc2
47983    builtin and then its argument prototype would still apply.  */
47984 char $ac_func ();
47985 /* The GNU C library defines this for functions which it implements
47986     to always fail with ENOSYS.  Some functions are actually named
47987     something starting with __ and the normal name is an alias.  */
47988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47989 choke me
47990 #else
47991 char (*f) () = $ac_func;
47992 #endif
47993 #ifdef __cplusplus
47994 }
47995 #endif
47996
47997 int
47998 main ()
47999 {
48000 return f != $ac_func;
48001   ;
48002   return 0;
48003 }
48004 _ACEOF
48005 rm -f conftest.$ac_objext conftest$ac_exeext
48006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48007   (eval $ac_link) 2>conftest.er1
48008   ac_status=$?
48009   grep -v '^ *+' conftest.er1 >conftest.err
48010   rm -f conftest.er1
48011   cat conftest.err >&5
48012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48013   (exit $ac_status); } &&
48014          { ac_try='test -z "$ac_c_werror_flag"
48015                          || test ! -s conftest.err'
48016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48017   (eval $ac_try) 2>&5
48018   ac_status=$?
48019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48020   (exit $ac_status); }; } &&
48021          { ac_try='test -s conftest$ac_exeext'
48022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48023   (eval $ac_try) 2>&5
48024   ac_status=$?
48025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48026   (exit $ac_status); }; }; then
48027   eval "$as_ac_var=yes"
48028 else
48029   echo "$as_me: failed program was:" >&5
48030 sed 's/^/| /' conftest.$ac_ext >&5
48031
48032 eval "$as_ac_var=no"
48033 fi
48034 rm -f conftest.err conftest.$ac_objext \
48035       conftest$ac_exeext conftest.$ac_ext
48036 fi
48037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48039 if test `eval echo '${'$as_ac_var'}'` = yes; then
48040   cat >>confdefs.h <<_ACEOF
48041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48042 _ACEOF
48043
48044 fi
48045 done
48046
48047     fi
48048   fi
48049
48050
48051
48052
48053
48054
48055   echo "$as_me:$LINENO: checking for modfl declaration" >&5
48056 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
48057   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48058     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
48059   echo $ECHO_N "(cached) $ECHO_C" >&6
48060 else
48061
48062
48063
48064       ac_ext=cc
48065 ac_cpp='$CXXCPP $CPPFLAGS'
48066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48069
48070       cat >conftest.$ac_ext <<_ACEOF
48071 /* confdefs.h.  */
48072 _ACEOF
48073 cat confdefs.h >>conftest.$ac_ext
48074 cat >>conftest.$ac_ext <<_ACEOF
48075 /* end confdefs.h.  */
48076 #include <math.h>
48077 int
48078 main ()
48079 {
48080  modfl(0, 0);
48081   ;
48082   return 0;
48083 }
48084 _ACEOF
48085 rm -f conftest.$ac_objext
48086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48087   (eval $ac_compile) 2>conftest.er1
48088   ac_status=$?
48089   grep -v '^ *+' conftest.er1 >conftest.err
48090   rm -f conftest.er1
48091   cat conftest.err >&5
48092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48093   (exit $ac_status); } &&
48094          { ac_try='test -z "$ac_cxx_werror_flag"
48095                          || test ! -s conftest.err'
48096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48097   (eval $ac_try) 2>&5
48098   ac_status=$?
48099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48100   (exit $ac_status); }; } &&
48101          { ac_try='test -s conftest.$ac_objext'
48102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48103   (eval $ac_try) 2>&5
48104   ac_status=$?
48105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48106   (exit $ac_status); }; }; then
48107   glibcxx_cv_func_modfl_use=yes
48108 else
48109   echo "$as_me: failed program was:" >&5
48110 sed 's/^/| /' conftest.$ac_ext >&5
48111
48112 glibcxx_cv_func_modfl_use=no
48113 fi
48114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48115       ac_ext=c
48116 ac_cpp='$CPP $CPPFLAGS'
48117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48120
48121
48122 fi
48123
48124   fi
48125   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48126 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48127
48128   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48129
48130 for ac_func in modfl
48131 do
48132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48133 echo "$as_me:$LINENO: checking for $ac_func" >&5
48134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48135 if eval "test \"\${$as_ac_var+set}\" = set"; then
48136   echo $ECHO_N "(cached) $ECHO_C" >&6
48137 else
48138   if test x$gcc_no_link = xyes; then
48139   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48141    { (exit 1); exit 1; }; }
48142 fi
48143 cat >conftest.$ac_ext <<_ACEOF
48144 /* confdefs.h.  */
48145 _ACEOF
48146 cat confdefs.h >>conftest.$ac_ext
48147 cat >>conftest.$ac_ext <<_ACEOF
48148 /* end confdefs.h.  */
48149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48150    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48151 #define $ac_func innocuous_$ac_func
48152
48153 /* System header to define __stub macros and hopefully few prototypes,
48154     which can conflict with char $ac_func (); below.
48155     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48156     <limits.h> exists even on freestanding compilers.  */
48157
48158 #ifdef __STDC__
48159 # include <limits.h>
48160 #else
48161 # include <assert.h>
48162 #endif
48163
48164 #undef $ac_func
48165
48166 /* Override any gcc2 internal prototype to avoid an error.  */
48167 #ifdef __cplusplus
48168 extern "C"
48169 {
48170 #endif
48171 /* We use char because int might match the return type of a gcc2
48172    builtin and then its argument prototype would still apply.  */
48173 char $ac_func ();
48174 /* The GNU C library defines this for functions which it implements
48175     to always fail with ENOSYS.  Some functions are actually named
48176     something starting with __ and the normal name is an alias.  */
48177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48178 choke me
48179 #else
48180 char (*f) () = $ac_func;
48181 #endif
48182 #ifdef __cplusplus
48183 }
48184 #endif
48185
48186 int
48187 main ()
48188 {
48189 return f != $ac_func;
48190   ;
48191   return 0;
48192 }
48193 _ACEOF
48194 rm -f conftest.$ac_objext conftest$ac_exeext
48195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48196   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
48217 else
48218   echo "$as_me: failed program was:" >&5
48219 sed 's/^/| /' conftest.$ac_ext >&5
48220
48221 eval "$as_ac_var=no"
48222 fi
48223 rm -f conftest.err conftest.$ac_objext \
48224       conftest$ac_exeext conftest.$ac_ext
48225 fi
48226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48228 if test `eval echo '${'$as_ac_var'}'` = yes; then
48229   cat >>confdefs.h <<_ACEOF
48230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48231 _ACEOF
48232
48233 fi
48234 done
48235
48236   else
48237
48238   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48239 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48240   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48241     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48242   echo $ECHO_N "(cached) $ECHO_C" >&6
48243 else
48244
48245
48246
48247       ac_ext=cc
48248 ac_cpp='$CXXCPP $CPPFLAGS'
48249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48252
48253       cat >conftest.$ac_ext <<_ACEOF
48254 /* confdefs.h.  */
48255 _ACEOF
48256 cat confdefs.h >>conftest.$ac_ext
48257 cat >>conftest.$ac_ext <<_ACEOF
48258 /* end confdefs.h.  */
48259 #include <math.h>
48260 int
48261 main ()
48262 {
48263  _modfl(0, 0);
48264   ;
48265   return 0;
48266 }
48267 _ACEOF
48268 rm -f conftest.$ac_objext
48269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48270   (eval $ac_compile) 2>conftest.er1
48271   ac_status=$?
48272   grep -v '^ *+' conftest.er1 >conftest.err
48273   rm -f conftest.er1
48274   cat conftest.err >&5
48275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48276   (exit $ac_status); } &&
48277          { ac_try='test -z "$ac_cxx_werror_flag"
48278                          || test ! -s conftest.err'
48279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48280   (eval $ac_try) 2>&5
48281   ac_status=$?
48282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48283   (exit $ac_status); }; } &&
48284          { ac_try='test -s conftest.$ac_objext'
48285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48286   (eval $ac_try) 2>&5
48287   ac_status=$?
48288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48289   (exit $ac_status); }; }; then
48290   glibcxx_cv_func__modfl_use=yes
48291 else
48292   echo "$as_me: failed program was:" >&5
48293 sed 's/^/| /' conftest.$ac_ext >&5
48294
48295 glibcxx_cv_func__modfl_use=no
48296 fi
48297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48298       ac_ext=c
48299 ac_cpp='$CPP $CPPFLAGS'
48300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48303
48304
48305 fi
48306
48307   fi
48308   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48309 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48310
48311     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48312
48313 for ac_func in _modfl
48314 do
48315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48316 echo "$as_me:$LINENO: checking for $ac_func" >&5
48317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48318 if eval "test \"\${$as_ac_var+set}\" = set"; then
48319   echo $ECHO_N "(cached) $ECHO_C" >&6
48320 else
48321   if test x$gcc_no_link = xyes; then
48322   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48324    { (exit 1); exit 1; }; }
48325 fi
48326 cat >conftest.$ac_ext <<_ACEOF
48327 /* confdefs.h.  */
48328 _ACEOF
48329 cat confdefs.h >>conftest.$ac_ext
48330 cat >>conftest.$ac_ext <<_ACEOF
48331 /* end confdefs.h.  */
48332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48333    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48334 #define $ac_func innocuous_$ac_func
48335
48336 /* System header to define __stub macros and hopefully few prototypes,
48337     which can conflict with char $ac_func (); below.
48338     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48339     <limits.h> exists even on freestanding compilers.  */
48340
48341 #ifdef __STDC__
48342 # include <limits.h>
48343 #else
48344 # include <assert.h>
48345 #endif
48346
48347 #undef $ac_func
48348
48349 /* Override any gcc2 internal prototype to avoid an error.  */
48350 #ifdef __cplusplus
48351 extern "C"
48352 {
48353 #endif
48354 /* We use char because int might match the return type of a gcc2
48355    builtin and then its argument prototype would still apply.  */
48356 char $ac_func ();
48357 /* The GNU C library defines this for functions which it implements
48358     to always fail with ENOSYS.  Some functions are actually named
48359     something starting with __ and the normal name is an alias.  */
48360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48361 choke me
48362 #else
48363 char (*f) () = $ac_func;
48364 #endif
48365 #ifdef __cplusplus
48366 }
48367 #endif
48368
48369 int
48370 main ()
48371 {
48372 return f != $ac_func;
48373   ;
48374   return 0;
48375 }
48376 _ACEOF
48377 rm -f conftest.$ac_objext conftest$ac_exeext
48378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48379   (eval $ac_link) 2>conftest.er1
48380   ac_status=$?
48381   grep -v '^ *+' conftest.er1 >conftest.err
48382   rm -f conftest.er1
48383   cat conftest.err >&5
48384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48385   (exit $ac_status); } &&
48386          { ac_try='test -z "$ac_c_werror_flag"
48387                          || test ! -s conftest.err'
48388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48389   (eval $ac_try) 2>&5
48390   ac_status=$?
48391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48392   (exit $ac_status); }; } &&
48393          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
48399   eval "$as_ac_var=yes"
48400 else
48401   echo "$as_me: failed program was:" >&5
48402 sed 's/^/| /' conftest.$ac_ext >&5
48403
48404 eval "$as_ac_var=no"
48405 fi
48406 rm -f conftest.err conftest.$ac_objext \
48407       conftest$ac_exeext conftest.$ac_ext
48408 fi
48409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48411 if test `eval echo '${'$as_ac_var'}'` = yes; then
48412   cat >>confdefs.h <<_ACEOF
48413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48414 _ACEOF
48415
48416 fi
48417 done
48418
48419     fi
48420   fi
48421
48422
48423
48424
48425
48426
48427   echo "$as_me:$LINENO: checking for powl declaration" >&5
48428 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48429   if test x${glibcxx_cv_func_powl_use+set} != xset; then
48430     if test "${glibcxx_cv_func_powl_use+set}" = set; then
48431   echo $ECHO_N "(cached) $ECHO_C" >&6
48432 else
48433
48434
48435
48436       ac_ext=cc
48437 ac_cpp='$CXXCPP $CPPFLAGS'
48438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48441
48442       cat >conftest.$ac_ext <<_ACEOF
48443 /* confdefs.h.  */
48444 _ACEOF
48445 cat confdefs.h >>conftest.$ac_ext
48446 cat >>conftest.$ac_ext <<_ACEOF
48447 /* end confdefs.h.  */
48448 #include <math.h>
48449 int
48450 main ()
48451 {
48452  powl(0, 0);
48453   ;
48454   return 0;
48455 }
48456 _ACEOF
48457 rm -f conftest.$ac_objext
48458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48459   (eval $ac_compile) 2>conftest.er1
48460   ac_status=$?
48461   grep -v '^ *+' conftest.er1 >conftest.err
48462   rm -f conftest.er1
48463   cat conftest.err >&5
48464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48465   (exit $ac_status); } &&
48466          { ac_try='test -z "$ac_cxx_werror_flag"
48467                          || test ! -s conftest.err'
48468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48469   (eval $ac_try) 2>&5
48470   ac_status=$?
48471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48472   (exit $ac_status); }; } &&
48473          { ac_try='test -s conftest.$ac_objext'
48474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48475   (eval $ac_try) 2>&5
48476   ac_status=$?
48477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48478   (exit $ac_status); }; }; then
48479   glibcxx_cv_func_powl_use=yes
48480 else
48481   echo "$as_me: failed program was:" >&5
48482 sed 's/^/| /' conftest.$ac_ext >&5
48483
48484 glibcxx_cv_func_powl_use=no
48485 fi
48486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48487       ac_ext=c
48488 ac_cpp='$CPP $CPPFLAGS'
48489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48492
48493
48494 fi
48495
48496   fi
48497   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48498 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48499
48500   if test x$glibcxx_cv_func_powl_use = x"yes"; then
48501
48502 for ac_func in powl
48503 do
48504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48505 echo "$as_me:$LINENO: checking for $ac_func" >&5
48506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48507 if eval "test \"\${$as_ac_var+set}\" = set"; then
48508   echo $ECHO_N "(cached) $ECHO_C" >&6
48509 else
48510   if test x$gcc_no_link = xyes; then
48511   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48513    { (exit 1); exit 1; }; }
48514 fi
48515 cat >conftest.$ac_ext <<_ACEOF
48516 /* confdefs.h.  */
48517 _ACEOF
48518 cat confdefs.h >>conftest.$ac_ext
48519 cat >>conftest.$ac_ext <<_ACEOF
48520 /* end confdefs.h.  */
48521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48522    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48523 #define $ac_func innocuous_$ac_func
48524
48525 /* System header to define __stub macros and hopefully few prototypes,
48526     which can conflict with char $ac_func (); below.
48527     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48528     <limits.h> exists even on freestanding compilers.  */
48529
48530 #ifdef __STDC__
48531 # include <limits.h>
48532 #else
48533 # include <assert.h>
48534 #endif
48535
48536 #undef $ac_func
48537
48538 /* Override any gcc2 internal prototype to avoid an error.  */
48539 #ifdef __cplusplus
48540 extern "C"
48541 {
48542 #endif
48543 /* We use char because int might match the return type of a gcc2
48544    builtin and then its argument prototype would still apply.  */
48545 char $ac_func ();
48546 /* The GNU C library defines this for functions which it implements
48547     to always fail with ENOSYS.  Some functions are actually named
48548     something starting with __ and the normal name is an alias.  */
48549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48550 choke me
48551 #else
48552 char (*f) () = $ac_func;
48553 #endif
48554 #ifdef __cplusplus
48555 }
48556 #endif
48557
48558 int
48559 main ()
48560 {
48561 return f != $ac_func;
48562   ;
48563   return 0;
48564 }
48565 _ACEOF
48566 rm -f conftest.$ac_objext conftest$ac_exeext
48567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48568   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
48589 else
48590   echo "$as_me: failed program was:" >&5
48591 sed 's/^/| /' conftest.$ac_ext >&5
48592
48593 eval "$as_ac_var=no"
48594 fi
48595 rm -f conftest.err conftest.$ac_objext \
48596       conftest$ac_exeext conftest.$ac_ext
48597 fi
48598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48600 if test `eval echo '${'$as_ac_var'}'` = yes; then
48601   cat >>confdefs.h <<_ACEOF
48602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48603 _ACEOF
48604
48605 fi
48606 done
48607
48608   else
48609
48610   echo "$as_me:$LINENO: checking for _powl declaration" >&5
48611 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48612   if test x${glibcxx_cv_func__powl_use+set} != xset; then
48613     if test "${glibcxx_cv_func__powl_use+set}" = set; then
48614   echo $ECHO_N "(cached) $ECHO_C" >&6
48615 else
48616
48617
48618
48619       ac_ext=cc
48620 ac_cpp='$CXXCPP $CPPFLAGS'
48621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48624
48625       cat >conftest.$ac_ext <<_ACEOF
48626 /* confdefs.h.  */
48627 _ACEOF
48628 cat confdefs.h >>conftest.$ac_ext
48629 cat >>conftest.$ac_ext <<_ACEOF
48630 /* end confdefs.h.  */
48631 #include <math.h>
48632 int
48633 main ()
48634 {
48635  _powl(0, 0);
48636   ;
48637   return 0;
48638 }
48639 _ACEOF
48640 rm -f conftest.$ac_objext
48641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48642   (eval $ac_compile) 2>conftest.er1
48643   ac_status=$?
48644   grep -v '^ *+' conftest.er1 >conftest.err
48645   rm -f conftest.er1
48646   cat conftest.err >&5
48647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48648   (exit $ac_status); } &&
48649          { ac_try='test -z "$ac_cxx_werror_flag"
48650                          || test ! -s conftest.err'
48651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48652   (eval $ac_try) 2>&5
48653   ac_status=$?
48654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48655   (exit $ac_status); }; } &&
48656          { ac_try='test -s conftest.$ac_objext'
48657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48658   (eval $ac_try) 2>&5
48659   ac_status=$?
48660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48661   (exit $ac_status); }; }; then
48662   glibcxx_cv_func__powl_use=yes
48663 else
48664   echo "$as_me: failed program was:" >&5
48665 sed 's/^/| /' conftest.$ac_ext >&5
48666
48667 glibcxx_cv_func__powl_use=no
48668 fi
48669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48670       ac_ext=c
48671 ac_cpp='$CPP $CPPFLAGS'
48672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48675
48676
48677 fi
48678
48679   fi
48680   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48681 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48682
48683     if test x$glibcxx_cv_func__powl_use = x"yes"; then
48684
48685 for ac_func in _powl
48686 do
48687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48688 echo "$as_me:$LINENO: checking for $ac_func" >&5
48689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48690 if eval "test \"\${$as_ac_var+set}\" = set"; then
48691   echo $ECHO_N "(cached) $ECHO_C" >&6
48692 else
48693   if test x$gcc_no_link = xyes; then
48694   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48696    { (exit 1); exit 1; }; }
48697 fi
48698 cat >conftest.$ac_ext <<_ACEOF
48699 /* confdefs.h.  */
48700 _ACEOF
48701 cat confdefs.h >>conftest.$ac_ext
48702 cat >>conftest.$ac_ext <<_ACEOF
48703 /* end confdefs.h.  */
48704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48705    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48706 #define $ac_func innocuous_$ac_func
48707
48708 /* System header to define __stub macros and hopefully few prototypes,
48709     which can conflict with char $ac_func (); below.
48710     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48711     <limits.h> exists even on freestanding compilers.  */
48712
48713 #ifdef __STDC__
48714 # include <limits.h>
48715 #else
48716 # include <assert.h>
48717 #endif
48718
48719 #undef $ac_func
48720
48721 /* Override any gcc2 internal prototype to avoid an error.  */
48722 #ifdef __cplusplus
48723 extern "C"
48724 {
48725 #endif
48726 /* We use char because int might match the return type of a gcc2
48727    builtin and then its argument prototype would still apply.  */
48728 char $ac_func ();
48729 /* The GNU C library defines this for functions which it implements
48730     to always fail with ENOSYS.  Some functions are actually named
48731     something starting with __ and the normal name is an alias.  */
48732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48733 choke me
48734 #else
48735 char (*f) () = $ac_func;
48736 #endif
48737 #ifdef __cplusplus
48738 }
48739 #endif
48740
48741 int
48742 main ()
48743 {
48744 return f != $ac_func;
48745   ;
48746   return 0;
48747 }
48748 _ACEOF
48749 rm -f conftest.$ac_objext conftest$ac_exeext
48750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48751   (eval $ac_link) 2>conftest.er1
48752   ac_status=$?
48753   grep -v '^ *+' conftest.er1 >conftest.err
48754   rm -f conftest.er1
48755   cat conftest.err >&5
48756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48757   (exit $ac_status); } &&
48758          { ac_try='test -z "$ac_c_werror_flag"
48759                          || test ! -s conftest.err'
48760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48761   (eval $ac_try) 2>&5
48762   ac_status=$?
48763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48764   (exit $ac_status); }; } &&
48765          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
48771   eval "$as_ac_var=yes"
48772 else
48773   echo "$as_me: failed program was:" >&5
48774 sed 's/^/| /' conftest.$ac_ext >&5
48775
48776 eval "$as_ac_var=no"
48777 fi
48778 rm -f conftest.err conftest.$ac_objext \
48779       conftest$ac_exeext conftest.$ac_ext
48780 fi
48781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48783 if test `eval echo '${'$as_ac_var'}'` = yes; then
48784   cat >>confdefs.h <<_ACEOF
48785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48786 _ACEOF
48787
48788 fi
48789 done
48790
48791     fi
48792   fi
48793
48794
48795
48796
48797
48798
48799   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48800 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48801   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48802     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48803   echo $ECHO_N "(cached) $ECHO_C" >&6
48804 else
48805
48806
48807
48808       ac_ext=cc
48809 ac_cpp='$CXXCPP $CPPFLAGS'
48810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48813
48814       cat >conftest.$ac_ext <<_ACEOF
48815 /* confdefs.h.  */
48816 _ACEOF
48817 cat confdefs.h >>conftest.$ac_ext
48818 cat >>conftest.$ac_ext <<_ACEOF
48819 /* end confdefs.h.  */
48820 #include <math.h>
48821                       #ifdef HAVE_IEEEFP_H
48822                       #include <ieeefp.h>
48823                       #endif
48824
48825 int
48826 main ()
48827 {
48828  sqrtl(0);
48829   ;
48830   return 0;
48831 }
48832 _ACEOF
48833 rm -f conftest.$ac_objext
48834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48835   (eval $ac_compile) 2>conftest.er1
48836   ac_status=$?
48837   grep -v '^ *+' conftest.er1 >conftest.err
48838   rm -f conftest.er1
48839   cat conftest.err >&5
48840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48841   (exit $ac_status); } &&
48842          { ac_try='test -z "$ac_cxx_werror_flag"
48843                          || test ! -s conftest.err'
48844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48845   (eval $ac_try) 2>&5
48846   ac_status=$?
48847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48848   (exit $ac_status); }; } &&
48849          { ac_try='test -s conftest.$ac_objext'
48850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48851   (eval $ac_try) 2>&5
48852   ac_status=$?
48853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48854   (exit $ac_status); }; }; then
48855   glibcxx_cv_func_sqrtl_use=yes
48856 else
48857   echo "$as_me: failed program was:" >&5
48858 sed 's/^/| /' conftest.$ac_ext >&5
48859
48860 glibcxx_cv_func_sqrtl_use=no
48861 fi
48862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48863       ac_ext=c
48864 ac_cpp='$CPP $CPPFLAGS'
48865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48868
48869
48870 fi
48871
48872   fi
48873   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
48874 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
48875
48876   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48877
48878 for ac_func in sqrtl
48879 do
48880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48881 echo "$as_me:$LINENO: checking for $ac_func" >&5
48882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48883 if eval "test \"\${$as_ac_var+set}\" = set"; then
48884   echo $ECHO_N "(cached) $ECHO_C" >&6
48885 else
48886   if test x$gcc_no_link = xyes; then
48887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48889    { (exit 1); exit 1; }; }
48890 fi
48891 cat >conftest.$ac_ext <<_ACEOF
48892 /* confdefs.h.  */
48893 _ACEOF
48894 cat confdefs.h >>conftest.$ac_ext
48895 cat >>conftest.$ac_ext <<_ACEOF
48896 /* end confdefs.h.  */
48897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48899 #define $ac_func innocuous_$ac_func
48900
48901 /* System header to define __stub macros and hopefully few prototypes,
48902     which can conflict with char $ac_func (); below.
48903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48904     <limits.h> exists even on freestanding compilers.  */
48905
48906 #ifdef __STDC__
48907 # include <limits.h>
48908 #else
48909 # include <assert.h>
48910 #endif
48911
48912 #undef $ac_func
48913
48914 /* Override any gcc2 internal prototype to avoid an error.  */
48915 #ifdef __cplusplus
48916 extern "C"
48917 {
48918 #endif
48919 /* We use char because int might match the return type of a gcc2
48920    builtin and then its argument prototype would still apply.  */
48921 char $ac_func ();
48922 /* The GNU C library defines this for functions which it implements
48923     to always fail with ENOSYS.  Some functions are actually named
48924     something starting with __ and the normal name is an alias.  */
48925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48926 choke me
48927 #else
48928 char (*f) () = $ac_func;
48929 #endif
48930 #ifdef __cplusplus
48931 }
48932 #endif
48933
48934 int
48935 main ()
48936 {
48937 return f != $ac_func;
48938   ;
48939   return 0;
48940 }
48941 _ACEOF
48942 rm -f conftest.$ac_objext conftest$ac_exeext
48943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48944   (eval $ac_link) 2>conftest.er1
48945   ac_status=$?
48946   grep -v '^ *+' conftest.er1 >conftest.err
48947   rm -f conftest.er1
48948   cat conftest.err >&5
48949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48950   (exit $ac_status); } &&
48951          { ac_try='test -z "$ac_c_werror_flag"
48952                          || test ! -s conftest.err'
48953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48954   (eval $ac_try) 2>&5
48955   ac_status=$?
48956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48957   (exit $ac_status); }; } &&
48958          { ac_try='test -s conftest$ac_exeext'
48959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48960   (eval $ac_try) 2>&5
48961   ac_status=$?
48962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48963   (exit $ac_status); }; }; then
48964   eval "$as_ac_var=yes"
48965 else
48966   echo "$as_me: failed program was:" >&5
48967 sed 's/^/| /' conftest.$ac_ext >&5
48968
48969 eval "$as_ac_var=no"
48970 fi
48971 rm -f conftest.err conftest.$ac_objext \
48972       conftest$ac_exeext conftest.$ac_ext
48973 fi
48974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48976 if test `eval echo '${'$as_ac_var'}'` = yes; then
48977   cat >>confdefs.h <<_ACEOF
48978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48979 _ACEOF
48980
48981 fi
48982 done
48983
48984   else
48985
48986   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
48987 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
48988   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48989     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
48990   echo $ECHO_N "(cached) $ECHO_C" >&6
48991 else
48992
48993
48994
48995       ac_ext=cc
48996 ac_cpp='$CXXCPP $CPPFLAGS'
48997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49000
49001       cat >conftest.$ac_ext <<_ACEOF
49002 /* confdefs.h.  */
49003 _ACEOF
49004 cat confdefs.h >>conftest.$ac_ext
49005 cat >>conftest.$ac_ext <<_ACEOF
49006 /* end confdefs.h.  */
49007 #include <math.h>
49008                       #ifdef HAVE_IEEEFP_H
49009                       #include <ieeefp.h>
49010                       #endif
49011
49012 int
49013 main ()
49014 {
49015  _sqrtl(0);
49016   ;
49017   return 0;
49018 }
49019 _ACEOF
49020 rm -f conftest.$ac_objext
49021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49022   (eval $ac_compile) 2>conftest.er1
49023   ac_status=$?
49024   grep -v '^ *+' conftest.er1 >conftest.err
49025   rm -f conftest.er1
49026   cat conftest.err >&5
49027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49028   (exit $ac_status); } &&
49029          { ac_try='test -z "$ac_cxx_werror_flag"
49030                          || test ! -s conftest.err'
49031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49032   (eval $ac_try) 2>&5
49033   ac_status=$?
49034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49035   (exit $ac_status); }; } &&
49036          { ac_try='test -s conftest.$ac_objext'
49037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49038   (eval $ac_try) 2>&5
49039   ac_status=$?
49040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49041   (exit $ac_status); }; }; then
49042   glibcxx_cv_func__sqrtl_use=yes
49043 else
49044   echo "$as_me: failed program was:" >&5
49045 sed 's/^/| /' conftest.$ac_ext >&5
49046
49047 glibcxx_cv_func__sqrtl_use=no
49048 fi
49049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49050       ac_ext=c
49051 ac_cpp='$CPP $CPPFLAGS'
49052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49055
49056
49057 fi
49058
49059   fi
49060   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
49061 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
49062
49063     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49064
49065 for ac_func in _sqrtl
49066 do
49067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49068 echo "$as_me:$LINENO: checking for $ac_func" >&5
49069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49070 if eval "test \"\${$as_ac_var+set}\" = set"; then
49071   echo $ECHO_N "(cached) $ECHO_C" >&6
49072 else
49073   if test x$gcc_no_link = xyes; then
49074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49076    { (exit 1); exit 1; }; }
49077 fi
49078 cat >conftest.$ac_ext <<_ACEOF
49079 /* confdefs.h.  */
49080 _ACEOF
49081 cat confdefs.h >>conftest.$ac_ext
49082 cat >>conftest.$ac_ext <<_ACEOF
49083 /* end confdefs.h.  */
49084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49085    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49086 #define $ac_func innocuous_$ac_func
49087
49088 /* System header to define __stub macros and hopefully few prototypes,
49089     which can conflict with char $ac_func (); below.
49090     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49091     <limits.h> exists even on freestanding compilers.  */
49092
49093 #ifdef __STDC__
49094 # include <limits.h>
49095 #else
49096 # include <assert.h>
49097 #endif
49098
49099 #undef $ac_func
49100
49101 /* Override any gcc2 internal prototype to avoid an error.  */
49102 #ifdef __cplusplus
49103 extern "C"
49104 {
49105 #endif
49106 /* We use char because int might match the return type of a gcc2
49107    builtin and then its argument prototype would still apply.  */
49108 char $ac_func ();
49109 /* The GNU C library defines this for functions which it implements
49110     to always fail with ENOSYS.  Some functions are actually named
49111     something starting with __ and the normal name is an alias.  */
49112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49113 choke me
49114 #else
49115 char (*f) () = $ac_func;
49116 #endif
49117 #ifdef __cplusplus
49118 }
49119 #endif
49120
49121 int
49122 main ()
49123 {
49124 return f != $ac_func;
49125   ;
49126   return 0;
49127 }
49128 _ACEOF
49129 rm -f conftest.$ac_objext conftest$ac_exeext
49130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49131   (eval $ac_link) 2>conftest.er1
49132   ac_status=$?
49133   grep -v '^ *+' conftest.er1 >conftest.err
49134   rm -f conftest.er1
49135   cat conftest.err >&5
49136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49137   (exit $ac_status); } &&
49138          { ac_try='test -z "$ac_c_werror_flag"
49139                          || test ! -s conftest.err'
49140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49141   (eval $ac_try) 2>&5
49142   ac_status=$?
49143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49144   (exit $ac_status); }; } &&
49145          { ac_try='test -s conftest$ac_exeext'
49146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49147   (eval $ac_try) 2>&5
49148   ac_status=$?
49149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49150   (exit $ac_status); }; }; then
49151   eval "$as_ac_var=yes"
49152 else
49153   echo "$as_me: failed program was:" >&5
49154 sed 's/^/| /' conftest.$ac_ext >&5
49155
49156 eval "$as_ac_var=no"
49157 fi
49158 rm -f conftest.err conftest.$ac_objext \
49159       conftest$ac_exeext conftest.$ac_ext
49160 fi
49161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49163 if test `eval echo '${'$as_ac_var'}'` = yes; then
49164   cat >>confdefs.h <<_ACEOF
49165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49166 _ACEOF
49167
49168 fi
49169 done
49170
49171     fi
49172   fi
49173
49174
49175
49176
49177
49178
49179   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49180 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49181   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49182     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49183   echo $ECHO_N "(cached) $ECHO_C" >&6
49184 else
49185
49186
49187
49188       ac_ext=cc
49189 ac_cpp='$CXXCPP $CPPFLAGS'
49190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49193
49194       cat >conftest.$ac_ext <<_ACEOF
49195 /* confdefs.h.  */
49196 _ACEOF
49197 cat confdefs.h >>conftest.$ac_ext
49198 cat >>conftest.$ac_ext <<_ACEOF
49199 /* end confdefs.h.  */
49200 #include <math.h>
49201 int
49202 main ()
49203 {
49204  sincosl(0, 0, 0);
49205   ;
49206   return 0;
49207 }
49208 _ACEOF
49209 rm -f conftest.$ac_objext
49210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49211   (eval $ac_compile) 2>conftest.er1
49212   ac_status=$?
49213   grep -v '^ *+' conftest.er1 >conftest.err
49214   rm -f conftest.er1
49215   cat conftest.err >&5
49216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49217   (exit $ac_status); } &&
49218          { ac_try='test -z "$ac_cxx_werror_flag"
49219                          || test ! -s conftest.err'
49220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49221   (eval $ac_try) 2>&5
49222   ac_status=$?
49223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49224   (exit $ac_status); }; } &&
49225          { ac_try='test -s conftest.$ac_objext'
49226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49227   (eval $ac_try) 2>&5
49228   ac_status=$?
49229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49230   (exit $ac_status); }; }; then
49231   glibcxx_cv_func_sincosl_use=yes
49232 else
49233   echo "$as_me: failed program was:" >&5
49234 sed 's/^/| /' conftest.$ac_ext >&5
49235
49236 glibcxx_cv_func_sincosl_use=no
49237 fi
49238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49239       ac_ext=c
49240 ac_cpp='$CPP $CPPFLAGS'
49241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49244
49245
49246 fi
49247
49248   fi
49249   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49250 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49251
49252   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49253
49254 for ac_func in sincosl
49255 do
49256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49257 echo "$as_me:$LINENO: checking for $ac_func" >&5
49258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49259 if eval "test \"\${$as_ac_var+set}\" = set"; then
49260   echo $ECHO_N "(cached) $ECHO_C" >&6
49261 else
49262   if test x$gcc_no_link = xyes; then
49263   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49265    { (exit 1); exit 1; }; }
49266 fi
49267 cat >conftest.$ac_ext <<_ACEOF
49268 /* confdefs.h.  */
49269 _ACEOF
49270 cat confdefs.h >>conftest.$ac_ext
49271 cat >>conftest.$ac_ext <<_ACEOF
49272 /* end confdefs.h.  */
49273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49274    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49275 #define $ac_func innocuous_$ac_func
49276
49277 /* System header to define __stub macros and hopefully few prototypes,
49278     which can conflict with char $ac_func (); below.
49279     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49280     <limits.h> exists even on freestanding compilers.  */
49281
49282 #ifdef __STDC__
49283 # include <limits.h>
49284 #else
49285 # include <assert.h>
49286 #endif
49287
49288 #undef $ac_func
49289
49290 /* Override any gcc2 internal prototype to avoid an error.  */
49291 #ifdef __cplusplus
49292 extern "C"
49293 {
49294 #endif
49295 /* We use char because int might match the return type of a gcc2
49296    builtin and then its argument prototype would still apply.  */
49297 char $ac_func ();
49298 /* The GNU C library defines this for functions which it implements
49299     to always fail with ENOSYS.  Some functions are actually named
49300     something starting with __ and the normal name is an alias.  */
49301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49302 choke me
49303 #else
49304 char (*f) () = $ac_func;
49305 #endif
49306 #ifdef __cplusplus
49307 }
49308 #endif
49309
49310 int
49311 main ()
49312 {
49313 return f != $ac_func;
49314   ;
49315   return 0;
49316 }
49317 _ACEOF
49318 rm -f conftest.$ac_objext conftest$ac_exeext
49319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49320   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
49341 else
49342   echo "$as_me: failed program was:" >&5
49343 sed 's/^/| /' conftest.$ac_ext >&5
49344
49345 eval "$as_ac_var=no"
49346 fi
49347 rm -f conftest.err conftest.$ac_objext \
49348       conftest$ac_exeext conftest.$ac_ext
49349 fi
49350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49352 if test `eval echo '${'$as_ac_var'}'` = yes; then
49353   cat >>confdefs.h <<_ACEOF
49354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49355 _ACEOF
49356
49357 fi
49358 done
49359
49360   else
49361
49362   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49363 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49364   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49365     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49366   echo $ECHO_N "(cached) $ECHO_C" >&6
49367 else
49368
49369
49370
49371       ac_ext=cc
49372 ac_cpp='$CXXCPP $CPPFLAGS'
49373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49376
49377       cat >conftest.$ac_ext <<_ACEOF
49378 /* confdefs.h.  */
49379 _ACEOF
49380 cat confdefs.h >>conftest.$ac_ext
49381 cat >>conftest.$ac_ext <<_ACEOF
49382 /* end confdefs.h.  */
49383 #include <math.h>
49384 int
49385 main ()
49386 {
49387  _sincosl(0, 0, 0);
49388   ;
49389   return 0;
49390 }
49391 _ACEOF
49392 rm -f conftest.$ac_objext
49393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49394   (eval $ac_compile) 2>conftest.er1
49395   ac_status=$?
49396   grep -v '^ *+' conftest.er1 >conftest.err
49397   rm -f conftest.er1
49398   cat conftest.err >&5
49399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49400   (exit $ac_status); } &&
49401          { ac_try='test -z "$ac_cxx_werror_flag"
49402                          || test ! -s conftest.err'
49403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49404   (eval $ac_try) 2>&5
49405   ac_status=$?
49406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49407   (exit $ac_status); }; } &&
49408          { ac_try='test -s conftest.$ac_objext'
49409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49410   (eval $ac_try) 2>&5
49411   ac_status=$?
49412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49413   (exit $ac_status); }; }; then
49414   glibcxx_cv_func__sincosl_use=yes
49415 else
49416   echo "$as_me: failed program was:" >&5
49417 sed 's/^/| /' conftest.$ac_ext >&5
49418
49419 glibcxx_cv_func__sincosl_use=no
49420 fi
49421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49422       ac_ext=c
49423 ac_cpp='$CPP $CPPFLAGS'
49424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49427
49428
49429 fi
49430
49431   fi
49432   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49433 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49434
49435     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49436
49437 for ac_func in _sincosl
49438 do
49439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49440 echo "$as_me:$LINENO: checking for $ac_func" >&5
49441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49442 if eval "test \"\${$as_ac_var+set}\" = set"; then
49443   echo $ECHO_N "(cached) $ECHO_C" >&6
49444 else
49445   if test x$gcc_no_link = xyes; then
49446   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49448    { (exit 1); exit 1; }; }
49449 fi
49450 cat >conftest.$ac_ext <<_ACEOF
49451 /* confdefs.h.  */
49452 _ACEOF
49453 cat confdefs.h >>conftest.$ac_ext
49454 cat >>conftest.$ac_ext <<_ACEOF
49455 /* end confdefs.h.  */
49456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49457    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49458 #define $ac_func innocuous_$ac_func
49459
49460 /* System header to define __stub macros and hopefully few prototypes,
49461     which can conflict with char $ac_func (); below.
49462     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49463     <limits.h> exists even on freestanding compilers.  */
49464
49465 #ifdef __STDC__
49466 # include <limits.h>
49467 #else
49468 # include <assert.h>
49469 #endif
49470
49471 #undef $ac_func
49472
49473 /* Override any gcc2 internal prototype to avoid an error.  */
49474 #ifdef __cplusplus
49475 extern "C"
49476 {
49477 #endif
49478 /* We use char because int might match the return type of a gcc2
49479    builtin and then its argument prototype would still apply.  */
49480 char $ac_func ();
49481 /* The GNU C library defines this for functions which it implements
49482     to always fail with ENOSYS.  Some functions are actually named
49483     something starting with __ and the normal name is an alias.  */
49484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49485 choke me
49486 #else
49487 char (*f) () = $ac_func;
49488 #endif
49489 #ifdef __cplusplus
49490 }
49491 #endif
49492
49493 int
49494 main ()
49495 {
49496 return f != $ac_func;
49497   ;
49498   return 0;
49499 }
49500 _ACEOF
49501 rm -f conftest.$ac_objext conftest$ac_exeext
49502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49503   (eval $ac_link) 2>conftest.er1
49504   ac_status=$?
49505   grep -v '^ *+' conftest.er1 >conftest.err
49506   rm -f conftest.er1
49507   cat conftest.err >&5
49508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49509   (exit $ac_status); } &&
49510          { ac_try='test -z "$ac_c_werror_flag"
49511                          || test ! -s conftest.err'
49512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49513   (eval $ac_try) 2>&5
49514   ac_status=$?
49515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49516   (exit $ac_status); }; } &&
49517          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
49523   eval "$as_ac_var=yes"
49524 else
49525   echo "$as_me: failed program was:" >&5
49526 sed 's/^/| /' conftest.$ac_ext >&5
49527
49528 eval "$as_ac_var=no"
49529 fi
49530 rm -f conftest.err conftest.$ac_objext \
49531       conftest$ac_exeext conftest.$ac_ext
49532 fi
49533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49535 if test `eval echo '${'$as_ac_var'}'` = yes; then
49536   cat >>confdefs.h <<_ACEOF
49537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49538 _ACEOF
49539
49540 fi
49541 done
49542
49543     fi
49544   fi
49545
49546
49547
49548
49549
49550
49551   echo "$as_me:$LINENO: checking for finitel declaration" >&5
49552 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49553   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49554     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49555   echo $ECHO_N "(cached) $ECHO_C" >&6
49556 else
49557
49558
49559
49560       ac_ext=cc
49561 ac_cpp='$CXXCPP $CPPFLAGS'
49562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49565
49566       cat >conftest.$ac_ext <<_ACEOF
49567 /* confdefs.h.  */
49568 _ACEOF
49569 cat confdefs.h >>conftest.$ac_ext
49570 cat >>conftest.$ac_ext <<_ACEOF
49571 /* end confdefs.h.  */
49572 #include <math.h>
49573                       #ifdef HAVE_IEEEFP_H
49574                       #include <ieeefp.h>
49575                       #endif
49576
49577 int
49578 main ()
49579 {
49580  finitel(0);
49581   ;
49582   return 0;
49583 }
49584 _ACEOF
49585 rm -f conftest.$ac_objext
49586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49587   (eval $ac_compile) 2>conftest.er1
49588   ac_status=$?
49589   grep -v '^ *+' conftest.er1 >conftest.err
49590   rm -f conftest.er1
49591   cat conftest.err >&5
49592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49593   (exit $ac_status); } &&
49594          { ac_try='test -z "$ac_cxx_werror_flag"
49595                          || test ! -s conftest.err'
49596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49597   (eval $ac_try) 2>&5
49598   ac_status=$?
49599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49600   (exit $ac_status); }; } &&
49601          { ac_try='test -s conftest.$ac_objext'
49602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49603   (eval $ac_try) 2>&5
49604   ac_status=$?
49605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49606   (exit $ac_status); }; }; then
49607   glibcxx_cv_func_finitel_use=yes
49608 else
49609   echo "$as_me: failed program was:" >&5
49610 sed 's/^/| /' conftest.$ac_ext >&5
49611
49612 glibcxx_cv_func_finitel_use=no
49613 fi
49614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49615       ac_ext=c
49616 ac_cpp='$CPP $CPPFLAGS'
49617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49620
49621
49622 fi
49623
49624   fi
49625   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49626 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49627
49628   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49629
49630 for ac_func in finitel
49631 do
49632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49633 echo "$as_me:$LINENO: checking for $ac_func" >&5
49634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49635 if eval "test \"\${$as_ac_var+set}\" = set"; then
49636   echo $ECHO_N "(cached) $ECHO_C" >&6
49637 else
49638   if test x$gcc_no_link = xyes; then
49639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49641    { (exit 1); exit 1; }; }
49642 fi
49643 cat >conftest.$ac_ext <<_ACEOF
49644 /* confdefs.h.  */
49645 _ACEOF
49646 cat confdefs.h >>conftest.$ac_ext
49647 cat >>conftest.$ac_ext <<_ACEOF
49648 /* end confdefs.h.  */
49649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49650    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49651 #define $ac_func innocuous_$ac_func
49652
49653 /* System header to define __stub macros and hopefully few prototypes,
49654     which can conflict with char $ac_func (); below.
49655     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49656     <limits.h> exists even on freestanding compilers.  */
49657
49658 #ifdef __STDC__
49659 # include <limits.h>
49660 #else
49661 # include <assert.h>
49662 #endif
49663
49664 #undef $ac_func
49665
49666 /* Override any gcc2 internal prototype to avoid an error.  */
49667 #ifdef __cplusplus
49668 extern "C"
49669 {
49670 #endif
49671 /* We use char because int might match the return type of a gcc2
49672    builtin and then its argument prototype would still apply.  */
49673 char $ac_func ();
49674 /* The GNU C library defines this for functions which it implements
49675     to always fail with ENOSYS.  Some functions are actually named
49676     something starting with __ and the normal name is an alias.  */
49677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49678 choke me
49679 #else
49680 char (*f) () = $ac_func;
49681 #endif
49682 #ifdef __cplusplus
49683 }
49684 #endif
49685
49686 int
49687 main ()
49688 {
49689 return f != $ac_func;
49690   ;
49691   return 0;
49692 }
49693 _ACEOF
49694 rm -f conftest.$ac_objext conftest$ac_exeext
49695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49696   (eval $ac_link) 2>conftest.er1
49697   ac_status=$?
49698   grep -v '^ *+' conftest.er1 >conftest.err
49699   rm -f conftest.er1
49700   cat conftest.err >&5
49701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49702   (exit $ac_status); } &&
49703          { ac_try='test -z "$ac_c_werror_flag"
49704                          || test ! -s conftest.err'
49705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49706   (eval $ac_try) 2>&5
49707   ac_status=$?
49708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49709   (exit $ac_status); }; } &&
49710          { ac_try='test -s conftest$ac_exeext'
49711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49712   (eval $ac_try) 2>&5
49713   ac_status=$?
49714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49715   (exit $ac_status); }; }; then
49716   eval "$as_ac_var=yes"
49717 else
49718   echo "$as_me: failed program was:" >&5
49719 sed 's/^/| /' conftest.$ac_ext >&5
49720
49721 eval "$as_ac_var=no"
49722 fi
49723 rm -f conftest.err conftest.$ac_objext \
49724       conftest$ac_exeext conftest.$ac_ext
49725 fi
49726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49728 if test `eval echo '${'$as_ac_var'}'` = yes; then
49729   cat >>confdefs.h <<_ACEOF
49730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49731 _ACEOF
49732
49733 fi
49734 done
49735
49736   else
49737
49738   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49739 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49740   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49741     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49742   echo $ECHO_N "(cached) $ECHO_C" >&6
49743 else
49744
49745
49746
49747       ac_ext=cc
49748 ac_cpp='$CXXCPP $CPPFLAGS'
49749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49752
49753       cat >conftest.$ac_ext <<_ACEOF
49754 /* confdefs.h.  */
49755 _ACEOF
49756 cat confdefs.h >>conftest.$ac_ext
49757 cat >>conftest.$ac_ext <<_ACEOF
49758 /* end confdefs.h.  */
49759 #include <math.h>
49760                       #ifdef HAVE_IEEEFP_H
49761                       #include <ieeefp.h>
49762                       #endif
49763
49764 int
49765 main ()
49766 {
49767  _finitel(0);
49768   ;
49769   return 0;
49770 }
49771 _ACEOF
49772 rm -f conftest.$ac_objext
49773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49774   (eval $ac_compile) 2>conftest.er1
49775   ac_status=$?
49776   grep -v '^ *+' conftest.er1 >conftest.err
49777   rm -f conftest.er1
49778   cat conftest.err >&5
49779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49780   (exit $ac_status); } &&
49781          { ac_try='test -z "$ac_cxx_werror_flag"
49782                          || test ! -s conftest.err'
49783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49784   (eval $ac_try) 2>&5
49785   ac_status=$?
49786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49787   (exit $ac_status); }; } &&
49788          { ac_try='test -s conftest.$ac_objext'
49789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49790   (eval $ac_try) 2>&5
49791   ac_status=$?
49792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49793   (exit $ac_status); }; }; then
49794   glibcxx_cv_func__finitel_use=yes
49795 else
49796   echo "$as_me: failed program was:" >&5
49797 sed 's/^/| /' conftest.$ac_ext >&5
49798
49799 glibcxx_cv_func__finitel_use=no
49800 fi
49801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49802       ac_ext=c
49803 ac_cpp='$CPP $CPPFLAGS'
49804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49807
49808
49809 fi
49810
49811   fi
49812   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49813 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49814
49815     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49816
49817 for ac_func in _finitel
49818 do
49819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49820 echo "$as_me:$LINENO: checking for $ac_func" >&5
49821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49822 if eval "test \"\${$as_ac_var+set}\" = set"; then
49823   echo $ECHO_N "(cached) $ECHO_C" >&6
49824 else
49825   if test x$gcc_no_link = xyes; then
49826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49828    { (exit 1); exit 1; }; }
49829 fi
49830 cat >conftest.$ac_ext <<_ACEOF
49831 /* confdefs.h.  */
49832 _ACEOF
49833 cat confdefs.h >>conftest.$ac_ext
49834 cat >>conftest.$ac_ext <<_ACEOF
49835 /* end confdefs.h.  */
49836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49838 #define $ac_func innocuous_$ac_func
49839
49840 /* System header to define __stub macros and hopefully few prototypes,
49841     which can conflict with char $ac_func (); below.
49842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49843     <limits.h> exists even on freestanding compilers.  */
49844
49845 #ifdef __STDC__
49846 # include <limits.h>
49847 #else
49848 # include <assert.h>
49849 #endif
49850
49851 #undef $ac_func
49852
49853 /* Override any gcc2 internal prototype to avoid an error.  */
49854 #ifdef __cplusplus
49855 extern "C"
49856 {
49857 #endif
49858 /* We use char because int might match the return type of a gcc2
49859    builtin and then its argument prototype would still apply.  */
49860 char $ac_func ();
49861 /* The GNU C library defines this for functions which it implements
49862     to always fail with ENOSYS.  Some functions are actually named
49863     something starting with __ and the normal name is an alias.  */
49864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49865 choke me
49866 #else
49867 char (*f) () = $ac_func;
49868 #endif
49869 #ifdef __cplusplus
49870 }
49871 #endif
49872
49873 int
49874 main ()
49875 {
49876 return f != $ac_func;
49877   ;
49878   return 0;
49879 }
49880 _ACEOF
49881 rm -f conftest.$ac_objext conftest$ac_exeext
49882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49883   (eval $ac_link) 2>conftest.er1
49884   ac_status=$?
49885   grep -v '^ *+' conftest.er1 >conftest.err
49886   rm -f conftest.er1
49887   cat conftest.err >&5
49888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49889   (exit $ac_status); } &&
49890          { ac_try='test -z "$ac_c_werror_flag"
49891                          || test ! -s conftest.err'
49892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49893   (eval $ac_try) 2>&5
49894   ac_status=$?
49895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49896   (exit $ac_status); }; } &&
49897          { ac_try='test -s conftest$ac_exeext'
49898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49899   (eval $ac_try) 2>&5
49900   ac_status=$?
49901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49902   (exit $ac_status); }; }; then
49903   eval "$as_ac_var=yes"
49904 else
49905   echo "$as_me: failed program was:" >&5
49906 sed 's/^/| /' conftest.$ac_ext >&5
49907
49908 eval "$as_ac_var=no"
49909 fi
49910 rm -f conftest.err conftest.$ac_objext \
49911       conftest$ac_exeext conftest.$ac_ext
49912 fi
49913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49915 if test `eval echo '${'$as_ac_var'}'` = yes; then
49916   cat >>confdefs.h <<_ACEOF
49917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49918 _ACEOF
49919
49920 fi
49921 done
49922
49923     fi
49924   fi
49925
49926
49927
49928
49929
49930   LIBS="$ac_save_LIBS"
49931   CXXFLAGS="$ac_save_CXXFLAGS"
49932
49933
49934
49935   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
49936 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
49937   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
49938     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
49939   echo $ECHO_N "(cached) $ECHO_C" >&6
49940 else
49941
49942
49943
49944       ac_ext=cc
49945 ac_cpp='$CXXCPP $CPPFLAGS'
49946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49949
49950       cat >conftest.$ac_ext <<_ACEOF
49951 /* confdefs.h.  */
49952 _ACEOF
49953 cat confdefs.h >>conftest.$ac_ext
49954 cat >>conftest.$ac_ext <<_ACEOF
49955 /* end confdefs.h.  */
49956 #include <math.h>
49957 int
49958 main ()
49959 {
49960  __builtin_abs(0);
49961   ;
49962   return 0;
49963 }
49964 _ACEOF
49965 rm -f conftest.$ac_objext
49966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49967   (eval $ac_compile) 2>conftest.er1
49968   ac_status=$?
49969   grep -v '^ *+' conftest.er1 >conftest.err
49970   rm -f conftest.er1
49971   cat conftest.err >&5
49972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49973   (exit $ac_status); } &&
49974          { ac_try='test -z "$ac_cxx_werror_flag"
49975                          || test ! -s conftest.err'
49976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49977   (eval $ac_try) 2>&5
49978   ac_status=$?
49979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49980   (exit $ac_status); }; } &&
49981          { ac_try='test -s conftest.$ac_objext'
49982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49983   (eval $ac_try) 2>&5
49984   ac_status=$?
49985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49986   (exit $ac_status); }; }; then
49987   glibcxx_cv_func___builtin_abs_use=yes
49988 else
49989   echo "$as_me: failed program was:" >&5
49990 sed 's/^/| /' conftest.$ac_ext >&5
49991
49992 glibcxx_cv_func___builtin_abs_use=no
49993 fi
49994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49995       ac_ext=c
49996 ac_cpp='$CPP $CPPFLAGS'
49997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50000
50001
50002 fi
50003
50004   fi
50005   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
50006 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
50007   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
50008     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
50009 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
50010     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
50011       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
50012   echo $ECHO_N "(cached) $ECHO_C" >&6
50013 else
50014
50015         if test x$gcc_no_link = xyes; then
50016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50018    { (exit 1); exit 1; }; }
50019 fi
50020 cat >conftest.$ac_ext <<_ACEOF
50021 /* confdefs.h.  */
50022 _ACEOF
50023 cat confdefs.h >>conftest.$ac_ext
50024 cat >>conftest.$ac_ext <<_ACEOF
50025 /* end confdefs.h.  */
50026 #include <math.h>
50027 int
50028 main ()
50029 {
50030  __builtin_abs(0);
50031   ;
50032   return 0;
50033 }
50034 _ACEOF
50035 rm -f conftest.$ac_objext conftest$ac_exeext
50036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50037   (eval $ac_link) 2>conftest.er1
50038   ac_status=$?
50039   grep -v '^ *+' conftest.er1 >conftest.err
50040   rm -f conftest.er1
50041   cat conftest.err >&5
50042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50043   (exit $ac_status); } &&
50044          { ac_try='test -z "$ac_c_werror_flag"
50045                          || test ! -s conftest.err'
50046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50047   (eval $ac_try) 2>&5
50048   ac_status=$?
50049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50050   (exit $ac_status); }; } &&
50051          { ac_try='test -s conftest$ac_exeext'
50052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50053   (eval $ac_try) 2>&5
50054   ac_status=$?
50055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50056   (exit $ac_status); }; }; then
50057   glibcxx_cv_func___builtin_abs_link=yes
50058 else
50059   echo "$as_me: failed program was:" >&5
50060 sed 's/^/| /' conftest.$ac_ext >&5
50061
50062 glibcxx_cv_func___builtin_abs_link=no
50063 fi
50064 rm -f conftest.err conftest.$ac_objext \
50065       conftest$ac_exeext conftest.$ac_ext
50066
50067 fi
50068
50069     fi
50070     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50071 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50072
50073     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50074
50075 cat >>confdefs.h <<\_ACEOF
50076 #define HAVE___BUILTIN_ABS 1
50077 _ACEOF
50078
50079     fi
50080
50081   fi
50082
50083
50084   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50085 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50086   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50087     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50088   echo $ECHO_N "(cached) $ECHO_C" >&6
50089 else
50090
50091
50092
50093       ac_ext=cc
50094 ac_cpp='$CXXCPP $CPPFLAGS'
50095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50098
50099       cat >conftest.$ac_ext <<_ACEOF
50100 /* confdefs.h.  */
50101 _ACEOF
50102 cat confdefs.h >>conftest.$ac_ext
50103 cat >>conftest.$ac_ext <<_ACEOF
50104 /* end confdefs.h.  */
50105 #include <math.h>
50106 int
50107 main ()
50108 {
50109  __builtin_fabsf(0);
50110   ;
50111   return 0;
50112 }
50113 _ACEOF
50114 rm -f conftest.$ac_objext
50115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50116   (eval $ac_compile) 2>conftest.er1
50117   ac_status=$?
50118   grep -v '^ *+' conftest.er1 >conftest.err
50119   rm -f conftest.er1
50120   cat conftest.err >&5
50121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50122   (exit $ac_status); } &&
50123          { ac_try='test -z "$ac_cxx_werror_flag"
50124                          || test ! -s conftest.err'
50125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50126   (eval $ac_try) 2>&5
50127   ac_status=$?
50128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50129   (exit $ac_status); }; } &&
50130          { ac_try='test -s conftest.$ac_objext'
50131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50132   (eval $ac_try) 2>&5
50133   ac_status=$?
50134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50135   (exit $ac_status); }; }; then
50136   glibcxx_cv_func___builtin_fabsf_use=yes
50137 else
50138   echo "$as_me: failed program was:" >&5
50139 sed 's/^/| /' conftest.$ac_ext >&5
50140
50141 glibcxx_cv_func___builtin_fabsf_use=no
50142 fi
50143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50144       ac_ext=c
50145 ac_cpp='$CPP $CPPFLAGS'
50146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50149
50150
50151 fi
50152
50153   fi
50154   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50155 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50156   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50157     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50158 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50159     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50160       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50161   echo $ECHO_N "(cached) $ECHO_C" >&6
50162 else
50163
50164         if test x$gcc_no_link = xyes; then
50165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50167    { (exit 1); exit 1; }; }
50168 fi
50169 cat >conftest.$ac_ext <<_ACEOF
50170 /* confdefs.h.  */
50171 _ACEOF
50172 cat confdefs.h >>conftest.$ac_ext
50173 cat >>conftest.$ac_ext <<_ACEOF
50174 /* end confdefs.h.  */
50175 #include <math.h>
50176 int
50177 main ()
50178 {
50179  __builtin_fabsf(0);
50180   ;
50181   return 0;
50182 }
50183 _ACEOF
50184 rm -f conftest.$ac_objext conftest$ac_exeext
50185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50186   (eval $ac_link) 2>conftest.er1
50187   ac_status=$?
50188   grep -v '^ *+' conftest.er1 >conftest.err
50189   rm -f conftest.er1
50190   cat conftest.err >&5
50191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50192   (exit $ac_status); } &&
50193          { ac_try='test -z "$ac_c_werror_flag"
50194                          || test ! -s conftest.err'
50195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50196   (eval $ac_try) 2>&5
50197   ac_status=$?
50198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50199   (exit $ac_status); }; } &&
50200          { ac_try='test -s conftest$ac_exeext'
50201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50202   (eval $ac_try) 2>&5
50203   ac_status=$?
50204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50205   (exit $ac_status); }; }; then
50206   glibcxx_cv_func___builtin_fabsf_link=yes
50207 else
50208   echo "$as_me: failed program was:" >&5
50209 sed 's/^/| /' conftest.$ac_ext >&5
50210
50211 glibcxx_cv_func___builtin_fabsf_link=no
50212 fi
50213 rm -f conftest.err conftest.$ac_objext \
50214       conftest$ac_exeext conftest.$ac_ext
50215
50216 fi
50217
50218     fi
50219     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50220 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50221
50222     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50223
50224 cat >>confdefs.h <<\_ACEOF
50225 #define HAVE___BUILTIN_FABSF 1
50226 _ACEOF
50227
50228     fi
50229
50230   fi
50231
50232
50233   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50234 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50235   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50236     if test "${glibcxx_cv_func___builtin_fabs_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_fabs(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_fabs_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_fabs_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_fabs_use" >&5
50304 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50305   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50306     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50307 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50308     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50309       if test "${glibcxx_cv_func___builtin_fabs_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_fabs(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_fabs_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_fabs_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_fabs_link" >&5
50369 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50370
50371     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50372
50373 cat >>confdefs.h <<\_ACEOF
50374 #define HAVE___BUILTIN_FABS 1
50375 _ACEOF
50376
50377     fi
50378
50379   fi
50380
50381
50382   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50383 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50384   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50385     if test "${glibcxx_cv_func___builtin_fabsl_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_fabsl(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_fabsl_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_fabsl_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_fabsl_use" >&5
50453 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50454   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50455     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50456 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50457     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50458       if test "${glibcxx_cv_func___builtin_fabsl_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_fabsl(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_fabsl_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_fabsl_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_fabsl_link" >&5
50518 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50519
50520     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50521
50522 cat >>confdefs.h <<\_ACEOF
50523 #define HAVE___BUILTIN_FABSL 1
50524 _ACEOF
50525
50526     fi
50527
50528   fi
50529
50530
50531   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50532 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50533   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50534     if test "${glibcxx_cv_func___builtin_labs_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_labs(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_labs_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_labs_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_labs_use" >&5
50602 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50603   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50604     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50605 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50606     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50607       if test "${glibcxx_cv_func___builtin_labs_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_labs(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_labs_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_labs_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_labs_link" >&5
50667 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50668
50669     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50670
50671 cat >>confdefs.h <<\_ACEOF
50672 #define HAVE___BUILTIN_LABS 1
50673 _ACEOF
50674
50675     fi
50676
50677   fi
50678
50679
50680
50681   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50682 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50683   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50684     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50685   echo $ECHO_N "(cached) $ECHO_C" >&6
50686 else
50687
50688
50689
50690       ac_ext=cc
50691 ac_cpp='$CXXCPP $CPPFLAGS'
50692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50695
50696       cat >conftest.$ac_ext <<_ACEOF
50697 /* confdefs.h.  */
50698 _ACEOF
50699 cat confdefs.h >>conftest.$ac_ext
50700 cat >>conftest.$ac_ext <<_ACEOF
50701 /* end confdefs.h.  */
50702 #include <math.h>
50703 int
50704 main ()
50705 {
50706  __builtin_sqrtf(0);
50707   ;
50708   return 0;
50709 }
50710 _ACEOF
50711 rm -f conftest.$ac_objext
50712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50713   (eval $ac_compile) 2>conftest.er1
50714   ac_status=$?
50715   grep -v '^ *+' conftest.er1 >conftest.err
50716   rm -f conftest.er1
50717   cat conftest.err >&5
50718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50719   (exit $ac_status); } &&
50720          { ac_try='test -z "$ac_cxx_werror_flag"
50721                          || test ! -s conftest.err'
50722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50723   (eval $ac_try) 2>&5
50724   ac_status=$?
50725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50726   (exit $ac_status); }; } &&
50727          { ac_try='test -s conftest.$ac_objext'
50728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50729   (eval $ac_try) 2>&5
50730   ac_status=$?
50731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50732   (exit $ac_status); }; }; then
50733   glibcxx_cv_func___builtin_sqrtf_use=yes
50734 else
50735   echo "$as_me: failed program was:" >&5
50736 sed 's/^/| /' conftest.$ac_ext >&5
50737
50738 glibcxx_cv_func___builtin_sqrtf_use=no
50739 fi
50740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50741       ac_ext=c
50742 ac_cpp='$CPP $CPPFLAGS'
50743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50746
50747
50748 fi
50749
50750   fi
50751   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50752 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50753   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50754     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50755 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50756     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50757       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50758   echo $ECHO_N "(cached) $ECHO_C" >&6
50759 else
50760
50761         if test x$gcc_no_link = xyes; then
50762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50764    { (exit 1); exit 1; }; }
50765 fi
50766 cat >conftest.$ac_ext <<_ACEOF
50767 /* confdefs.h.  */
50768 _ACEOF
50769 cat confdefs.h >>conftest.$ac_ext
50770 cat >>conftest.$ac_ext <<_ACEOF
50771 /* end confdefs.h.  */
50772 #include <math.h>
50773 int
50774 main ()
50775 {
50776  __builtin_sqrtf(0);
50777   ;
50778   return 0;
50779 }
50780 _ACEOF
50781 rm -f conftest.$ac_objext conftest$ac_exeext
50782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50783   (eval $ac_link) 2>conftest.er1
50784   ac_status=$?
50785   grep -v '^ *+' conftest.er1 >conftest.err
50786   rm -f conftest.er1
50787   cat conftest.err >&5
50788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50789   (exit $ac_status); } &&
50790          { ac_try='test -z "$ac_c_werror_flag"
50791                          || test ! -s conftest.err'
50792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50793   (eval $ac_try) 2>&5
50794   ac_status=$?
50795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50796   (exit $ac_status); }; } &&
50797          { ac_try='test -s conftest$ac_exeext'
50798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50799   (eval $ac_try) 2>&5
50800   ac_status=$?
50801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50802   (exit $ac_status); }; }; then
50803   glibcxx_cv_func___builtin_sqrtf_link=yes
50804 else
50805   echo "$as_me: failed program was:" >&5
50806 sed 's/^/| /' conftest.$ac_ext >&5
50807
50808 glibcxx_cv_func___builtin_sqrtf_link=no
50809 fi
50810 rm -f conftest.err conftest.$ac_objext \
50811       conftest$ac_exeext conftest.$ac_ext
50812
50813 fi
50814
50815     fi
50816     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50817 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50818
50819     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50820
50821 cat >>confdefs.h <<\_ACEOF
50822 #define HAVE___BUILTIN_SQRTF 1
50823 _ACEOF
50824
50825     fi
50826
50827   fi
50828
50829
50830   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50831 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50832   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50833     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50834   echo $ECHO_N "(cached) $ECHO_C" >&6
50835 else
50836
50837
50838
50839       ac_ext=cc
50840 ac_cpp='$CXXCPP $CPPFLAGS'
50841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50844
50845       cat >conftest.$ac_ext <<_ACEOF
50846 /* confdefs.h.  */
50847 _ACEOF
50848 cat confdefs.h >>conftest.$ac_ext
50849 cat >>conftest.$ac_ext <<_ACEOF
50850 /* end confdefs.h.  */
50851 #include <math.h>
50852 int
50853 main ()
50854 {
50855  __builtin_sqrt(0);
50856   ;
50857   return 0;
50858 }
50859 _ACEOF
50860 rm -f conftest.$ac_objext
50861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50862   (eval $ac_compile) 2>conftest.er1
50863   ac_status=$?
50864   grep -v '^ *+' conftest.er1 >conftest.err
50865   rm -f conftest.er1
50866   cat conftest.err >&5
50867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50868   (exit $ac_status); } &&
50869          { ac_try='test -z "$ac_cxx_werror_flag"
50870                          || test ! -s conftest.err'
50871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50872   (eval $ac_try) 2>&5
50873   ac_status=$?
50874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50875   (exit $ac_status); }; } &&
50876          { ac_try='test -s conftest.$ac_objext'
50877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50878   (eval $ac_try) 2>&5
50879   ac_status=$?
50880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50881   (exit $ac_status); }; }; then
50882   glibcxx_cv_func___builtin_sqrt_use=yes
50883 else
50884   echo "$as_me: failed program was:" >&5
50885 sed 's/^/| /' conftest.$ac_ext >&5
50886
50887 glibcxx_cv_func___builtin_sqrt_use=no
50888 fi
50889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50890       ac_ext=c
50891 ac_cpp='$CPP $CPPFLAGS'
50892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50895
50896
50897 fi
50898
50899   fi
50900   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
50901 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
50902   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
50903     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
50904 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
50905     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
50906       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
50907   echo $ECHO_N "(cached) $ECHO_C" >&6
50908 else
50909
50910         if test x$gcc_no_link = xyes; then
50911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50913    { (exit 1); exit 1; }; }
50914 fi
50915 cat >conftest.$ac_ext <<_ACEOF
50916 /* confdefs.h.  */
50917 _ACEOF
50918 cat confdefs.h >>conftest.$ac_ext
50919 cat >>conftest.$ac_ext <<_ACEOF
50920 /* end confdefs.h.  */
50921 #include <math.h>
50922 int
50923 main ()
50924 {
50925  __builtin_sqrt(0);
50926   ;
50927   return 0;
50928 }
50929 _ACEOF
50930 rm -f conftest.$ac_objext conftest$ac_exeext
50931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50932   (eval $ac_link) 2>conftest.er1
50933   ac_status=$?
50934   grep -v '^ *+' conftest.er1 >conftest.err
50935   rm -f conftest.er1
50936   cat conftest.err >&5
50937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50938   (exit $ac_status); } &&
50939          { ac_try='test -z "$ac_c_werror_flag"
50940                          || test ! -s conftest.err'
50941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50942   (eval $ac_try) 2>&5
50943   ac_status=$?
50944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50945   (exit $ac_status); }; } &&
50946          { ac_try='test -s conftest$ac_exeext'
50947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50948   (eval $ac_try) 2>&5
50949   ac_status=$?
50950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50951   (exit $ac_status); }; }; then
50952   glibcxx_cv_func___builtin_sqrt_link=yes
50953 else
50954   echo "$as_me: failed program was:" >&5
50955 sed 's/^/| /' conftest.$ac_ext >&5
50956
50957 glibcxx_cv_func___builtin_sqrt_link=no
50958 fi
50959 rm -f conftest.err conftest.$ac_objext \
50960       conftest$ac_exeext conftest.$ac_ext
50961
50962 fi
50963
50964     fi
50965     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
50966 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
50967
50968     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
50969
50970 cat >>confdefs.h <<\_ACEOF
50971 #define HAVE___BUILTIN_SQRT 1
50972 _ACEOF
50973
50974     fi
50975
50976   fi
50977
50978
50979   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
50980 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
50981   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
50982     if test "${glibcxx_cv_func___builtin_sqrtl_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_sqrtl(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_sqrtl_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_sqrtl_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_sqrtl_use" >&5
51050 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51051   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51052     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51053 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51054     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51055       if test "${glibcxx_cv_func___builtin_sqrtl_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_sqrtl(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_sqrtl_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_sqrtl_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_sqrtl_link" >&5
51115 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51116
51117     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51118
51119 cat >>confdefs.h <<\_ACEOF
51120 #define HAVE___BUILTIN_SQRTL 1
51121 _ACEOF
51122
51123     fi
51124
51125   fi
51126
51127
51128
51129   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51130 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51131   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51132     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51133   echo $ECHO_N "(cached) $ECHO_C" >&6
51134 else
51135
51136
51137
51138       ac_ext=cc
51139 ac_cpp='$CXXCPP $CPPFLAGS'
51140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51143
51144       cat >conftest.$ac_ext <<_ACEOF
51145 /* confdefs.h.  */
51146 _ACEOF
51147 cat confdefs.h >>conftest.$ac_ext
51148 cat >>conftest.$ac_ext <<_ACEOF
51149 /* end confdefs.h.  */
51150 #include <math.h>
51151 int
51152 main ()
51153 {
51154  __builtin_sinf(0);
51155   ;
51156   return 0;
51157 }
51158 _ACEOF
51159 rm -f conftest.$ac_objext
51160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51161   (eval $ac_compile) 2>conftest.er1
51162   ac_status=$?
51163   grep -v '^ *+' conftest.er1 >conftest.err
51164   rm -f conftest.er1
51165   cat conftest.err >&5
51166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51167   (exit $ac_status); } &&
51168          { ac_try='test -z "$ac_cxx_werror_flag"
51169                          || test ! -s conftest.err'
51170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51171   (eval $ac_try) 2>&5
51172   ac_status=$?
51173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51174   (exit $ac_status); }; } &&
51175          { ac_try='test -s conftest.$ac_objext'
51176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51177   (eval $ac_try) 2>&5
51178   ac_status=$?
51179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51180   (exit $ac_status); }; }; then
51181   glibcxx_cv_func___builtin_sinf_use=yes
51182 else
51183   echo "$as_me: failed program was:" >&5
51184 sed 's/^/| /' conftest.$ac_ext >&5
51185
51186 glibcxx_cv_func___builtin_sinf_use=no
51187 fi
51188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51189       ac_ext=c
51190 ac_cpp='$CPP $CPPFLAGS'
51191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51194
51195
51196 fi
51197
51198   fi
51199   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51200 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51201   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51202     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51203 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51204     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51205       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51206   echo $ECHO_N "(cached) $ECHO_C" >&6
51207 else
51208
51209         if test x$gcc_no_link = xyes; then
51210   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51212    { (exit 1); exit 1; }; }
51213 fi
51214 cat >conftest.$ac_ext <<_ACEOF
51215 /* confdefs.h.  */
51216 _ACEOF
51217 cat confdefs.h >>conftest.$ac_ext
51218 cat >>conftest.$ac_ext <<_ACEOF
51219 /* end confdefs.h.  */
51220 #include <math.h>
51221 int
51222 main ()
51223 {
51224  __builtin_sinf(0);
51225   ;
51226   return 0;
51227 }
51228 _ACEOF
51229 rm -f conftest.$ac_objext conftest$ac_exeext
51230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51231   (eval $ac_link) 2>conftest.er1
51232   ac_status=$?
51233   grep -v '^ *+' conftest.er1 >conftest.err
51234   rm -f conftest.er1
51235   cat conftest.err >&5
51236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51237   (exit $ac_status); } &&
51238          { ac_try='test -z "$ac_c_werror_flag"
51239                          || test ! -s conftest.err'
51240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51241   (eval $ac_try) 2>&5
51242   ac_status=$?
51243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51244   (exit $ac_status); }; } &&
51245          { ac_try='test -s conftest$ac_exeext'
51246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51247   (eval $ac_try) 2>&5
51248   ac_status=$?
51249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51250   (exit $ac_status); }; }; then
51251   glibcxx_cv_func___builtin_sinf_link=yes
51252 else
51253   echo "$as_me: failed program was:" >&5
51254 sed 's/^/| /' conftest.$ac_ext >&5
51255
51256 glibcxx_cv_func___builtin_sinf_link=no
51257 fi
51258 rm -f conftest.err conftest.$ac_objext \
51259       conftest$ac_exeext conftest.$ac_ext
51260
51261 fi
51262
51263     fi
51264     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51265 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51266
51267     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51268
51269 cat >>confdefs.h <<\_ACEOF
51270 #define HAVE___BUILTIN_SINF 1
51271 _ACEOF
51272
51273     fi
51274
51275   fi
51276
51277
51278   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51279 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51280   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51281     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51282   echo $ECHO_N "(cached) $ECHO_C" >&6
51283 else
51284
51285
51286
51287       ac_ext=cc
51288 ac_cpp='$CXXCPP $CPPFLAGS'
51289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51292
51293       cat >conftest.$ac_ext <<_ACEOF
51294 /* confdefs.h.  */
51295 _ACEOF
51296 cat confdefs.h >>conftest.$ac_ext
51297 cat >>conftest.$ac_ext <<_ACEOF
51298 /* end confdefs.h.  */
51299 #include <math.h>
51300 int
51301 main ()
51302 {
51303  __builtin_sin(0);
51304   ;
51305   return 0;
51306 }
51307 _ACEOF
51308 rm -f conftest.$ac_objext
51309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51310   (eval $ac_compile) 2>conftest.er1
51311   ac_status=$?
51312   grep -v '^ *+' conftest.er1 >conftest.err
51313   rm -f conftest.er1
51314   cat conftest.err >&5
51315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51316   (exit $ac_status); } &&
51317          { ac_try='test -z "$ac_cxx_werror_flag"
51318                          || test ! -s conftest.err'
51319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51320   (eval $ac_try) 2>&5
51321   ac_status=$?
51322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51323   (exit $ac_status); }; } &&
51324          { ac_try='test -s conftest.$ac_objext'
51325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51326   (eval $ac_try) 2>&5
51327   ac_status=$?
51328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51329   (exit $ac_status); }; }; then
51330   glibcxx_cv_func___builtin_sin_use=yes
51331 else
51332   echo "$as_me: failed program was:" >&5
51333 sed 's/^/| /' conftest.$ac_ext >&5
51334
51335 glibcxx_cv_func___builtin_sin_use=no
51336 fi
51337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51338       ac_ext=c
51339 ac_cpp='$CPP $CPPFLAGS'
51340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51343
51344
51345 fi
51346
51347   fi
51348   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51349 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51350   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51351     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51352 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51353     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51354       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51355   echo $ECHO_N "(cached) $ECHO_C" >&6
51356 else
51357
51358         if test x$gcc_no_link = xyes; then
51359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51361    { (exit 1); exit 1; }; }
51362 fi
51363 cat >conftest.$ac_ext <<_ACEOF
51364 /* confdefs.h.  */
51365 _ACEOF
51366 cat confdefs.h >>conftest.$ac_ext
51367 cat >>conftest.$ac_ext <<_ACEOF
51368 /* end confdefs.h.  */
51369 #include <math.h>
51370 int
51371 main ()
51372 {
51373  __builtin_sin(0);
51374   ;
51375   return 0;
51376 }
51377 _ACEOF
51378 rm -f conftest.$ac_objext conftest$ac_exeext
51379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51380   (eval $ac_link) 2>conftest.er1
51381   ac_status=$?
51382   grep -v '^ *+' conftest.er1 >conftest.err
51383   rm -f conftest.er1
51384   cat conftest.err >&5
51385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51386   (exit $ac_status); } &&
51387          { ac_try='test -z "$ac_c_werror_flag"
51388                          || test ! -s conftest.err'
51389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51390   (eval $ac_try) 2>&5
51391   ac_status=$?
51392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51393   (exit $ac_status); }; } &&
51394          { ac_try='test -s conftest$ac_exeext'
51395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51396   (eval $ac_try) 2>&5
51397   ac_status=$?
51398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51399   (exit $ac_status); }; }; then
51400   glibcxx_cv_func___builtin_sin_link=yes
51401 else
51402   echo "$as_me: failed program was:" >&5
51403 sed 's/^/| /' conftest.$ac_ext >&5
51404
51405 glibcxx_cv_func___builtin_sin_link=no
51406 fi
51407 rm -f conftest.err conftest.$ac_objext \
51408       conftest$ac_exeext conftest.$ac_ext
51409
51410 fi
51411
51412     fi
51413     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51414 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51415
51416     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51417
51418 cat >>confdefs.h <<\_ACEOF
51419 #define HAVE___BUILTIN_SIN 1
51420 _ACEOF
51421
51422     fi
51423
51424   fi
51425
51426
51427   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51428 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51429   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51430     if test "${glibcxx_cv_func___builtin_sinl_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_sinl(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_sinl_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_sinl_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_sinl_use" >&5
51498 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51499   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51500     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51501 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51502     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51503       if test "${glibcxx_cv_func___builtin_sinl_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_sinl(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_sinl_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_sinl_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_sinl_link" >&5
51563 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51564
51565     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51566
51567 cat >>confdefs.h <<\_ACEOF
51568 #define HAVE___BUILTIN_SINL 1
51569 _ACEOF
51570
51571     fi
51572
51573   fi
51574
51575
51576
51577   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51578 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51579   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51580     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51581   echo $ECHO_N "(cached) $ECHO_C" >&6
51582 else
51583
51584
51585
51586       ac_ext=cc
51587 ac_cpp='$CXXCPP $CPPFLAGS'
51588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51591
51592       cat >conftest.$ac_ext <<_ACEOF
51593 /* confdefs.h.  */
51594 _ACEOF
51595 cat confdefs.h >>conftest.$ac_ext
51596 cat >>conftest.$ac_ext <<_ACEOF
51597 /* end confdefs.h.  */
51598 #include <math.h>
51599 int
51600 main ()
51601 {
51602  __builtin_cosf(0);
51603   ;
51604   return 0;
51605 }
51606 _ACEOF
51607 rm -f conftest.$ac_objext
51608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51609   (eval $ac_compile) 2>conftest.er1
51610   ac_status=$?
51611   grep -v '^ *+' conftest.er1 >conftest.err
51612   rm -f conftest.er1
51613   cat conftest.err >&5
51614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51615   (exit $ac_status); } &&
51616          { ac_try='test -z "$ac_cxx_werror_flag"
51617                          || test ! -s conftest.err'
51618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51619   (eval $ac_try) 2>&5
51620   ac_status=$?
51621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51622   (exit $ac_status); }; } &&
51623          { ac_try='test -s conftest.$ac_objext'
51624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51625   (eval $ac_try) 2>&5
51626   ac_status=$?
51627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51628   (exit $ac_status); }; }; then
51629   glibcxx_cv_func___builtin_cosf_use=yes
51630 else
51631   echo "$as_me: failed program was:" >&5
51632 sed 's/^/| /' conftest.$ac_ext >&5
51633
51634 glibcxx_cv_func___builtin_cosf_use=no
51635 fi
51636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51637       ac_ext=c
51638 ac_cpp='$CPP $CPPFLAGS'
51639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51642
51643
51644 fi
51645
51646   fi
51647   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51648 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51649   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51650     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51651 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51652     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51653       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51654   echo $ECHO_N "(cached) $ECHO_C" >&6
51655 else
51656
51657         if test x$gcc_no_link = xyes; then
51658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51660    { (exit 1); exit 1; }; }
51661 fi
51662 cat >conftest.$ac_ext <<_ACEOF
51663 /* confdefs.h.  */
51664 _ACEOF
51665 cat confdefs.h >>conftest.$ac_ext
51666 cat >>conftest.$ac_ext <<_ACEOF
51667 /* end confdefs.h.  */
51668 #include <math.h>
51669 int
51670 main ()
51671 {
51672  __builtin_cosf(0);
51673   ;
51674   return 0;
51675 }
51676 _ACEOF
51677 rm -f conftest.$ac_objext conftest$ac_exeext
51678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51679   (eval $ac_link) 2>conftest.er1
51680   ac_status=$?
51681   grep -v '^ *+' conftest.er1 >conftest.err
51682   rm -f conftest.er1
51683   cat conftest.err >&5
51684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51685   (exit $ac_status); } &&
51686          { ac_try='test -z "$ac_c_werror_flag"
51687                          || test ! -s conftest.err'
51688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51689   (eval $ac_try) 2>&5
51690   ac_status=$?
51691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51692   (exit $ac_status); }; } &&
51693          { ac_try='test -s conftest$ac_exeext'
51694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51695   (eval $ac_try) 2>&5
51696   ac_status=$?
51697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51698   (exit $ac_status); }; }; then
51699   glibcxx_cv_func___builtin_cosf_link=yes
51700 else
51701   echo "$as_me: failed program was:" >&5
51702 sed 's/^/| /' conftest.$ac_ext >&5
51703
51704 glibcxx_cv_func___builtin_cosf_link=no
51705 fi
51706 rm -f conftest.err conftest.$ac_objext \
51707       conftest$ac_exeext conftest.$ac_ext
51708
51709 fi
51710
51711     fi
51712     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51713 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51714
51715     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51716
51717 cat >>confdefs.h <<\_ACEOF
51718 #define HAVE___BUILTIN_COSF 1
51719 _ACEOF
51720
51721     fi
51722
51723   fi
51724
51725
51726   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51727 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51728   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51729     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51730   echo $ECHO_N "(cached) $ECHO_C" >&6
51731 else
51732
51733
51734
51735       ac_ext=cc
51736 ac_cpp='$CXXCPP $CPPFLAGS'
51737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51740
51741       cat >conftest.$ac_ext <<_ACEOF
51742 /* confdefs.h.  */
51743 _ACEOF
51744 cat confdefs.h >>conftest.$ac_ext
51745 cat >>conftest.$ac_ext <<_ACEOF
51746 /* end confdefs.h.  */
51747 #include <math.h>
51748 int
51749 main ()
51750 {
51751  __builtin_cos(0);
51752   ;
51753   return 0;
51754 }
51755 _ACEOF
51756 rm -f conftest.$ac_objext
51757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51758   (eval $ac_compile) 2>conftest.er1
51759   ac_status=$?
51760   grep -v '^ *+' conftest.er1 >conftest.err
51761   rm -f conftest.er1
51762   cat conftest.err >&5
51763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51764   (exit $ac_status); } &&
51765          { ac_try='test -z "$ac_cxx_werror_flag"
51766                          || test ! -s conftest.err'
51767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51768   (eval $ac_try) 2>&5
51769   ac_status=$?
51770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51771   (exit $ac_status); }; } &&
51772          { ac_try='test -s conftest.$ac_objext'
51773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51774   (eval $ac_try) 2>&5
51775   ac_status=$?
51776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51777   (exit $ac_status); }; }; then
51778   glibcxx_cv_func___builtin_cos_use=yes
51779 else
51780   echo "$as_me: failed program was:" >&5
51781 sed 's/^/| /' conftest.$ac_ext >&5
51782
51783 glibcxx_cv_func___builtin_cos_use=no
51784 fi
51785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51786       ac_ext=c
51787 ac_cpp='$CPP $CPPFLAGS'
51788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51791
51792
51793 fi
51794
51795   fi
51796   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51797 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51798   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51799     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51800 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51801     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51802       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51803   echo $ECHO_N "(cached) $ECHO_C" >&6
51804 else
51805
51806         if test x$gcc_no_link = xyes; then
51807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51809    { (exit 1); exit 1; }; }
51810 fi
51811 cat >conftest.$ac_ext <<_ACEOF
51812 /* confdefs.h.  */
51813 _ACEOF
51814 cat confdefs.h >>conftest.$ac_ext
51815 cat >>conftest.$ac_ext <<_ACEOF
51816 /* end confdefs.h.  */
51817 #include <math.h>
51818 int
51819 main ()
51820 {
51821  __builtin_cos(0);
51822   ;
51823   return 0;
51824 }
51825 _ACEOF
51826 rm -f conftest.$ac_objext conftest$ac_exeext
51827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51828   (eval $ac_link) 2>conftest.er1
51829   ac_status=$?
51830   grep -v '^ *+' conftest.er1 >conftest.err
51831   rm -f conftest.er1
51832   cat conftest.err >&5
51833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51834   (exit $ac_status); } &&
51835          { ac_try='test -z "$ac_c_werror_flag"
51836                          || test ! -s conftest.err'
51837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51838   (eval $ac_try) 2>&5
51839   ac_status=$?
51840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51841   (exit $ac_status); }; } &&
51842          { ac_try='test -s conftest$ac_exeext'
51843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51844   (eval $ac_try) 2>&5
51845   ac_status=$?
51846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51847   (exit $ac_status); }; }; then
51848   glibcxx_cv_func___builtin_cos_link=yes
51849 else
51850   echo "$as_me: failed program was:" >&5
51851 sed 's/^/| /' conftest.$ac_ext >&5
51852
51853 glibcxx_cv_func___builtin_cos_link=no
51854 fi
51855 rm -f conftest.err conftest.$ac_objext \
51856       conftest$ac_exeext conftest.$ac_ext
51857
51858 fi
51859
51860     fi
51861     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
51862 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
51863
51864     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
51865
51866 cat >>confdefs.h <<\_ACEOF
51867 #define HAVE___BUILTIN_COS 1
51868 _ACEOF
51869
51870     fi
51871
51872   fi
51873
51874
51875   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
51876 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
51877   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
51878     if test "${glibcxx_cv_func___builtin_cosl_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_cosl(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_cosl_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_cosl_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_cosl_use" >&5
51946 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
51947   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
51948     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
51949 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
51950     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
51951       if test "${glibcxx_cv_func___builtin_cosl_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_cosl(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_cosl_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_cosl_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_cosl_link" >&5
52011 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
52012
52013     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
52014
52015 cat >>confdefs.h <<\_ACEOF
52016 #define HAVE___BUILTIN_COSL 1
52017 _ACEOF
52018
52019     fi
52020
52021   fi
52022
52023
52024
52025
52026 echo "$as_me:$LINENO: checking for main in -lm" >&5
52027 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
52028 if test "${ac_cv_lib_m_main+set}" = set; then
52029   echo $ECHO_N "(cached) $ECHO_C" >&6
52030 else
52031   ac_check_lib_save_LIBS=$LIBS
52032 LIBS="-lm  $LIBS"
52033 if test x$gcc_no_link = xyes; then
52034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52036    { (exit 1); exit 1; }; }
52037 fi
52038 cat >conftest.$ac_ext <<_ACEOF
52039 /* confdefs.h.  */
52040 _ACEOF
52041 cat confdefs.h >>conftest.$ac_ext
52042 cat >>conftest.$ac_ext <<_ACEOF
52043 /* end confdefs.h.  */
52044
52045
52046 int
52047 main ()
52048 {
52049 main ();
52050   ;
52051   return 0;
52052 }
52053 _ACEOF
52054 rm -f conftest.$ac_objext conftest$ac_exeext
52055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52056   (eval $ac_link) 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_c_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_exeext'
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   ac_cv_lib_m_main=yes
52077 else
52078   echo "$as_me: failed program was:" >&5
52079 sed 's/^/| /' conftest.$ac_ext >&5
52080
52081 ac_cv_lib_m_main=no
52082 fi
52083 rm -f conftest.err conftest.$ac_objext \
52084       conftest$ac_exeext conftest.$ac_ext
52085 LIBS=$ac_check_lib_save_LIBS
52086 fi
52087 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52088 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52089 if test $ac_cv_lib_m_main = yes; then
52090   cat >>confdefs.h <<_ACEOF
52091 #define HAVE_LIBM 1
52092 _ACEOF
52093
52094   LIBS="-lm $LIBS"
52095
52096 fi
52097
52098
52099 for ac_func in copysignf
52100 do
52101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52102 echo "$as_me:$LINENO: checking for $ac_func" >&5
52103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52104 if eval "test \"\${$as_ac_var+set}\" = set"; then
52105   echo $ECHO_N "(cached) $ECHO_C" >&6
52106 else
52107   if test x$gcc_no_link = xyes; then
52108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52110    { (exit 1); exit 1; }; }
52111 fi
52112 cat >conftest.$ac_ext <<_ACEOF
52113 /* confdefs.h.  */
52114 _ACEOF
52115 cat confdefs.h >>conftest.$ac_ext
52116 cat >>conftest.$ac_ext <<_ACEOF
52117 /* end confdefs.h.  */
52118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52119    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52120 #define $ac_func innocuous_$ac_func
52121
52122 /* System header to define __stub macros and hopefully few prototypes,
52123     which can conflict with char $ac_func (); below.
52124     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52125     <limits.h> exists even on freestanding compilers.  */
52126
52127 #ifdef __STDC__
52128 # include <limits.h>
52129 #else
52130 # include <assert.h>
52131 #endif
52132
52133 #undef $ac_func
52134
52135 /* Override any gcc2 internal prototype to avoid an error.  */
52136 #ifdef __cplusplus
52137 extern "C"
52138 {
52139 #endif
52140 /* We use char because int might match the return type of a gcc2
52141    builtin and then its argument prototype would still apply.  */
52142 char $ac_func ();
52143 /* The GNU C library defines this for functions which it implements
52144     to always fail with ENOSYS.  Some functions are actually named
52145     something starting with __ and the normal name is an alias.  */
52146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52147 choke me
52148 #else
52149 char (*f) () = $ac_func;
52150 #endif
52151 #ifdef __cplusplus
52152 }
52153 #endif
52154
52155 int
52156 main ()
52157 {
52158 return f != $ac_func;
52159   ;
52160   return 0;
52161 }
52162 _ACEOF
52163 rm -f conftest.$ac_objext conftest$ac_exeext
52164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52165   (eval $ac_link) 2>conftest.er1
52166   ac_status=$?
52167   grep -v '^ *+' conftest.er1 >conftest.err
52168   rm -f conftest.er1
52169   cat conftest.err >&5
52170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52171   (exit $ac_status); } &&
52172          { ac_try='test -z "$ac_c_werror_flag"
52173                          || test ! -s conftest.err'
52174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52175   (eval $ac_try) 2>&5
52176   ac_status=$?
52177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52178   (exit $ac_status); }; } &&
52179          { ac_try='test -s conftest$ac_exeext'
52180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52181   (eval $ac_try) 2>&5
52182   ac_status=$?
52183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52184   (exit $ac_status); }; }; then
52185   eval "$as_ac_var=yes"
52186 else
52187   echo "$as_me: failed program was:" >&5
52188 sed 's/^/| /' conftest.$ac_ext >&5
52189
52190 eval "$as_ac_var=no"
52191 fi
52192 rm -f conftest.err conftest.$ac_objext \
52193       conftest$ac_exeext conftest.$ac_ext
52194 fi
52195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52197 if test `eval echo '${'$as_ac_var'}'` = yes; then
52198   cat >>confdefs.h <<_ACEOF
52199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52200 _ACEOF
52201
52202 else
52203   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52204 fi
52205 done
52206
52207
52208
52209 for ac_func in __signbit
52210 do
52211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52212 echo "$as_me:$LINENO: checking for $ac_func" >&5
52213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52214 if eval "test \"\${$as_ac_var+set}\" = set"; then
52215   echo $ECHO_N "(cached) $ECHO_C" >&6
52216 else
52217   if test x$gcc_no_link = xyes; then
52218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52220    { (exit 1); exit 1; }; }
52221 fi
52222 cat >conftest.$ac_ext <<_ACEOF
52223 /* confdefs.h.  */
52224 _ACEOF
52225 cat confdefs.h >>conftest.$ac_ext
52226 cat >>conftest.$ac_ext <<_ACEOF
52227 /* end confdefs.h.  */
52228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52230 #define $ac_func innocuous_$ac_func
52231
52232 /* System header to define __stub macros and hopefully few prototypes,
52233     which can conflict with char $ac_func (); below.
52234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52235     <limits.h> exists even on freestanding compilers.  */
52236
52237 #ifdef __STDC__
52238 # include <limits.h>
52239 #else
52240 # include <assert.h>
52241 #endif
52242
52243 #undef $ac_func
52244
52245 /* Override any gcc2 internal prototype to avoid an error.  */
52246 #ifdef __cplusplus
52247 extern "C"
52248 {
52249 #endif
52250 /* We use char because int might match the return type of a gcc2
52251    builtin and then its argument prototype would still apply.  */
52252 char $ac_func ();
52253 /* The GNU C library defines this for functions which it implements
52254     to always fail with ENOSYS.  Some functions are actually named
52255     something starting with __ and the normal name is an alias.  */
52256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52257 choke me
52258 #else
52259 char (*f) () = $ac_func;
52260 #endif
52261 #ifdef __cplusplus
52262 }
52263 #endif
52264
52265 int
52266 main ()
52267 {
52268 return f != $ac_func;
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   eval "$as_ac_var=yes"
52296 else
52297   echo "$as_me: failed program was:" >&5
52298 sed 's/^/| /' conftest.$ac_ext >&5
52299
52300 eval "$as_ac_var=no"
52301 fi
52302 rm -f conftest.err conftest.$ac_objext \
52303       conftest$ac_exeext conftest.$ac_ext
52304 fi
52305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52307 if test `eval echo '${'$as_ac_var'}'` = yes; then
52308   cat >>confdefs.h <<_ACEOF
52309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52310 _ACEOF
52311
52312 else
52313   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52314 fi
52315 done
52316
52317
52318
52319 for ac_func in __signbitf
52320 do
52321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52322 echo "$as_me:$LINENO: checking for $ac_func" >&5
52323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52324 if eval "test \"\${$as_ac_var+set}\" = set"; then
52325   echo $ECHO_N "(cached) $ECHO_C" >&6
52326 else
52327   if test x$gcc_no_link = xyes; then
52328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52330    { (exit 1); exit 1; }; }
52331 fi
52332 cat >conftest.$ac_ext <<_ACEOF
52333 /* confdefs.h.  */
52334 _ACEOF
52335 cat confdefs.h >>conftest.$ac_ext
52336 cat >>conftest.$ac_ext <<_ACEOF
52337 /* end confdefs.h.  */
52338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52339    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52340 #define $ac_func innocuous_$ac_func
52341
52342 /* System header to define __stub macros and hopefully few prototypes,
52343     which can conflict with char $ac_func (); below.
52344     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52345     <limits.h> exists even on freestanding compilers.  */
52346
52347 #ifdef __STDC__
52348 # include <limits.h>
52349 #else
52350 # include <assert.h>
52351 #endif
52352
52353 #undef $ac_func
52354
52355 /* Override any gcc2 internal prototype to avoid an error.  */
52356 #ifdef __cplusplus
52357 extern "C"
52358 {
52359 #endif
52360 /* We use char because int might match the return type of a gcc2
52361    builtin and then its argument prototype would still apply.  */
52362 char $ac_func ();
52363 /* The GNU C library defines this for functions which it implements
52364     to always fail with ENOSYS.  Some functions are actually named
52365     something starting with __ and the normal name is an alias.  */
52366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52367 choke me
52368 #else
52369 char (*f) () = $ac_func;
52370 #endif
52371 #ifdef __cplusplus
52372 }
52373 #endif
52374
52375 int
52376 main ()
52377 {
52378 return f != $ac_func;
52379   ;
52380   return 0;
52381 }
52382 _ACEOF
52383 rm -f conftest.$ac_objext conftest$ac_exeext
52384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52385   (eval $ac_link) 2>conftest.er1
52386   ac_status=$?
52387   grep -v '^ *+' conftest.er1 >conftest.err
52388   rm -f conftest.er1
52389   cat conftest.err >&5
52390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52391   (exit $ac_status); } &&
52392          { ac_try='test -z "$ac_c_werror_flag"
52393                          || test ! -s conftest.err'
52394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52395   (eval $ac_try) 2>&5
52396   ac_status=$?
52397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52398   (exit $ac_status); }; } &&
52399          { ac_try='test -s conftest$ac_exeext'
52400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52401   (eval $ac_try) 2>&5
52402   ac_status=$?
52403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52404   (exit $ac_status); }; }; then
52405   eval "$as_ac_var=yes"
52406 else
52407   echo "$as_me: failed program was:" >&5
52408 sed 's/^/| /' conftest.$ac_ext >&5
52409
52410 eval "$as_ac_var=no"
52411 fi
52412 rm -f conftest.err conftest.$ac_objext \
52413       conftest$ac_exeext conftest.$ac_ext
52414 fi
52415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52417 if test `eval echo '${'$as_ac_var'}'` = yes; then
52418   cat >>confdefs.h <<_ACEOF
52419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52420 _ACEOF
52421
52422 else
52423   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52424 fi
52425 done
52426
52427
52428           if test x$ac_cv_func_copysignl = x"yes"; then
52429
52430 for ac_func in __signbitl
52431 do
52432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52433 echo "$as_me:$LINENO: checking for $ac_func" >&5
52434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52435 if eval "test \"\${$as_ac_var+set}\" = set"; then
52436   echo $ECHO_N "(cached) $ECHO_C" >&6
52437 else
52438   if test x$gcc_no_link = xyes; then
52439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52441    { (exit 1); exit 1; }; }
52442 fi
52443 cat >conftest.$ac_ext <<_ACEOF
52444 /* confdefs.h.  */
52445 _ACEOF
52446 cat confdefs.h >>conftest.$ac_ext
52447 cat >>conftest.$ac_ext <<_ACEOF
52448 /* end confdefs.h.  */
52449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52451 #define $ac_func innocuous_$ac_func
52452
52453 /* System header to define __stub macros and hopefully few prototypes,
52454     which can conflict with char $ac_func (); below.
52455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52456     <limits.h> exists even on freestanding compilers.  */
52457
52458 #ifdef __STDC__
52459 # include <limits.h>
52460 #else
52461 # include <assert.h>
52462 #endif
52463
52464 #undef $ac_func
52465
52466 /* Override any gcc2 internal prototype to avoid an error.  */
52467 #ifdef __cplusplus
52468 extern "C"
52469 {
52470 #endif
52471 /* We use char because int might match the return type of a gcc2
52472    builtin and then its argument prototype would still apply.  */
52473 char $ac_func ();
52474 /* The GNU C library defines this for functions which it implements
52475     to always fail with ENOSYS.  Some functions are actually named
52476     something starting with __ and the normal name is an alias.  */
52477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52478 choke me
52479 #else
52480 char (*f) () = $ac_func;
52481 #endif
52482 #ifdef __cplusplus
52483 }
52484 #endif
52485
52486 int
52487 main ()
52488 {
52489 return f != $ac_func;
52490   ;
52491   return 0;
52492 }
52493 _ACEOF
52494 rm -f conftest.$ac_objext conftest$ac_exeext
52495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52496   (eval $ac_link) 2>conftest.er1
52497   ac_status=$?
52498   grep -v '^ *+' conftest.er1 >conftest.err
52499   rm -f conftest.er1
52500   cat conftest.err >&5
52501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52502   (exit $ac_status); } &&
52503          { ac_try='test -z "$ac_c_werror_flag"
52504                          || test ! -s conftest.err'
52505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52506   (eval $ac_try) 2>&5
52507   ac_status=$?
52508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52509   (exit $ac_status); }; } &&
52510          { ac_try='test -s conftest$ac_exeext'
52511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52512   (eval $ac_try) 2>&5
52513   ac_status=$?
52514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52515   (exit $ac_status); }; }; then
52516   eval "$as_ac_var=yes"
52517 else
52518   echo "$as_me: failed program was:" >&5
52519 sed 's/^/| /' conftest.$ac_ext >&5
52520
52521 eval "$as_ac_var=no"
52522 fi
52523 rm -f conftest.err conftest.$ac_objext \
52524       conftest$ac_exeext conftest.$ac_ext
52525 fi
52526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52528 if test `eval echo '${'$as_ac_var'}'` = yes; then
52529   cat >>confdefs.h <<_ACEOF
52530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52531 _ACEOF
52532
52533 else
52534   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52535 fi
52536 done
52537
52538   fi
52539
52540   # Used in libmath/Makefile.am.
52541   if test -n "$LIBMATHOBJS"; then
52542     need_libmath=yes
52543   fi
52544
52545
52546
52547
52548   enable_iconv=no
52549   # Only continue checking if the ISO C99 headers exist and support is on.
52550   if test x"$enable_wchar_t" = xyes; then
52551
52552     # Use iconv for wchar_t to char conversions. As such, check for
52553     # X/Open Portability Guide, version 2 features (XPG2).
52554     if test "${ac_cv_header_iconv_h+set}" = set; then
52555   echo "$as_me:$LINENO: checking for iconv.h" >&5
52556 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52557 if test "${ac_cv_header_iconv_h+set}" = set; then
52558   echo $ECHO_N "(cached) $ECHO_C" >&6
52559 fi
52560 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52561 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52562 else
52563   # Is the header compilable?
52564 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52565 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52566 cat >conftest.$ac_ext <<_ACEOF
52567 /* confdefs.h.  */
52568 _ACEOF
52569 cat confdefs.h >>conftest.$ac_ext
52570 cat >>conftest.$ac_ext <<_ACEOF
52571 /* end confdefs.h.  */
52572 $ac_includes_default
52573 #include <iconv.h>
52574 _ACEOF
52575 rm -f conftest.$ac_objext
52576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52577   (eval $ac_compile) 2>conftest.er1
52578   ac_status=$?
52579   grep -v '^ *+' conftest.er1 >conftest.err
52580   rm -f conftest.er1
52581   cat conftest.err >&5
52582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52583   (exit $ac_status); } &&
52584          { ac_try='test -z "$ac_c_werror_flag"
52585                          || test ! -s conftest.err'
52586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52587   (eval $ac_try) 2>&5
52588   ac_status=$?
52589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52590   (exit $ac_status); }; } &&
52591          { ac_try='test -s conftest.$ac_objext'
52592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52593   (eval $ac_try) 2>&5
52594   ac_status=$?
52595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52596   (exit $ac_status); }; }; then
52597   ac_header_compiler=yes
52598 else
52599   echo "$as_me: failed program was:" >&5
52600 sed 's/^/| /' conftest.$ac_ext >&5
52601
52602 ac_header_compiler=no
52603 fi
52604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52605 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52606 echo "${ECHO_T}$ac_header_compiler" >&6
52607
52608 # Is the header present?
52609 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52610 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52611 cat >conftest.$ac_ext <<_ACEOF
52612 /* confdefs.h.  */
52613 _ACEOF
52614 cat confdefs.h >>conftest.$ac_ext
52615 cat >>conftest.$ac_ext <<_ACEOF
52616 /* end confdefs.h.  */
52617 #include <iconv.h>
52618 _ACEOF
52619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52620   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52621   ac_status=$?
52622   grep -v '^ *+' conftest.er1 >conftest.err
52623   rm -f conftest.er1
52624   cat conftest.err >&5
52625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52626   (exit $ac_status); } >/dev/null; then
52627   if test -s conftest.err; then
52628     ac_cpp_err=$ac_c_preproc_warn_flag
52629     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52630   else
52631     ac_cpp_err=
52632   fi
52633 else
52634   ac_cpp_err=yes
52635 fi
52636 if test -z "$ac_cpp_err"; then
52637   ac_header_preproc=yes
52638 else
52639   echo "$as_me: failed program was:" >&5
52640 sed 's/^/| /' conftest.$ac_ext >&5
52641
52642   ac_header_preproc=no
52643 fi
52644 rm -f conftest.err conftest.$ac_ext
52645 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52646 echo "${ECHO_T}$ac_header_preproc" >&6
52647
52648 # So?  What about this header?
52649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52650   yes:no: )
52651     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52652 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52653     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52654 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52655     ac_header_preproc=yes
52656     ;;
52657   no:yes:* )
52658     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52659 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52660     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
52661 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
52662     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52663 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52664     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
52665 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52666     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52667 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52668     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52669 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52670     (
52671       cat <<\_ASBOX
52672 ## ----------------------------------------- ##
52673 ## Report this to the package-unused lists.  ##
52674 ## ----------------------------------------- ##
52675 _ASBOX
52676     ) |
52677       sed "s/^/$as_me: WARNING:     /" >&2
52678     ;;
52679 esac
52680 echo "$as_me:$LINENO: checking for iconv.h" >&5
52681 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52682 if test "${ac_cv_header_iconv_h+set}" = set; then
52683   echo $ECHO_N "(cached) $ECHO_C" >&6
52684 else
52685   ac_cv_header_iconv_h=$ac_header_preproc
52686 fi
52687 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52688 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52689
52690 fi
52691 if test $ac_cv_header_iconv_h = yes; then
52692   ac_has_iconv_h=yes
52693 else
52694   ac_has_iconv_h=no
52695 fi
52696
52697
52698     if test "${ac_cv_header_langinfo_h+set}" = set; then
52699   echo "$as_me:$LINENO: checking for langinfo.h" >&5
52700 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52701 if test "${ac_cv_header_langinfo_h+set}" = set; then
52702   echo $ECHO_N "(cached) $ECHO_C" >&6
52703 fi
52704 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52705 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52706 else
52707   # Is the header compilable?
52708 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52709 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52710 cat >conftest.$ac_ext <<_ACEOF
52711 /* confdefs.h.  */
52712 _ACEOF
52713 cat confdefs.h >>conftest.$ac_ext
52714 cat >>conftest.$ac_ext <<_ACEOF
52715 /* end confdefs.h.  */
52716 $ac_includes_default
52717 #include <langinfo.h>
52718 _ACEOF
52719 rm -f conftest.$ac_objext
52720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52721   (eval $ac_compile) 2>conftest.er1
52722   ac_status=$?
52723   grep -v '^ *+' conftest.er1 >conftest.err
52724   rm -f conftest.er1
52725   cat conftest.err >&5
52726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52727   (exit $ac_status); } &&
52728          { ac_try='test -z "$ac_c_werror_flag"
52729                          || test ! -s conftest.err'
52730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52731   (eval $ac_try) 2>&5
52732   ac_status=$?
52733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52734   (exit $ac_status); }; } &&
52735          { ac_try='test -s conftest.$ac_objext'
52736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52737   (eval $ac_try) 2>&5
52738   ac_status=$?
52739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52740   (exit $ac_status); }; }; then
52741   ac_header_compiler=yes
52742 else
52743   echo "$as_me: failed program was:" >&5
52744 sed 's/^/| /' conftest.$ac_ext >&5
52745
52746 ac_header_compiler=no
52747 fi
52748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52750 echo "${ECHO_T}$ac_header_compiler" >&6
52751
52752 # Is the header present?
52753 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52754 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52755 cat >conftest.$ac_ext <<_ACEOF
52756 /* confdefs.h.  */
52757 _ACEOF
52758 cat confdefs.h >>conftest.$ac_ext
52759 cat >>conftest.$ac_ext <<_ACEOF
52760 /* end confdefs.h.  */
52761 #include <langinfo.h>
52762 _ACEOF
52763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52764   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52765   ac_status=$?
52766   grep -v '^ *+' conftest.er1 >conftest.err
52767   rm -f conftest.er1
52768   cat conftest.err >&5
52769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52770   (exit $ac_status); } >/dev/null; then
52771   if test -s conftest.err; then
52772     ac_cpp_err=$ac_c_preproc_warn_flag
52773     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52774   else
52775     ac_cpp_err=
52776   fi
52777 else
52778   ac_cpp_err=yes
52779 fi
52780 if test -z "$ac_cpp_err"; then
52781   ac_header_preproc=yes
52782 else
52783   echo "$as_me: failed program was:" >&5
52784 sed 's/^/| /' conftest.$ac_ext >&5
52785
52786   ac_header_preproc=no
52787 fi
52788 rm -f conftest.err conftest.$ac_ext
52789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52790 echo "${ECHO_T}$ac_header_preproc" >&6
52791
52792 # So?  What about this header?
52793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52794   yes:no: )
52795     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52796 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52797     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52798 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52799     ac_header_preproc=yes
52800     ;;
52801   no:yes:* )
52802     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52803 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52804     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
52805 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
52806     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52807 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52808     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
52809 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52810     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52811 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52812     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52813 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52814     (
52815       cat <<\_ASBOX
52816 ## ----------------------------------------- ##
52817 ## Report this to the package-unused lists.  ##
52818 ## ----------------------------------------- ##
52819 _ASBOX
52820     ) |
52821       sed "s/^/$as_me: WARNING:     /" >&2
52822     ;;
52823 esac
52824 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52825 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52826 if test "${ac_cv_header_langinfo_h+set}" = set; then
52827   echo $ECHO_N "(cached) $ECHO_C" >&6
52828 else
52829   ac_cv_header_langinfo_h=$ac_header_preproc
52830 fi
52831 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52832 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52833
52834 fi
52835 if test $ac_cv_header_langinfo_h = yes; then
52836   ac_has_langinfo_h=yes
52837 else
52838   ac_has_langinfo_h=no
52839 fi
52840
52841
52842
52843     # Check for existence of libiconv.a providing XPG2 wchar_t support.
52844     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52845 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52846 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52847   echo $ECHO_N "(cached) $ECHO_C" >&6
52848 else
52849   ac_check_lib_save_LIBS=$LIBS
52850 LIBS="-liconv  $LIBS"
52851 if test x$gcc_no_link = xyes; then
52852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52854    { (exit 1); exit 1; }; }
52855 fi
52856 cat >conftest.$ac_ext <<_ACEOF
52857 /* confdefs.h.  */
52858 _ACEOF
52859 cat confdefs.h >>conftest.$ac_ext
52860 cat >>conftest.$ac_ext <<_ACEOF
52861 /* end confdefs.h.  */
52862
52863 /* Override any gcc2 internal prototype to avoid an error.  */
52864 #ifdef __cplusplus
52865 extern "C"
52866 #endif
52867 /* We use char because int might match the return type of a gcc2
52868    builtin and then its argument prototype would still apply.  */
52869 char iconv ();
52870 int
52871 main ()
52872 {
52873 iconv ();
52874   ;
52875   return 0;
52876 }
52877 _ACEOF
52878 rm -f conftest.$ac_objext conftest$ac_exeext
52879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52880   (eval $ac_link) 2>conftest.er1
52881   ac_status=$?
52882   grep -v '^ *+' conftest.er1 >conftest.err
52883   rm -f conftest.er1
52884   cat conftest.err >&5
52885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52886   (exit $ac_status); } &&
52887          { ac_try='test -z "$ac_c_werror_flag"
52888                          || test ! -s conftest.err'
52889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52890   (eval $ac_try) 2>&5
52891   ac_status=$?
52892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52893   (exit $ac_status); }; } &&
52894          { ac_try='test -s conftest$ac_exeext'
52895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52896   (eval $ac_try) 2>&5
52897   ac_status=$?
52898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52899   (exit $ac_status); }; }; then
52900   ac_cv_lib_iconv_iconv=yes
52901 else
52902   echo "$as_me: failed program was:" >&5
52903 sed 's/^/| /' conftest.$ac_ext >&5
52904
52905 ac_cv_lib_iconv_iconv=no
52906 fi
52907 rm -f conftest.err conftest.$ac_objext \
52908       conftest$ac_exeext conftest.$ac_ext
52909 LIBS=$ac_check_lib_save_LIBS
52910 fi
52911 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52912 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52913 if test $ac_cv_lib_iconv_iconv = yes; then
52914   LIBICONV="-liconv"
52915 fi
52916
52917     ac_save_LIBS="$LIBS"
52918     LIBS="$LIBS $LIBICONV"
52919
52920
52921
52922
52923
52924
52925 for ac_func in iconv_open iconv_close iconv nl_langinfo
52926 do
52927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52928 echo "$as_me:$LINENO: checking for $ac_func" >&5
52929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52930 if eval "test \"\${$as_ac_var+set}\" = set"; then
52931   echo $ECHO_N "(cached) $ECHO_C" >&6
52932 else
52933   if test x$gcc_no_link = xyes; then
52934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52936    { (exit 1); exit 1; }; }
52937 fi
52938 cat >conftest.$ac_ext <<_ACEOF
52939 /* confdefs.h.  */
52940 _ACEOF
52941 cat confdefs.h >>conftest.$ac_ext
52942 cat >>conftest.$ac_ext <<_ACEOF
52943 /* end confdefs.h.  */
52944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52945    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52946 #define $ac_func innocuous_$ac_func
52947
52948 /* System header to define __stub macros and hopefully few prototypes,
52949     which can conflict with char $ac_func (); below.
52950     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52951     <limits.h> exists even on freestanding compilers.  */
52952
52953 #ifdef __STDC__
52954 # include <limits.h>
52955 #else
52956 # include <assert.h>
52957 #endif
52958
52959 #undef $ac_func
52960
52961 /* Override any gcc2 internal prototype to avoid an error.  */
52962 #ifdef __cplusplus
52963 extern "C"
52964 {
52965 #endif
52966 /* We use char because int might match the return type of a gcc2
52967    builtin and then its argument prototype would still apply.  */
52968 char $ac_func ();
52969 /* The GNU C library defines this for functions which it implements
52970     to always fail with ENOSYS.  Some functions are actually named
52971     something starting with __ and the normal name is an alias.  */
52972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52973 choke me
52974 #else
52975 char (*f) () = $ac_func;
52976 #endif
52977 #ifdef __cplusplus
52978 }
52979 #endif
52980
52981 int
52982 main ()
52983 {
52984 return f != $ac_func;
52985   ;
52986   return 0;
52987 }
52988 _ACEOF
52989 rm -f conftest.$ac_objext conftest$ac_exeext
52990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52991   (eval $ac_link) 2>conftest.er1
52992   ac_status=$?
52993   grep -v '^ *+' conftest.er1 >conftest.err
52994   rm -f conftest.er1
52995   cat conftest.err >&5
52996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52997   (exit $ac_status); } &&
52998          { ac_try='test -z "$ac_c_werror_flag"
52999                          || test ! -s conftest.err'
53000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53001   (eval $ac_try) 2>&5
53002   ac_status=$?
53003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53004   (exit $ac_status); }; } &&
53005          { ac_try='test -s conftest$ac_exeext'
53006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53007   (eval $ac_try) 2>&5
53008   ac_status=$?
53009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53010   (exit $ac_status); }; }; then
53011   eval "$as_ac_var=yes"
53012 else
53013   echo "$as_me: failed program was:" >&5
53014 sed 's/^/| /' conftest.$ac_ext >&5
53015
53016 eval "$as_ac_var=no"
53017 fi
53018 rm -f conftest.err conftest.$ac_objext \
53019       conftest$ac_exeext conftest.$ac_ext
53020 fi
53021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53023 if test `eval echo '${'$as_ac_var'}'` = yes; then
53024   cat >>confdefs.h <<_ACEOF
53025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53026 _ACEOF
53027  ac_XPG2funcs=yes
53028 else
53029   ac_XPG2funcs=no
53030 fi
53031 done
53032
53033
53034     LIBS="$ac_save_LIBS"
53035
53036     if test x"$ac_has_iconv_h" = xyes &&
53037        test x"$ac_has_langinfo_h" = xyes &&
53038        test x"$ac_XPG2funcs" = xyes;
53039     then
53040
53041 cat >>confdefs.h <<\_ACEOF
53042 #define _GLIBCXX_USE_ICONV 1
53043 _ACEOF
53044
53045       enable_iconv=yes
53046     fi
53047   fi
53048   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
53049 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
53050   echo "$as_me:$LINENO: result: $enable_iconv" >&5
53051 echo "${ECHO_T}$enable_iconv" >&6
53052
53053
53054   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53055   ac_save_CXXFLAGS="$CXXFLAGS"
53056   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53057
53058
53059   echo "$as_me:$LINENO: checking for strtold declaration" >&5
53060 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
53061   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53062     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
53063   echo $ECHO_N "(cached) $ECHO_C" >&6
53064 else
53065
53066
53067
53068       ac_ext=cc
53069 ac_cpp='$CXXCPP $CPPFLAGS'
53070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53073
53074       cat >conftest.$ac_ext <<_ACEOF
53075 /* confdefs.h.  */
53076 _ACEOF
53077 cat confdefs.h >>conftest.$ac_ext
53078 cat >>conftest.$ac_ext <<_ACEOF
53079 /* end confdefs.h.  */
53080 #include <stdlib.h>
53081 int
53082 main ()
53083 {
53084  strtold(0, 0);
53085   ;
53086   return 0;
53087 }
53088 _ACEOF
53089 rm -f conftest.$ac_objext
53090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53091   (eval $ac_compile) 2>conftest.er1
53092   ac_status=$?
53093   grep -v '^ *+' conftest.er1 >conftest.err
53094   rm -f conftest.er1
53095   cat conftest.err >&5
53096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53097   (exit $ac_status); } &&
53098          { ac_try='test -z "$ac_cxx_werror_flag"
53099                          || test ! -s conftest.err'
53100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53101   (eval $ac_try) 2>&5
53102   ac_status=$?
53103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53104   (exit $ac_status); }; } &&
53105          { ac_try='test -s conftest.$ac_objext'
53106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53107   (eval $ac_try) 2>&5
53108   ac_status=$?
53109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53110   (exit $ac_status); }; }; then
53111   glibcxx_cv_func_strtold_use=yes
53112 else
53113   echo "$as_me: failed program was:" >&5
53114 sed 's/^/| /' conftest.$ac_ext >&5
53115
53116 glibcxx_cv_func_strtold_use=no
53117 fi
53118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53119       ac_ext=c
53120 ac_cpp='$CPP $CPPFLAGS'
53121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53124
53125
53126 fi
53127
53128   fi
53129   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
53130 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
53131   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53132
53133 for ac_func in strtold
53134 do
53135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53136 echo "$as_me:$LINENO: checking for $ac_func" >&5
53137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53138 if eval "test \"\${$as_ac_var+set}\" = set"; then
53139   echo $ECHO_N "(cached) $ECHO_C" >&6
53140 else
53141   if test x$gcc_no_link = xyes; then
53142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53144    { (exit 1); exit 1; }; }
53145 fi
53146 cat >conftest.$ac_ext <<_ACEOF
53147 /* confdefs.h.  */
53148 _ACEOF
53149 cat confdefs.h >>conftest.$ac_ext
53150 cat >>conftest.$ac_ext <<_ACEOF
53151 /* end confdefs.h.  */
53152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53154 #define $ac_func innocuous_$ac_func
53155
53156 /* System header to define __stub macros and hopefully few prototypes,
53157     which can conflict with char $ac_func (); below.
53158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53159     <limits.h> exists even on freestanding compilers.  */
53160
53161 #ifdef __STDC__
53162 # include <limits.h>
53163 #else
53164 # include <assert.h>
53165 #endif
53166
53167 #undef $ac_func
53168
53169 /* Override any gcc2 internal prototype to avoid an error.  */
53170 #ifdef __cplusplus
53171 extern "C"
53172 {
53173 #endif
53174 /* We use char because int might match the return type of a gcc2
53175    builtin and then its argument prototype would still apply.  */
53176 char $ac_func ();
53177 /* The GNU C library defines this for functions which it implements
53178     to always fail with ENOSYS.  Some functions are actually named
53179     something starting with __ and the normal name is an alias.  */
53180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53181 choke me
53182 #else
53183 char (*f) () = $ac_func;
53184 #endif
53185 #ifdef __cplusplus
53186 }
53187 #endif
53188
53189 int
53190 main ()
53191 {
53192 return f != $ac_func;
53193   ;
53194   return 0;
53195 }
53196 _ACEOF
53197 rm -f conftest.$ac_objext conftest$ac_exeext
53198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53199   (eval $ac_link) 2>conftest.er1
53200   ac_status=$?
53201   grep -v '^ *+' conftest.er1 >conftest.err
53202   rm -f conftest.er1
53203   cat conftest.err >&5
53204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53205   (exit $ac_status); } &&
53206          { ac_try='test -z "$ac_c_werror_flag"
53207                          || test ! -s conftest.err'
53208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53209   (eval $ac_try) 2>&5
53210   ac_status=$?
53211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53212   (exit $ac_status); }; } &&
53213          { ac_try='test -s conftest$ac_exeext'
53214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53215   (eval $ac_try) 2>&5
53216   ac_status=$?
53217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53218   (exit $ac_status); }; }; then
53219   eval "$as_ac_var=yes"
53220 else
53221   echo "$as_me: failed program was:" >&5
53222 sed 's/^/| /' conftest.$ac_ext >&5
53223
53224 eval "$as_ac_var=no"
53225 fi
53226 rm -f conftest.err conftest.$ac_objext \
53227       conftest$ac_exeext conftest.$ac_ext
53228 fi
53229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53231 if test `eval echo '${'$as_ac_var'}'` = yes; then
53232   cat >>confdefs.h <<_ACEOF
53233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53234 _ACEOF
53235
53236 fi
53237 done
53238
53239   fi
53240
53241
53242
53243
53244
53245   echo "$as_me:$LINENO: checking for strtof declaration" >&5
53246 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53247   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53248     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53249   echo $ECHO_N "(cached) $ECHO_C" >&6
53250 else
53251
53252
53253
53254       ac_ext=cc
53255 ac_cpp='$CXXCPP $CPPFLAGS'
53256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53259
53260       cat >conftest.$ac_ext <<_ACEOF
53261 /* confdefs.h.  */
53262 _ACEOF
53263 cat confdefs.h >>conftest.$ac_ext
53264 cat >>conftest.$ac_ext <<_ACEOF
53265 /* end confdefs.h.  */
53266 #include <stdlib.h>
53267 int
53268 main ()
53269 {
53270  strtof(0, 0);
53271   ;
53272   return 0;
53273 }
53274 _ACEOF
53275 rm -f conftest.$ac_objext
53276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53277   (eval $ac_compile) 2>conftest.er1
53278   ac_status=$?
53279   grep -v '^ *+' conftest.er1 >conftest.err
53280   rm -f conftest.er1
53281   cat conftest.err >&5
53282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53283   (exit $ac_status); } &&
53284          { ac_try='test -z "$ac_cxx_werror_flag"
53285                          || test ! -s conftest.err'
53286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53287   (eval $ac_try) 2>&5
53288   ac_status=$?
53289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53290   (exit $ac_status); }; } &&
53291          { ac_try='test -s conftest.$ac_objext'
53292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53293   (eval $ac_try) 2>&5
53294   ac_status=$?
53295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53296   (exit $ac_status); }; }; then
53297   glibcxx_cv_func_strtof_use=yes
53298 else
53299   echo "$as_me: failed program was:" >&5
53300 sed 's/^/| /' conftest.$ac_ext >&5
53301
53302 glibcxx_cv_func_strtof_use=no
53303 fi
53304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53305       ac_ext=c
53306 ac_cpp='$CPP $CPPFLAGS'
53307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53310
53311
53312 fi
53313
53314   fi
53315   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53316 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53317   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53318
53319 for ac_func in strtof
53320 do
53321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53322 echo "$as_me:$LINENO: checking for $ac_func" >&5
53323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53324 if eval "test \"\${$as_ac_var+set}\" = set"; then
53325   echo $ECHO_N "(cached) $ECHO_C" >&6
53326 else
53327   if test x$gcc_no_link = xyes; then
53328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53330    { (exit 1); exit 1; }; }
53331 fi
53332 cat >conftest.$ac_ext <<_ACEOF
53333 /* confdefs.h.  */
53334 _ACEOF
53335 cat confdefs.h >>conftest.$ac_ext
53336 cat >>conftest.$ac_ext <<_ACEOF
53337 /* end confdefs.h.  */
53338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53339    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53340 #define $ac_func innocuous_$ac_func
53341
53342 /* System header to define __stub macros and hopefully few prototypes,
53343     which can conflict with char $ac_func (); below.
53344     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53345     <limits.h> exists even on freestanding compilers.  */
53346
53347 #ifdef __STDC__
53348 # include <limits.h>
53349 #else
53350 # include <assert.h>
53351 #endif
53352
53353 #undef $ac_func
53354
53355 /* Override any gcc2 internal prototype to avoid an error.  */
53356 #ifdef __cplusplus
53357 extern "C"
53358 {
53359 #endif
53360 /* We use char because int might match the return type of a gcc2
53361    builtin and then its argument prototype would still apply.  */
53362 char $ac_func ();
53363 /* The GNU C library defines this for functions which it implements
53364     to always fail with ENOSYS.  Some functions are actually named
53365     something starting with __ and the normal name is an alias.  */
53366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53367 choke me
53368 #else
53369 char (*f) () = $ac_func;
53370 #endif
53371 #ifdef __cplusplus
53372 }
53373 #endif
53374
53375 int
53376 main ()
53377 {
53378 return f != $ac_func;
53379   ;
53380   return 0;
53381 }
53382 _ACEOF
53383 rm -f conftest.$ac_objext conftest$ac_exeext
53384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53385   (eval $ac_link) 2>conftest.er1
53386   ac_status=$?
53387   grep -v '^ *+' conftest.er1 >conftest.err
53388   rm -f conftest.er1
53389   cat conftest.err >&5
53390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53391   (exit $ac_status); } &&
53392          { ac_try='test -z "$ac_c_werror_flag"
53393                          || test ! -s conftest.err'
53394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53395   (eval $ac_try) 2>&5
53396   ac_status=$?
53397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53398   (exit $ac_status); }; } &&
53399          { ac_try='test -s conftest$ac_exeext'
53400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53401   (eval $ac_try) 2>&5
53402   ac_status=$?
53403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53404   (exit $ac_status); }; }; then
53405   eval "$as_ac_var=yes"
53406 else
53407   echo "$as_me: failed program was:" >&5
53408 sed 's/^/| /' conftest.$ac_ext >&5
53409
53410 eval "$as_ac_var=no"
53411 fi
53412 rm -f conftest.err conftest.$ac_objext \
53413       conftest$ac_exeext conftest.$ac_ext
53414 fi
53415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53417 if test `eval echo '${'$as_ac_var'}'` = yes; then
53418   cat >>confdefs.h <<_ACEOF
53419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53420 _ACEOF
53421
53422 fi
53423 done
53424
53425   fi
53426
53427
53428
53429
53430
53431   CXXFLAGS="$ac_save_CXXFLAGS"
53432
53433
53434     # For showmanyc_helper().
53435
53436
53437 for ac_header in sys/ioctl.h sys/filio.h
53438 do
53439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53441   echo "$as_me:$LINENO: checking for $ac_header" >&5
53442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53444   echo $ECHO_N "(cached) $ECHO_C" >&6
53445 fi
53446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53448 else
53449   # Is the header compilable?
53450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53452 cat >conftest.$ac_ext <<_ACEOF
53453 /* confdefs.h.  */
53454 _ACEOF
53455 cat confdefs.h >>conftest.$ac_ext
53456 cat >>conftest.$ac_ext <<_ACEOF
53457 /* end confdefs.h.  */
53458 $ac_includes_default
53459 #include <$ac_header>
53460 _ACEOF
53461 rm -f conftest.$ac_objext
53462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53463   (eval $ac_compile) 2>conftest.er1
53464   ac_status=$?
53465   grep -v '^ *+' conftest.er1 >conftest.err
53466   rm -f conftest.er1
53467   cat conftest.err >&5
53468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53469   (exit $ac_status); } &&
53470          { ac_try='test -z "$ac_c_werror_flag"
53471                          || test ! -s conftest.err'
53472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53473   (eval $ac_try) 2>&5
53474   ac_status=$?
53475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53476   (exit $ac_status); }; } &&
53477          { ac_try='test -s conftest.$ac_objext'
53478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53479   (eval $ac_try) 2>&5
53480   ac_status=$?
53481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53482   (exit $ac_status); }; }; then
53483   ac_header_compiler=yes
53484 else
53485   echo "$as_me: failed program was:" >&5
53486 sed 's/^/| /' conftest.$ac_ext >&5
53487
53488 ac_header_compiler=no
53489 fi
53490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53492 echo "${ECHO_T}$ac_header_compiler" >&6
53493
53494 # Is the header present?
53495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53497 cat >conftest.$ac_ext <<_ACEOF
53498 /* confdefs.h.  */
53499 _ACEOF
53500 cat confdefs.h >>conftest.$ac_ext
53501 cat >>conftest.$ac_ext <<_ACEOF
53502 /* end confdefs.h.  */
53503 #include <$ac_header>
53504 _ACEOF
53505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53506   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53507   ac_status=$?
53508   grep -v '^ *+' conftest.er1 >conftest.err
53509   rm -f conftest.er1
53510   cat conftest.err >&5
53511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53512   (exit $ac_status); } >/dev/null; then
53513   if test -s conftest.err; then
53514     ac_cpp_err=$ac_c_preproc_warn_flag
53515     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53516   else
53517     ac_cpp_err=
53518   fi
53519 else
53520   ac_cpp_err=yes
53521 fi
53522 if test -z "$ac_cpp_err"; then
53523   ac_header_preproc=yes
53524 else
53525   echo "$as_me: failed program was:" >&5
53526 sed 's/^/| /' conftest.$ac_ext >&5
53527
53528   ac_header_preproc=no
53529 fi
53530 rm -f conftest.err conftest.$ac_ext
53531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53532 echo "${ECHO_T}$ac_header_preproc" >&6
53533
53534 # So?  What about this header?
53535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53536   yes:no: )
53537     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53539     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53540 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53541     ac_header_preproc=yes
53542     ;;
53543   no:yes:* )
53544     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53546     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53547 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53548     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53549 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53550     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53551 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53552     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53554     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53555 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53556     (
53557       cat <<\_ASBOX
53558 ## ----------------------------------------- ##
53559 ## Report this to the package-unused lists.  ##
53560 ## ----------------------------------------- ##
53561 _ASBOX
53562     ) |
53563       sed "s/^/$as_me: WARNING:     /" >&2
53564     ;;
53565 esac
53566 echo "$as_me:$LINENO: checking for $ac_header" >&5
53567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53569   echo $ECHO_N "(cached) $ECHO_C" >&6
53570 else
53571   eval "$as_ac_Header=\$ac_header_preproc"
53572 fi
53573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53575
53576 fi
53577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53578   cat >>confdefs.h <<_ACEOF
53579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53580 _ACEOF
53581
53582 fi
53583
53584 done
53585
53586
53587   echo "$as_me:$LINENO: checking for poll" >&5
53588 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53589   if test "${glibcxx_cv_POLL+set}" = set; then
53590   echo $ECHO_N "(cached) $ECHO_C" >&6
53591 else
53592
53593     if test x$gcc_no_link = xyes; then
53594   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53596    { (exit 1); exit 1; }; }
53597 fi
53598 cat >conftest.$ac_ext <<_ACEOF
53599 /* confdefs.h.  */
53600 _ACEOF
53601 cat confdefs.h >>conftest.$ac_ext
53602 cat >>conftest.$ac_ext <<_ACEOF
53603 /* end confdefs.h.  */
53604 #include <poll.h>
53605 int
53606 main ()
53607 {
53608 struct pollfd pfd[1];
53609        pfd[0].events = POLLIN;
53610        poll(pfd, 1, 0);
53611   ;
53612   return 0;
53613 }
53614 _ACEOF
53615 rm -f conftest.$ac_objext conftest$ac_exeext
53616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53617   (eval $ac_link) 2>conftest.er1
53618   ac_status=$?
53619   grep -v '^ *+' conftest.er1 >conftest.err
53620   rm -f conftest.er1
53621   cat conftest.err >&5
53622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53623   (exit $ac_status); } &&
53624          { ac_try='test -z "$ac_c_werror_flag"
53625                          || test ! -s conftest.err'
53626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53627   (eval $ac_try) 2>&5
53628   ac_status=$?
53629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53630   (exit $ac_status); }; } &&
53631          { ac_try='test -s conftest$ac_exeext'
53632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53633   (eval $ac_try) 2>&5
53634   ac_status=$?
53635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53636   (exit $ac_status); }; }; then
53637   glibcxx_cv_POLL=yes
53638 else
53639   echo "$as_me: failed program was:" >&5
53640 sed 's/^/| /' conftest.$ac_ext >&5
53641
53642 glibcxx_cv_POLL=no
53643 fi
53644 rm -f conftest.err conftest.$ac_objext \
53645       conftest$ac_exeext conftest.$ac_ext
53646
53647 fi
53648
53649   if test $glibcxx_cv_POLL = yes; then
53650
53651 cat >>confdefs.h <<\_ACEOF
53652 #define HAVE_POLL 1
53653 _ACEOF
53654
53655   fi
53656   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53657 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53658
53659
53660   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53661 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53662   if test "${glibcxx_cv_S_ISREG+set}" = set; then
53663   echo $ECHO_N "(cached) $ECHO_C" >&6
53664 else
53665
53666     if test x$gcc_no_link = xyes; then
53667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53669    { (exit 1); exit 1; }; }
53670 fi
53671 cat >conftest.$ac_ext <<_ACEOF
53672 /* confdefs.h.  */
53673 _ACEOF
53674 cat confdefs.h >>conftest.$ac_ext
53675 cat >>conftest.$ac_ext <<_ACEOF
53676 /* end confdefs.h.  */
53677 #include <sys/stat.h>
53678 int
53679 main ()
53680 {
53681 struct stat buffer;
53682        fstat(0, &buffer);
53683        S_ISREG(buffer.st_mode);
53684   ;
53685   return 0;
53686 }
53687 _ACEOF
53688 rm -f conftest.$ac_objext conftest$ac_exeext
53689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53690   (eval $ac_link) 2>conftest.er1
53691   ac_status=$?
53692   grep -v '^ *+' conftest.er1 >conftest.err
53693   rm -f conftest.er1
53694   cat conftest.err >&5
53695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53696   (exit $ac_status); } &&
53697          { ac_try='test -z "$ac_c_werror_flag"
53698                          || test ! -s conftest.err'
53699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53700   (eval $ac_try) 2>&5
53701   ac_status=$?
53702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53703   (exit $ac_status); }; } &&
53704          { ac_try='test -s conftest$ac_exeext'
53705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53706   (eval $ac_try) 2>&5
53707   ac_status=$?
53708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53709   (exit $ac_status); }; }; then
53710   glibcxx_cv_S_ISREG=yes
53711 else
53712   echo "$as_me: failed program was:" >&5
53713 sed 's/^/| /' conftest.$ac_ext >&5
53714
53715 glibcxx_cv_S_ISREG=no
53716 fi
53717 rm -f conftest.err conftest.$ac_objext \
53718       conftest$ac_exeext conftest.$ac_ext
53719
53720 fi
53721
53722   if test "${glibcxx_cv_S_IFREG+set}" = set; then
53723   echo $ECHO_N "(cached) $ECHO_C" >&6
53724 else
53725
53726     if test x$gcc_no_link = xyes; then
53727   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53729    { (exit 1); exit 1; }; }
53730 fi
53731 cat >conftest.$ac_ext <<_ACEOF
53732 /* confdefs.h.  */
53733 _ACEOF
53734 cat confdefs.h >>conftest.$ac_ext
53735 cat >>conftest.$ac_ext <<_ACEOF
53736 /* end confdefs.h.  */
53737 #include <sys/stat.h>
53738 int
53739 main ()
53740 {
53741 struct stat buffer;
53742        fstat(0, &buffer);
53743        S_IFREG & buffer.st_mode;
53744   ;
53745   return 0;
53746 }
53747 _ACEOF
53748 rm -f conftest.$ac_objext conftest$ac_exeext
53749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53750   (eval $ac_link) 2>conftest.er1
53751   ac_status=$?
53752   grep -v '^ *+' conftest.er1 >conftest.err
53753   rm -f conftest.er1
53754   cat conftest.err >&5
53755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53756   (exit $ac_status); } &&
53757          { ac_try='test -z "$ac_c_werror_flag"
53758                          || test ! -s conftest.err'
53759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53760   (eval $ac_try) 2>&5
53761   ac_status=$?
53762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53763   (exit $ac_status); }; } &&
53764          { ac_try='test -s conftest$ac_exeext'
53765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53766   (eval $ac_try) 2>&5
53767   ac_status=$?
53768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53769   (exit $ac_status); }; }; then
53770   glibcxx_cv_S_IFREG=yes
53771 else
53772   echo "$as_me: failed program was:" >&5
53773 sed 's/^/| /' conftest.$ac_ext >&5
53774
53775 glibcxx_cv_S_IFREG=no
53776 fi
53777 rm -f conftest.err conftest.$ac_objext \
53778       conftest$ac_exeext conftest.$ac_ext
53779
53780 fi
53781
53782   res=no
53783   if test $glibcxx_cv_S_ISREG = yes; then
53784
53785 cat >>confdefs.h <<\_ACEOF
53786 #define HAVE_S_ISREG 1
53787 _ACEOF
53788
53789     res=S_ISREG
53790   elif test $glibcxx_cv_S_IFREG = yes; then
53791
53792 cat >>confdefs.h <<\_ACEOF
53793 #define HAVE_S_IFREG 1
53794 _ACEOF
53795
53796     res=S_IFREG
53797   fi
53798   echo "$as_me:$LINENO: result: $res" >&5
53799 echo "${ECHO_T}$res" >&6
53800
53801
53802     # For xsputn_2().
53803
53804 for ac_header in sys/uio.h
53805 do
53806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53808   echo "$as_me:$LINENO: checking for $ac_header" >&5
53809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53811   echo $ECHO_N "(cached) $ECHO_C" >&6
53812 fi
53813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53815 else
53816   # Is the header compilable?
53817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53819 cat >conftest.$ac_ext <<_ACEOF
53820 /* confdefs.h.  */
53821 _ACEOF
53822 cat confdefs.h >>conftest.$ac_ext
53823 cat >>conftest.$ac_ext <<_ACEOF
53824 /* end confdefs.h.  */
53825 $ac_includes_default
53826 #include <$ac_header>
53827 _ACEOF
53828 rm -f conftest.$ac_objext
53829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53830   (eval $ac_compile) 2>conftest.er1
53831   ac_status=$?
53832   grep -v '^ *+' conftest.er1 >conftest.err
53833   rm -f conftest.er1
53834   cat conftest.err >&5
53835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53836   (exit $ac_status); } &&
53837          { ac_try='test -z "$ac_c_werror_flag"
53838                          || test ! -s conftest.err'
53839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53840   (eval $ac_try) 2>&5
53841   ac_status=$?
53842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53843   (exit $ac_status); }; } &&
53844          { ac_try='test -s conftest.$ac_objext'
53845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53846   (eval $ac_try) 2>&5
53847   ac_status=$?
53848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53849   (exit $ac_status); }; }; then
53850   ac_header_compiler=yes
53851 else
53852   echo "$as_me: failed program was:" >&5
53853 sed 's/^/| /' conftest.$ac_ext >&5
53854
53855 ac_header_compiler=no
53856 fi
53857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53859 echo "${ECHO_T}$ac_header_compiler" >&6
53860
53861 # Is the header present?
53862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53864 cat >conftest.$ac_ext <<_ACEOF
53865 /* confdefs.h.  */
53866 _ACEOF
53867 cat confdefs.h >>conftest.$ac_ext
53868 cat >>conftest.$ac_ext <<_ACEOF
53869 /* end confdefs.h.  */
53870 #include <$ac_header>
53871 _ACEOF
53872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53873   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53874   ac_status=$?
53875   grep -v '^ *+' conftest.er1 >conftest.err
53876   rm -f conftest.er1
53877   cat conftest.err >&5
53878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53879   (exit $ac_status); } >/dev/null; then
53880   if test -s conftest.err; then
53881     ac_cpp_err=$ac_c_preproc_warn_flag
53882     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53883   else
53884     ac_cpp_err=
53885   fi
53886 else
53887   ac_cpp_err=yes
53888 fi
53889 if test -z "$ac_cpp_err"; then
53890   ac_header_preproc=yes
53891 else
53892   echo "$as_me: failed program was:" >&5
53893 sed 's/^/| /' conftest.$ac_ext >&5
53894
53895   ac_header_preproc=no
53896 fi
53897 rm -f conftest.err conftest.$ac_ext
53898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53899 echo "${ECHO_T}$ac_header_preproc" >&6
53900
53901 # So?  What about this header?
53902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53903   yes:no: )
53904     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53905 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53906     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53907 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53908     ac_header_preproc=yes
53909     ;;
53910   no:yes:* )
53911     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53913     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53914 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53915     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53916 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53917     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53918 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53919     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53921     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53922 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53923     (
53924       cat <<\_ASBOX
53925 ## ----------------------------------------- ##
53926 ## Report this to the package-unused lists.  ##
53927 ## ----------------------------------------- ##
53928 _ASBOX
53929     ) |
53930       sed "s/^/$as_me: WARNING:     /" >&2
53931     ;;
53932 esac
53933 echo "$as_me:$LINENO: checking for $ac_header" >&5
53934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53936   echo $ECHO_N "(cached) $ECHO_C" >&6
53937 else
53938   eval "$as_ac_Header=\$ac_header_preproc"
53939 fi
53940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53942
53943 fi
53944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53945   cat >>confdefs.h <<_ACEOF
53946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53947 _ACEOF
53948
53949 fi
53950
53951 done
53952
53953
53954   echo "$as_me:$LINENO: checking for writev" >&5
53955 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53956   if test "${glibcxx_cv_WRITEV+set}" = set; then
53957   echo $ECHO_N "(cached) $ECHO_C" >&6
53958 else
53959
53960     if test x$gcc_no_link = xyes; then
53961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53963    { (exit 1); exit 1; }; }
53964 fi
53965 cat >conftest.$ac_ext <<_ACEOF
53966 /* confdefs.h.  */
53967 _ACEOF
53968 cat confdefs.h >>conftest.$ac_ext
53969 cat >>conftest.$ac_ext <<_ACEOF
53970 /* end confdefs.h.  */
53971 #include <sys/uio.h>
53972 int
53973 main ()
53974 {
53975 struct iovec iov[2];
53976        writev(0, iov, 0);
53977   ;
53978   return 0;
53979 }
53980 _ACEOF
53981 rm -f conftest.$ac_objext conftest$ac_exeext
53982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53983   (eval $ac_link) 2>conftest.er1
53984   ac_status=$?
53985   grep -v '^ *+' conftest.er1 >conftest.err
53986   rm -f conftest.er1
53987   cat conftest.err >&5
53988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53989   (exit $ac_status); } &&
53990          { ac_try='test -z "$ac_c_werror_flag"
53991                          || test ! -s conftest.err'
53992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53993   (eval $ac_try) 2>&5
53994   ac_status=$?
53995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53996   (exit $ac_status); }; } &&
53997          { ac_try='test -s conftest$ac_exeext'
53998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53999   (eval $ac_try) 2>&5
54000   ac_status=$?
54001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54002   (exit $ac_status); }; }; then
54003   glibcxx_cv_WRITEV=yes
54004 else
54005   echo "$as_me: failed program was:" >&5
54006 sed 's/^/| /' conftest.$ac_ext >&5
54007
54008 glibcxx_cv_WRITEV=no
54009 fi
54010 rm -f conftest.err conftest.$ac_objext \
54011       conftest$ac_exeext conftest.$ac_ext
54012
54013 fi
54014
54015   if test $glibcxx_cv_WRITEV = yes; then
54016
54017 cat >>confdefs.h <<\_ACEOF
54018 #define HAVE_WRITEV 1
54019 _ACEOF
54020
54021   fi
54022   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
54023 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
54024
54025
54026     cat >>confdefs.h <<\_ACEOF
54027 #define HAVE_LC_MESSAGES 1
54028 _ACEOF
54029
54030
54031     cat >conftest.$ac_ext <<_ACEOF
54032 /* confdefs.h.  */
54033 _ACEOF
54034 cat confdefs.h >>conftest.$ac_ext
54035 cat >>conftest.$ac_ext <<_ACEOF
54036 /* end confdefs.h.  */
54037 #include <setjmp.h>
54038 int
54039 main ()
54040 {
54041 sigjmp_buf env;
54042        while (! sigsetjmp (env, 1))
54043          siglongjmp (env, 1);
54044
54045   ;
54046   return 0;
54047 }
54048 _ACEOF
54049 rm -f conftest.$ac_objext
54050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54051   (eval $ac_compile) 2>conftest.er1
54052   ac_status=$?
54053   grep -v '^ *+' conftest.er1 >conftest.err
54054   rm -f conftest.er1
54055   cat conftest.err >&5
54056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54057   (exit $ac_status); } &&
54058          { ac_try='test -z "$ac_c_werror_flag"
54059                          || test ! -s conftest.err'
54060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54061   (eval $ac_try) 2>&5
54062   ac_status=$?
54063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54064   (exit $ac_status); }; } &&
54065          { ac_try='test -s conftest.$ac_objext'
54066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54067   (eval $ac_try) 2>&5
54068   ac_status=$?
54069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54070   (exit $ac_status); }; }; then
54071
54072 cat >>confdefs.h <<\_ACEOF
54073 #define HAVE_SIGSETJMP 1
54074 _ACEOF
54075
54076 else
54077   echo "$as_me: failed program was:" >&5
54078 sed 's/^/| /' conftest.$ac_ext >&5
54079
54080 fi
54081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54082
54083     cat >>confdefs.h <<\_ACEOF
54084 #define HAVE_MMAP 1
54085 _ACEOF
54086
54087     ;;
54088
54089   *djgpp)
54090
54091
54092
54093
54094
54095
54096
54097
54098
54099
54100
54101
54102
54103
54104
54105
54106
54107
54108
54109
54110 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54111       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54112       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54113       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54114 do
54115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54117   echo "$as_me:$LINENO: checking for $ac_header" >&5
54118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54120   echo $ECHO_N "(cached) $ECHO_C" >&6
54121 fi
54122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54124 else
54125   # Is the header compilable?
54126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54128 cat >conftest.$ac_ext <<_ACEOF
54129 /* confdefs.h.  */
54130 _ACEOF
54131 cat confdefs.h >>conftest.$ac_ext
54132 cat >>conftest.$ac_ext <<_ACEOF
54133 /* end confdefs.h.  */
54134 $ac_includes_default
54135 #include <$ac_header>
54136 _ACEOF
54137 rm -f conftest.$ac_objext
54138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54139   (eval $ac_compile) 2>conftest.er1
54140   ac_status=$?
54141   grep -v '^ *+' conftest.er1 >conftest.err
54142   rm -f conftest.er1
54143   cat conftest.err >&5
54144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54145   (exit $ac_status); } &&
54146          { ac_try='test -z "$ac_c_werror_flag"
54147                          || test ! -s conftest.err'
54148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54149   (eval $ac_try) 2>&5
54150   ac_status=$?
54151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54152   (exit $ac_status); }; } &&
54153          { ac_try='test -s conftest.$ac_objext'
54154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54155   (eval $ac_try) 2>&5
54156   ac_status=$?
54157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54158   (exit $ac_status); }; }; then
54159   ac_header_compiler=yes
54160 else
54161   echo "$as_me: failed program was:" >&5
54162 sed 's/^/| /' conftest.$ac_ext >&5
54163
54164 ac_header_compiler=no
54165 fi
54166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54168 echo "${ECHO_T}$ac_header_compiler" >&6
54169
54170 # Is the header present?
54171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54173 cat >conftest.$ac_ext <<_ACEOF
54174 /* confdefs.h.  */
54175 _ACEOF
54176 cat confdefs.h >>conftest.$ac_ext
54177 cat >>conftest.$ac_ext <<_ACEOF
54178 /* end confdefs.h.  */
54179 #include <$ac_header>
54180 _ACEOF
54181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54182   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54183   ac_status=$?
54184   grep -v '^ *+' conftest.er1 >conftest.err
54185   rm -f conftest.er1
54186   cat conftest.err >&5
54187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54188   (exit $ac_status); } >/dev/null; then
54189   if test -s conftest.err; then
54190     ac_cpp_err=$ac_c_preproc_warn_flag
54191     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54192   else
54193     ac_cpp_err=
54194   fi
54195 else
54196   ac_cpp_err=yes
54197 fi
54198 if test -z "$ac_cpp_err"; then
54199   ac_header_preproc=yes
54200 else
54201   echo "$as_me: failed program was:" >&5
54202 sed 's/^/| /' conftest.$ac_ext >&5
54203
54204   ac_header_preproc=no
54205 fi
54206 rm -f conftest.err conftest.$ac_ext
54207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54208 echo "${ECHO_T}$ac_header_preproc" >&6
54209
54210 # So?  What about this header?
54211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54212   yes:no: )
54213     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54215     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54217     ac_header_preproc=yes
54218     ;;
54219   no:yes:* )
54220     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54222     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
54223 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
54224     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54226     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
54227 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
54228     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54230     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54232     (
54233       cat <<\_ASBOX
54234 ## ----------------------------------------- ##
54235 ## Report this to the package-unused lists.  ##
54236 ## ----------------------------------------- ##
54237 _ASBOX
54238     ) |
54239       sed "s/^/$as_me: WARNING:     /" >&2
54240     ;;
54241 esac
54242 echo "$as_me:$LINENO: checking for $ac_header" >&5
54243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54245   echo $ECHO_N "(cached) $ECHO_C" >&6
54246 else
54247   eval "$as_ac_Header=\$ac_header_preproc"
54248 fi
54249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54251
54252 fi
54253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54254   cat >>confdefs.h <<_ACEOF
54255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54256 _ACEOF
54257
54258 fi
54259
54260 done
54261
54262
54263   # If we're not using GNU ld, then there's no point in even trying these
54264   # tests.  Check for that first.  We should have already tested for gld
54265   # by now (in libtool), but require it now just to be safe...
54266   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54267   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54268
54269
54270
54271   # The name set by libtool depends on the version of libtool.  Shame on us
54272   # for depending on an impl detail, but c'est la vie.  Older versions used
54273   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54274   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54275   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
54276   # set (hence we're using an older libtool), then set it.
54277   if test x${with_gnu_ld+set} != xset; then
54278     if test x${ac_cv_prog_gnu_ld+set} != xset; then
54279       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
54280       with_gnu_ld=no
54281     else
54282       with_gnu_ld=$ac_cv_prog_gnu_ld
54283     fi
54284   fi
54285
54286   # Start by getting the version number.  I think the libtool test already
54287   # does some of this, but throws away the result.
54288   if test x"$with_gnu_ld" = x"yes"; then
54289     echo "$as_me:$LINENO: checking for ld version" >&5
54290 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54291
54292     ldver=`$LD --version 2>/dev/null | head -1 | \
54293            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
54294
54295     glibcxx_gnu_ld_version=`echo $ldver | \
54296            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54297     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54298 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54299   fi
54300
54301   # Set --gc-sections.
54302   glibcxx_gcsections_min_ld=21602
54303   if test x"$with_gnu_ld" = x"yes" &&
54304         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54305
54306     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
54307     # NB: This flag only works reliably after 2.16.1. Configure tests
54308     # for this are difficult, so hard wire a value that should work.
54309
54310     # All these tests are for C++, but run with the "C" compiler driver.
54311     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
54312     ac_test_CFLAGS="${CFLAGS+set}"
54313     ac_save_CFLAGS="$CFLAGS"
54314     CFLAGS='-x c++ -Wl,--gc-sections'
54315
54316     # Check for -Wl,--gc-sections
54317     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54318 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54319     if test x$gcc_no_link = xyes; then
54320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54322    { (exit 1); exit 1; }; }
54323 fi
54324 cat >conftest.$ac_ext <<_ACEOF
54325 /* confdefs.h.  */
54326 _ACEOF
54327 cat confdefs.h >>conftest.$ac_ext
54328 cat >>conftest.$ac_ext <<_ACEOF
54329 /* end confdefs.h.  */
54330  int one(void) { return 1; }
54331      int two(void) { return 2; }
54332
54333 int
54334 main ()
54335 {
54336  two();
54337   ;
54338   return 0;
54339 }
54340 _ACEOF
54341 rm -f conftest.$ac_objext conftest$ac_exeext
54342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54343   (eval $ac_link) 2>conftest.er1
54344   ac_status=$?
54345   grep -v '^ *+' conftest.er1 >conftest.err
54346   rm -f conftest.er1
54347   cat conftest.err >&5
54348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54349   (exit $ac_status); } &&
54350          { ac_try='test -z "$ac_c_werror_flag"
54351                          || test ! -s conftest.err'
54352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54353   (eval $ac_try) 2>&5
54354   ac_status=$?
54355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54356   (exit $ac_status); }; } &&
54357          { ac_try='test -s conftest$ac_exeext'
54358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54359   (eval $ac_try) 2>&5
54360   ac_status=$?
54361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54362   (exit $ac_status); }; }; then
54363   ac_gcsections=yes
54364 else
54365   echo "$as_me: failed program was:" >&5
54366 sed 's/^/| /' conftest.$ac_ext >&5
54367
54368 ac_gcsections=no
54369 fi
54370 rm -f conftest.err conftest.$ac_objext \
54371       conftest$ac_exeext conftest.$ac_ext
54372     if test "$ac_gcsections" = "yes"; then
54373       rm -f conftest.c
54374       touch conftest.c
54375       if $CC -c conftest.c; then
54376         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54377            grep "Warning: gc-sections option ignored" > /dev/null; then
54378           ac_gcsections=no
54379         fi
54380       fi
54381       rm -f conftest.c conftest.o conftest
54382     fi
54383     if test "$ac_gcsections" = "yes"; then
54384       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54385     fi
54386     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54387 echo "${ECHO_T}$ac_gcsections" >&6
54388
54389     if test "$ac_test_CFLAGS" = set; then
54390       CFLAGS="$ac_save_CFLAGS"
54391     else
54392       # this is the suspicious part
54393       CFLAGS=''
54394     fi
54395   fi
54396
54397   # Set -z,relro.
54398   # Note this is only for shared objects.
54399   ac_ld_relro=no
54400   if test x"$with_gnu_ld" = x"yes"; then
54401     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54402 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54403     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54404     if test -n "$cxx_z_relo"; then
54405       OPT_LDFLAGS="-Wl,-z,relro"
54406       ac_ld_relro=yes
54407     fi
54408     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54409 echo "${ECHO_T}$ac_ld_relro" >&6
54410   fi
54411
54412   # Set linker optimization flags.
54413   if test x"$with_gnu_ld" = x"yes"; then
54414     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54415   fi
54416
54417
54418
54419
54420
54421   ac_test_CXXFLAGS="${CXXFLAGS+set}"
54422   ac_save_CXXFLAGS="$CXXFLAGS"
54423   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54424
54425     echo "$as_me:$LINENO: checking for sin in -lm" >&5
54426 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
54427 if test "${ac_cv_lib_m_sin+set}" = set; then
54428   echo $ECHO_N "(cached) $ECHO_C" >&6
54429 else
54430   ac_check_lib_save_LIBS=$LIBS
54431 LIBS="-lm  $LIBS"
54432 if test x$gcc_no_link = xyes; then
54433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54435    { (exit 1); exit 1; }; }
54436 fi
54437 cat >conftest.$ac_ext <<_ACEOF
54438 /* confdefs.h.  */
54439 _ACEOF
54440 cat confdefs.h >>conftest.$ac_ext
54441 cat >>conftest.$ac_ext <<_ACEOF
54442 /* end confdefs.h.  */
54443
54444 /* Override any gcc2 internal prototype to avoid an error.  */
54445 #ifdef __cplusplus
54446 extern "C"
54447 #endif
54448 /* We use char because int might match the return type of a gcc2
54449    builtin and then its argument prototype would still apply.  */
54450 char sin ();
54451 int
54452 main ()
54453 {
54454 sin ();
54455   ;
54456   return 0;
54457 }
54458 _ACEOF
54459 rm -f conftest.$ac_objext conftest$ac_exeext
54460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54461   (eval $ac_link) 2>conftest.er1
54462   ac_status=$?
54463   grep -v '^ *+' conftest.er1 >conftest.err
54464   rm -f conftest.er1
54465   cat conftest.err >&5
54466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54467   (exit $ac_status); } &&
54468          { ac_try='test -z "$ac_c_werror_flag"
54469                          || test ! -s conftest.err'
54470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54471   (eval $ac_try) 2>&5
54472   ac_status=$?
54473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54474   (exit $ac_status); }; } &&
54475          { ac_try='test -s conftest$ac_exeext'
54476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54477   (eval $ac_try) 2>&5
54478   ac_status=$?
54479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54480   (exit $ac_status); }; }; then
54481   ac_cv_lib_m_sin=yes
54482 else
54483   echo "$as_me: failed program was:" >&5
54484 sed 's/^/| /' conftest.$ac_ext >&5
54485
54486 ac_cv_lib_m_sin=no
54487 fi
54488 rm -f conftest.err conftest.$ac_objext \
54489       conftest$ac_exeext conftest.$ac_ext
54490 LIBS=$ac_check_lib_save_LIBS
54491 fi
54492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
54493 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
54494 if test $ac_cv_lib_m_sin = yes; then
54495   libm="-lm"
54496 fi
54497
54498   ac_save_LIBS="$LIBS"
54499   LIBS="$LIBS $libm"
54500
54501
54502
54503   echo "$as_me:$LINENO: checking for isinf declaration" >&5
54504 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
54505   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54506     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54507   echo $ECHO_N "(cached) $ECHO_C" >&6
54508 else
54509
54510
54511
54512       ac_ext=cc
54513 ac_cpp='$CXXCPP $CPPFLAGS'
54514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54517
54518       cat >conftest.$ac_ext <<_ACEOF
54519 /* confdefs.h.  */
54520 _ACEOF
54521 cat confdefs.h >>conftest.$ac_ext
54522 cat >>conftest.$ac_ext <<_ACEOF
54523 /* end confdefs.h.  */
54524 #include <math.h>
54525                       #ifdef HAVE_IEEEFP_H
54526                       #include <ieeefp.h>
54527                       #endif
54528
54529 int
54530 main ()
54531 {
54532  isinf(0);
54533   ;
54534   return 0;
54535 }
54536 _ACEOF
54537 rm -f conftest.$ac_objext
54538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54539   (eval $ac_compile) 2>conftest.er1
54540   ac_status=$?
54541   grep -v '^ *+' conftest.er1 >conftest.err
54542   rm -f conftest.er1
54543   cat conftest.err >&5
54544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54545   (exit $ac_status); } &&
54546          { ac_try='test -z "$ac_cxx_werror_flag"
54547                          || test ! -s conftest.err'
54548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54549   (eval $ac_try) 2>&5
54550   ac_status=$?
54551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54552   (exit $ac_status); }; } &&
54553          { ac_try='test -s conftest.$ac_objext'
54554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54555   (eval $ac_try) 2>&5
54556   ac_status=$?
54557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54558   (exit $ac_status); }; }; then
54559   glibcxx_cv_func_isinf_use=yes
54560 else
54561   echo "$as_me: failed program was:" >&5
54562 sed 's/^/| /' conftest.$ac_ext >&5
54563
54564 glibcxx_cv_func_isinf_use=no
54565 fi
54566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54567       ac_ext=c
54568 ac_cpp='$CPP $CPPFLAGS'
54569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54572
54573
54574 fi
54575
54576   fi
54577   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54578 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54579
54580   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54581
54582 for ac_func in isinf
54583 do
54584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54585 echo "$as_me:$LINENO: checking for $ac_func" >&5
54586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54587 if eval "test \"\${$as_ac_var+set}\" = set"; then
54588   echo $ECHO_N "(cached) $ECHO_C" >&6
54589 else
54590   if test x$gcc_no_link = xyes; then
54591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54593    { (exit 1); exit 1; }; }
54594 fi
54595 cat >conftest.$ac_ext <<_ACEOF
54596 /* confdefs.h.  */
54597 _ACEOF
54598 cat confdefs.h >>conftest.$ac_ext
54599 cat >>conftest.$ac_ext <<_ACEOF
54600 /* end confdefs.h.  */
54601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54603 #define $ac_func innocuous_$ac_func
54604
54605 /* System header to define __stub macros and hopefully few prototypes,
54606     which can conflict with char $ac_func (); below.
54607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54608     <limits.h> exists even on freestanding compilers.  */
54609
54610 #ifdef __STDC__
54611 # include <limits.h>
54612 #else
54613 # include <assert.h>
54614 #endif
54615
54616 #undef $ac_func
54617
54618 /* Override any gcc2 internal prototype to avoid an error.  */
54619 #ifdef __cplusplus
54620 extern "C"
54621 {
54622 #endif
54623 /* We use char because int might match the return type of a gcc2
54624    builtin and then its argument prototype would still apply.  */
54625 char $ac_func ();
54626 /* The GNU C library defines this for functions which it implements
54627     to always fail with ENOSYS.  Some functions are actually named
54628     something starting with __ and the normal name is an alias.  */
54629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54630 choke me
54631 #else
54632 char (*f) () = $ac_func;
54633 #endif
54634 #ifdef __cplusplus
54635 }
54636 #endif
54637
54638 int
54639 main ()
54640 {
54641 return f != $ac_func;
54642   ;
54643   return 0;
54644 }
54645 _ACEOF
54646 rm -f conftest.$ac_objext conftest$ac_exeext
54647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54648   (eval $ac_link) 2>conftest.er1
54649   ac_status=$?
54650   grep -v '^ *+' conftest.er1 >conftest.err
54651   rm -f conftest.er1
54652   cat conftest.err >&5
54653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54654   (exit $ac_status); } &&
54655          { ac_try='test -z "$ac_c_werror_flag"
54656                          || test ! -s conftest.err'
54657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54658   (eval $ac_try) 2>&5
54659   ac_status=$?
54660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54661   (exit $ac_status); }; } &&
54662          { ac_try='test -s conftest$ac_exeext'
54663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54664   (eval $ac_try) 2>&5
54665   ac_status=$?
54666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54667   (exit $ac_status); }; }; then
54668   eval "$as_ac_var=yes"
54669 else
54670   echo "$as_me: failed program was:" >&5
54671 sed 's/^/| /' conftest.$ac_ext >&5
54672
54673 eval "$as_ac_var=no"
54674 fi
54675 rm -f conftest.err conftest.$ac_objext \
54676       conftest$ac_exeext conftest.$ac_ext
54677 fi
54678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54680 if test `eval echo '${'$as_ac_var'}'` = yes; then
54681   cat >>confdefs.h <<_ACEOF
54682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54683 _ACEOF
54684
54685 fi
54686 done
54687
54688   else
54689
54690   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54691 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54692   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54693     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54694   echo $ECHO_N "(cached) $ECHO_C" >&6
54695 else
54696
54697
54698
54699       ac_ext=cc
54700 ac_cpp='$CXXCPP $CPPFLAGS'
54701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54704
54705       cat >conftest.$ac_ext <<_ACEOF
54706 /* confdefs.h.  */
54707 _ACEOF
54708 cat confdefs.h >>conftest.$ac_ext
54709 cat >>conftest.$ac_ext <<_ACEOF
54710 /* end confdefs.h.  */
54711 #include <math.h>
54712                       #ifdef HAVE_IEEEFP_H
54713                       #include <ieeefp.h>
54714                       #endif
54715
54716 int
54717 main ()
54718 {
54719  _isinf(0);
54720   ;
54721   return 0;
54722 }
54723 _ACEOF
54724 rm -f conftest.$ac_objext
54725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54726   (eval $ac_compile) 2>conftest.er1
54727   ac_status=$?
54728   grep -v '^ *+' conftest.er1 >conftest.err
54729   rm -f conftest.er1
54730   cat conftest.err >&5
54731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54732   (exit $ac_status); } &&
54733          { ac_try='test -z "$ac_cxx_werror_flag"
54734                          || test ! -s conftest.err'
54735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54736   (eval $ac_try) 2>&5
54737   ac_status=$?
54738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54739   (exit $ac_status); }; } &&
54740          { ac_try='test -s conftest.$ac_objext'
54741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54742   (eval $ac_try) 2>&5
54743   ac_status=$?
54744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54745   (exit $ac_status); }; }; then
54746   glibcxx_cv_func__isinf_use=yes
54747 else
54748   echo "$as_me: failed program was:" >&5
54749 sed 's/^/| /' conftest.$ac_ext >&5
54750
54751 glibcxx_cv_func__isinf_use=no
54752 fi
54753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54754       ac_ext=c
54755 ac_cpp='$CPP $CPPFLAGS'
54756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54759
54760
54761 fi
54762
54763   fi
54764   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54765 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54766
54767     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54768
54769 for ac_func in _isinf
54770 do
54771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54772 echo "$as_me:$LINENO: checking for $ac_func" >&5
54773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54774 if eval "test \"\${$as_ac_var+set}\" = set"; then
54775   echo $ECHO_N "(cached) $ECHO_C" >&6
54776 else
54777   if test x$gcc_no_link = xyes; then
54778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54780    { (exit 1); exit 1; }; }
54781 fi
54782 cat >conftest.$ac_ext <<_ACEOF
54783 /* confdefs.h.  */
54784 _ACEOF
54785 cat confdefs.h >>conftest.$ac_ext
54786 cat >>conftest.$ac_ext <<_ACEOF
54787 /* end confdefs.h.  */
54788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54790 #define $ac_func innocuous_$ac_func
54791
54792 /* System header to define __stub macros and hopefully few prototypes,
54793     which can conflict with char $ac_func (); below.
54794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54795     <limits.h> exists even on freestanding compilers.  */
54796
54797 #ifdef __STDC__
54798 # include <limits.h>
54799 #else
54800 # include <assert.h>
54801 #endif
54802
54803 #undef $ac_func
54804
54805 /* Override any gcc2 internal prototype to avoid an error.  */
54806 #ifdef __cplusplus
54807 extern "C"
54808 {
54809 #endif
54810 /* We use char because int might match the return type of a gcc2
54811    builtin and then its argument prototype would still apply.  */
54812 char $ac_func ();
54813 /* The GNU C library defines this for functions which it implements
54814     to always fail with ENOSYS.  Some functions are actually named
54815     something starting with __ and the normal name is an alias.  */
54816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54817 choke me
54818 #else
54819 char (*f) () = $ac_func;
54820 #endif
54821 #ifdef __cplusplus
54822 }
54823 #endif
54824
54825 int
54826 main ()
54827 {
54828 return f != $ac_func;
54829   ;
54830   return 0;
54831 }
54832 _ACEOF
54833 rm -f conftest.$ac_objext conftest$ac_exeext
54834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54835   (eval $ac_link) 2>conftest.er1
54836   ac_status=$?
54837   grep -v '^ *+' conftest.er1 >conftest.err
54838   rm -f conftest.er1
54839   cat conftest.err >&5
54840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54841   (exit $ac_status); } &&
54842          { ac_try='test -z "$ac_c_werror_flag"
54843                          || test ! -s conftest.err'
54844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54845   (eval $ac_try) 2>&5
54846   ac_status=$?
54847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54848   (exit $ac_status); }; } &&
54849          { ac_try='test -s conftest$ac_exeext'
54850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54851   (eval $ac_try) 2>&5
54852   ac_status=$?
54853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54854   (exit $ac_status); }; }; then
54855   eval "$as_ac_var=yes"
54856 else
54857   echo "$as_me: failed program was:" >&5
54858 sed 's/^/| /' conftest.$ac_ext >&5
54859
54860 eval "$as_ac_var=no"
54861 fi
54862 rm -f conftest.err conftest.$ac_objext \
54863       conftest$ac_exeext conftest.$ac_ext
54864 fi
54865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54867 if test `eval echo '${'$as_ac_var'}'` = yes; then
54868   cat >>confdefs.h <<_ACEOF
54869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54870 _ACEOF
54871
54872 fi
54873 done
54874
54875     fi
54876   fi
54877
54878
54879
54880
54881
54882
54883   echo "$as_me:$LINENO: checking for isnan declaration" >&5
54884 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54885   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54886     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54887   echo $ECHO_N "(cached) $ECHO_C" >&6
54888 else
54889
54890
54891
54892       ac_ext=cc
54893 ac_cpp='$CXXCPP $CPPFLAGS'
54894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54897
54898       cat >conftest.$ac_ext <<_ACEOF
54899 /* confdefs.h.  */
54900 _ACEOF
54901 cat confdefs.h >>conftest.$ac_ext
54902 cat >>conftest.$ac_ext <<_ACEOF
54903 /* end confdefs.h.  */
54904 #include <math.h>
54905                       #ifdef HAVE_IEEEFP_H
54906                       #include <ieeefp.h>
54907                       #endif
54908
54909 int
54910 main ()
54911 {
54912  isnan(0);
54913   ;
54914   return 0;
54915 }
54916 _ACEOF
54917 rm -f conftest.$ac_objext
54918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54919   (eval $ac_compile) 2>conftest.er1
54920   ac_status=$?
54921   grep -v '^ *+' conftest.er1 >conftest.err
54922   rm -f conftest.er1
54923   cat conftest.err >&5
54924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54925   (exit $ac_status); } &&
54926          { ac_try='test -z "$ac_cxx_werror_flag"
54927                          || test ! -s conftest.err'
54928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54929   (eval $ac_try) 2>&5
54930   ac_status=$?
54931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54932   (exit $ac_status); }; } &&
54933          { ac_try='test -s conftest.$ac_objext'
54934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54935   (eval $ac_try) 2>&5
54936   ac_status=$?
54937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54938   (exit $ac_status); }; }; then
54939   glibcxx_cv_func_isnan_use=yes
54940 else
54941   echo "$as_me: failed program was:" >&5
54942 sed 's/^/| /' conftest.$ac_ext >&5
54943
54944 glibcxx_cv_func_isnan_use=no
54945 fi
54946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54947       ac_ext=c
54948 ac_cpp='$CPP $CPPFLAGS'
54949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54952
54953
54954 fi
54955
54956   fi
54957   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54958 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54959
54960   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54961
54962 for ac_func in isnan
54963 do
54964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54965 echo "$as_me:$LINENO: checking for $ac_func" >&5
54966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54967 if eval "test \"\${$as_ac_var+set}\" = set"; then
54968   echo $ECHO_N "(cached) $ECHO_C" >&6
54969 else
54970   if test x$gcc_no_link = xyes; then
54971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54973    { (exit 1); exit 1; }; }
54974 fi
54975 cat >conftest.$ac_ext <<_ACEOF
54976 /* confdefs.h.  */
54977 _ACEOF
54978 cat confdefs.h >>conftest.$ac_ext
54979 cat >>conftest.$ac_ext <<_ACEOF
54980 /* end confdefs.h.  */
54981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54983 #define $ac_func innocuous_$ac_func
54984
54985 /* System header to define __stub macros and hopefully few prototypes,
54986     which can conflict with char $ac_func (); below.
54987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54988     <limits.h> exists even on freestanding compilers.  */
54989
54990 #ifdef __STDC__
54991 # include <limits.h>
54992 #else
54993 # include <assert.h>
54994 #endif
54995
54996 #undef $ac_func
54997
54998 /* Override any gcc2 internal prototype to avoid an error.  */
54999 #ifdef __cplusplus
55000 extern "C"
55001 {
55002 #endif
55003 /* We use char because int might match the return type of a gcc2
55004    builtin and then its argument prototype would still apply.  */
55005 char $ac_func ();
55006 /* The GNU C library defines this for functions which it implements
55007     to always fail with ENOSYS.  Some functions are actually named
55008     something starting with __ and the normal name is an alias.  */
55009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55010 choke me
55011 #else
55012 char (*f) () = $ac_func;
55013 #endif
55014 #ifdef __cplusplus
55015 }
55016 #endif
55017
55018 int
55019 main ()
55020 {
55021 return f != $ac_func;
55022   ;
55023   return 0;
55024 }
55025 _ACEOF
55026 rm -f conftest.$ac_objext conftest$ac_exeext
55027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55028   (eval $ac_link) 2>conftest.er1
55029   ac_status=$?
55030   grep -v '^ *+' conftest.er1 >conftest.err
55031   rm -f conftest.er1
55032   cat conftest.err >&5
55033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55034   (exit $ac_status); } &&
55035          { ac_try='test -z "$ac_c_werror_flag"
55036                          || test ! -s conftest.err'
55037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55038   (eval $ac_try) 2>&5
55039   ac_status=$?
55040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55041   (exit $ac_status); }; } &&
55042          { ac_try='test -s conftest$ac_exeext'
55043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55044   (eval $ac_try) 2>&5
55045   ac_status=$?
55046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55047   (exit $ac_status); }; }; then
55048   eval "$as_ac_var=yes"
55049 else
55050   echo "$as_me: failed program was:" >&5
55051 sed 's/^/| /' conftest.$ac_ext >&5
55052
55053 eval "$as_ac_var=no"
55054 fi
55055 rm -f conftest.err conftest.$ac_objext \
55056       conftest$ac_exeext conftest.$ac_ext
55057 fi
55058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55060 if test `eval echo '${'$as_ac_var'}'` = yes; then
55061   cat >>confdefs.h <<_ACEOF
55062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55063 _ACEOF
55064
55065 fi
55066 done
55067
55068   else
55069
55070   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
55071 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
55072   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55073     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
55074   echo $ECHO_N "(cached) $ECHO_C" >&6
55075 else
55076
55077
55078
55079       ac_ext=cc
55080 ac_cpp='$CXXCPP $CPPFLAGS'
55081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55084
55085       cat >conftest.$ac_ext <<_ACEOF
55086 /* confdefs.h.  */
55087 _ACEOF
55088 cat confdefs.h >>conftest.$ac_ext
55089 cat >>conftest.$ac_ext <<_ACEOF
55090 /* end confdefs.h.  */
55091 #include <math.h>
55092                       #ifdef HAVE_IEEEFP_H
55093                       #include <ieeefp.h>
55094                       #endif
55095
55096 int
55097 main ()
55098 {
55099  _isnan(0);
55100   ;
55101   return 0;
55102 }
55103 _ACEOF
55104 rm -f conftest.$ac_objext
55105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55106   (eval $ac_compile) 2>conftest.er1
55107   ac_status=$?
55108   grep -v '^ *+' conftest.er1 >conftest.err
55109   rm -f conftest.er1
55110   cat conftest.err >&5
55111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55112   (exit $ac_status); } &&
55113          { ac_try='test -z "$ac_cxx_werror_flag"
55114                          || test ! -s conftest.err'
55115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55116   (eval $ac_try) 2>&5
55117   ac_status=$?
55118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55119   (exit $ac_status); }; } &&
55120          { ac_try='test -s conftest.$ac_objext'
55121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55122   (eval $ac_try) 2>&5
55123   ac_status=$?
55124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55125   (exit $ac_status); }; }; then
55126   glibcxx_cv_func__isnan_use=yes
55127 else
55128   echo "$as_me: failed program was:" >&5
55129 sed 's/^/| /' conftest.$ac_ext >&5
55130
55131 glibcxx_cv_func__isnan_use=no
55132 fi
55133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55134       ac_ext=c
55135 ac_cpp='$CPP $CPPFLAGS'
55136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55139
55140
55141 fi
55142
55143   fi
55144   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
55145 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
55146
55147     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55148
55149 for ac_func in _isnan
55150 do
55151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55152 echo "$as_me:$LINENO: checking for $ac_func" >&5
55153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55154 if eval "test \"\${$as_ac_var+set}\" = set"; then
55155   echo $ECHO_N "(cached) $ECHO_C" >&6
55156 else
55157   if test x$gcc_no_link = xyes; then
55158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55160    { (exit 1); exit 1; }; }
55161 fi
55162 cat >conftest.$ac_ext <<_ACEOF
55163 /* confdefs.h.  */
55164 _ACEOF
55165 cat confdefs.h >>conftest.$ac_ext
55166 cat >>conftest.$ac_ext <<_ACEOF
55167 /* end confdefs.h.  */
55168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55169    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55170 #define $ac_func innocuous_$ac_func
55171
55172 /* System header to define __stub macros and hopefully few prototypes,
55173     which can conflict with char $ac_func (); below.
55174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55175     <limits.h> exists even on freestanding compilers.  */
55176
55177 #ifdef __STDC__
55178 # include <limits.h>
55179 #else
55180 # include <assert.h>
55181 #endif
55182
55183 #undef $ac_func
55184
55185 /* Override any gcc2 internal prototype to avoid an error.  */
55186 #ifdef __cplusplus
55187 extern "C"
55188 {
55189 #endif
55190 /* We use char because int might match the return type of a gcc2
55191    builtin and then its argument prototype would still apply.  */
55192 char $ac_func ();
55193 /* The GNU C library defines this for functions which it implements
55194     to always fail with ENOSYS.  Some functions are actually named
55195     something starting with __ and the normal name is an alias.  */
55196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55197 choke me
55198 #else
55199 char (*f) () = $ac_func;
55200 #endif
55201 #ifdef __cplusplus
55202 }
55203 #endif
55204
55205 int
55206 main ()
55207 {
55208 return f != $ac_func;
55209   ;
55210   return 0;
55211 }
55212 _ACEOF
55213 rm -f conftest.$ac_objext conftest$ac_exeext
55214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55215   (eval $ac_link) 2>conftest.er1
55216   ac_status=$?
55217   grep -v '^ *+' conftest.er1 >conftest.err
55218   rm -f conftest.er1
55219   cat conftest.err >&5
55220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55221   (exit $ac_status); } &&
55222          { ac_try='test -z "$ac_c_werror_flag"
55223                          || test ! -s conftest.err'
55224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55225   (eval $ac_try) 2>&5
55226   ac_status=$?
55227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55228   (exit $ac_status); }; } &&
55229          { ac_try='test -s conftest$ac_exeext'
55230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55231   (eval $ac_try) 2>&5
55232   ac_status=$?
55233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55234   (exit $ac_status); }; }; then
55235   eval "$as_ac_var=yes"
55236 else
55237   echo "$as_me: failed program was:" >&5
55238 sed 's/^/| /' conftest.$ac_ext >&5
55239
55240 eval "$as_ac_var=no"
55241 fi
55242 rm -f conftest.err conftest.$ac_objext \
55243       conftest$ac_exeext conftest.$ac_ext
55244 fi
55245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55247 if test `eval echo '${'$as_ac_var'}'` = yes; then
55248   cat >>confdefs.h <<_ACEOF
55249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55250 _ACEOF
55251
55252 fi
55253 done
55254
55255     fi
55256   fi
55257
55258
55259
55260
55261
55262
55263   echo "$as_me:$LINENO: checking for finite declaration" >&5
55264 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
55265   if test x${glibcxx_cv_func_finite_use+set} != xset; then
55266     if test "${glibcxx_cv_func_finite_use+set}" = set; then
55267   echo $ECHO_N "(cached) $ECHO_C" >&6
55268 else
55269
55270
55271
55272       ac_ext=cc
55273 ac_cpp='$CXXCPP $CPPFLAGS'
55274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55277
55278       cat >conftest.$ac_ext <<_ACEOF
55279 /* confdefs.h.  */
55280 _ACEOF
55281 cat confdefs.h >>conftest.$ac_ext
55282 cat >>conftest.$ac_ext <<_ACEOF
55283 /* end confdefs.h.  */
55284 #include <math.h>
55285                       #ifdef HAVE_IEEEFP_H
55286                       #include <ieeefp.h>
55287                       #endif
55288
55289 int
55290 main ()
55291 {
55292  finite(0);
55293   ;
55294   return 0;
55295 }
55296 _ACEOF
55297 rm -f conftest.$ac_objext
55298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55299   (eval $ac_compile) 2>conftest.er1
55300   ac_status=$?
55301   grep -v '^ *+' conftest.er1 >conftest.err
55302   rm -f conftest.er1
55303   cat conftest.err >&5
55304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55305   (exit $ac_status); } &&
55306          { ac_try='test -z "$ac_cxx_werror_flag"
55307                          || test ! -s conftest.err'
55308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55309   (eval $ac_try) 2>&5
55310   ac_status=$?
55311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55312   (exit $ac_status); }; } &&
55313          { ac_try='test -s conftest.$ac_objext'
55314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55315   (eval $ac_try) 2>&5
55316   ac_status=$?
55317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55318   (exit $ac_status); }; }; then
55319   glibcxx_cv_func_finite_use=yes
55320 else
55321   echo "$as_me: failed program was:" >&5
55322 sed 's/^/| /' conftest.$ac_ext >&5
55323
55324 glibcxx_cv_func_finite_use=no
55325 fi
55326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55327       ac_ext=c
55328 ac_cpp='$CPP $CPPFLAGS'
55329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55332
55333
55334 fi
55335
55336   fi
55337   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
55338 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
55339
55340   if test x$glibcxx_cv_func_finite_use = x"yes"; then
55341
55342 for ac_func in finite
55343 do
55344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55345 echo "$as_me:$LINENO: checking for $ac_func" >&5
55346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55347 if eval "test \"\${$as_ac_var+set}\" = set"; then
55348   echo $ECHO_N "(cached) $ECHO_C" >&6
55349 else
55350   if test x$gcc_no_link = xyes; then
55351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55353    { (exit 1); exit 1; }; }
55354 fi
55355 cat >conftest.$ac_ext <<_ACEOF
55356 /* confdefs.h.  */
55357 _ACEOF
55358 cat confdefs.h >>conftest.$ac_ext
55359 cat >>conftest.$ac_ext <<_ACEOF
55360 /* end confdefs.h.  */
55361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55363 #define $ac_func innocuous_$ac_func
55364
55365 /* System header to define __stub macros and hopefully few prototypes,
55366     which can conflict with char $ac_func (); below.
55367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55368     <limits.h> exists even on freestanding compilers.  */
55369
55370 #ifdef __STDC__
55371 # include <limits.h>
55372 #else
55373 # include <assert.h>
55374 #endif
55375
55376 #undef $ac_func
55377
55378 /* Override any gcc2 internal prototype to avoid an error.  */
55379 #ifdef __cplusplus
55380 extern "C"
55381 {
55382 #endif
55383 /* We use char because int might match the return type of a gcc2
55384    builtin and then its argument prototype would still apply.  */
55385 char $ac_func ();
55386 /* The GNU C library defines this for functions which it implements
55387     to always fail with ENOSYS.  Some functions are actually named
55388     something starting with __ and the normal name is an alias.  */
55389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55390 choke me
55391 #else
55392 char (*f) () = $ac_func;
55393 #endif
55394 #ifdef __cplusplus
55395 }
55396 #endif
55397
55398 int
55399 main ()
55400 {
55401 return f != $ac_func;
55402   ;
55403   return 0;
55404 }
55405 _ACEOF
55406 rm -f conftest.$ac_objext conftest$ac_exeext
55407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55408   (eval $ac_link) 2>conftest.er1
55409   ac_status=$?
55410   grep -v '^ *+' conftest.er1 >conftest.err
55411   rm -f conftest.er1
55412   cat conftest.err >&5
55413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55414   (exit $ac_status); } &&
55415          { ac_try='test -z "$ac_c_werror_flag"
55416                          || test ! -s conftest.err'
55417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55418   (eval $ac_try) 2>&5
55419   ac_status=$?
55420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55421   (exit $ac_status); }; } &&
55422          { ac_try='test -s conftest$ac_exeext'
55423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55424   (eval $ac_try) 2>&5
55425   ac_status=$?
55426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55427   (exit $ac_status); }; }; then
55428   eval "$as_ac_var=yes"
55429 else
55430   echo "$as_me: failed program was:" >&5
55431 sed 's/^/| /' conftest.$ac_ext >&5
55432
55433 eval "$as_ac_var=no"
55434 fi
55435 rm -f conftest.err conftest.$ac_objext \
55436       conftest$ac_exeext conftest.$ac_ext
55437 fi
55438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55440 if test `eval echo '${'$as_ac_var'}'` = yes; then
55441   cat >>confdefs.h <<_ACEOF
55442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55443 _ACEOF
55444
55445 fi
55446 done
55447
55448   else
55449
55450   echo "$as_me:$LINENO: checking for _finite declaration" >&5
55451 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
55452   if test x${glibcxx_cv_func__finite_use+set} != xset; then
55453     if test "${glibcxx_cv_func__finite_use+set}" = set; then
55454   echo $ECHO_N "(cached) $ECHO_C" >&6
55455 else
55456
55457
55458
55459       ac_ext=cc
55460 ac_cpp='$CXXCPP $CPPFLAGS'
55461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55464
55465       cat >conftest.$ac_ext <<_ACEOF
55466 /* confdefs.h.  */
55467 _ACEOF
55468 cat confdefs.h >>conftest.$ac_ext
55469 cat >>conftest.$ac_ext <<_ACEOF
55470 /* end confdefs.h.  */
55471 #include <math.h>
55472                       #ifdef HAVE_IEEEFP_H
55473                       #include <ieeefp.h>
55474                       #endif
55475
55476 int
55477 main ()
55478 {
55479  _finite(0);
55480   ;
55481   return 0;
55482 }
55483 _ACEOF
55484 rm -f conftest.$ac_objext
55485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55486   (eval $ac_compile) 2>conftest.er1
55487   ac_status=$?
55488   grep -v '^ *+' conftest.er1 >conftest.err
55489   rm -f conftest.er1
55490   cat conftest.err >&5
55491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55492   (exit $ac_status); } &&
55493          { ac_try='test -z "$ac_cxx_werror_flag"
55494                          || test ! -s conftest.err'
55495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55496   (eval $ac_try) 2>&5
55497   ac_status=$?
55498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55499   (exit $ac_status); }; } &&
55500          { ac_try='test -s conftest.$ac_objext'
55501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55502   (eval $ac_try) 2>&5
55503   ac_status=$?
55504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55505   (exit $ac_status); }; }; then
55506   glibcxx_cv_func__finite_use=yes
55507 else
55508   echo "$as_me: failed program was:" >&5
55509 sed 's/^/| /' conftest.$ac_ext >&5
55510
55511 glibcxx_cv_func__finite_use=no
55512 fi
55513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55514       ac_ext=c
55515 ac_cpp='$CPP $CPPFLAGS'
55516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55519
55520
55521 fi
55522
55523   fi
55524   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55525 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55526
55527     if test x$glibcxx_cv_func__finite_use = x"yes"; then
55528
55529 for ac_func in _finite
55530 do
55531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55532 echo "$as_me:$LINENO: checking for $ac_func" >&5
55533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55534 if eval "test \"\${$as_ac_var+set}\" = set"; then
55535   echo $ECHO_N "(cached) $ECHO_C" >&6
55536 else
55537   if test x$gcc_no_link = xyes; then
55538   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55540    { (exit 1); exit 1; }; }
55541 fi
55542 cat >conftest.$ac_ext <<_ACEOF
55543 /* confdefs.h.  */
55544 _ACEOF
55545 cat confdefs.h >>conftest.$ac_ext
55546 cat >>conftest.$ac_ext <<_ACEOF
55547 /* end confdefs.h.  */
55548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55549    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55550 #define $ac_func innocuous_$ac_func
55551
55552 /* System header to define __stub macros and hopefully few prototypes,
55553     which can conflict with char $ac_func (); below.
55554     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55555     <limits.h> exists even on freestanding compilers.  */
55556
55557 #ifdef __STDC__
55558 # include <limits.h>
55559 #else
55560 # include <assert.h>
55561 #endif
55562
55563 #undef $ac_func
55564
55565 /* Override any gcc2 internal prototype to avoid an error.  */
55566 #ifdef __cplusplus
55567 extern "C"
55568 {
55569 #endif
55570 /* We use char because int might match the return type of a gcc2
55571    builtin and then its argument prototype would still apply.  */
55572 char $ac_func ();
55573 /* The GNU C library defines this for functions which it implements
55574     to always fail with ENOSYS.  Some functions are actually named
55575     something starting with __ and the normal name is an alias.  */
55576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55577 choke me
55578 #else
55579 char (*f) () = $ac_func;
55580 #endif
55581 #ifdef __cplusplus
55582 }
55583 #endif
55584
55585 int
55586 main ()
55587 {
55588 return f != $ac_func;
55589   ;
55590   return 0;
55591 }
55592 _ACEOF
55593 rm -f conftest.$ac_objext conftest$ac_exeext
55594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55595   (eval $ac_link) 2>conftest.er1
55596   ac_status=$?
55597   grep -v '^ *+' conftest.er1 >conftest.err
55598   rm -f conftest.er1
55599   cat conftest.err >&5
55600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55601   (exit $ac_status); } &&
55602          { ac_try='test -z "$ac_c_werror_flag"
55603                          || test ! -s conftest.err'
55604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55605   (eval $ac_try) 2>&5
55606   ac_status=$?
55607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55608   (exit $ac_status); }; } &&
55609          { ac_try='test -s conftest$ac_exeext'
55610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55611   (eval $ac_try) 2>&5
55612   ac_status=$?
55613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55614   (exit $ac_status); }; }; then
55615   eval "$as_ac_var=yes"
55616 else
55617   echo "$as_me: failed program was:" >&5
55618 sed 's/^/| /' conftest.$ac_ext >&5
55619
55620 eval "$as_ac_var=no"
55621 fi
55622 rm -f conftest.err conftest.$ac_objext \
55623       conftest$ac_exeext conftest.$ac_ext
55624 fi
55625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55627 if test `eval echo '${'$as_ac_var'}'` = yes; then
55628   cat >>confdefs.h <<_ACEOF
55629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55630 _ACEOF
55631
55632 fi
55633 done
55634
55635     fi
55636   fi
55637
55638
55639
55640
55641
55642
55643   echo "$as_me:$LINENO: checking for copysign declaration" >&5
55644 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55645   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55646     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55647   echo $ECHO_N "(cached) $ECHO_C" >&6
55648 else
55649
55650
55651
55652       ac_ext=cc
55653 ac_cpp='$CXXCPP $CPPFLAGS'
55654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55657
55658       cat >conftest.$ac_ext <<_ACEOF
55659 /* confdefs.h.  */
55660 _ACEOF
55661 cat confdefs.h >>conftest.$ac_ext
55662 cat >>conftest.$ac_ext <<_ACEOF
55663 /* end confdefs.h.  */
55664 #include <math.h>
55665 int
55666 main ()
55667 {
55668  copysign(0, 0);
55669   ;
55670   return 0;
55671 }
55672 _ACEOF
55673 rm -f conftest.$ac_objext
55674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55675   (eval $ac_compile) 2>conftest.er1
55676   ac_status=$?
55677   grep -v '^ *+' conftest.er1 >conftest.err
55678   rm -f conftest.er1
55679   cat conftest.err >&5
55680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55681   (exit $ac_status); } &&
55682          { ac_try='test -z "$ac_cxx_werror_flag"
55683                          || test ! -s conftest.err'
55684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55685   (eval $ac_try) 2>&5
55686   ac_status=$?
55687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55688   (exit $ac_status); }; } &&
55689          { ac_try='test -s conftest.$ac_objext'
55690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55691   (eval $ac_try) 2>&5
55692   ac_status=$?
55693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55694   (exit $ac_status); }; }; then
55695   glibcxx_cv_func_copysign_use=yes
55696 else
55697   echo "$as_me: failed program was:" >&5
55698 sed 's/^/| /' conftest.$ac_ext >&5
55699
55700 glibcxx_cv_func_copysign_use=no
55701 fi
55702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55703       ac_ext=c
55704 ac_cpp='$CPP $CPPFLAGS'
55705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55708
55709
55710 fi
55711
55712   fi
55713   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55714 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55715
55716   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55717
55718 for ac_func in copysign
55719 do
55720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55721 echo "$as_me:$LINENO: checking for $ac_func" >&5
55722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55723 if eval "test \"\${$as_ac_var+set}\" = set"; then
55724   echo $ECHO_N "(cached) $ECHO_C" >&6
55725 else
55726   if test x$gcc_no_link = xyes; then
55727   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55729    { (exit 1); exit 1; }; }
55730 fi
55731 cat >conftest.$ac_ext <<_ACEOF
55732 /* confdefs.h.  */
55733 _ACEOF
55734 cat confdefs.h >>conftest.$ac_ext
55735 cat >>conftest.$ac_ext <<_ACEOF
55736 /* end confdefs.h.  */
55737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55738    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55739 #define $ac_func innocuous_$ac_func
55740
55741 /* System header to define __stub macros and hopefully few prototypes,
55742     which can conflict with char $ac_func (); below.
55743     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55744     <limits.h> exists even on freestanding compilers.  */
55745
55746 #ifdef __STDC__
55747 # include <limits.h>
55748 #else
55749 # include <assert.h>
55750 #endif
55751
55752 #undef $ac_func
55753
55754 /* Override any gcc2 internal prototype to avoid an error.  */
55755 #ifdef __cplusplus
55756 extern "C"
55757 {
55758 #endif
55759 /* We use char because int might match the return type of a gcc2
55760    builtin and then its argument prototype would still apply.  */
55761 char $ac_func ();
55762 /* The GNU C library defines this for functions which it implements
55763     to always fail with ENOSYS.  Some functions are actually named
55764     something starting with __ and the normal name is an alias.  */
55765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55766 choke me
55767 #else
55768 char (*f) () = $ac_func;
55769 #endif
55770 #ifdef __cplusplus
55771 }
55772 #endif
55773
55774 int
55775 main ()
55776 {
55777 return f != $ac_func;
55778   ;
55779   return 0;
55780 }
55781 _ACEOF
55782 rm -f conftest.$ac_objext conftest$ac_exeext
55783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55784   (eval $ac_link) 2>conftest.er1
55785   ac_status=$?
55786   grep -v '^ *+' conftest.er1 >conftest.err
55787   rm -f conftest.er1
55788   cat conftest.err >&5
55789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55790   (exit $ac_status); } &&
55791          { ac_try='test -z "$ac_c_werror_flag"
55792                          || test ! -s conftest.err'
55793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55794   (eval $ac_try) 2>&5
55795   ac_status=$?
55796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55797   (exit $ac_status); }; } &&
55798          { ac_try='test -s conftest$ac_exeext'
55799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55800   (eval $ac_try) 2>&5
55801   ac_status=$?
55802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55803   (exit $ac_status); }; }; then
55804   eval "$as_ac_var=yes"
55805 else
55806   echo "$as_me: failed program was:" >&5
55807 sed 's/^/| /' conftest.$ac_ext >&5
55808
55809 eval "$as_ac_var=no"
55810 fi
55811 rm -f conftest.err conftest.$ac_objext \
55812       conftest$ac_exeext conftest.$ac_ext
55813 fi
55814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55816 if test `eval echo '${'$as_ac_var'}'` = yes; then
55817   cat >>confdefs.h <<_ACEOF
55818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55819 _ACEOF
55820
55821 fi
55822 done
55823
55824   else
55825
55826   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55827 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55828   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55829     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55830   echo $ECHO_N "(cached) $ECHO_C" >&6
55831 else
55832
55833
55834
55835       ac_ext=cc
55836 ac_cpp='$CXXCPP $CPPFLAGS'
55837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55840
55841       cat >conftest.$ac_ext <<_ACEOF
55842 /* confdefs.h.  */
55843 _ACEOF
55844 cat confdefs.h >>conftest.$ac_ext
55845 cat >>conftest.$ac_ext <<_ACEOF
55846 /* end confdefs.h.  */
55847 #include <math.h>
55848 int
55849 main ()
55850 {
55851  _copysign(0, 0);
55852   ;
55853   return 0;
55854 }
55855 _ACEOF
55856 rm -f conftest.$ac_objext
55857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55858   (eval $ac_compile) 2>conftest.er1
55859   ac_status=$?
55860   grep -v '^ *+' conftest.er1 >conftest.err
55861   rm -f conftest.er1
55862   cat conftest.err >&5
55863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55864   (exit $ac_status); } &&
55865          { ac_try='test -z "$ac_cxx_werror_flag"
55866                          || test ! -s conftest.err'
55867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55868   (eval $ac_try) 2>&5
55869   ac_status=$?
55870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55871   (exit $ac_status); }; } &&
55872          { ac_try='test -s conftest.$ac_objext'
55873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55874   (eval $ac_try) 2>&5
55875   ac_status=$?
55876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55877   (exit $ac_status); }; }; then
55878   glibcxx_cv_func__copysign_use=yes
55879 else
55880   echo "$as_me: failed program was:" >&5
55881 sed 's/^/| /' conftest.$ac_ext >&5
55882
55883 glibcxx_cv_func__copysign_use=no
55884 fi
55885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55886       ac_ext=c
55887 ac_cpp='$CPP $CPPFLAGS'
55888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55891
55892
55893 fi
55894
55895   fi
55896   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55897 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55898
55899     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55900
55901 for ac_func in _copysign
55902 do
55903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55904 echo "$as_me:$LINENO: checking for $ac_func" >&5
55905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55906 if eval "test \"\${$as_ac_var+set}\" = set"; then
55907   echo $ECHO_N "(cached) $ECHO_C" >&6
55908 else
55909   if test x$gcc_no_link = xyes; then
55910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55912    { (exit 1); exit 1; }; }
55913 fi
55914 cat >conftest.$ac_ext <<_ACEOF
55915 /* confdefs.h.  */
55916 _ACEOF
55917 cat confdefs.h >>conftest.$ac_ext
55918 cat >>conftest.$ac_ext <<_ACEOF
55919 /* end confdefs.h.  */
55920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55922 #define $ac_func innocuous_$ac_func
55923
55924 /* System header to define __stub macros and hopefully few prototypes,
55925     which can conflict with char $ac_func (); below.
55926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55927     <limits.h> exists even on freestanding compilers.  */
55928
55929 #ifdef __STDC__
55930 # include <limits.h>
55931 #else
55932 # include <assert.h>
55933 #endif
55934
55935 #undef $ac_func
55936
55937 /* Override any gcc2 internal prototype to avoid an error.  */
55938 #ifdef __cplusplus
55939 extern "C"
55940 {
55941 #endif
55942 /* We use char because int might match the return type of a gcc2
55943    builtin and then its argument prototype would still apply.  */
55944 char $ac_func ();
55945 /* The GNU C library defines this for functions which it implements
55946     to always fail with ENOSYS.  Some functions are actually named
55947     something starting with __ and the normal name is an alias.  */
55948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55949 choke me
55950 #else
55951 char (*f) () = $ac_func;
55952 #endif
55953 #ifdef __cplusplus
55954 }
55955 #endif
55956
55957 int
55958 main ()
55959 {
55960 return f != $ac_func;
55961   ;
55962   return 0;
55963 }
55964 _ACEOF
55965 rm -f conftest.$ac_objext conftest$ac_exeext
55966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55967   (eval $ac_link) 2>conftest.er1
55968   ac_status=$?
55969   grep -v '^ *+' conftest.er1 >conftest.err
55970   rm -f conftest.er1
55971   cat conftest.err >&5
55972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55973   (exit $ac_status); } &&
55974          { ac_try='test -z "$ac_c_werror_flag"
55975                          || test ! -s conftest.err'
55976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55977   (eval $ac_try) 2>&5
55978   ac_status=$?
55979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55980   (exit $ac_status); }; } &&
55981          { ac_try='test -s conftest$ac_exeext'
55982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55983   (eval $ac_try) 2>&5
55984   ac_status=$?
55985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55986   (exit $ac_status); }; }; then
55987   eval "$as_ac_var=yes"
55988 else
55989   echo "$as_me: failed program was:" >&5
55990 sed 's/^/| /' conftest.$ac_ext >&5
55991
55992 eval "$as_ac_var=no"
55993 fi
55994 rm -f conftest.err conftest.$ac_objext \
55995       conftest$ac_exeext conftest.$ac_ext
55996 fi
55997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55999 if test `eval echo '${'$as_ac_var'}'` = yes; then
56000   cat >>confdefs.h <<_ACEOF
56001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56002 _ACEOF
56003
56004 fi
56005 done
56006
56007     fi
56008   fi
56009
56010
56011
56012
56013
56014
56015   echo "$as_me:$LINENO: checking for sincos declaration" >&5
56016 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
56017   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
56018     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
56019   echo $ECHO_N "(cached) $ECHO_C" >&6
56020 else
56021
56022
56023
56024       ac_ext=cc
56025 ac_cpp='$CXXCPP $CPPFLAGS'
56026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56029
56030       cat >conftest.$ac_ext <<_ACEOF
56031 /* confdefs.h.  */
56032 _ACEOF
56033 cat confdefs.h >>conftest.$ac_ext
56034 cat >>conftest.$ac_ext <<_ACEOF
56035 /* end confdefs.h.  */
56036 #include <math.h>
56037 int
56038 main ()
56039 {
56040  sincos(0, 0, 0);
56041   ;
56042   return 0;
56043 }
56044 _ACEOF
56045 rm -f conftest.$ac_objext
56046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56047   (eval $ac_compile) 2>conftest.er1
56048   ac_status=$?
56049   grep -v '^ *+' conftest.er1 >conftest.err
56050   rm -f conftest.er1
56051   cat conftest.err >&5
56052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56053   (exit $ac_status); } &&
56054          { ac_try='test -z "$ac_cxx_werror_flag"
56055                          || test ! -s conftest.err'
56056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56057   (eval $ac_try) 2>&5
56058   ac_status=$?
56059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56060   (exit $ac_status); }; } &&
56061          { ac_try='test -s conftest.$ac_objext'
56062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56063   (eval $ac_try) 2>&5
56064   ac_status=$?
56065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56066   (exit $ac_status); }; }; then
56067   glibcxx_cv_func_sincos_use=yes
56068 else
56069   echo "$as_me: failed program was:" >&5
56070 sed 's/^/| /' conftest.$ac_ext >&5
56071
56072 glibcxx_cv_func_sincos_use=no
56073 fi
56074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56075       ac_ext=c
56076 ac_cpp='$CPP $CPPFLAGS'
56077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56080
56081
56082 fi
56083
56084   fi
56085   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
56086 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
56087
56088   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56089
56090 for ac_func in sincos
56091 do
56092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56093 echo "$as_me:$LINENO: checking for $ac_func" >&5
56094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56095 if eval "test \"\${$as_ac_var+set}\" = set"; then
56096   echo $ECHO_N "(cached) $ECHO_C" >&6
56097 else
56098   if test x$gcc_no_link = xyes; then
56099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56101    { (exit 1); exit 1; }; }
56102 fi
56103 cat >conftest.$ac_ext <<_ACEOF
56104 /* confdefs.h.  */
56105 _ACEOF
56106 cat confdefs.h >>conftest.$ac_ext
56107 cat >>conftest.$ac_ext <<_ACEOF
56108 /* end confdefs.h.  */
56109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56111 #define $ac_func innocuous_$ac_func
56112
56113 /* System header to define __stub macros and hopefully few prototypes,
56114     which can conflict with char $ac_func (); below.
56115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56116     <limits.h> exists even on freestanding compilers.  */
56117
56118 #ifdef __STDC__
56119 # include <limits.h>
56120 #else
56121 # include <assert.h>
56122 #endif
56123
56124 #undef $ac_func
56125
56126 /* Override any gcc2 internal prototype to avoid an error.  */
56127 #ifdef __cplusplus
56128 extern "C"
56129 {
56130 #endif
56131 /* We use char because int might match the return type of a gcc2
56132    builtin and then its argument prototype would still apply.  */
56133 char $ac_func ();
56134 /* The GNU C library defines this for functions which it implements
56135     to always fail with ENOSYS.  Some functions are actually named
56136     something starting with __ and the normal name is an alias.  */
56137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56138 choke me
56139 #else
56140 char (*f) () = $ac_func;
56141 #endif
56142 #ifdef __cplusplus
56143 }
56144 #endif
56145
56146 int
56147 main ()
56148 {
56149 return f != $ac_func;
56150   ;
56151   return 0;
56152 }
56153 _ACEOF
56154 rm -f conftest.$ac_objext conftest$ac_exeext
56155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56156   (eval $ac_link) 2>conftest.er1
56157   ac_status=$?
56158   grep -v '^ *+' conftest.er1 >conftest.err
56159   rm -f conftest.er1
56160   cat conftest.err >&5
56161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56162   (exit $ac_status); } &&
56163          { ac_try='test -z "$ac_c_werror_flag"
56164                          || test ! -s conftest.err'
56165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56166   (eval $ac_try) 2>&5
56167   ac_status=$?
56168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56169   (exit $ac_status); }; } &&
56170          { ac_try='test -s conftest$ac_exeext'
56171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56172   (eval $ac_try) 2>&5
56173   ac_status=$?
56174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56175   (exit $ac_status); }; }; then
56176   eval "$as_ac_var=yes"
56177 else
56178   echo "$as_me: failed program was:" >&5
56179 sed 's/^/| /' conftest.$ac_ext >&5
56180
56181 eval "$as_ac_var=no"
56182 fi
56183 rm -f conftest.err conftest.$ac_objext \
56184       conftest$ac_exeext conftest.$ac_ext
56185 fi
56186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56188 if test `eval echo '${'$as_ac_var'}'` = yes; then
56189   cat >>confdefs.h <<_ACEOF
56190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56191 _ACEOF
56192
56193 fi
56194 done
56195
56196   else
56197
56198   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
56199 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
56200   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56201     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
56202   echo $ECHO_N "(cached) $ECHO_C" >&6
56203 else
56204
56205
56206
56207       ac_ext=cc
56208 ac_cpp='$CXXCPP $CPPFLAGS'
56209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56212
56213       cat >conftest.$ac_ext <<_ACEOF
56214 /* confdefs.h.  */
56215 _ACEOF
56216 cat confdefs.h >>conftest.$ac_ext
56217 cat >>conftest.$ac_ext <<_ACEOF
56218 /* end confdefs.h.  */
56219 #include <math.h>
56220 int
56221 main ()
56222 {
56223  _sincos(0, 0, 0);
56224   ;
56225   return 0;
56226 }
56227 _ACEOF
56228 rm -f conftest.$ac_objext
56229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56230   (eval $ac_compile) 2>conftest.er1
56231   ac_status=$?
56232   grep -v '^ *+' conftest.er1 >conftest.err
56233   rm -f conftest.er1
56234   cat conftest.err >&5
56235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56236   (exit $ac_status); } &&
56237          { ac_try='test -z "$ac_cxx_werror_flag"
56238                          || test ! -s conftest.err'
56239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56240   (eval $ac_try) 2>&5
56241   ac_status=$?
56242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56243   (exit $ac_status); }; } &&
56244          { ac_try='test -s conftest.$ac_objext'
56245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56246   (eval $ac_try) 2>&5
56247   ac_status=$?
56248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56249   (exit $ac_status); }; }; then
56250   glibcxx_cv_func__sincos_use=yes
56251 else
56252   echo "$as_me: failed program was:" >&5
56253 sed 's/^/| /' conftest.$ac_ext >&5
56254
56255 glibcxx_cv_func__sincos_use=no
56256 fi
56257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56258       ac_ext=c
56259 ac_cpp='$CPP $CPPFLAGS'
56260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56263
56264
56265 fi
56266
56267   fi
56268   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
56269 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
56270
56271     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56272
56273 for ac_func in _sincos
56274 do
56275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56276 echo "$as_me:$LINENO: checking for $ac_func" >&5
56277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56278 if eval "test \"\${$as_ac_var+set}\" = set"; then
56279   echo $ECHO_N "(cached) $ECHO_C" >&6
56280 else
56281   if test x$gcc_no_link = xyes; then
56282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56284    { (exit 1); exit 1; }; }
56285 fi
56286 cat >conftest.$ac_ext <<_ACEOF
56287 /* confdefs.h.  */
56288 _ACEOF
56289 cat confdefs.h >>conftest.$ac_ext
56290 cat >>conftest.$ac_ext <<_ACEOF
56291 /* end confdefs.h.  */
56292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56293    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56294 #define $ac_func innocuous_$ac_func
56295
56296 /* System header to define __stub macros and hopefully few prototypes,
56297     which can conflict with char $ac_func (); below.
56298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56299     <limits.h> exists even on freestanding compilers.  */
56300
56301 #ifdef __STDC__
56302 # include <limits.h>
56303 #else
56304 # include <assert.h>
56305 #endif
56306
56307 #undef $ac_func
56308
56309 /* Override any gcc2 internal prototype to avoid an error.  */
56310 #ifdef __cplusplus
56311 extern "C"
56312 {
56313 #endif
56314 /* We use char because int might match the return type of a gcc2
56315    builtin and then its argument prototype would still apply.  */
56316 char $ac_func ();
56317 /* The GNU C library defines this for functions which it implements
56318     to always fail with ENOSYS.  Some functions are actually named
56319     something starting with __ and the normal name is an alias.  */
56320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56321 choke me
56322 #else
56323 char (*f) () = $ac_func;
56324 #endif
56325 #ifdef __cplusplus
56326 }
56327 #endif
56328
56329 int
56330 main ()
56331 {
56332 return f != $ac_func;
56333   ;
56334   return 0;
56335 }
56336 _ACEOF
56337 rm -f conftest.$ac_objext conftest$ac_exeext
56338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56339   (eval $ac_link) 2>conftest.er1
56340   ac_status=$?
56341   grep -v '^ *+' conftest.er1 >conftest.err
56342   rm -f conftest.er1
56343   cat conftest.err >&5
56344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56345   (exit $ac_status); } &&
56346          { ac_try='test -z "$ac_c_werror_flag"
56347                          || test ! -s conftest.err'
56348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56349   (eval $ac_try) 2>&5
56350   ac_status=$?
56351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56352   (exit $ac_status); }; } &&
56353          { ac_try='test -s conftest$ac_exeext'
56354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56355   (eval $ac_try) 2>&5
56356   ac_status=$?
56357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56358   (exit $ac_status); }; }; then
56359   eval "$as_ac_var=yes"
56360 else
56361   echo "$as_me: failed program was:" >&5
56362 sed 's/^/| /' conftest.$ac_ext >&5
56363
56364 eval "$as_ac_var=no"
56365 fi
56366 rm -f conftest.err conftest.$ac_objext \
56367       conftest$ac_exeext conftest.$ac_ext
56368 fi
56369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56371 if test `eval echo '${'$as_ac_var'}'` = yes; then
56372   cat >>confdefs.h <<_ACEOF
56373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56374 _ACEOF
56375
56376 fi
56377 done
56378
56379     fi
56380   fi
56381
56382
56383
56384
56385
56386
56387   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
56388 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
56389   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56390     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
56391   echo $ECHO_N "(cached) $ECHO_C" >&6
56392 else
56393
56394
56395
56396       ac_ext=cc
56397 ac_cpp='$CXXCPP $CPPFLAGS'
56398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56401
56402       cat >conftest.$ac_ext <<_ACEOF
56403 /* confdefs.h.  */
56404 _ACEOF
56405 cat confdefs.h >>conftest.$ac_ext
56406 cat >>conftest.$ac_ext <<_ACEOF
56407 /* end confdefs.h.  */
56408 #include <math.h>
56409                       #ifdef HAVE_IEEEFP_H
56410                       #include <ieeefp.h>
56411                       #endif
56412
56413 int
56414 main ()
56415 {
56416  fpclass(0);
56417   ;
56418   return 0;
56419 }
56420 _ACEOF
56421 rm -f conftest.$ac_objext
56422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56423   (eval $ac_compile) 2>conftest.er1
56424   ac_status=$?
56425   grep -v '^ *+' conftest.er1 >conftest.err
56426   rm -f conftest.er1
56427   cat conftest.err >&5
56428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56429   (exit $ac_status); } &&
56430          { ac_try='test -z "$ac_cxx_werror_flag"
56431                          || test ! -s conftest.err'
56432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56433   (eval $ac_try) 2>&5
56434   ac_status=$?
56435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56436   (exit $ac_status); }; } &&
56437          { ac_try='test -s conftest.$ac_objext'
56438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56439   (eval $ac_try) 2>&5
56440   ac_status=$?
56441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56442   (exit $ac_status); }; }; then
56443   glibcxx_cv_func_fpclass_use=yes
56444 else
56445   echo "$as_me: failed program was:" >&5
56446 sed 's/^/| /' conftest.$ac_ext >&5
56447
56448 glibcxx_cv_func_fpclass_use=no
56449 fi
56450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56451       ac_ext=c
56452 ac_cpp='$CPP $CPPFLAGS'
56453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56456
56457
56458 fi
56459
56460   fi
56461   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
56462 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
56463
56464   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56465
56466 for ac_func in fpclass
56467 do
56468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56469 echo "$as_me:$LINENO: checking for $ac_func" >&5
56470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56471 if eval "test \"\${$as_ac_var+set}\" = set"; then
56472   echo $ECHO_N "(cached) $ECHO_C" >&6
56473 else
56474   if test x$gcc_no_link = xyes; then
56475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56477    { (exit 1); exit 1; }; }
56478 fi
56479 cat >conftest.$ac_ext <<_ACEOF
56480 /* confdefs.h.  */
56481 _ACEOF
56482 cat confdefs.h >>conftest.$ac_ext
56483 cat >>conftest.$ac_ext <<_ACEOF
56484 /* end confdefs.h.  */
56485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56486    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56487 #define $ac_func innocuous_$ac_func
56488
56489 /* System header to define __stub macros and hopefully few prototypes,
56490     which can conflict with char $ac_func (); below.
56491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56492     <limits.h> exists even on freestanding compilers.  */
56493
56494 #ifdef __STDC__
56495 # include <limits.h>
56496 #else
56497 # include <assert.h>
56498 #endif
56499
56500 #undef $ac_func
56501
56502 /* Override any gcc2 internal prototype to avoid an error.  */
56503 #ifdef __cplusplus
56504 extern "C"
56505 {
56506 #endif
56507 /* We use char because int might match the return type of a gcc2
56508    builtin and then its argument prototype would still apply.  */
56509 char $ac_func ();
56510 /* The GNU C library defines this for functions which it implements
56511     to always fail with ENOSYS.  Some functions are actually named
56512     something starting with __ and the normal name is an alias.  */
56513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56514 choke me
56515 #else
56516 char (*f) () = $ac_func;
56517 #endif
56518 #ifdef __cplusplus
56519 }
56520 #endif
56521
56522 int
56523 main ()
56524 {
56525 return f != $ac_func;
56526   ;
56527   return 0;
56528 }
56529 _ACEOF
56530 rm -f conftest.$ac_objext conftest$ac_exeext
56531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56532   (eval $ac_link) 2>conftest.er1
56533   ac_status=$?
56534   grep -v '^ *+' conftest.er1 >conftest.err
56535   rm -f conftest.er1
56536   cat conftest.err >&5
56537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56538   (exit $ac_status); } &&
56539          { ac_try='test -z "$ac_c_werror_flag"
56540                          || test ! -s conftest.err'
56541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56542   (eval $ac_try) 2>&5
56543   ac_status=$?
56544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56545   (exit $ac_status); }; } &&
56546          { ac_try='test -s conftest$ac_exeext'
56547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56548   (eval $ac_try) 2>&5
56549   ac_status=$?
56550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56551   (exit $ac_status); }; }; then
56552   eval "$as_ac_var=yes"
56553 else
56554   echo "$as_me: failed program was:" >&5
56555 sed 's/^/| /' conftest.$ac_ext >&5
56556
56557 eval "$as_ac_var=no"
56558 fi
56559 rm -f conftest.err conftest.$ac_objext \
56560       conftest$ac_exeext conftest.$ac_ext
56561 fi
56562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56564 if test `eval echo '${'$as_ac_var'}'` = yes; then
56565   cat >>confdefs.h <<_ACEOF
56566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56567 _ACEOF
56568
56569 fi
56570 done
56571
56572   else
56573
56574   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56575 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56576   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56577     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56578   echo $ECHO_N "(cached) $ECHO_C" >&6
56579 else
56580
56581
56582
56583       ac_ext=cc
56584 ac_cpp='$CXXCPP $CPPFLAGS'
56585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56588
56589       cat >conftest.$ac_ext <<_ACEOF
56590 /* confdefs.h.  */
56591 _ACEOF
56592 cat confdefs.h >>conftest.$ac_ext
56593 cat >>conftest.$ac_ext <<_ACEOF
56594 /* end confdefs.h.  */
56595 #include <math.h>
56596                       #ifdef HAVE_IEEEFP_H
56597                       #include <ieeefp.h>
56598                       #endif
56599
56600 int
56601 main ()
56602 {
56603  _fpclass(0);
56604   ;
56605   return 0;
56606 }
56607 _ACEOF
56608 rm -f conftest.$ac_objext
56609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56610   (eval $ac_compile) 2>conftest.er1
56611   ac_status=$?
56612   grep -v '^ *+' conftest.er1 >conftest.err
56613   rm -f conftest.er1
56614   cat conftest.err >&5
56615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56616   (exit $ac_status); } &&
56617          { ac_try='test -z "$ac_cxx_werror_flag"
56618                          || test ! -s conftest.err'
56619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56620   (eval $ac_try) 2>&5
56621   ac_status=$?
56622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56623   (exit $ac_status); }; } &&
56624          { ac_try='test -s conftest.$ac_objext'
56625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56626   (eval $ac_try) 2>&5
56627   ac_status=$?
56628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56629   (exit $ac_status); }; }; then
56630   glibcxx_cv_func__fpclass_use=yes
56631 else
56632   echo "$as_me: failed program was:" >&5
56633 sed 's/^/| /' conftest.$ac_ext >&5
56634
56635 glibcxx_cv_func__fpclass_use=no
56636 fi
56637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56638       ac_ext=c
56639 ac_cpp='$CPP $CPPFLAGS'
56640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56643
56644
56645 fi
56646
56647   fi
56648   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56649 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56650
56651     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56652
56653 for ac_func in _fpclass
56654 do
56655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56656 echo "$as_me:$LINENO: checking for $ac_func" >&5
56657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56658 if eval "test \"\${$as_ac_var+set}\" = set"; then
56659   echo $ECHO_N "(cached) $ECHO_C" >&6
56660 else
56661   if test x$gcc_no_link = xyes; then
56662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56664    { (exit 1); exit 1; }; }
56665 fi
56666 cat >conftest.$ac_ext <<_ACEOF
56667 /* confdefs.h.  */
56668 _ACEOF
56669 cat confdefs.h >>conftest.$ac_ext
56670 cat >>conftest.$ac_ext <<_ACEOF
56671 /* end confdefs.h.  */
56672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56674 #define $ac_func innocuous_$ac_func
56675
56676 /* System header to define __stub macros and hopefully few prototypes,
56677     which can conflict with char $ac_func (); below.
56678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56679     <limits.h> exists even on freestanding compilers.  */
56680
56681 #ifdef __STDC__
56682 # include <limits.h>
56683 #else
56684 # include <assert.h>
56685 #endif
56686
56687 #undef $ac_func
56688
56689 /* Override any gcc2 internal prototype to avoid an error.  */
56690 #ifdef __cplusplus
56691 extern "C"
56692 {
56693 #endif
56694 /* We use char because int might match the return type of a gcc2
56695    builtin and then its argument prototype would still apply.  */
56696 char $ac_func ();
56697 /* The GNU C library defines this for functions which it implements
56698     to always fail with ENOSYS.  Some functions are actually named
56699     something starting with __ and the normal name is an alias.  */
56700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56701 choke me
56702 #else
56703 char (*f) () = $ac_func;
56704 #endif
56705 #ifdef __cplusplus
56706 }
56707 #endif
56708
56709 int
56710 main ()
56711 {
56712 return f != $ac_func;
56713   ;
56714   return 0;
56715 }
56716 _ACEOF
56717 rm -f conftest.$ac_objext conftest$ac_exeext
56718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56719   (eval $ac_link) 2>conftest.er1
56720   ac_status=$?
56721   grep -v '^ *+' conftest.er1 >conftest.err
56722   rm -f conftest.er1
56723   cat conftest.err >&5
56724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56725   (exit $ac_status); } &&
56726          { ac_try='test -z "$ac_c_werror_flag"
56727                          || test ! -s conftest.err'
56728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56729   (eval $ac_try) 2>&5
56730   ac_status=$?
56731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56732   (exit $ac_status); }; } &&
56733          { ac_try='test -s conftest$ac_exeext'
56734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56735   (eval $ac_try) 2>&5
56736   ac_status=$?
56737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56738   (exit $ac_status); }; }; then
56739   eval "$as_ac_var=yes"
56740 else
56741   echo "$as_me: failed program was:" >&5
56742 sed 's/^/| /' conftest.$ac_ext >&5
56743
56744 eval "$as_ac_var=no"
56745 fi
56746 rm -f conftest.err conftest.$ac_objext \
56747       conftest$ac_exeext conftest.$ac_ext
56748 fi
56749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56751 if test `eval echo '${'$as_ac_var'}'` = yes; then
56752   cat >>confdefs.h <<_ACEOF
56753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56754 _ACEOF
56755
56756 fi
56757 done
56758
56759     fi
56760   fi
56761
56762
56763
56764
56765
56766
56767   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56768 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56769   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56770     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56771   echo $ECHO_N "(cached) $ECHO_C" >&6
56772 else
56773
56774
56775
56776       ac_ext=cc
56777 ac_cpp='$CXXCPP $CPPFLAGS'
56778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56781
56782       cat >conftest.$ac_ext <<_ACEOF
56783 /* confdefs.h.  */
56784 _ACEOF
56785 cat confdefs.h >>conftest.$ac_ext
56786 cat >>conftest.$ac_ext <<_ACEOF
56787 /* end confdefs.h.  */
56788 #include <math.h>
56789                       #ifdef HAVE_IEEEFP_H
56790                       #include <ieeefp.h>
56791                       #endif
56792
56793 int
56794 main ()
56795 {
56796  qfpclass(0);
56797   ;
56798   return 0;
56799 }
56800 _ACEOF
56801 rm -f conftest.$ac_objext
56802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56803   (eval $ac_compile) 2>conftest.er1
56804   ac_status=$?
56805   grep -v '^ *+' conftest.er1 >conftest.err
56806   rm -f conftest.er1
56807   cat conftest.err >&5
56808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56809   (exit $ac_status); } &&
56810          { ac_try='test -z "$ac_cxx_werror_flag"
56811                          || test ! -s conftest.err'
56812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56813   (eval $ac_try) 2>&5
56814   ac_status=$?
56815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56816   (exit $ac_status); }; } &&
56817          { ac_try='test -s conftest.$ac_objext'
56818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56819   (eval $ac_try) 2>&5
56820   ac_status=$?
56821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56822   (exit $ac_status); }; }; then
56823   glibcxx_cv_func_qfpclass_use=yes
56824 else
56825   echo "$as_me: failed program was:" >&5
56826 sed 's/^/| /' conftest.$ac_ext >&5
56827
56828 glibcxx_cv_func_qfpclass_use=no
56829 fi
56830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56831       ac_ext=c
56832 ac_cpp='$CPP $CPPFLAGS'
56833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56836
56837
56838 fi
56839
56840   fi
56841   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56842 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56843
56844   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56845
56846 for ac_func in qfpclass
56847 do
56848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56849 echo "$as_me:$LINENO: checking for $ac_func" >&5
56850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56851 if eval "test \"\${$as_ac_var+set}\" = set"; then
56852   echo $ECHO_N "(cached) $ECHO_C" >&6
56853 else
56854   if test x$gcc_no_link = xyes; then
56855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56857    { (exit 1); exit 1; }; }
56858 fi
56859 cat >conftest.$ac_ext <<_ACEOF
56860 /* confdefs.h.  */
56861 _ACEOF
56862 cat confdefs.h >>conftest.$ac_ext
56863 cat >>conftest.$ac_ext <<_ACEOF
56864 /* end confdefs.h.  */
56865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56867 #define $ac_func innocuous_$ac_func
56868
56869 /* System header to define __stub macros and hopefully few prototypes,
56870     which can conflict with char $ac_func (); below.
56871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56872     <limits.h> exists even on freestanding compilers.  */
56873
56874 #ifdef __STDC__
56875 # include <limits.h>
56876 #else
56877 # include <assert.h>
56878 #endif
56879
56880 #undef $ac_func
56881
56882 /* Override any gcc2 internal prototype to avoid an error.  */
56883 #ifdef __cplusplus
56884 extern "C"
56885 {
56886 #endif
56887 /* We use char because int might match the return type of a gcc2
56888    builtin and then its argument prototype would still apply.  */
56889 char $ac_func ();
56890 /* The GNU C library defines this for functions which it implements
56891     to always fail with ENOSYS.  Some functions are actually named
56892     something starting with __ and the normal name is an alias.  */
56893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56894 choke me
56895 #else
56896 char (*f) () = $ac_func;
56897 #endif
56898 #ifdef __cplusplus
56899 }
56900 #endif
56901
56902 int
56903 main ()
56904 {
56905 return f != $ac_func;
56906   ;
56907   return 0;
56908 }
56909 _ACEOF
56910 rm -f conftest.$ac_objext conftest$ac_exeext
56911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56912   (eval $ac_link) 2>conftest.er1
56913   ac_status=$?
56914   grep -v '^ *+' conftest.er1 >conftest.err
56915   rm -f conftest.er1
56916   cat conftest.err >&5
56917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56918   (exit $ac_status); } &&
56919          { ac_try='test -z "$ac_c_werror_flag"
56920                          || test ! -s conftest.err'
56921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56922   (eval $ac_try) 2>&5
56923   ac_status=$?
56924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56925   (exit $ac_status); }; } &&
56926          { ac_try='test -s conftest$ac_exeext'
56927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56928   (eval $ac_try) 2>&5
56929   ac_status=$?
56930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56931   (exit $ac_status); }; }; then
56932   eval "$as_ac_var=yes"
56933 else
56934   echo "$as_me: failed program was:" >&5
56935 sed 's/^/| /' conftest.$ac_ext >&5
56936
56937 eval "$as_ac_var=no"
56938 fi
56939 rm -f conftest.err conftest.$ac_objext \
56940       conftest$ac_exeext conftest.$ac_ext
56941 fi
56942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56944 if test `eval echo '${'$as_ac_var'}'` = yes; then
56945   cat >>confdefs.h <<_ACEOF
56946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56947 _ACEOF
56948
56949 fi
56950 done
56951
56952   else
56953
56954   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56955 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56956   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56957     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56958   echo $ECHO_N "(cached) $ECHO_C" >&6
56959 else
56960
56961
56962
56963       ac_ext=cc
56964 ac_cpp='$CXXCPP $CPPFLAGS'
56965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56968
56969       cat >conftest.$ac_ext <<_ACEOF
56970 /* confdefs.h.  */
56971 _ACEOF
56972 cat confdefs.h >>conftest.$ac_ext
56973 cat >>conftest.$ac_ext <<_ACEOF
56974 /* end confdefs.h.  */
56975 #include <math.h>
56976                       #ifdef HAVE_IEEEFP_H
56977                       #include <ieeefp.h>
56978                       #endif
56979
56980 int
56981 main ()
56982 {
56983  _qfpclass(0);
56984   ;
56985   return 0;
56986 }
56987 _ACEOF
56988 rm -f conftest.$ac_objext
56989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56990   (eval $ac_compile) 2>conftest.er1
56991   ac_status=$?
56992   grep -v '^ *+' conftest.er1 >conftest.err
56993   rm -f conftest.er1
56994   cat conftest.err >&5
56995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56996   (exit $ac_status); } &&
56997          { ac_try='test -z "$ac_cxx_werror_flag"
56998                          || test ! -s conftest.err'
56999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57000   (eval $ac_try) 2>&5
57001   ac_status=$?
57002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57003   (exit $ac_status); }; } &&
57004          { ac_try='test -s conftest.$ac_objext'
57005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57006   (eval $ac_try) 2>&5
57007   ac_status=$?
57008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57009   (exit $ac_status); }; }; then
57010   glibcxx_cv_func__qfpclass_use=yes
57011 else
57012   echo "$as_me: failed program was:" >&5
57013 sed 's/^/| /' conftest.$ac_ext >&5
57014
57015 glibcxx_cv_func__qfpclass_use=no
57016 fi
57017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57018       ac_ext=c
57019 ac_cpp='$CPP $CPPFLAGS'
57020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57023
57024
57025 fi
57026
57027   fi
57028   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
57029 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
57030
57031     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
57032
57033 for ac_func in _qfpclass
57034 do
57035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57036 echo "$as_me:$LINENO: checking for $ac_func" >&5
57037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57038 if eval "test \"\${$as_ac_var+set}\" = set"; then
57039   echo $ECHO_N "(cached) $ECHO_C" >&6
57040 else
57041   if test x$gcc_no_link = xyes; then
57042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57044    { (exit 1); exit 1; }; }
57045 fi
57046 cat >conftest.$ac_ext <<_ACEOF
57047 /* confdefs.h.  */
57048 _ACEOF
57049 cat confdefs.h >>conftest.$ac_ext
57050 cat >>conftest.$ac_ext <<_ACEOF
57051 /* end confdefs.h.  */
57052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57054 #define $ac_func innocuous_$ac_func
57055
57056 /* System header to define __stub macros and hopefully few prototypes,
57057     which can conflict with char $ac_func (); below.
57058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57059     <limits.h> exists even on freestanding compilers.  */
57060
57061 #ifdef __STDC__
57062 # include <limits.h>
57063 #else
57064 # include <assert.h>
57065 #endif
57066
57067 #undef $ac_func
57068
57069 /* Override any gcc2 internal prototype to avoid an error.  */
57070 #ifdef __cplusplus
57071 extern "C"
57072 {
57073 #endif
57074 /* We use char because int might match the return type of a gcc2
57075    builtin and then its argument prototype would still apply.  */
57076 char $ac_func ();
57077 /* The GNU C library defines this for functions which it implements
57078     to always fail with ENOSYS.  Some functions are actually named
57079     something starting with __ and the normal name is an alias.  */
57080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57081 choke me
57082 #else
57083 char (*f) () = $ac_func;
57084 #endif
57085 #ifdef __cplusplus
57086 }
57087 #endif
57088
57089 int
57090 main ()
57091 {
57092 return f != $ac_func;
57093   ;
57094   return 0;
57095 }
57096 _ACEOF
57097 rm -f conftest.$ac_objext conftest$ac_exeext
57098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57099   (eval $ac_link) 2>conftest.er1
57100   ac_status=$?
57101   grep -v '^ *+' conftest.er1 >conftest.err
57102   rm -f conftest.er1
57103   cat conftest.err >&5
57104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57105   (exit $ac_status); } &&
57106          { ac_try='test -z "$ac_c_werror_flag"
57107                          || test ! -s conftest.err'
57108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57109   (eval $ac_try) 2>&5
57110   ac_status=$?
57111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57112   (exit $ac_status); }; } &&
57113          { ac_try='test -s conftest$ac_exeext'
57114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57115   (eval $ac_try) 2>&5
57116   ac_status=$?
57117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57118   (exit $ac_status); }; }; then
57119   eval "$as_ac_var=yes"
57120 else
57121   echo "$as_me: failed program was:" >&5
57122 sed 's/^/| /' conftest.$ac_ext >&5
57123
57124 eval "$as_ac_var=no"
57125 fi
57126 rm -f conftest.err conftest.$ac_objext \
57127       conftest$ac_exeext conftest.$ac_ext
57128 fi
57129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57131 if test `eval echo '${'$as_ac_var'}'` = yes; then
57132   cat >>confdefs.h <<_ACEOF
57133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57134 _ACEOF
57135
57136 fi
57137 done
57138
57139     fi
57140   fi
57141
57142
57143
57144
57145
57146
57147   echo "$as_me:$LINENO: checking for hypot declaration" >&5
57148 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
57149   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57150     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
57151   echo $ECHO_N "(cached) $ECHO_C" >&6
57152 else
57153
57154
57155
57156       ac_ext=cc
57157 ac_cpp='$CXXCPP $CPPFLAGS'
57158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57161
57162       cat >conftest.$ac_ext <<_ACEOF
57163 /* confdefs.h.  */
57164 _ACEOF
57165 cat confdefs.h >>conftest.$ac_ext
57166 cat >>conftest.$ac_ext <<_ACEOF
57167 /* end confdefs.h.  */
57168 #include <math.h>
57169 int
57170 main ()
57171 {
57172  hypot(0, 0);
57173   ;
57174   return 0;
57175 }
57176 _ACEOF
57177 rm -f conftest.$ac_objext
57178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57179   (eval $ac_compile) 2>conftest.er1
57180   ac_status=$?
57181   grep -v '^ *+' conftest.er1 >conftest.err
57182   rm -f conftest.er1
57183   cat conftest.err >&5
57184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57185   (exit $ac_status); } &&
57186          { ac_try='test -z "$ac_cxx_werror_flag"
57187                          || test ! -s conftest.err'
57188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57189   (eval $ac_try) 2>&5
57190   ac_status=$?
57191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57192   (exit $ac_status); }; } &&
57193          { ac_try='test -s conftest.$ac_objext'
57194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57195   (eval $ac_try) 2>&5
57196   ac_status=$?
57197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57198   (exit $ac_status); }; }; then
57199   glibcxx_cv_func_hypot_use=yes
57200 else
57201   echo "$as_me: failed program was:" >&5
57202 sed 's/^/| /' conftest.$ac_ext >&5
57203
57204 glibcxx_cv_func_hypot_use=no
57205 fi
57206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57207       ac_ext=c
57208 ac_cpp='$CPP $CPPFLAGS'
57209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57212
57213
57214 fi
57215
57216   fi
57217   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
57218 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
57219
57220   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57221
57222 for ac_func in hypot
57223 do
57224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57225 echo "$as_me:$LINENO: checking for $ac_func" >&5
57226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57227 if eval "test \"\${$as_ac_var+set}\" = set"; then
57228   echo $ECHO_N "(cached) $ECHO_C" >&6
57229 else
57230   if test x$gcc_no_link = xyes; then
57231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57233    { (exit 1); exit 1; }; }
57234 fi
57235 cat >conftest.$ac_ext <<_ACEOF
57236 /* confdefs.h.  */
57237 _ACEOF
57238 cat confdefs.h >>conftest.$ac_ext
57239 cat >>conftest.$ac_ext <<_ACEOF
57240 /* end confdefs.h.  */
57241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57242    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57243 #define $ac_func innocuous_$ac_func
57244
57245 /* System header to define __stub macros and hopefully few prototypes,
57246     which can conflict with char $ac_func (); below.
57247     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57248     <limits.h> exists even on freestanding compilers.  */
57249
57250 #ifdef __STDC__
57251 # include <limits.h>
57252 #else
57253 # include <assert.h>
57254 #endif
57255
57256 #undef $ac_func
57257
57258 /* Override any gcc2 internal prototype to avoid an error.  */
57259 #ifdef __cplusplus
57260 extern "C"
57261 {
57262 #endif
57263 /* We use char because int might match the return type of a gcc2
57264    builtin and then its argument prototype would still apply.  */
57265 char $ac_func ();
57266 /* The GNU C library defines this for functions which it implements
57267     to always fail with ENOSYS.  Some functions are actually named
57268     something starting with __ and the normal name is an alias.  */
57269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57270 choke me
57271 #else
57272 char (*f) () = $ac_func;
57273 #endif
57274 #ifdef __cplusplus
57275 }
57276 #endif
57277
57278 int
57279 main ()
57280 {
57281 return f != $ac_func;
57282   ;
57283   return 0;
57284 }
57285 _ACEOF
57286 rm -f conftest.$ac_objext conftest$ac_exeext
57287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57288   (eval $ac_link) 2>conftest.er1
57289   ac_status=$?
57290   grep -v '^ *+' conftest.er1 >conftest.err
57291   rm -f conftest.er1
57292   cat conftest.err >&5
57293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57294   (exit $ac_status); } &&
57295          { ac_try='test -z "$ac_c_werror_flag"
57296                          || test ! -s conftest.err'
57297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57298   (eval $ac_try) 2>&5
57299   ac_status=$?
57300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57301   (exit $ac_status); }; } &&
57302          { ac_try='test -s conftest$ac_exeext'
57303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57304   (eval $ac_try) 2>&5
57305   ac_status=$?
57306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57307   (exit $ac_status); }; }; then
57308   eval "$as_ac_var=yes"
57309 else
57310   echo "$as_me: failed program was:" >&5
57311 sed 's/^/| /' conftest.$ac_ext >&5
57312
57313 eval "$as_ac_var=no"
57314 fi
57315 rm -f conftest.err conftest.$ac_objext \
57316       conftest$ac_exeext conftest.$ac_ext
57317 fi
57318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57320 if test `eval echo '${'$as_ac_var'}'` = yes; then
57321   cat >>confdefs.h <<_ACEOF
57322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57323 _ACEOF
57324
57325 fi
57326 done
57327
57328   else
57329
57330   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
57331 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
57332   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57333     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
57334   echo $ECHO_N "(cached) $ECHO_C" >&6
57335 else
57336
57337
57338
57339       ac_ext=cc
57340 ac_cpp='$CXXCPP $CPPFLAGS'
57341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57344
57345       cat >conftest.$ac_ext <<_ACEOF
57346 /* confdefs.h.  */
57347 _ACEOF
57348 cat confdefs.h >>conftest.$ac_ext
57349 cat >>conftest.$ac_ext <<_ACEOF
57350 /* end confdefs.h.  */
57351 #include <math.h>
57352 int
57353 main ()
57354 {
57355  _hypot(0, 0);
57356   ;
57357   return 0;
57358 }
57359 _ACEOF
57360 rm -f conftest.$ac_objext
57361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57362   (eval $ac_compile) 2>conftest.er1
57363   ac_status=$?
57364   grep -v '^ *+' conftest.er1 >conftest.err
57365   rm -f conftest.er1
57366   cat conftest.err >&5
57367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57368   (exit $ac_status); } &&
57369          { ac_try='test -z "$ac_cxx_werror_flag"
57370                          || test ! -s conftest.err'
57371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57372   (eval $ac_try) 2>&5
57373   ac_status=$?
57374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57375   (exit $ac_status); }; } &&
57376          { ac_try='test -s conftest.$ac_objext'
57377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57378   (eval $ac_try) 2>&5
57379   ac_status=$?
57380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57381   (exit $ac_status); }; }; then
57382   glibcxx_cv_func__hypot_use=yes
57383 else
57384   echo "$as_me: failed program was:" >&5
57385 sed 's/^/| /' conftest.$ac_ext >&5
57386
57387 glibcxx_cv_func__hypot_use=no
57388 fi
57389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57390       ac_ext=c
57391 ac_cpp='$CPP $CPPFLAGS'
57392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57395
57396
57397 fi
57398
57399   fi
57400   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
57401 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
57402
57403     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57404
57405 for ac_func in _hypot
57406 do
57407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57408 echo "$as_me:$LINENO: checking for $ac_func" >&5
57409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57410 if eval "test \"\${$as_ac_var+set}\" = set"; then
57411   echo $ECHO_N "(cached) $ECHO_C" >&6
57412 else
57413   if test x$gcc_no_link = xyes; then
57414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57416    { (exit 1); exit 1; }; }
57417 fi
57418 cat >conftest.$ac_ext <<_ACEOF
57419 /* confdefs.h.  */
57420 _ACEOF
57421 cat confdefs.h >>conftest.$ac_ext
57422 cat >>conftest.$ac_ext <<_ACEOF
57423 /* end confdefs.h.  */
57424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57425    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57426 #define $ac_func innocuous_$ac_func
57427
57428 /* System header to define __stub macros and hopefully few prototypes,
57429     which can conflict with char $ac_func (); below.
57430     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57431     <limits.h> exists even on freestanding compilers.  */
57432
57433 #ifdef __STDC__
57434 # include <limits.h>
57435 #else
57436 # include <assert.h>
57437 #endif
57438
57439 #undef $ac_func
57440
57441 /* Override any gcc2 internal prototype to avoid an error.  */
57442 #ifdef __cplusplus
57443 extern "C"
57444 {
57445 #endif
57446 /* We use char because int might match the return type of a gcc2
57447    builtin and then its argument prototype would still apply.  */
57448 char $ac_func ();
57449 /* The GNU C library defines this for functions which it implements
57450     to always fail with ENOSYS.  Some functions are actually named
57451     something starting with __ and the normal name is an alias.  */
57452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57453 choke me
57454 #else
57455 char (*f) () = $ac_func;
57456 #endif
57457 #ifdef __cplusplus
57458 }
57459 #endif
57460
57461 int
57462 main ()
57463 {
57464 return f != $ac_func;
57465   ;
57466   return 0;
57467 }
57468 _ACEOF
57469 rm -f conftest.$ac_objext conftest$ac_exeext
57470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57471   (eval $ac_link) 2>conftest.er1
57472   ac_status=$?
57473   grep -v '^ *+' conftest.er1 >conftest.err
57474   rm -f conftest.er1
57475   cat conftest.err >&5
57476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57477   (exit $ac_status); } &&
57478          { ac_try='test -z "$ac_c_werror_flag"
57479                          || test ! -s conftest.err'
57480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57481   (eval $ac_try) 2>&5
57482   ac_status=$?
57483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57484   (exit $ac_status); }; } &&
57485          { ac_try='test -s conftest$ac_exeext'
57486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57487   (eval $ac_try) 2>&5
57488   ac_status=$?
57489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57490   (exit $ac_status); }; }; then
57491   eval "$as_ac_var=yes"
57492 else
57493   echo "$as_me: failed program was:" >&5
57494 sed 's/^/| /' conftest.$ac_ext >&5
57495
57496 eval "$as_ac_var=no"
57497 fi
57498 rm -f conftest.err conftest.$ac_objext \
57499       conftest$ac_exeext conftest.$ac_ext
57500 fi
57501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57503 if test `eval echo '${'$as_ac_var'}'` = yes; then
57504   cat >>confdefs.h <<_ACEOF
57505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57506 _ACEOF
57507
57508 fi
57509 done
57510
57511     fi
57512   fi
57513
57514
57515
57516
57517
57518
57519     echo "$as_me:$LINENO: checking for float trig functions" >&5
57520 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57521   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57522   echo $ECHO_N "(cached) $ECHO_C" >&6
57523 else
57524
57525
57526
57527     ac_ext=cc
57528 ac_cpp='$CXXCPP $CPPFLAGS'
57529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57532
57533     cat >conftest.$ac_ext <<_ACEOF
57534 /* confdefs.h.  */
57535 _ACEOF
57536 cat confdefs.h >>conftest.$ac_ext
57537 cat >>conftest.$ac_ext <<_ACEOF
57538 /* end confdefs.h.  */
57539 #include <math.h>
57540 int
57541 main ()
57542 {
57543 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57544   ;
57545   return 0;
57546 }
57547 _ACEOF
57548 rm -f conftest.$ac_objext
57549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57550   (eval $ac_compile) 2>conftest.er1
57551   ac_status=$?
57552   grep -v '^ *+' conftest.er1 >conftest.err
57553   rm -f conftest.er1
57554   cat conftest.err >&5
57555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57556   (exit $ac_status); } &&
57557          { ac_try='test -z "$ac_cxx_werror_flag"
57558                          || test ! -s conftest.err'
57559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57560   (eval $ac_try) 2>&5
57561   ac_status=$?
57562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57563   (exit $ac_status); }; } &&
57564          { ac_try='test -s conftest.$ac_objext'
57565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57566   (eval $ac_try) 2>&5
57567   ac_status=$?
57568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57569   (exit $ac_status); }; }; then
57570   glibcxx_cv_func_float_trig_use=yes
57571 else
57572   echo "$as_me: failed program was:" >&5
57573 sed 's/^/| /' conftest.$ac_ext >&5
57574
57575 glibcxx_cv_func_float_trig_use=no
57576 fi
57577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57578     ac_ext=c
57579 ac_cpp='$CPP $CPPFLAGS'
57580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57583
57584 fi
57585
57586   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57587 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57588   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57599 do
57600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57601 echo "$as_me:$LINENO: checking for $ac_func" >&5
57602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57603 if eval "test \"\${$as_ac_var+set}\" = set"; then
57604   echo $ECHO_N "(cached) $ECHO_C" >&6
57605 else
57606   if test x$gcc_no_link = xyes; then
57607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57609    { (exit 1); exit 1; }; }
57610 fi
57611 cat >conftest.$ac_ext <<_ACEOF
57612 /* confdefs.h.  */
57613 _ACEOF
57614 cat confdefs.h >>conftest.$ac_ext
57615 cat >>conftest.$ac_ext <<_ACEOF
57616 /* end confdefs.h.  */
57617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57618    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57619 #define $ac_func innocuous_$ac_func
57620
57621 /* System header to define __stub macros and hopefully few prototypes,
57622     which can conflict with char $ac_func (); below.
57623     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57624     <limits.h> exists even on freestanding compilers.  */
57625
57626 #ifdef __STDC__
57627 # include <limits.h>
57628 #else
57629 # include <assert.h>
57630 #endif
57631
57632 #undef $ac_func
57633
57634 /* Override any gcc2 internal prototype to avoid an error.  */
57635 #ifdef __cplusplus
57636 extern "C"
57637 {
57638 #endif
57639 /* We use char because int might match the return type of a gcc2
57640    builtin and then its argument prototype would still apply.  */
57641 char $ac_func ();
57642 /* The GNU C library defines this for functions which it implements
57643     to always fail with ENOSYS.  Some functions are actually named
57644     something starting with __ and the normal name is an alias.  */
57645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57646 choke me
57647 #else
57648 char (*f) () = $ac_func;
57649 #endif
57650 #ifdef __cplusplus
57651 }
57652 #endif
57653
57654 int
57655 main ()
57656 {
57657 return f != $ac_func;
57658   ;
57659   return 0;
57660 }
57661 _ACEOF
57662 rm -f conftest.$ac_objext conftest$ac_exeext
57663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57664   (eval $ac_link) 2>conftest.er1
57665   ac_status=$?
57666   grep -v '^ *+' conftest.er1 >conftest.err
57667   rm -f conftest.er1
57668   cat conftest.err >&5
57669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57670   (exit $ac_status); } &&
57671          { ac_try='test -z "$ac_c_werror_flag"
57672                          || test ! -s conftest.err'
57673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57674   (eval $ac_try) 2>&5
57675   ac_status=$?
57676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57677   (exit $ac_status); }; } &&
57678          { ac_try='test -s conftest$ac_exeext'
57679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57680   (eval $ac_try) 2>&5
57681   ac_status=$?
57682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57683   (exit $ac_status); }; }; then
57684   eval "$as_ac_var=yes"
57685 else
57686   echo "$as_me: failed program was:" >&5
57687 sed 's/^/| /' conftest.$ac_ext >&5
57688
57689 eval "$as_ac_var=no"
57690 fi
57691 rm -f conftest.err conftest.$ac_objext \
57692       conftest$ac_exeext conftest.$ac_ext
57693 fi
57694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57696 if test `eval echo '${'$as_ac_var'}'` = yes; then
57697   cat >>confdefs.h <<_ACEOF
57698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57699 _ACEOF
57700
57701 fi
57702 done
57703
57704   else
57705     echo "$as_me:$LINENO: checking for _float trig functions" >&5
57706 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57707     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57708   echo $ECHO_N "(cached) $ECHO_C" >&6
57709 else
57710
57711
57712
57713       ac_ext=cc
57714 ac_cpp='$CXXCPP $CPPFLAGS'
57715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57718
57719       cat >conftest.$ac_ext <<_ACEOF
57720 /* confdefs.h.  */
57721 _ACEOF
57722 cat confdefs.h >>conftest.$ac_ext
57723 cat >>conftest.$ac_ext <<_ACEOF
57724 /* end confdefs.h.  */
57725 #include <math.h>
57726 int
57727 main ()
57728 {
57729 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57730   ;
57731   return 0;
57732 }
57733 _ACEOF
57734 rm -f conftest.$ac_objext
57735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57736   (eval $ac_compile) 2>conftest.er1
57737   ac_status=$?
57738   grep -v '^ *+' conftest.er1 >conftest.err
57739   rm -f conftest.er1
57740   cat conftest.err >&5
57741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57742   (exit $ac_status); } &&
57743          { ac_try='test -z "$ac_cxx_werror_flag"
57744                          || test ! -s conftest.err'
57745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57746   (eval $ac_try) 2>&5
57747   ac_status=$?
57748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57749   (exit $ac_status); }; } &&
57750          { ac_try='test -s conftest.$ac_objext'
57751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57752   (eval $ac_try) 2>&5
57753   ac_status=$?
57754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57755   (exit $ac_status); }; }; then
57756   glibcxx_cv_func__float_trig_use=yes
57757 else
57758   echo "$as_me: failed program was:" >&5
57759 sed 's/^/| /' conftest.$ac_ext >&5
57760
57761 glibcxx_cv_func__float_trig_use=no
57762 fi
57763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57764       ac_ext=c
57765 ac_cpp='$CPP $CPPFLAGS'
57766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57769
57770 fi
57771
57772     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57773 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57774     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57775
57776
57777
57778
57779
57780
57781
57782
57783
57784 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57785 do
57786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57787 echo "$as_me:$LINENO: checking for $ac_func" >&5
57788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57789 if eval "test \"\${$as_ac_var+set}\" = set"; then
57790   echo $ECHO_N "(cached) $ECHO_C" >&6
57791 else
57792   if test x$gcc_no_link = xyes; then
57793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57795    { (exit 1); exit 1; }; }
57796 fi
57797 cat >conftest.$ac_ext <<_ACEOF
57798 /* confdefs.h.  */
57799 _ACEOF
57800 cat confdefs.h >>conftest.$ac_ext
57801 cat >>conftest.$ac_ext <<_ACEOF
57802 /* end confdefs.h.  */
57803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57804    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57805 #define $ac_func innocuous_$ac_func
57806
57807 /* System header to define __stub macros and hopefully few prototypes,
57808     which can conflict with char $ac_func (); below.
57809     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57810     <limits.h> exists even on freestanding compilers.  */
57811
57812 #ifdef __STDC__
57813 # include <limits.h>
57814 #else
57815 # include <assert.h>
57816 #endif
57817
57818 #undef $ac_func
57819
57820 /* Override any gcc2 internal prototype to avoid an error.  */
57821 #ifdef __cplusplus
57822 extern "C"
57823 {
57824 #endif
57825 /* We use char because int might match the return type of a gcc2
57826    builtin and then its argument prototype would still apply.  */
57827 char $ac_func ();
57828 /* The GNU C library defines this for functions which it implements
57829     to always fail with ENOSYS.  Some functions are actually named
57830     something starting with __ and the normal name is an alias.  */
57831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57832 choke me
57833 #else
57834 char (*f) () = $ac_func;
57835 #endif
57836 #ifdef __cplusplus
57837 }
57838 #endif
57839
57840 int
57841 main ()
57842 {
57843 return f != $ac_func;
57844   ;
57845   return 0;
57846 }
57847 _ACEOF
57848 rm -f conftest.$ac_objext conftest$ac_exeext
57849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57850   (eval $ac_link) 2>conftest.er1
57851   ac_status=$?
57852   grep -v '^ *+' conftest.er1 >conftest.err
57853   rm -f conftest.er1
57854   cat conftest.err >&5
57855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57856   (exit $ac_status); } &&
57857          { ac_try='test -z "$ac_c_werror_flag"
57858                          || test ! -s conftest.err'
57859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57860   (eval $ac_try) 2>&5
57861   ac_status=$?
57862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57863   (exit $ac_status); }; } &&
57864          { ac_try='test -s conftest$ac_exeext'
57865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57866   (eval $ac_try) 2>&5
57867   ac_status=$?
57868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57869   (exit $ac_status); }; }; then
57870   eval "$as_ac_var=yes"
57871 else
57872   echo "$as_me: failed program was:" >&5
57873 sed 's/^/| /' conftest.$ac_ext >&5
57874
57875 eval "$as_ac_var=no"
57876 fi
57877 rm -f conftest.err conftest.$ac_objext \
57878       conftest$ac_exeext conftest.$ac_ext
57879 fi
57880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57882 if test `eval echo '${'$as_ac_var'}'` = yes; then
57883   cat >>confdefs.h <<_ACEOF
57884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57885 _ACEOF
57886
57887 fi
57888 done
57889
57890     fi
57891   fi
57892
57893
57894
57895
57896
57897
57898
57899
57900
57901
57902
57903
57904
57905
57906     echo "$as_me:$LINENO: checking for float round functions" >&5
57907 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
57908   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
57909   echo $ECHO_N "(cached) $ECHO_C" >&6
57910 else
57911
57912
57913
57914     ac_ext=cc
57915 ac_cpp='$CXXCPP $CPPFLAGS'
57916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57919
57920     cat >conftest.$ac_ext <<_ACEOF
57921 /* confdefs.h.  */
57922 _ACEOF
57923 cat confdefs.h >>conftest.$ac_ext
57924 cat >>conftest.$ac_ext <<_ACEOF
57925 /* end confdefs.h.  */
57926 #include <math.h>
57927 int
57928 main ()
57929 {
57930 ceilf (0); floorf (0);
57931   ;
57932   return 0;
57933 }
57934 _ACEOF
57935 rm -f conftest.$ac_objext
57936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57937   (eval $ac_compile) 2>conftest.er1
57938   ac_status=$?
57939   grep -v '^ *+' conftest.er1 >conftest.err
57940   rm -f conftest.er1
57941   cat conftest.err >&5
57942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57943   (exit $ac_status); } &&
57944          { ac_try='test -z "$ac_cxx_werror_flag"
57945                          || test ! -s conftest.err'
57946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57947   (eval $ac_try) 2>&5
57948   ac_status=$?
57949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57950   (exit $ac_status); }; } &&
57951          { ac_try='test -s conftest.$ac_objext'
57952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57953   (eval $ac_try) 2>&5
57954   ac_status=$?
57955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57956   (exit $ac_status); }; }; then
57957   glibcxx_cv_func_float_round_use=yes
57958 else
57959   echo "$as_me: failed program was:" >&5
57960 sed 's/^/| /' conftest.$ac_ext >&5
57961
57962 glibcxx_cv_func_float_round_use=no
57963 fi
57964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57965     ac_ext=c
57966 ac_cpp='$CPP $CPPFLAGS'
57967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57970
57971 fi
57972
57973   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57974 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57975   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57976
57977
57978 for ac_func in ceilf floorf
57979 do
57980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57981 echo "$as_me:$LINENO: checking for $ac_func" >&5
57982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57983 if eval "test \"\${$as_ac_var+set}\" = set"; then
57984   echo $ECHO_N "(cached) $ECHO_C" >&6
57985 else
57986   if test x$gcc_no_link = xyes; then
57987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57989    { (exit 1); exit 1; }; }
57990 fi
57991 cat >conftest.$ac_ext <<_ACEOF
57992 /* confdefs.h.  */
57993 _ACEOF
57994 cat confdefs.h >>conftest.$ac_ext
57995 cat >>conftest.$ac_ext <<_ACEOF
57996 /* end confdefs.h.  */
57997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57998    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57999 #define $ac_func innocuous_$ac_func
58000
58001 /* System header to define __stub macros and hopefully few prototypes,
58002     which can conflict with char $ac_func (); below.
58003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58004     <limits.h> exists even on freestanding compilers.  */
58005
58006 #ifdef __STDC__
58007 # include <limits.h>
58008 #else
58009 # include <assert.h>
58010 #endif
58011
58012 #undef $ac_func
58013
58014 /* Override any gcc2 internal prototype to avoid an error.  */
58015 #ifdef __cplusplus
58016 extern "C"
58017 {
58018 #endif
58019 /* We use char because int might match the return type of a gcc2
58020    builtin and then its argument prototype would still apply.  */
58021 char $ac_func ();
58022 /* The GNU C library defines this for functions which it implements
58023     to always fail with ENOSYS.  Some functions are actually named
58024     something starting with __ and the normal name is an alias.  */
58025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58026 choke me
58027 #else
58028 char (*f) () = $ac_func;
58029 #endif
58030 #ifdef __cplusplus
58031 }
58032 #endif
58033
58034 int
58035 main ()
58036 {
58037 return f != $ac_func;
58038   ;
58039   return 0;
58040 }
58041 _ACEOF
58042 rm -f conftest.$ac_objext conftest$ac_exeext
58043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58044   (eval $ac_link) 2>conftest.er1
58045   ac_status=$?
58046   grep -v '^ *+' conftest.er1 >conftest.err
58047   rm -f conftest.er1
58048   cat conftest.err >&5
58049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58050   (exit $ac_status); } &&
58051          { ac_try='test -z "$ac_c_werror_flag"
58052                          || test ! -s conftest.err'
58053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58054   (eval $ac_try) 2>&5
58055   ac_status=$?
58056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58057   (exit $ac_status); }; } &&
58058          { ac_try='test -s conftest$ac_exeext'
58059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58060   (eval $ac_try) 2>&5
58061   ac_status=$?
58062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58063   (exit $ac_status); }; }; then
58064   eval "$as_ac_var=yes"
58065 else
58066   echo "$as_me: failed program was:" >&5
58067 sed 's/^/| /' conftest.$ac_ext >&5
58068
58069 eval "$as_ac_var=no"
58070 fi
58071 rm -f conftest.err conftest.$ac_objext \
58072       conftest$ac_exeext conftest.$ac_ext
58073 fi
58074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58076 if test `eval echo '${'$as_ac_var'}'` = yes; then
58077   cat >>confdefs.h <<_ACEOF
58078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58079 _ACEOF
58080
58081 fi
58082 done
58083
58084   else
58085     echo "$as_me:$LINENO: checking for _float round functions" >&5
58086 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
58087     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
58088   echo $ECHO_N "(cached) $ECHO_C" >&6
58089 else
58090
58091
58092
58093       ac_ext=cc
58094 ac_cpp='$CXXCPP $CPPFLAGS'
58095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58098
58099       cat >conftest.$ac_ext <<_ACEOF
58100 /* confdefs.h.  */
58101 _ACEOF
58102 cat confdefs.h >>conftest.$ac_ext
58103 cat >>conftest.$ac_ext <<_ACEOF
58104 /* end confdefs.h.  */
58105 #include <math.h>
58106 int
58107 main ()
58108 {
58109 _ceilf (0); _floorf (0);
58110   ;
58111   return 0;
58112 }
58113 _ACEOF
58114 rm -f conftest.$ac_objext
58115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58116   (eval $ac_compile) 2>conftest.er1
58117   ac_status=$?
58118   grep -v '^ *+' conftest.er1 >conftest.err
58119   rm -f conftest.er1
58120   cat conftest.err >&5
58121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58122   (exit $ac_status); } &&
58123          { ac_try='test -z "$ac_cxx_werror_flag"
58124                          || test ! -s conftest.err'
58125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58126   (eval $ac_try) 2>&5
58127   ac_status=$?
58128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58129   (exit $ac_status); }; } &&
58130          { ac_try='test -s conftest.$ac_objext'
58131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58132   (eval $ac_try) 2>&5
58133   ac_status=$?
58134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58135   (exit $ac_status); }; }; then
58136   glibcxx_cv_func__float_round_use=yes
58137 else
58138   echo "$as_me: failed program was:" >&5
58139 sed 's/^/| /' conftest.$ac_ext >&5
58140
58141 glibcxx_cv_func__float_round_use=no
58142 fi
58143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58144       ac_ext=c
58145 ac_cpp='$CPP $CPPFLAGS'
58146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58149
58150 fi
58151
58152     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
58153 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
58154     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58155
58156
58157 for ac_func in _ceilf _floorf
58158 do
58159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58160 echo "$as_me:$LINENO: checking for $ac_func" >&5
58161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58162 if eval "test \"\${$as_ac_var+set}\" = set"; then
58163   echo $ECHO_N "(cached) $ECHO_C" >&6
58164 else
58165   if test x$gcc_no_link = xyes; then
58166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58168    { (exit 1); exit 1; }; }
58169 fi
58170 cat >conftest.$ac_ext <<_ACEOF
58171 /* confdefs.h.  */
58172 _ACEOF
58173 cat confdefs.h >>conftest.$ac_ext
58174 cat >>conftest.$ac_ext <<_ACEOF
58175 /* end confdefs.h.  */
58176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58177    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58178 #define $ac_func innocuous_$ac_func
58179
58180 /* System header to define __stub macros and hopefully few prototypes,
58181     which can conflict with char $ac_func (); below.
58182     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58183     <limits.h> exists even on freestanding compilers.  */
58184
58185 #ifdef __STDC__
58186 # include <limits.h>
58187 #else
58188 # include <assert.h>
58189 #endif
58190
58191 #undef $ac_func
58192
58193 /* Override any gcc2 internal prototype to avoid an error.  */
58194 #ifdef __cplusplus
58195 extern "C"
58196 {
58197 #endif
58198 /* We use char because int might match the return type of a gcc2
58199    builtin and then its argument prototype would still apply.  */
58200 char $ac_func ();
58201 /* The GNU C library defines this for functions which it implements
58202     to always fail with ENOSYS.  Some functions are actually named
58203     something starting with __ and the normal name is an alias.  */
58204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58205 choke me
58206 #else
58207 char (*f) () = $ac_func;
58208 #endif
58209 #ifdef __cplusplus
58210 }
58211 #endif
58212
58213 int
58214 main ()
58215 {
58216 return f != $ac_func;
58217   ;
58218   return 0;
58219 }
58220 _ACEOF
58221 rm -f conftest.$ac_objext conftest$ac_exeext
58222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58223   (eval $ac_link) 2>conftest.er1
58224   ac_status=$?
58225   grep -v '^ *+' conftest.er1 >conftest.err
58226   rm -f conftest.er1
58227   cat conftest.err >&5
58228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58229   (exit $ac_status); } &&
58230          { ac_try='test -z "$ac_c_werror_flag"
58231                          || test ! -s conftest.err'
58232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58233   (eval $ac_try) 2>&5
58234   ac_status=$?
58235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58236   (exit $ac_status); }; } &&
58237          { ac_try='test -s conftest$ac_exeext'
58238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58239   (eval $ac_try) 2>&5
58240   ac_status=$?
58241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58242   (exit $ac_status); }; }; then
58243   eval "$as_ac_var=yes"
58244 else
58245   echo "$as_me: failed program was:" >&5
58246 sed 's/^/| /' conftest.$ac_ext >&5
58247
58248 eval "$as_ac_var=no"
58249 fi
58250 rm -f conftest.err conftest.$ac_objext \
58251       conftest$ac_exeext conftest.$ac_ext
58252 fi
58253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58255 if test `eval echo '${'$as_ac_var'}'` = yes; then
58256   cat >>confdefs.h <<_ACEOF
58257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58258 _ACEOF
58259
58260 fi
58261 done
58262
58263     fi
58264   fi
58265
58266
58267
58268
58269
58270
58271
58272
58273   echo "$as_me:$LINENO: checking for expf declaration" >&5
58274 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58275   if test x${glibcxx_cv_func_expf_use+set} != xset; then
58276     if test "${glibcxx_cv_func_expf_use+set}" = set; then
58277   echo $ECHO_N "(cached) $ECHO_C" >&6
58278 else
58279
58280
58281
58282       ac_ext=cc
58283 ac_cpp='$CXXCPP $CPPFLAGS'
58284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58287
58288       cat >conftest.$ac_ext <<_ACEOF
58289 /* confdefs.h.  */
58290 _ACEOF
58291 cat confdefs.h >>conftest.$ac_ext
58292 cat >>conftest.$ac_ext <<_ACEOF
58293 /* end confdefs.h.  */
58294 #include <math.h>
58295                       #ifdef HAVE_IEEEFP_H
58296                       #include <ieeefp.h>
58297                       #endif
58298
58299 int
58300 main ()
58301 {
58302  expf(0);
58303   ;
58304   return 0;
58305 }
58306 _ACEOF
58307 rm -f conftest.$ac_objext
58308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58309   (eval $ac_compile) 2>conftest.er1
58310   ac_status=$?
58311   grep -v '^ *+' conftest.er1 >conftest.err
58312   rm -f conftest.er1
58313   cat conftest.err >&5
58314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58315   (exit $ac_status); } &&
58316          { ac_try='test -z "$ac_cxx_werror_flag"
58317                          || test ! -s conftest.err'
58318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58319   (eval $ac_try) 2>&5
58320   ac_status=$?
58321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58322   (exit $ac_status); }; } &&
58323          { ac_try='test -s conftest.$ac_objext'
58324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58325   (eval $ac_try) 2>&5
58326   ac_status=$?
58327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58328   (exit $ac_status); }; }; then
58329   glibcxx_cv_func_expf_use=yes
58330 else
58331   echo "$as_me: failed program was:" >&5
58332 sed 's/^/| /' conftest.$ac_ext >&5
58333
58334 glibcxx_cv_func_expf_use=no
58335 fi
58336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58337       ac_ext=c
58338 ac_cpp='$CPP $CPPFLAGS'
58339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58342
58343
58344 fi
58345
58346   fi
58347   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58348 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58349
58350   if test x$glibcxx_cv_func_expf_use = x"yes"; then
58351
58352 for ac_func in expf
58353 do
58354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58355 echo "$as_me:$LINENO: checking for $ac_func" >&5
58356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58357 if eval "test \"\${$as_ac_var+set}\" = set"; then
58358   echo $ECHO_N "(cached) $ECHO_C" >&6
58359 else
58360   if test x$gcc_no_link = xyes; then
58361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58363    { (exit 1); exit 1; }; }
58364 fi
58365 cat >conftest.$ac_ext <<_ACEOF
58366 /* confdefs.h.  */
58367 _ACEOF
58368 cat confdefs.h >>conftest.$ac_ext
58369 cat >>conftest.$ac_ext <<_ACEOF
58370 /* end confdefs.h.  */
58371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58372    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58373 #define $ac_func innocuous_$ac_func
58374
58375 /* System header to define __stub macros and hopefully few prototypes,
58376     which can conflict with char $ac_func (); below.
58377     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58378     <limits.h> exists even on freestanding compilers.  */
58379
58380 #ifdef __STDC__
58381 # include <limits.h>
58382 #else
58383 # include <assert.h>
58384 #endif
58385
58386 #undef $ac_func
58387
58388 /* Override any gcc2 internal prototype to avoid an error.  */
58389 #ifdef __cplusplus
58390 extern "C"
58391 {
58392 #endif
58393 /* We use char because int might match the return type of a gcc2
58394    builtin and then its argument prototype would still apply.  */
58395 char $ac_func ();
58396 /* The GNU C library defines this for functions which it implements
58397     to always fail with ENOSYS.  Some functions are actually named
58398     something starting with __ and the normal name is an alias.  */
58399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58400 choke me
58401 #else
58402 char (*f) () = $ac_func;
58403 #endif
58404 #ifdef __cplusplus
58405 }
58406 #endif
58407
58408 int
58409 main ()
58410 {
58411 return f != $ac_func;
58412   ;
58413   return 0;
58414 }
58415 _ACEOF
58416 rm -f conftest.$ac_objext conftest$ac_exeext
58417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58418   (eval $ac_link) 2>conftest.er1
58419   ac_status=$?
58420   grep -v '^ *+' conftest.er1 >conftest.err
58421   rm -f conftest.er1
58422   cat conftest.err >&5
58423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58424   (exit $ac_status); } &&
58425          { ac_try='test -z "$ac_c_werror_flag"
58426                          || test ! -s conftest.err'
58427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58428   (eval $ac_try) 2>&5
58429   ac_status=$?
58430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58431   (exit $ac_status); }; } &&
58432          { ac_try='test -s conftest$ac_exeext'
58433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58434   (eval $ac_try) 2>&5
58435   ac_status=$?
58436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58437   (exit $ac_status); }; }; then
58438   eval "$as_ac_var=yes"
58439 else
58440   echo "$as_me: failed program was:" >&5
58441 sed 's/^/| /' conftest.$ac_ext >&5
58442
58443 eval "$as_ac_var=no"
58444 fi
58445 rm -f conftest.err conftest.$ac_objext \
58446       conftest$ac_exeext conftest.$ac_ext
58447 fi
58448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58450 if test `eval echo '${'$as_ac_var'}'` = yes; then
58451   cat >>confdefs.h <<_ACEOF
58452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58453 _ACEOF
58454
58455 fi
58456 done
58457
58458   else
58459
58460   echo "$as_me:$LINENO: checking for _expf declaration" >&5
58461 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58462   if test x${glibcxx_cv_func__expf_use+set} != xset; then
58463     if test "${glibcxx_cv_func__expf_use+set}" = set; then
58464   echo $ECHO_N "(cached) $ECHO_C" >&6
58465 else
58466
58467
58468
58469       ac_ext=cc
58470 ac_cpp='$CXXCPP $CPPFLAGS'
58471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58474
58475       cat >conftest.$ac_ext <<_ACEOF
58476 /* confdefs.h.  */
58477 _ACEOF
58478 cat confdefs.h >>conftest.$ac_ext
58479 cat >>conftest.$ac_ext <<_ACEOF
58480 /* end confdefs.h.  */
58481 #include <math.h>
58482                       #ifdef HAVE_IEEEFP_H
58483                       #include <ieeefp.h>
58484                       #endif
58485
58486 int
58487 main ()
58488 {
58489  _expf(0);
58490   ;
58491   return 0;
58492 }
58493 _ACEOF
58494 rm -f conftest.$ac_objext
58495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58496   (eval $ac_compile) 2>conftest.er1
58497   ac_status=$?
58498   grep -v '^ *+' conftest.er1 >conftest.err
58499   rm -f conftest.er1
58500   cat conftest.err >&5
58501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58502   (exit $ac_status); } &&
58503          { ac_try='test -z "$ac_cxx_werror_flag"
58504                          || test ! -s conftest.err'
58505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58506   (eval $ac_try) 2>&5
58507   ac_status=$?
58508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58509   (exit $ac_status); }; } &&
58510          { ac_try='test -s conftest.$ac_objext'
58511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58512   (eval $ac_try) 2>&5
58513   ac_status=$?
58514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58515   (exit $ac_status); }; }; then
58516   glibcxx_cv_func__expf_use=yes
58517 else
58518   echo "$as_me: failed program was:" >&5
58519 sed 's/^/| /' conftest.$ac_ext >&5
58520
58521 glibcxx_cv_func__expf_use=no
58522 fi
58523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58524       ac_ext=c
58525 ac_cpp='$CPP $CPPFLAGS'
58526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58529
58530
58531 fi
58532
58533   fi
58534   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58535 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58536
58537     if test x$glibcxx_cv_func__expf_use = x"yes"; then
58538
58539 for ac_func in _expf
58540 do
58541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58542 echo "$as_me:$LINENO: checking for $ac_func" >&5
58543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58544 if eval "test \"\${$as_ac_var+set}\" = set"; then
58545   echo $ECHO_N "(cached) $ECHO_C" >&6
58546 else
58547   if test x$gcc_no_link = xyes; then
58548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58550    { (exit 1); exit 1; }; }
58551 fi
58552 cat >conftest.$ac_ext <<_ACEOF
58553 /* confdefs.h.  */
58554 _ACEOF
58555 cat confdefs.h >>conftest.$ac_ext
58556 cat >>conftest.$ac_ext <<_ACEOF
58557 /* end confdefs.h.  */
58558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58559    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58560 #define $ac_func innocuous_$ac_func
58561
58562 /* System header to define __stub macros and hopefully few prototypes,
58563     which can conflict with char $ac_func (); below.
58564     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58565     <limits.h> exists even on freestanding compilers.  */
58566
58567 #ifdef __STDC__
58568 # include <limits.h>
58569 #else
58570 # include <assert.h>
58571 #endif
58572
58573 #undef $ac_func
58574
58575 /* Override any gcc2 internal prototype to avoid an error.  */
58576 #ifdef __cplusplus
58577 extern "C"
58578 {
58579 #endif
58580 /* We use char because int might match the return type of a gcc2
58581    builtin and then its argument prototype would still apply.  */
58582 char $ac_func ();
58583 /* The GNU C library defines this for functions which it implements
58584     to always fail with ENOSYS.  Some functions are actually named
58585     something starting with __ and the normal name is an alias.  */
58586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58587 choke me
58588 #else
58589 char (*f) () = $ac_func;
58590 #endif
58591 #ifdef __cplusplus
58592 }
58593 #endif
58594
58595 int
58596 main ()
58597 {
58598 return f != $ac_func;
58599   ;
58600   return 0;
58601 }
58602 _ACEOF
58603 rm -f conftest.$ac_objext conftest$ac_exeext
58604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58605   (eval $ac_link) 2>conftest.er1
58606   ac_status=$?
58607   grep -v '^ *+' conftest.er1 >conftest.err
58608   rm -f conftest.er1
58609   cat conftest.err >&5
58610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58611   (exit $ac_status); } &&
58612          { ac_try='test -z "$ac_c_werror_flag"
58613                          || test ! -s conftest.err'
58614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58615   (eval $ac_try) 2>&5
58616   ac_status=$?
58617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58618   (exit $ac_status); }; } &&
58619          { ac_try='test -s conftest$ac_exeext'
58620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58621   (eval $ac_try) 2>&5
58622   ac_status=$?
58623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58624   (exit $ac_status); }; }; then
58625   eval "$as_ac_var=yes"
58626 else
58627   echo "$as_me: failed program was:" >&5
58628 sed 's/^/| /' conftest.$ac_ext >&5
58629
58630 eval "$as_ac_var=no"
58631 fi
58632 rm -f conftest.err conftest.$ac_objext \
58633       conftest$ac_exeext conftest.$ac_ext
58634 fi
58635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58637 if test `eval echo '${'$as_ac_var'}'` = yes; then
58638   cat >>confdefs.h <<_ACEOF
58639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58640 _ACEOF
58641
58642 fi
58643 done
58644
58645     fi
58646   fi
58647
58648
58649
58650
58651
58652
58653   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58654 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58655   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58656     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58657   echo $ECHO_N "(cached) $ECHO_C" >&6
58658 else
58659
58660
58661
58662       ac_ext=cc
58663 ac_cpp='$CXXCPP $CPPFLAGS'
58664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58667
58668       cat >conftest.$ac_ext <<_ACEOF
58669 /* confdefs.h.  */
58670 _ACEOF
58671 cat confdefs.h >>conftest.$ac_ext
58672 cat >>conftest.$ac_ext <<_ACEOF
58673 /* end confdefs.h.  */
58674 #include <math.h>
58675                       #ifdef HAVE_IEEEFP_H
58676                       #include <ieeefp.h>
58677                       #endif
58678
58679 int
58680 main ()
58681 {
58682  isnanf(0);
58683   ;
58684   return 0;
58685 }
58686 _ACEOF
58687 rm -f conftest.$ac_objext
58688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58689   (eval $ac_compile) 2>conftest.er1
58690   ac_status=$?
58691   grep -v '^ *+' conftest.er1 >conftest.err
58692   rm -f conftest.er1
58693   cat conftest.err >&5
58694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58695   (exit $ac_status); } &&
58696          { ac_try='test -z "$ac_cxx_werror_flag"
58697                          || test ! -s conftest.err'
58698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58699   (eval $ac_try) 2>&5
58700   ac_status=$?
58701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58702   (exit $ac_status); }; } &&
58703          { ac_try='test -s conftest.$ac_objext'
58704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58705   (eval $ac_try) 2>&5
58706   ac_status=$?
58707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58708   (exit $ac_status); }; }; then
58709   glibcxx_cv_func_isnanf_use=yes
58710 else
58711   echo "$as_me: failed program was:" >&5
58712 sed 's/^/| /' conftest.$ac_ext >&5
58713
58714 glibcxx_cv_func_isnanf_use=no
58715 fi
58716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58717       ac_ext=c
58718 ac_cpp='$CPP $CPPFLAGS'
58719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58722
58723
58724 fi
58725
58726   fi
58727   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58728 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58729
58730   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58731
58732 for ac_func in isnanf
58733 do
58734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58735 echo "$as_me:$LINENO: checking for $ac_func" >&5
58736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58737 if eval "test \"\${$as_ac_var+set}\" = set"; then
58738   echo $ECHO_N "(cached) $ECHO_C" >&6
58739 else
58740   if test x$gcc_no_link = xyes; then
58741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58743    { (exit 1); exit 1; }; }
58744 fi
58745 cat >conftest.$ac_ext <<_ACEOF
58746 /* confdefs.h.  */
58747 _ACEOF
58748 cat confdefs.h >>conftest.$ac_ext
58749 cat >>conftest.$ac_ext <<_ACEOF
58750 /* end confdefs.h.  */
58751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58752    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58753 #define $ac_func innocuous_$ac_func
58754
58755 /* System header to define __stub macros and hopefully few prototypes,
58756     which can conflict with char $ac_func (); below.
58757     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58758     <limits.h> exists even on freestanding compilers.  */
58759
58760 #ifdef __STDC__
58761 # include <limits.h>
58762 #else
58763 # include <assert.h>
58764 #endif
58765
58766 #undef $ac_func
58767
58768 /* Override any gcc2 internal prototype to avoid an error.  */
58769 #ifdef __cplusplus
58770 extern "C"
58771 {
58772 #endif
58773 /* We use char because int might match the return type of a gcc2
58774    builtin and then its argument prototype would still apply.  */
58775 char $ac_func ();
58776 /* The GNU C library defines this for functions which it implements
58777     to always fail with ENOSYS.  Some functions are actually named
58778     something starting with __ and the normal name is an alias.  */
58779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58780 choke me
58781 #else
58782 char (*f) () = $ac_func;
58783 #endif
58784 #ifdef __cplusplus
58785 }
58786 #endif
58787
58788 int
58789 main ()
58790 {
58791 return f != $ac_func;
58792   ;
58793   return 0;
58794 }
58795 _ACEOF
58796 rm -f conftest.$ac_objext conftest$ac_exeext
58797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58798   (eval $ac_link) 2>conftest.er1
58799   ac_status=$?
58800   grep -v '^ *+' conftest.er1 >conftest.err
58801   rm -f conftest.er1
58802   cat conftest.err >&5
58803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58804   (exit $ac_status); } &&
58805          { ac_try='test -z "$ac_c_werror_flag"
58806                          || test ! -s conftest.err'
58807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58808   (eval $ac_try) 2>&5
58809   ac_status=$?
58810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58811   (exit $ac_status); }; } &&
58812          { ac_try='test -s conftest$ac_exeext'
58813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58814   (eval $ac_try) 2>&5
58815   ac_status=$?
58816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58817   (exit $ac_status); }; }; then
58818   eval "$as_ac_var=yes"
58819 else
58820   echo "$as_me: failed program was:" >&5
58821 sed 's/^/| /' conftest.$ac_ext >&5
58822
58823 eval "$as_ac_var=no"
58824 fi
58825 rm -f conftest.err conftest.$ac_objext \
58826       conftest$ac_exeext conftest.$ac_ext
58827 fi
58828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58830 if test `eval echo '${'$as_ac_var'}'` = yes; then
58831   cat >>confdefs.h <<_ACEOF
58832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58833 _ACEOF
58834
58835 fi
58836 done
58837
58838   else
58839
58840   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
58841 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
58842   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58843     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
58844   echo $ECHO_N "(cached) $ECHO_C" >&6
58845 else
58846
58847
58848
58849       ac_ext=cc
58850 ac_cpp='$CXXCPP $CPPFLAGS'
58851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58854
58855       cat >conftest.$ac_ext <<_ACEOF
58856 /* confdefs.h.  */
58857 _ACEOF
58858 cat confdefs.h >>conftest.$ac_ext
58859 cat >>conftest.$ac_ext <<_ACEOF
58860 /* end confdefs.h.  */
58861 #include <math.h>
58862                       #ifdef HAVE_IEEEFP_H
58863                       #include <ieeefp.h>
58864                       #endif
58865
58866 int
58867 main ()
58868 {
58869  _isnanf(0);
58870   ;
58871   return 0;
58872 }
58873 _ACEOF
58874 rm -f conftest.$ac_objext
58875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58876   (eval $ac_compile) 2>conftest.er1
58877   ac_status=$?
58878   grep -v '^ *+' conftest.er1 >conftest.err
58879   rm -f conftest.er1
58880   cat conftest.err >&5
58881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58882   (exit $ac_status); } &&
58883          { ac_try='test -z "$ac_cxx_werror_flag"
58884                          || test ! -s conftest.err'
58885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58886   (eval $ac_try) 2>&5
58887   ac_status=$?
58888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58889   (exit $ac_status); }; } &&
58890          { ac_try='test -s conftest.$ac_objext'
58891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58892   (eval $ac_try) 2>&5
58893   ac_status=$?
58894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58895   (exit $ac_status); }; }; then
58896   glibcxx_cv_func__isnanf_use=yes
58897 else
58898   echo "$as_me: failed program was:" >&5
58899 sed 's/^/| /' conftest.$ac_ext >&5
58900
58901 glibcxx_cv_func__isnanf_use=no
58902 fi
58903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58904       ac_ext=c
58905 ac_cpp='$CPP $CPPFLAGS'
58906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58909
58910
58911 fi
58912
58913   fi
58914   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
58915 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
58916
58917     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58918
58919 for ac_func in _isnanf
58920 do
58921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58922 echo "$as_me:$LINENO: checking for $ac_func" >&5
58923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58924 if eval "test \"\${$as_ac_var+set}\" = set"; then
58925   echo $ECHO_N "(cached) $ECHO_C" >&6
58926 else
58927   if test x$gcc_no_link = xyes; then
58928   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58930    { (exit 1); exit 1; }; }
58931 fi
58932 cat >conftest.$ac_ext <<_ACEOF
58933 /* confdefs.h.  */
58934 _ACEOF
58935 cat confdefs.h >>conftest.$ac_ext
58936 cat >>conftest.$ac_ext <<_ACEOF
58937 /* end confdefs.h.  */
58938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58939    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58940 #define $ac_func innocuous_$ac_func
58941
58942 /* System header to define __stub macros and hopefully few prototypes,
58943     which can conflict with char $ac_func (); below.
58944     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58945     <limits.h> exists even on freestanding compilers.  */
58946
58947 #ifdef __STDC__
58948 # include <limits.h>
58949 #else
58950 # include <assert.h>
58951 #endif
58952
58953 #undef $ac_func
58954
58955 /* Override any gcc2 internal prototype to avoid an error.  */
58956 #ifdef __cplusplus
58957 extern "C"
58958 {
58959 #endif
58960 /* We use char because int might match the return type of a gcc2
58961    builtin and then its argument prototype would still apply.  */
58962 char $ac_func ();
58963 /* The GNU C library defines this for functions which it implements
58964     to always fail with ENOSYS.  Some functions are actually named
58965     something starting with __ and the normal name is an alias.  */
58966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58967 choke me
58968 #else
58969 char (*f) () = $ac_func;
58970 #endif
58971 #ifdef __cplusplus
58972 }
58973 #endif
58974
58975 int
58976 main ()
58977 {
58978 return f != $ac_func;
58979   ;
58980   return 0;
58981 }
58982 _ACEOF
58983 rm -f conftest.$ac_objext conftest$ac_exeext
58984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58985   (eval $ac_link) 2>conftest.er1
58986   ac_status=$?
58987   grep -v '^ *+' conftest.er1 >conftest.err
58988   rm -f conftest.er1
58989   cat conftest.err >&5
58990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58991   (exit $ac_status); } &&
58992          { ac_try='test -z "$ac_c_werror_flag"
58993                          || test ! -s conftest.err'
58994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58995   (eval $ac_try) 2>&5
58996   ac_status=$?
58997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58998   (exit $ac_status); }; } &&
58999          { ac_try='test -s conftest$ac_exeext'
59000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59001   (eval $ac_try) 2>&5
59002   ac_status=$?
59003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59004   (exit $ac_status); }; }; then
59005   eval "$as_ac_var=yes"
59006 else
59007   echo "$as_me: failed program was:" >&5
59008 sed 's/^/| /' conftest.$ac_ext >&5
59009
59010 eval "$as_ac_var=no"
59011 fi
59012 rm -f conftest.err conftest.$ac_objext \
59013       conftest$ac_exeext conftest.$ac_ext
59014 fi
59015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59017 if test `eval echo '${'$as_ac_var'}'` = yes; then
59018   cat >>confdefs.h <<_ACEOF
59019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59020 _ACEOF
59021
59022 fi
59023 done
59024
59025     fi
59026   fi
59027
59028
59029
59030
59031
59032
59033   echo "$as_me:$LINENO: checking for isinff declaration" >&5
59034 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
59035   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59036     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
59037   echo $ECHO_N "(cached) $ECHO_C" >&6
59038 else
59039
59040
59041
59042       ac_ext=cc
59043 ac_cpp='$CXXCPP $CPPFLAGS'
59044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59047
59048       cat >conftest.$ac_ext <<_ACEOF
59049 /* confdefs.h.  */
59050 _ACEOF
59051 cat confdefs.h >>conftest.$ac_ext
59052 cat >>conftest.$ac_ext <<_ACEOF
59053 /* end confdefs.h.  */
59054 #include <math.h>
59055                       #ifdef HAVE_IEEEFP_H
59056                       #include <ieeefp.h>
59057                       #endif
59058
59059 int
59060 main ()
59061 {
59062  isinff(0);
59063   ;
59064   return 0;
59065 }
59066 _ACEOF
59067 rm -f conftest.$ac_objext
59068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59069   (eval $ac_compile) 2>conftest.er1
59070   ac_status=$?
59071   grep -v '^ *+' conftest.er1 >conftest.err
59072   rm -f conftest.er1
59073   cat conftest.err >&5
59074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59075   (exit $ac_status); } &&
59076          { ac_try='test -z "$ac_cxx_werror_flag"
59077                          || test ! -s conftest.err'
59078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59079   (eval $ac_try) 2>&5
59080   ac_status=$?
59081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59082   (exit $ac_status); }; } &&
59083          { ac_try='test -s conftest.$ac_objext'
59084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59085   (eval $ac_try) 2>&5
59086   ac_status=$?
59087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59088   (exit $ac_status); }; }; then
59089   glibcxx_cv_func_isinff_use=yes
59090 else
59091   echo "$as_me: failed program was:" >&5
59092 sed 's/^/| /' conftest.$ac_ext >&5
59093
59094 glibcxx_cv_func_isinff_use=no
59095 fi
59096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59097       ac_ext=c
59098 ac_cpp='$CPP $CPPFLAGS'
59099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59102
59103
59104 fi
59105
59106   fi
59107   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
59108 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
59109
59110   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59111
59112 for ac_func in isinff
59113 do
59114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59115 echo "$as_me:$LINENO: checking for $ac_func" >&5
59116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59117 if eval "test \"\${$as_ac_var+set}\" = set"; then
59118   echo $ECHO_N "(cached) $ECHO_C" >&6
59119 else
59120   if test x$gcc_no_link = xyes; then
59121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59123    { (exit 1); exit 1; }; }
59124 fi
59125 cat >conftest.$ac_ext <<_ACEOF
59126 /* confdefs.h.  */
59127 _ACEOF
59128 cat confdefs.h >>conftest.$ac_ext
59129 cat >>conftest.$ac_ext <<_ACEOF
59130 /* end confdefs.h.  */
59131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59133 #define $ac_func innocuous_$ac_func
59134
59135 /* System header to define __stub macros and hopefully few prototypes,
59136     which can conflict with char $ac_func (); below.
59137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59138     <limits.h> exists even on freestanding compilers.  */
59139
59140 #ifdef __STDC__
59141 # include <limits.h>
59142 #else
59143 # include <assert.h>
59144 #endif
59145
59146 #undef $ac_func
59147
59148 /* Override any gcc2 internal prototype to avoid an error.  */
59149 #ifdef __cplusplus
59150 extern "C"
59151 {
59152 #endif
59153 /* We use char because int might match the return type of a gcc2
59154    builtin and then its argument prototype would still apply.  */
59155 char $ac_func ();
59156 /* The GNU C library defines this for functions which it implements
59157     to always fail with ENOSYS.  Some functions are actually named
59158     something starting with __ and the normal name is an alias.  */
59159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59160 choke me
59161 #else
59162 char (*f) () = $ac_func;
59163 #endif
59164 #ifdef __cplusplus
59165 }
59166 #endif
59167
59168 int
59169 main ()
59170 {
59171 return f != $ac_func;
59172   ;
59173   return 0;
59174 }
59175 _ACEOF
59176 rm -f conftest.$ac_objext conftest$ac_exeext
59177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59178   (eval $ac_link) 2>conftest.er1
59179   ac_status=$?
59180   grep -v '^ *+' conftest.er1 >conftest.err
59181   rm -f conftest.er1
59182   cat conftest.err >&5
59183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59184   (exit $ac_status); } &&
59185          { ac_try='test -z "$ac_c_werror_flag"
59186                          || test ! -s conftest.err'
59187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59188   (eval $ac_try) 2>&5
59189   ac_status=$?
59190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59191   (exit $ac_status); }; } &&
59192          { ac_try='test -s conftest$ac_exeext'
59193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59194   (eval $ac_try) 2>&5
59195   ac_status=$?
59196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59197   (exit $ac_status); }; }; then
59198   eval "$as_ac_var=yes"
59199 else
59200   echo "$as_me: failed program was:" >&5
59201 sed 's/^/| /' conftest.$ac_ext >&5
59202
59203 eval "$as_ac_var=no"
59204 fi
59205 rm -f conftest.err conftest.$ac_objext \
59206       conftest$ac_exeext conftest.$ac_ext
59207 fi
59208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59210 if test `eval echo '${'$as_ac_var'}'` = yes; then
59211   cat >>confdefs.h <<_ACEOF
59212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59213 _ACEOF
59214
59215 fi
59216 done
59217
59218   else
59219
59220   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59221 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59222   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59223     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59224   echo $ECHO_N "(cached) $ECHO_C" >&6
59225 else
59226
59227
59228
59229       ac_ext=cc
59230 ac_cpp='$CXXCPP $CPPFLAGS'
59231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59234
59235       cat >conftest.$ac_ext <<_ACEOF
59236 /* confdefs.h.  */
59237 _ACEOF
59238 cat confdefs.h >>conftest.$ac_ext
59239 cat >>conftest.$ac_ext <<_ACEOF
59240 /* end confdefs.h.  */
59241 #include <math.h>
59242                       #ifdef HAVE_IEEEFP_H
59243                       #include <ieeefp.h>
59244                       #endif
59245
59246 int
59247 main ()
59248 {
59249  _isinff(0);
59250   ;
59251   return 0;
59252 }
59253 _ACEOF
59254 rm -f conftest.$ac_objext
59255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59256   (eval $ac_compile) 2>conftest.er1
59257   ac_status=$?
59258   grep -v '^ *+' conftest.er1 >conftest.err
59259   rm -f conftest.er1
59260   cat conftest.err >&5
59261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59262   (exit $ac_status); } &&
59263          { ac_try='test -z "$ac_cxx_werror_flag"
59264                          || test ! -s conftest.err'
59265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59266   (eval $ac_try) 2>&5
59267   ac_status=$?
59268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59269   (exit $ac_status); }; } &&
59270          { ac_try='test -s conftest.$ac_objext'
59271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59272   (eval $ac_try) 2>&5
59273   ac_status=$?
59274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59275   (exit $ac_status); }; }; then
59276   glibcxx_cv_func__isinff_use=yes
59277 else
59278   echo "$as_me: failed program was:" >&5
59279 sed 's/^/| /' conftest.$ac_ext >&5
59280
59281 glibcxx_cv_func__isinff_use=no
59282 fi
59283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59284       ac_ext=c
59285 ac_cpp='$CPP $CPPFLAGS'
59286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59289
59290
59291 fi
59292
59293   fi
59294   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59295 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59296
59297     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59298
59299 for ac_func in _isinff
59300 do
59301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59302 echo "$as_me:$LINENO: checking for $ac_func" >&5
59303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59304 if eval "test \"\${$as_ac_var+set}\" = set"; then
59305   echo $ECHO_N "(cached) $ECHO_C" >&6
59306 else
59307   if test x$gcc_no_link = xyes; then
59308   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59310    { (exit 1); exit 1; }; }
59311 fi
59312 cat >conftest.$ac_ext <<_ACEOF
59313 /* confdefs.h.  */
59314 _ACEOF
59315 cat confdefs.h >>conftest.$ac_ext
59316 cat >>conftest.$ac_ext <<_ACEOF
59317 /* end confdefs.h.  */
59318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59319    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59320 #define $ac_func innocuous_$ac_func
59321
59322 /* System header to define __stub macros and hopefully few prototypes,
59323     which can conflict with char $ac_func (); below.
59324     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59325     <limits.h> exists even on freestanding compilers.  */
59326
59327 #ifdef __STDC__
59328 # include <limits.h>
59329 #else
59330 # include <assert.h>
59331 #endif
59332
59333 #undef $ac_func
59334
59335 /* Override any gcc2 internal prototype to avoid an error.  */
59336 #ifdef __cplusplus
59337 extern "C"
59338 {
59339 #endif
59340 /* We use char because int might match the return type of a gcc2
59341    builtin and then its argument prototype would still apply.  */
59342 char $ac_func ();
59343 /* The GNU C library defines this for functions which it implements
59344     to always fail with ENOSYS.  Some functions are actually named
59345     something starting with __ and the normal name is an alias.  */
59346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59347 choke me
59348 #else
59349 char (*f) () = $ac_func;
59350 #endif
59351 #ifdef __cplusplus
59352 }
59353 #endif
59354
59355 int
59356 main ()
59357 {
59358 return f != $ac_func;
59359   ;
59360   return 0;
59361 }
59362 _ACEOF
59363 rm -f conftest.$ac_objext conftest$ac_exeext
59364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59365   (eval $ac_link) 2>conftest.er1
59366   ac_status=$?
59367   grep -v '^ *+' conftest.er1 >conftest.err
59368   rm -f conftest.er1
59369   cat conftest.err >&5
59370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59371   (exit $ac_status); } &&
59372          { ac_try='test -z "$ac_c_werror_flag"
59373                          || test ! -s conftest.err'
59374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59375   (eval $ac_try) 2>&5
59376   ac_status=$?
59377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59378   (exit $ac_status); }; } &&
59379          { ac_try='test -s conftest$ac_exeext'
59380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59381   (eval $ac_try) 2>&5
59382   ac_status=$?
59383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59384   (exit $ac_status); }; }; then
59385   eval "$as_ac_var=yes"
59386 else
59387   echo "$as_me: failed program was:" >&5
59388 sed 's/^/| /' conftest.$ac_ext >&5
59389
59390 eval "$as_ac_var=no"
59391 fi
59392 rm -f conftest.err conftest.$ac_objext \
59393       conftest$ac_exeext conftest.$ac_ext
59394 fi
59395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59397 if test `eval echo '${'$as_ac_var'}'` = yes; then
59398   cat >>confdefs.h <<_ACEOF
59399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59400 _ACEOF
59401
59402 fi
59403 done
59404
59405     fi
59406   fi
59407
59408
59409
59410
59411
59412
59413   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59414 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59415   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59416     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59417   echo $ECHO_N "(cached) $ECHO_C" >&6
59418 else
59419
59420
59421
59422       ac_ext=cc
59423 ac_cpp='$CXXCPP $CPPFLAGS'
59424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59427
59428       cat >conftest.$ac_ext <<_ACEOF
59429 /* confdefs.h.  */
59430 _ACEOF
59431 cat confdefs.h >>conftest.$ac_ext
59432 cat >>conftest.$ac_ext <<_ACEOF
59433 /* end confdefs.h.  */
59434 #include <math.h>
59435 int
59436 main ()
59437 {
59438  atan2f(0, 0);
59439   ;
59440   return 0;
59441 }
59442 _ACEOF
59443 rm -f conftest.$ac_objext
59444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59445   (eval $ac_compile) 2>conftest.er1
59446   ac_status=$?
59447   grep -v '^ *+' conftest.er1 >conftest.err
59448   rm -f conftest.er1
59449   cat conftest.err >&5
59450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59451   (exit $ac_status); } &&
59452          { ac_try='test -z "$ac_cxx_werror_flag"
59453                          || test ! -s conftest.err'
59454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59455   (eval $ac_try) 2>&5
59456   ac_status=$?
59457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59458   (exit $ac_status); }; } &&
59459          { ac_try='test -s conftest.$ac_objext'
59460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59461   (eval $ac_try) 2>&5
59462   ac_status=$?
59463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59464   (exit $ac_status); }; }; then
59465   glibcxx_cv_func_atan2f_use=yes
59466 else
59467   echo "$as_me: failed program was:" >&5
59468 sed 's/^/| /' conftest.$ac_ext >&5
59469
59470 glibcxx_cv_func_atan2f_use=no
59471 fi
59472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59473       ac_ext=c
59474 ac_cpp='$CPP $CPPFLAGS'
59475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59478
59479
59480 fi
59481
59482   fi
59483   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59484 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59485
59486   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59487
59488 for ac_func in atan2f
59489 do
59490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59491 echo "$as_me:$LINENO: checking for $ac_func" >&5
59492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59493 if eval "test \"\${$as_ac_var+set}\" = set"; then
59494   echo $ECHO_N "(cached) $ECHO_C" >&6
59495 else
59496   if test x$gcc_no_link = xyes; then
59497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59499    { (exit 1); exit 1; }; }
59500 fi
59501 cat >conftest.$ac_ext <<_ACEOF
59502 /* confdefs.h.  */
59503 _ACEOF
59504 cat confdefs.h >>conftest.$ac_ext
59505 cat >>conftest.$ac_ext <<_ACEOF
59506 /* end confdefs.h.  */
59507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59508    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59509 #define $ac_func innocuous_$ac_func
59510
59511 /* System header to define __stub macros and hopefully few prototypes,
59512     which can conflict with char $ac_func (); below.
59513     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59514     <limits.h> exists even on freestanding compilers.  */
59515
59516 #ifdef __STDC__
59517 # include <limits.h>
59518 #else
59519 # include <assert.h>
59520 #endif
59521
59522 #undef $ac_func
59523
59524 /* Override any gcc2 internal prototype to avoid an error.  */
59525 #ifdef __cplusplus
59526 extern "C"
59527 {
59528 #endif
59529 /* We use char because int might match the return type of a gcc2
59530    builtin and then its argument prototype would still apply.  */
59531 char $ac_func ();
59532 /* The GNU C library defines this for functions which it implements
59533     to always fail with ENOSYS.  Some functions are actually named
59534     something starting with __ and the normal name is an alias.  */
59535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59536 choke me
59537 #else
59538 char (*f) () = $ac_func;
59539 #endif
59540 #ifdef __cplusplus
59541 }
59542 #endif
59543
59544 int
59545 main ()
59546 {
59547 return f != $ac_func;
59548   ;
59549   return 0;
59550 }
59551 _ACEOF
59552 rm -f conftest.$ac_objext conftest$ac_exeext
59553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59554   (eval $ac_link) 2>conftest.er1
59555   ac_status=$?
59556   grep -v '^ *+' conftest.er1 >conftest.err
59557   rm -f conftest.er1
59558   cat conftest.err >&5
59559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59560   (exit $ac_status); } &&
59561          { ac_try='test -z "$ac_c_werror_flag"
59562                          || test ! -s conftest.err'
59563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59564   (eval $ac_try) 2>&5
59565   ac_status=$?
59566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59567   (exit $ac_status); }; } &&
59568          { ac_try='test -s conftest$ac_exeext'
59569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59570   (eval $ac_try) 2>&5
59571   ac_status=$?
59572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59573   (exit $ac_status); }; }; then
59574   eval "$as_ac_var=yes"
59575 else
59576   echo "$as_me: failed program was:" >&5
59577 sed 's/^/| /' conftest.$ac_ext >&5
59578
59579 eval "$as_ac_var=no"
59580 fi
59581 rm -f conftest.err conftest.$ac_objext \
59582       conftest$ac_exeext conftest.$ac_ext
59583 fi
59584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59586 if test `eval echo '${'$as_ac_var'}'` = yes; then
59587   cat >>confdefs.h <<_ACEOF
59588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59589 _ACEOF
59590
59591 fi
59592 done
59593
59594   else
59595
59596   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59597 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59598   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59599     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59600   echo $ECHO_N "(cached) $ECHO_C" >&6
59601 else
59602
59603
59604
59605       ac_ext=cc
59606 ac_cpp='$CXXCPP $CPPFLAGS'
59607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59610
59611       cat >conftest.$ac_ext <<_ACEOF
59612 /* confdefs.h.  */
59613 _ACEOF
59614 cat confdefs.h >>conftest.$ac_ext
59615 cat >>conftest.$ac_ext <<_ACEOF
59616 /* end confdefs.h.  */
59617 #include <math.h>
59618 int
59619 main ()
59620 {
59621  _atan2f(0, 0);
59622   ;
59623   return 0;
59624 }
59625 _ACEOF
59626 rm -f conftest.$ac_objext
59627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59628   (eval $ac_compile) 2>conftest.er1
59629   ac_status=$?
59630   grep -v '^ *+' conftest.er1 >conftest.err
59631   rm -f conftest.er1
59632   cat conftest.err >&5
59633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59634   (exit $ac_status); } &&
59635          { ac_try='test -z "$ac_cxx_werror_flag"
59636                          || test ! -s conftest.err'
59637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59638   (eval $ac_try) 2>&5
59639   ac_status=$?
59640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59641   (exit $ac_status); }; } &&
59642          { ac_try='test -s conftest.$ac_objext'
59643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59644   (eval $ac_try) 2>&5
59645   ac_status=$?
59646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59647   (exit $ac_status); }; }; then
59648   glibcxx_cv_func__atan2f_use=yes
59649 else
59650   echo "$as_me: failed program was:" >&5
59651 sed 's/^/| /' conftest.$ac_ext >&5
59652
59653 glibcxx_cv_func__atan2f_use=no
59654 fi
59655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59656       ac_ext=c
59657 ac_cpp='$CPP $CPPFLAGS'
59658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59661
59662
59663 fi
59664
59665   fi
59666   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59667 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59668
59669     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59670
59671 for ac_func in _atan2f
59672 do
59673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59674 echo "$as_me:$LINENO: checking for $ac_func" >&5
59675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59676 if eval "test \"\${$as_ac_var+set}\" = set"; then
59677   echo $ECHO_N "(cached) $ECHO_C" >&6
59678 else
59679   if test x$gcc_no_link = xyes; then
59680   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59682    { (exit 1); exit 1; }; }
59683 fi
59684 cat >conftest.$ac_ext <<_ACEOF
59685 /* confdefs.h.  */
59686 _ACEOF
59687 cat confdefs.h >>conftest.$ac_ext
59688 cat >>conftest.$ac_ext <<_ACEOF
59689 /* end confdefs.h.  */
59690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59691    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59692 #define $ac_func innocuous_$ac_func
59693
59694 /* System header to define __stub macros and hopefully few prototypes,
59695     which can conflict with char $ac_func (); below.
59696     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59697     <limits.h> exists even on freestanding compilers.  */
59698
59699 #ifdef __STDC__
59700 # include <limits.h>
59701 #else
59702 # include <assert.h>
59703 #endif
59704
59705 #undef $ac_func
59706
59707 /* Override any gcc2 internal prototype to avoid an error.  */
59708 #ifdef __cplusplus
59709 extern "C"
59710 {
59711 #endif
59712 /* We use char because int might match the return type of a gcc2
59713    builtin and then its argument prototype would still apply.  */
59714 char $ac_func ();
59715 /* The GNU C library defines this for functions which it implements
59716     to always fail with ENOSYS.  Some functions are actually named
59717     something starting with __ and the normal name is an alias.  */
59718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59719 choke me
59720 #else
59721 char (*f) () = $ac_func;
59722 #endif
59723 #ifdef __cplusplus
59724 }
59725 #endif
59726
59727 int
59728 main ()
59729 {
59730 return f != $ac_func;
59731   ;
59732   return 0;
59733 }
59734 _ACEOF
59735 rm -f conftest.$ac_objext conftest$ac_exeext
59736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59737   (eval $ac_link) 2>conftest.er1
59738   ac_status=$?
59739   grep -v '^ *+' conftest.er1 >conftest.err
59740   rm -f conftest.er1
59741   cat conftest.err >&5
59742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59743   (exit $ac_status); } &&
59744          { ac_try='test -z "$ac_c_werror_flag"
59745                          || test ! -s conftest.err'
59746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59747   (eval $ac_try) 2>&5
59748   ac_status=$?
59749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59750   (exit $ac_status); }; } &&
59751          { ac_try='test -s conftest$ac_exeext'
59752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59753   (eval $ac_try) 2>&5
59754   ac_status=$?
59755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59756   (exit $ac_status); }; }; then
59757   eval "$as_ac_var=yes"
59758 else
59759   echo "$as_me: failed program was:" >&5
59760 sed 's/^/| /' conftest.$ac_ext >&5
59761
59762 eval "$as_ac_var=no"
59763 fi
59764 rm -f conftest.err conftest.$ac_objext \
59765       conftest$ac_exeext conftest.$ac_ext
59766 fi
59767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59769 if test `eval echo '${'$as_ac_var'}'` = yes; then
59770   cat >>confdefs.h <<_ACEOF
59771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59772 _ACEOF
59773
59774 fi
59775 done
59776
59777     fi
59778   fi
59779
59780
59781
59782
59783
59784
59785   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59786 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59787   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59788     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59789   echo $ECHO_N "(cached) $ECHO_C" >&6
59790 else
59791
59792
59793
59794       ac_ext=cc
59795 ac_cpp='$CXXCPP $CPPFLAGS'
59796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59799
59800       cat >conftest.$ac_ext <<_ACEOF
59801 /* confdefs.h.  */
59802 _ACEOF
59803 cat confdefs.h >>conftest.$ac_ext
59804 cat >>conftest.$ac_ext <<_ACEOF
59805 /* end confdefs.h.  */
59806 #include <math.h>
59807                       #ifdef HAVE_IEEEFP_H
59808                       #include <ieeefp.h>
59809                       #endif
59810
59811 int
59812 main ()
59813 {
59814  fabsf(0);
59815   ;
59816   return 0;
59817 }
59818 _ACEOF
59819 rm -f conftest.$ac_objext
59820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59821   (eval $ac_compile) 2>conftest.er1
59822   ac_status=$?
59823   grep -v '^ *+' conftest.er1 >conftest.err
59824   rm -f conftest.er1
59825   cat conftest.err >&5
59826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59827   (exit $ac_status); } &&
59828          { ac_try='test -z "$ac_cxx_werror_flag"
59829                          || test ! -s conftest.err'
59830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59831   (eval $ac_try) 2>&5
59832   ac_status=$?
59833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59834   (exit $ac_status); }; } &&
59835          { ac_try='test -s conftest.$ac_objext'
59836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59837   (eval $ac_try) 2>&5
59838   ac_status=$?
59839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59840   (exit $ac_status); }; }; then
59841   glibcxx_cv_func_fabsf_use=yes
59842 else
59843   echo "$as_me: failed program was:" >&5
59844 sed 's/^/| /' conftest.$ac_ext >&5
59845
59846 glibcxx_cv_func_fabsf_use=no
59847 fi
59848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59849       ac_ext=c
59850 ac_cpp='$CPP $CPPFLAGS'
59851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59854
59855
59856 fi
59857
59858   fi
59859   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
59860 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
59861
59862   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59863
59864 for ac_func in fabsf
59865 do
59866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59867 echo "$as_me:$LINENO: checking for $ac_func" >&5
59868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59869 if eval "test \"\${$as_ac_var+set}\" = set"; then
59870   echo $ECHO_N "(cached) $ECHO_C" >&6
59871 else
59872   if test x$gcc_no_link = xyes; then
59873   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59875    { (exit 1); exit 1; }; }
59876 fi
59877 cat >conftest.$ac_ext <<_ACEOF
59878 /* confdefs.h.  */
59879 _ACEOF
59880 cat confdefs.h >>conftest.$ac_ext
59881 cat >>conftest.$ac_ext <<_ACEOF
59882 /* end confdefs.h.  */
59883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59884    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59885 #define $ac_func innocuous_$ac_func
59886
59887 /* System header to define __stub macros and hopefully few prototypes,
59888     which can conflict with char $ac_func (); below.
59889     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59890     <limits.h> exists even on freestanding compilers.  */
59891
59892 #ifdef __STDC__
59893 # include <limits.h>
59894 #else
59895 # include <assert.h>
59896 #endif
59897
59898 #undef $ac_func
59899
59900 /* Override any gcc2 internal prototype to avoid an error.  */
59901 #ifdef __cplusplus
59902 extern "C"
59903 {
59904 #endif
59905 /* We use char because int might match the return type of a gcc2
59906    builtin and then its argument prototype would still apply.  */
59907 char $ac_func ();
59908 /* The GNU C library defines this for functions which it implements
59909     to always fail with ENOSYS.  Some functions are actually named
59910     something starting with __ and the normal name is an alias.  */
59911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59912 choke me
59913 #else
59914 char (*f) () = $ac_func;
59915 #endif
59916 #ifdef __cplusplus
59917 }
59918 #endif
59919
59920 int
59921 main ()
59922 {
59923 return f != $ac_func;
59924   ;
59925   return 0;
59926 }
59927 _ACEOF
59928 rm -f conftest.$ac_objext conftest$ac_exeext
59929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59930   (eval $ac_link) 2>conftest.er1
59931   ac_status=$?
59932   grep -v '^ *+' conftest.er1 >conftest.err
59933   rm -f conftest.er1
59934   cat conftest.err >&5
59935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59936   (exit $ac_status); } &&
59937          { ac_try='test -z "$ac_c_werror_flag"
59938                          || test ! -s conftest.err'
59939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59940   (eval $ac_try) 2>&5
59941   ac_status=$?
59942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59943   (exit $ac_status); }; } &&
59944          { ac_try='test -s conftest$ac_exeext'
59945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59946   (eval $ac_try) 2>&5
59947   ac_status=$?
59948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59949   (exit $ac_status); }; }; then
59950   eval "$as_ac_var=yes"
59951 else
59952   echo "$as_me: failed program was:" >&5
59953 sed 's/^/| /' conftest.$ac_ext >&5
59954
59955 eval "$as_ac_var=no"
59956 fi
59957 rm -f conftest.err conftest.$ac_objext \
59958       conftest$ac_exeext conftest.$ac_ext
59959 fi
59960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59962 if test `eval echo '${'$as_ac_var'}'` = yes; then
59963   cat >>confdefs.h <<_ACEOF
59964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59965 _ACEOF
59966
59967 fi
59968 done
59969
59970   else
59971
59972   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
59973 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
59974   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59975     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
59976   echo $ECHO_N "(cached) $ECHO_C" >&6
59977 else
59978
59979
59980
59981       ac_ext=cc
59982 ac_cpp='$CXXCPP $CPPFLAGS'
59983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59986
59987       cat >conftest.$ac_ext <<_ACEOF
59988 /* confdefs.h.  */
59989 _ACEOF
59990 cat confdefs.h >>conftest.$ac_ext
59991 cat >>conftest.$ac_ext <<_ACEOF
59992 /* end confdefs.h.  */
59993 #include <math.h>
59994                       #ifdef HAVE_IEEEFP_H
59995                       #include <ieeefp.h>
59996                       #endif
59997
59998 int
59999 main ()
60000 {
60001  _fabsf(0);
60002   ;
60003   return 0;
60004 }
60005 _ACEOF
60006 rm -f conftest.$ac_objext
60007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60008   (eval $ac_compile) 2>conftest.er1
60009   ac_status=$?
60010   grep -v '^ *+' conftest.er1 >conftest.err
60011   rm -f conftest.er1
60012   cat conftest.err >&5
60013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60014   (exit $ac_status); } &&
60015          { ac_try='test -z "$ac_cxx_werror_flag"
60016                          || test ! -s conftest.err'
60017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60018   (eval $ac_try) 2>&5
60019   ac_status=$?
60020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60021   (exit $ac_status); }; } &&
60022          { ac_try='test -s conftest.$ac_objext'
60023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60024   (eval $ac_try) 2>&5
60025   ac_status=$?
60026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60027   (exit $ac_status); }; }; then
60028   glibcxx_cv_func__fabsf_use=yes
60029 else
60030   echo "$as_me: failed program was:" >&5
60031 sed 's/^/| /' conftest.$ac_ext >&5
60032
60033 glibcxx_cv_func__fabsf_use=no
60034 fi
60035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60036       ac_ext=c
60037 ac_cpp='$CPP $CPPFLAGS'
60038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60041
60042
60043 fi
60044
60045   fi
60046   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
60047 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
60048
60049     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60050
60051 for ac_func in _fabsf
60052 do
60053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60054 echo "$as_me:$LINENO: checking for $ac_func" >&5
60055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60056 if eval "test \"\${$as_ac_var+set}\" = set"; then
60057   echo $ECHO_N "(cached) $ECHO_C" >&6
60058 else
60059   if test x$gcc_no_link = xyes; then
60060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60062    { (exit 1); exit 1; }; }
60063 fi
60064 cat >conftest.$ac_ext <<_ACEOF
60065 /* confdefs.h.  */
60066 _ACEOF
60067 cat confdefs.h >>conftest.$ac_ext
60068 cat >>conftest.$ac_ext <<_ACEOF
60069 /* end confdefs.h.  */
60070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60071    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60072 #define $ac_func innocuous_$ac_func
60073
60074 /* System header to define __stub macros and hopefully few prototypes,
60075     which can conflict with char $ac_func (); below.
60076     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60077     <limits.h> exists even on freestanding compilers.  */
60078
60079 #ifdef __STDC__
60080 # include <limits.h>
60081 #else
60082 # include <assert.h>
60083 #endif
60084
60085 #undef $ac_func
60086
60087 /* Override any gcc2 internal prototype to avoid an error.  */
60088 #ifdef __cplusplus
60089 extern "C"
60090 {
60091 #endif
60092 /* We use char because int might match the return type of a gcc2
60093    builtin and then its argument prototype would still apply.  */
60094 char $ac_func ();
60095 /* The GNU C library defines this for functions which it implements
60096     to always fail with ENOSYS.  Some functions are actually named
60097     something starting with __ and the normal name is an alias.  */
60098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60099 choke me
60100 #else
60101 char (*f) () = $ac_func;
60102 #endif
60103 #ifdef __cplusplus
60104 }
60105 #endif
60106
60107 int
60108 main ()
60109 {
60110 return f != $ac_func;
60111   ;
60112   return 0;
60113 }
60114 _ACEOF
60115 rm -f conftest.$ac_objext conftest$ac_exeext
60116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60117   (eval $ac_link) 2>conftest.er1
60118   ac_status=$?
60119   grep -v '^ *+' conftest.er1 >conftest.err
60120   rm -f conftest.er1
60121   cat conftest.err >&5
60122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60123   (exit $ac_status); } &&
60124          { ac_try='test -z "$ac_c_werror_flag"
60125                          || test ! -s conftest.err'
60126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60127   (eval $ac_try) 2>&5
60128   ac_status=$?
60129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60130   (exit $ac_status); }; } &&
60131          { ac_try='test -s conftest$ac_exeext'
60132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60133   (eval $ac_try) 2>&5
60134   ac_status=$?
60135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60136   (exit $ac_status); }; }; then
60137   eval "$as_ac_var=yes"
60138 else
60139   echo "$as_me: failed program was:" >&5
60140 sed 's/^/| /' conftest.$ac_ext >&5
60141
60142 eval "$as_ac_var=no"
60143 fi
60144 rm -f conftest.err conftest.$ac_objext \
60145       conftest$ac_exeext conftest.$ac_ext
60146 fi
60147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60149 if test `eval echo '${'$as_ac_var'}'` = yes; then
60150   cat >>confdefs.h <<_ACEOF
60151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60152 _ACEOF
60153
60154 fi
60155 done
60156
60157     fi
60158   fi
60159
60160
60161
60162
60163
60164
60165   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
60166 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
60167   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60168     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
60169   echo $ECHO_N "(cached) $ECHO_C" >&6
60170 else
60171
60172
60173
60174       ac_ext=cc
60175 ac_cpp='$CXXCPP $CPPFLAGS'
60176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60179
60180       cat >conftest.$ac_ext <<_ACEOF
60181 /* confdefs.h.  */
60182 _ACEOF
60183 cat confdefs.h >>conftest.$ac_ext
60184 cat >>conftest.$ac_ext <<_ACEOF
60185 /* end confdefs.h.  */
60186 #include <math.h>
60187 int
60188 main ()
60189 {
60190  fmodf(0, 0);
60191   ;
60192   return 0;
60193 }
60194 _ACEOF
60195 rm -f conftest.$ac_objext
60196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60197   (eval $ac_compile) 2>conftest.er1
60198   ac_status=$?
60199   grep -v '^ *+' conftest.er1 >conftest.err
60200   rm -f conftest.er1
60201   cat conftest.err >&5
60202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60203   (exit $ac_status); } &&
60204          { ac_try='test -z "$ac_cxx_werror_flag"
60205                          || test ! -s conftest.err'
60206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60207   (eval $ac_try) 2>&5
60208   ac_status=$?
60209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60210   (exit $ac_status); }; } &&
60211          { ac_try='test -s conftest.$ac_objext'
60212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60213   (eval $ac_try) 2>&5
60214   ac_status=$?
60215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60216   (exit $ac_status); }; }; then
60217   glibcxx_cv_func_fmodf_use=yes
60218 else
60219   echo "$as_me: failed program was:" >&5
60220 sed 's/^/| /' conftest.$ac_ext >&5
60221
60222 glibcxx_cv_func_fmodf_use=no
60223 fi
60224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60225       ac_ext=c
60226 ac_cpp='$CPP $CPPFLAGS'
60227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60230
60231
60232 fi
60233
60234   fi
60235   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60236 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60237
60238   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60239
60240 for ac_func in fmodf
60241 do
60242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60243 echo "$as_me:$LINENO: checking for $ac_func" >&5
60244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60245 if eval "test \"\${$as_ac_var+set}\" = set"; then
60246   echo $ECHO_N "(cached) $ECHO_C" >&6
60247 else
60248   if test x$gcc_no_link = xyes; then
60249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60251    { (exit 1); exit 1; }; }
60252 fi
60253 cat >conftest.$ac_ext <<_ACEOF
60254 /* confdefs.h.  */
60255 _ACEOF
60256 cat confdefs.h >>conftest.$ac_ext
60257 cat >>conftest.$ac_ext <<_ACEOF
60258 /* end confdefs.h.  */
60259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60260    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60261 #define $ac_func innocuous_$ac_func
60262
60263 /* System header to define __stub macros and hopefully few prototypes,
60264     which can conflict with char $ac_func (); below.
60265     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60266     <limits.h> exists even on freestanding compilers.  */
60267
60268 #ifdef __STDC__
60269 # include <limits.h>
60270 #else
60271 # include <assert.h>
60272 #endif
60273
60274 #undef $ac_func
60275
60276 /* Override any gcc2 internal prototype to avoid an error.  */
60277 #ifdef __cplusplus
60278 extern "C"
60279 {
60280 #endif
60281 /* We use char because int might match the return type of a gcc2
60282    builtin and then its argument prototype would still apply.  */
60283 char $ac_func ();
60284 /* The GNU C library defines this for functions which it implements
60285     to always fail with ENOSYS.  Some functions are actually named
60286     something starting with __ and the normal name is an alias.  */
60287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60288 choke me
60289 #else
60290 char (*f) () = $ac_func;
60291 #endif
60292 #ifdef __cplusplus
60293 }
60294 #endif
60295
60296 int
60297 main ()
60298 {
60299 return f != $ac_func;
60300   ;
60301   return 0;
60302 }
60303 _ACEOF
60304 rm -f conftest.$ac_objext conftest$ac_exeext
60305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60306   (eval $ac_link) 2>conftest.er1
60307   ac_status=$?
60308   grep -v '^ *+' conftest.er1 >conftest.err
60309   rm -f conftest.er1
60310   cat conftest.err >&5
60311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60312   (exit $ac_status); } &&
60313          { ac_try='test -z "$ac_c_werror_flag"
60314                          || test ! -s conftest.err'
60315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60316   (eval $ac_try) 2>&5
60317   ac_status=$?
60318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60319   (exit $ac_status); }; } &&
60320          { ac_try='test -s conftest$ac_exeext'
60321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60322   (eval $ac_try) 2>&5
60323   ac_status=$?
60324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60325   (exit $ac_status); }; }; then
60326   eval "$as_ac_var=yes"
60327 else
60328   echo "$as_me: failed program was:" >&5
60329 sed 's/^/| /' conftest.$ac_ext >&5
60330
60331 eval "$as_ac_var=no"
60332 fi
60333 rm -f conftest.err conftest.$ac_objext \
60334       conftest$ac_exeext conftest.$ac_ext
60335 fi
60336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60338 if test `eval echo '${'$as_ac_var'}'` = yes; then
60339   cat >>confdefs.h <<_ACEOF
60340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60341 _ACEOF
60342
60343 fi
60344 done
60345
60346   else
60347
60348   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60349 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60350   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60351     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60352   echo $ECHO_N "(cached) $ECHO_C" >&6
60353 else
60354
60355
60356
60357       ac_ext=cc
60358 ac_cpp='$CXXCPP $CPPFLAGS'
60359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60362
60363       cat >conftest.$ac_ext <<_ACEOF
60364 /* confdefs.h.  */
60365 _ACEOF
60366 cat confdefs.h >>conftest.$ac_ext
60367 cat >>conftest.$ac_ext <<_ACEOF
60368 /* end confdefs.h.  */
60369 #include <math.h>
60370 int
60371 main ()
60372 {
60373  _fmodf(0, 0);
60374   ;
60375   return 0;
60376 }
60377 _ACEOF
60378 rm -f conftest.$ac_objext
60379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60380   (eval $ac_compile) 2>conftest.er1
60381   ac_status=$?
60382   grep -v '^ *+' conftest.er1 >conftest.err
60383   rm -f conftest.er1
60384   cat conftest.err >&5
60385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60386   (exit $ac_status); } &&
60387          { ac_try='test -z "$ac_cxx_werror_flag"
60388                          || test ! -s conftest.err'
60389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60390   (eval $ac_try) 2>&5
60391   ac_status=$?
60392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60393   (exit $ac_status); }; } &&
60394          { ac_try='test -s conftest.$ac_objext'
60395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60396   (eval $ac_try) 2>&5
60397   ac_status=$?
60398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60399   (exit $ac_status); }; }; then
60400   glibcxx_cv_func__fmodf_use=yes
60401 else
60402   echo "$as_me: failed program was:" >&5
60403 sed 's/^/| /' conftest.$ac_ext >&5
60404
60405 glibcxx_cv_func__fmodf_use=no
60406 fi
60407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60408       ac_ext=c
60409 ac_cpp='$CPP $CPPFLAGS'
60410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60413
60414
60415 fi
60416
60417   fi
60418   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60419 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60420
60421     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60422
60423 for ac_func in _fmodf
60424 do
60425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60426 echo "$as_me:$LINENO: checking for $ac_func" >&5
60427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60428 if eval "test \"\${$as_ac_var+set}\" = set"; then
60429   echo $ECHO_N "(cached) $ECHO_C" >&6
60430 else
60431   if test x$gcc_no_link = xyes; then
60432   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60434    { (exit 1); exit 1; }; }
60435 fi
60436 cat >conftest.$ac_ext <<_ACEOF
60437 /* confdefs.h.  */
60438 _ACEOF
60439 cat confdefs.h >>conftest.$ac_ext
60440 cat >>conftest.$ac_ext <<_ACEOF
60441 /* end confdefs.h.  */
60442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60443    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60444 #define $ac_func innocuous_$ac_func
60445
60446 /* System header to define __stub macros and hopefully few prototypes,
60447     which can conflict with char $ac_func (); below.
60448     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60449     <limits.h> exists even on freestanding compilers.  */
60450
60451 #ifdef __STDC__
60452 # include <limits.h>
60453 #else
60454 # include <assert.h>
60455 #endif
60456
60457 #undef $ac_func
60458
60459 /* Override any gcc2 internal prototype to avoid an error.  */
60460 #ifdef __cplusplus
60461 extern "C"
60462 {
60463 #endif
60464 /* We use char because int might match the return type of a gcc2
60465    builtin and then its argument prototype would still apply.  */
60466 char $ac_func ();
60467 /* The GNU C library defines this for functions which it implements
60468     to always fail with ENOSYS.  Some functions are actually named
60469     something starting with __ and the normal name is an alias.  */
60470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60471 choke me
60472 #else
60473 char (*f) () = $ac_func;
60474 #endif
60475 #ifdef __cplusplus
60476 }
60477 #endif
60478
60479 int
60480 main ()
60481 {
60482 return f != $ac_func;
60483   ;
60484   return 0;
60485 }
60486 _ACEOF
60487 rm -f conftest.$ac_objext conftest$ac_exeext
60488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60489   (eval $ac_link) 2>conftest.er1
60490   ac_status=$?
60491   grep -v '^ *+' conftest.er1 >conftest.err
60492   rm -f conftest.er1
60493   cat conftest.err >&5
60494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60495   (exit $ac_status); } &&
60496          { ac_try='test -z "$ac_c_werror_flag"
60497                          || test ! -s conftest.err'
60498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60499   (eval $ac_try) 2>&5
60500   ac_status=$?
60501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60502   (exit $ac_status); }; } &&
60503          { ac_try='test -s conftest$ac_exeext'
60504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60505   (eval $ac_try) 2>&5
60506   ac_status=$?
60507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60508   (exit $ac_status); }; }; then
60509   eval "$as_ac_var=yes"
60510 else
60511   echo "$as_me: failed program was:" >&5
60512 sed 's/^/| /' conftest.$ac_ext >&5
60513
60514 eval "$as_ac_var=no"
60515 fi
60516 rm -f conftest.err conftest.$ac_objext \
60517       conftest$ac_exeext conftest.$ac_ext
60518 fi
60519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60521 if test `eval echo '${'$as_ac_var'}'` = yes; then
60522   cat >>confdefs.h <<_ACEOF
60523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60524 _ACEOF
60525
60526 fi
60527 done
60528
60529     fi
60530   fi
60531
60532
60533
60534
60535
60536
60537   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60538 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60539   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60540     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60541   echo $ECHO_N "(cached) $ECHO_C" >&6
60542 else
60543
60544
60545
60546       ac_ext=cc
60547 ac_cpp='$CXXCPP $CPPFLAGS'
60548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60551
60552       cat >conftest.$ac_ext <<_ACEOF
60553 /* confdefs.h.  */
60554 _ACEOF
60555 cat confdefs.h >>conftest.$ac_ext
60556 cat >>conftest.$ac_ext <<_ACEOF
60557 /* end confdefs.h.  */
60558 #include <math.h>
60559 int
60560 main ()
60561 {
60562  frexpf(0, 0);
60563   ;
60564   return 0;
60565 }
60566 _ACEOF
60567 rm -f conftest.$ac_objext
60568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60569   (eval $ac_compile) 2>conftest.er1
60570   ac_status=$?
60571   grep -v '^ *+' conftest.er1 >conftest.err
60572   rm -f conftest.er1
60573   cat conftest.err >&5
60574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60575   (exit $ac_status); } &&
60576          { ac_try='test -z "$ac_cxx_werror_flag"
60577                          || test ! -s conftest.err'
60578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60579   (eval $ac_try) 2>&5
60580   ac_status=$?
60581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60582   (exit $ac_status); }; } &&
60583          { ac_try='test -s conftest.$ac_objext'
60584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60585   (eval $ac_try) 2>&5
60586   ac_status=$?
60587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60588   (exit $ac_status); }; }; then
60589   glibcxx_cv_func_frexpf_use=yes
60590 else
60591   echo "$as_me: failed program was:" >&5
60592 sed 's/^/| /' conftest.$ac_ext >&5
60593
60594 glibcxx_cv_func_frexpf_use=no
60595 fi
60596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60597       ac_ext=c
60598 ac_cpp='$CPP $CPPFLAGS'
60599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60602
60603
60604 fi
60605
60606   fi
60607   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60608 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60609
60610   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60611
60612 for ac_func in frexpf
60613 do
60614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60615 echo "$as_me:$LINENO: checking for $ac_func" >&5
60616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60617 if eval "test \"\${$as_ac_var+set}\" = set"; then
60618   echo $ECHO_N "(cached) $ECHO_C" >&6
60619 else
60620   if test x$gcc_no_link = xyes; then
60621   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60623    { (exit 1); exit 1; }; }
60624 fi
60625 cat >conftest.$ac_ext <<_ACEOF
60626 /* confdefs.h.  */
60627 _ACEOF
60628 cat confdefs.h >>conftest.$ac_ext
60629 cat >>conftest.$ac_ext <<_ACEOF
60630 /* end confdefs.h.  */
60631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60632    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60633 #define $ac_func innocuous_$ac_func
60634
60635 /* System header to define __stub macros and hopefully few prototypes,
60636     which can conflict with char $ac_func (); below.
60637     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60638     <limits.h> exists even on freestanding compilers.  */
60639
60640 #ifdef __STDC__
60641 # include <limits.h>
60642 #else
60643 # include <assert.h>
60644 #endif
60645
60646 #undef $ac_func
60647
60648 /* Override any gcc2 internal prototype to avoid an error.  */
60649 #ifdef __cplusplus
60650 extern "C"
60651 {
60652 #endif
60653 /* We use char because int might match the return type of a gcc2
60654    builtin and then its argument prototype would still apply.  */
60655 char $ac_func ();
60656 /* The GNU C library defines this for functions which it implements
60657     to always fail with ENOSYS.  Some functions are actually named
60658     something starting with __ and the normal name is an alias.  */
60659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60660 choke me
60661 #else
60662 char (*f) () = $ac_func;
60663 #endif
60664 #ifdef __cplusplus
60665 }
60666 #endif
60667
60668 int
60669 main ()
60670 {
60671 return f != $ac_func;
60672   ;
60673   return 0;
60674 }
60675 _ACEOF
60676 rm -f conftest.$ac_objext conftest$ac_exeext
60677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60678   (eval $ac_link) 2>conftest.er1
60679   ac_status=$?
60680   grep -v '^ *+' conftest.er1 >conftest.err
60681   rm -f conftest.er1
60682   cat conftest.err >&5
60683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60684   (exit $ac_status); } &&
60685          { ac_try='test -z "$ac_c_werror_flag"
60686                          || test ! -s conftest.err'
60687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60688   (eval $ac_try) 2>&5
60689   ac_status=$?
60690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60691   (exit $ac_status); }; } &&
60692          { ac_try='test -s conftest$ac_exeext'
60693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60694   (eval $ac_try) 2>&5
60695   ac_status=$?
60696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60697   (exit $ac_status); }; }; then
60698   eval "$as_ac_var=yes"
60699 else
60700   echo "$as_me: failed program was:" >&5
60701 sed 's/^/| /' conftest.$ac_ext >&5
60702
60703 eval "$as_ac_var=no"
60704 fi
60705 rm -f conftest.err conftest.$ac_objext \
60706       conftest$ac_exeext conftest.$ac_ext
60707 fi
60708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60710 if test `eval echo '${'$as_ac_var'}'` = yes; then
60711   cat >>confdefs.h <<_ACEOF
60712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60713 _ACEOF
60714
60715 fi
60716 done
60717
60718   else
60719
60720   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60721 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60722   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60723     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60724   echo $ECHO_N "(cached) $ECHO_C" >&6
60725 else
60726
60727
60728
60729       ac_ext=cc
60730 ac_cpp='$CXXCPP $CPPFLAGS'
60731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60734
60735       cat >conftest.$ac_ext <<_ACEOF
60736 /* confdefs.h.  */
60737 _ACEOF
60738 cat confdefs.h >>conftest.$ac_ext
60739 cat >>conftest.$ac_ext <<_ACEOF
60740 /* end confdefs.h.  */
60741 #include <math.h>
60742 int
60743 main ()
60744 {
60745  _frexpf(0, 0);
60746   ;
60747   return 0;
60748 }
60749 _ACEOF
60750 rm -f conftest.$ac_objext
60751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60752   (eval $ac_compile) 2>conftest.er1
60753   ac_status=$?
60754   grep -v '^ *+' conftest.er1 >conftest.err
60755   rm -f conftest.er1
60756   cat conftest.err >&5
60757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60758   (exit $ac_status); } &&
60759          { ac_try='test -z "$ac_cxx_werror_flag"
60760                          || test ! -s conftest.err'
60761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60762   (eval $ac_try) 2>&5
60763   ac_status=$?
60764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60765   (exit $ac_status); }; } &&
60766          { ac_try='test -s conftest.$ac_objext'
60767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60768   (eval $ac_try) 2>&5
60769   ac_status=$?
60770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60771   (exit $ac_status); }; }; then
60772   glibcxx_cv_func__frexpf_use=yes
60773 else
60774   echo "$as_me: failed program was:" >&5
60775 sed 's/^/| /' conftest.$ac_ext >&5
60776
60777 glibcxx_cv_func__frexpf_use=no
60778 fi
60779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60780       ac_ext=c
60781 ac_cpp='$CPP $CPPFLAGS'
60782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60785
60786
60787 fi
60788
60789   fi
60790   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
60791 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60792
60793     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60794
60795 for ac_func in _frexpf
60796 do
60797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60798 echo "$as_me:$LINENO: checking for $ac_func" >&5
60799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60800 if eval "test \"\${$as_ac_var+set}\" = set"; then
60801   echo $ECHO_N "(cached) $ECHO_C" >&6
60802 else
60803   if test x$gcc_no_link = xyes; then
60804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60806    { (exit 1); exit 1; }; }
60807 fi
60808 cat >conftest.$ac_ext <<_ACEOF
60809 /* confdefs.h.  */
60810 _ACEOF
60811 cat confdefs.h >>conftest.$ac_ext
60812 cat >>conftest.$ac_ext <<_ACEOF
60813 /* end confdefs.h.  */
60814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60816 #define $ac_func innocuous_$ac_func
60817
60818 /* System header to define __stub macros and hopefully few prototypes,
60819     which can conflict with char $ac_func (); below.
60820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60821     <limits.h> exists even on freestanding compilers.  */
60822
60823 #ifdef __STDC__
60824 # include <limits.h>
60825 #else
60826 # include <assert.h>
60827 #endif
60828
60829 #undef $ac_func
60830
60831 /* Override any gcc2 internal prototype to avoid an error.  */
60832 #ifdef __cplusplus
60833 extern "C"
60834 {
60835 #endif
60836 /* We use char because int might match the return type of a gcc2
60837    builtin and then its argument prototype would still apply.  */
60838 char $ac_func ();
60839 /* The GNU C library defines this for functions which it implements
60840     to always fail with ENOSYS.  Some functions are actually named
60841     something starting with __ and the normal name is an alias.  */
60842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60843 choke me
60844 #else
60845 char (*f) () = $ac_func;
60846 #endif
60847 #ifdef __cplusplus
60848 }
60849 #endif
60850
60851 int
60852 main ()
60853 {
60854 return f != $ac_func;
60855   ;
60856   return 0;
60857 }
60858 _ACEOF
60859 rm -f conftest.$ac_objext conftest$ac_exeext
60860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60861   (eval $ac_link) 2>conftest.er1
60862   ac_status=$?
60863   grep -v '^ *+' conftest.er1 >conftest.err
60864   rm -f conftest.er1
60865   cat conftest.err >&5
60866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60867   (exit $ac_status); } &&
60868          { ac_try='test -z "$ac_c_werror_flag"
60869                          || test ! -s conftest.err'
60870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60871   (eval $ac_try) 2>&5
60872   ac_status=$?
60873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60874   (exit $ac_status); }; } &&
60875          { ac_try='test -s conftest$ac_exeext'
60876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60877   (eval $ac_try) 2>&5
60878   ac_status=$?
60879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60880   (exit $ac_status); }; }; then
60881   eval "$as_ac_var=yes"
60882 else
60883   echo "$as_me: failed program was:" >&5
60884 sed 's/^/| /' conftest.$ac_ext >&5
60885
60886 eval "$as_ac_var=no"
60887 fi
60888 rm -f conftest.err conftest.$ac_objext \
60889       conftest$ac_exeext conftest.$ac_ext
60890 fi
60891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60893 if test `eval echo '${'$as_ac_var'}'` = yes; then
60894   cat >>confdefs.h <<_ACEOF
60895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60896 _ACEOF
60897
60898 fi
60899 done
60900
60901     fi
60902   fi
60903
60904
60905
60906
60907
60908
60909   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
60910 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
60911   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60912     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
60913   echo $ECHO_N "(cached) $ECHO_C" >&6
60914 else
60915
60916
60917
60918       ac_ext=cc
60919 ac_cpp='$CXXCPP $CPPFLAGS'
60920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60923
60924       cat >conftest.$ac_ext <<_ACEOF
60925 /* confdefs.h.  */
60926 _ACEOF
60927 cat confdefs.h >>conftest.$ac_ext
60928 cat >>conftest.$ac_ext <<_ACEOF
60929 /* end confdefs.h.  */
60930 #include <math.h>
60931 int
60932 main ()
60933 {
60934  hypotf(0, 0);
60935   ;
60936   return 0;
60937 }
60938 _ACEOF
60939 rm -f conftest.$ac_objext
60940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60941   (eval $ac_compile) 2>conftest.er1
60942   ac_status=$?
60943   grep -v '^ *+' conftest.er1 >conftest.err
60944   rm -f conftest.er1
60945   cat conftest.err >&5
60946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60947   (exit $ac_status); } &&
60948          { ac_try='test -z "$ac_cxx_werror_flag"
60949                          || test ! -s conftest.err'
60950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60951   (eval $ac_try) 2>&5
60952   ac_status=$?
60953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60954   (exit $ac_status); }; } &&
60955          { ac_try='test -s conftest.$ac_objext'
60956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60957   (eval $ac_try) 2>&5
60958   ac_status=$?
60959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60960   (exit $ac_status); }; }; then
60961   glibcxx_cv_func_hypotf_use=yes
60962 else
60963   echo "$as_me: failed program was:" >&5
60964 sed 's/^/| /' conftest.$ac_ext >&5
60965
60966 glibcxx_cv_func_hypotf_use=no
60967 fi
60968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60969       ac_ext=c
60970 ac_cpp='$CPP $CPPFLAGS'
60971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60974
60975
60976 fi
60977
60978   fi
60979   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
60980 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
60981
60982   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60983
60984 for ac_func in hypotf
60985 do
60986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60987 echo "$as_me:$LINENO: checking for $ac_func" >&5
60988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60989 if eval "test \"\${$as_ac_var+set}\" = set"; then
60990   echo $ECHO_N "(cached) $ECHO_C" >&6
60991 else
60992   if test x$gcc_no_link = xyes; then
60993   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60995    { (exit 1); exit 1; }; }
60996 fi
60997 cat >conftest.$ac_ext <<_ACEOF
60998 /* confdefs.h.  */
60999 _ACEOF
61000 cat confdefs.h >>conftest.$ac_ext
61001 cat >>conftest.$ac_ext <<_ACEOF
61002 /* end confdefs.h.  */
61003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61004    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61005 #define $ac_func innocuous_$ac_func
61006
61007 /* System header to define __stub macros and hopefully few prototypes,
61008     which can conflict with char $ac_func (); below.
61009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61010     <limits.h> exists even on freestanding compilers.  */
61011
61012 #ifdef __STDC__
61013 # include <limits.h>
61014 #else
61015 # include <assert.h>
61016 #endif
61017
61018 #undef $ac_func
61019
61020 /* Override any gcc2 internal prototype to avoid an error.  */
61021 #ifdef __cplusplus
61022 extern "C"
61023 {
61024 #endif
61025 /* We use char because int might match the return type of a gcc2
61026    builtin and then its argument prototype would still apply.  */
61027 char $ac_func ();
61028 /* The GNU C library defines this for functions which it implements
61029     to always fail with ENOSYS.  Some functions are actually named
61030     something starting with __ and the normal name is an alias.  */
61031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61032 choke me
61033 #else
61034 char (*f) () = $ac_func;
61035 #endif
61036 #ifdef __cplusplus
61037 }
61038 #endif
61039
61040 int
61041 main ()
61042 {
61043 return f != $ac_func;
61044   ;
61045   return 0;
61046 }
61047 _ACEOF
61048 rm -f conftest.$ac_objext conftest$ac_exeext
61049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61050   (eval $ac_link) 2>conftest.er1
61051   ac_status=$?
61052   grep -v '^ *+' conftest.er1 >conftest.err
61053   rm -f conftest.er1
61054   cat conftest.err >&5
61055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61056   (exit $ac_status); } &&
61057          { ac_try='test -z "$ac_c_werror_flag"
61058                          || test ! -s conftest.err'
61059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61060   (eval $ac_try) 2>&5
61061   ac_status=$?
61062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61063   (exit $ac_status); }; } &&
61064          { ac_try='test -s conftest$ac_exeext'
61065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61066   (eval $ac_try) 2>&5
61067   ac_status=$?
61068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61069   (exit $ac_status); }; }; then
61070   eval "$as_ac_var=yes"
61071 else
61072   echo "$as_me: failed program was:" >&5
61073 sed 's/^/| /' conftest.$ac_ext >&5
61074
61075 eval "$as_ac_var=no"
61076 fi
61077 rm -f conftest.err conftest.$ac_objext \
61078       conftest$ac_exeext conftest.$ac_ext
61079 fi
61080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61082 if test `eval echo '${'$as_ac_var'}'` = yes; then
61083   cat >>confdefs.h <<_ACEOF
61084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61085 _ACEOF
61086
61087 fi
61088 done
61089
61090   else
61091
61092   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
61093 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
61094   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61095     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
61096   echo $ECHO_N "(cached) $ECHO_C" >&6
61097 else
61098
61099
61100
61101       ac_ext=cc
61102 ac_cpp='$CXXCPP $CPPFLAGS'
61103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61106
61107       cat >conftest.$ac_ext <<_ACEOF
61108 /* confdefs.h.  */
61109 _ACEOF
61110 cat confdefs.h >>conftest.$ac_ext
61111 cat >>conftest.$ac_ext <<_ACEOF
61112 /* end confdefs.h.  */
61113 #include <math.h>
61114 int
61115 main ()
61116 {
61117  _hypotf(0, 0);
61118   ;
61119   return 0;
61120 }
61121 _ACEOF
61122 rm -f conftest.$ac_objext
61123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61124   (eval $ac_compile) 2>conftest.er1
61125   ac_status=$?
61126   grep -v '^ *+' conftest.er1 >conftest.err
61127   rm -f conftest.er1
61128   cat conftest.err >&5
61129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61130   (exit $ac_status); } &&
61131          { ac_try='test -z "$ac_cxx_werror_flag"
61132                          || test ! -s conftest.err'
61133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61134   (eval $ac_try) 2>&5
61135   ac_status=$?
61136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61137   (exit $ac_status); }; } &&
61138          { ac_try='test -s conftest.$ac_objext'
61139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61140   (eval $ac_try) 2>&5
61141   ac_status=$?
61142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61143   (exit $ac_status); }; }; then
61144   glibcxx_cv_func__hypotf_use=yes
61145 else
61146   echo "$as_me: failed program was:" >&5
61147 sed 's/^/| /' conftest.$ac_ext >&5
61148
61149 glibcxx_cv_func__hypotf_use=no
61150 fi
61151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61152       ac_ext=c
61153 ac_cpp='$CPP $CPPFLAGS'
61154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61157
61158
61159 fi
61160
61161   fi
61162   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
61163 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
61164
61165     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61166
61167 for ac_func in _hypotf
61168 do
61169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61170 echo "$as_me:$LINENO: checking for $ac_func" >&5
61171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61172 if eval "test \"\${$as_ac_var+set}\" = set"; then
61173   echo $ECHO_N "(cached) $ECHO_C" >&6
61174 else
61175   if test x$gcc_no_link = xyes; then
61176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61178    { (exit 1); exit 1; }; }
61179 fi
61180 cat >conftest.$ac_ext <<_ACEOF
61181 /* confdefs.h.  */
61182 _ACEOF
61183 cat confdefs.h >>conftest.$ac_ext
61184 cat >>conftest.$ac_ext <<_ACEOF
61185 /* end confdefs.h.  */
61186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61187    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61188 #define $ac_func innocuous_$ac_func
61189
61190 /* System header to define __stub macros and hopefully few prototypes,
61191     which can conflict with char $ac_func (); below.
61192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61193     <limits.h> exists even on freestanding compilers.  */
61194
61195 #ifdef __STDC__
61196 # include <limits.h>
61197 #else
61198 # include <assert.h>
61199 #endif
61200
61201 #undef $ac_func
61202
61203 /* Override any gcc2 internal prototype to avoid an error.  */
61204 #ifdef __cplusplus
61205 extern "C"
61206 {
61207 #endif
61208 /* We use char because int might match the return type of a gcc2
61209    builtin and then its argument prototype would still apply.  */
61210 char $ac_func ();
61211 /* The GNU C library defines this for functions which it implements
61212     to always fail with ENOSYS.  Some functions are actually named
61213     something starting with __ and the normal name is an alias.  */
61214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61215 choke me
61216 #else
61217 char (*f) () = $ac_func;
61218 #endif
61219 #ifdef __cplusplus
61220 }
61221 #endif
61222
61223 int
61224 main ()
61225 {
61226 return f != $ac_func;
61227   ;
61228   return 0;
61229 }
61230 _ACEOF
61231 rm -f conftest.$ac_objext conftest$ac_exeext
61232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61233   (eval $ac_link) 2>conftest.er1
61234   ac_status=$?
61235   grep -v '^ *+' conftest.er1 >conftest.err
61236   rm -f conftest.er1
61237   cat conftest.err >&5
61238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61239   (exit $ac_status); } &&
61240          { ac_try='test -z "$ac_c_werror_flag"
61241                          || test ! -s conftest.err'
61242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61243   (eval $ac_try) 2>&5
61244   ac_status=$?
61245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61246   (exit $ac_status); }; } &&
61247          { ac_try='test -s conftest$ac_exeext'
61248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61249   (eval $ac_try) 2>&5
61250   ac_status=$?
61251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61252   (exit $ac_status); }; }; then
61253   eval "$as_ac_var=yes"
61254 else
61255   echo "$as_me: failed program was:" >&5
61256 sed 's/^/| /' conftest.$ac_ext >&5
61257
61258 eval "$as_ac_var=no"
61259 fi
61260 rm -f conftest.err conftest.$ac_objext \
61261       conftest$ac_exeext conftest.$ac_ext
61262 fi
61263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61265 if test `eval echo '${'$as_ac_var'}'` = yes; then
61266   cat >>confdefs.h <<_ACEOF
61267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61268 _ACEOF
61269
61270 fi
61271 done
61272
61273     fi
61274   fi
61275
61276
61277
61278
61279
61280
61281   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61282 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61283   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61284     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61285   echo $ECHO_N "(cached) $ECHO_C" >&6
61286 else
61287
61288
61289
61290       ac_ext=cc
61291 ac_cpp='$CXXCPP $CPPFLAGS'
61292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61295
61296       cat >conftest.$ac_ext <<_ACEOF
61297 /* confdefs.h.  */
61298 _ACEOF
61299 cat confdefs.h >>conftest.$ac_ext
61300 cat >>conftest.$ac_ext <<_ACEOF
61301 /* end confdefs.h.  */
61302 #include <math.h>
61303 int
61304 main ()
61305 {
61306  ldexpf(0, 0);
61307   ;
61308   return 0;
61309 }
61310 _ACEOF
61311 rm -f conftest.$ac_objext
61312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61313   (eval $ac_compile) 2>conftest.er1
61314   ac_status=$?
61315   grep -v '^ *+' conftest.er1 >conftest.err
61316   rm -f conftest.er1
61317   cat conftest.err >&5
61318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61319   (exit $ac_status); } &&
61320          { ac_try='test -z "$ac_cxx_werror_flag"
61321                          || test ! -s conftest.err'
61322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61323   (eval $ac_try) 2>&5
61324   ac_status=$?
61325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61326   (exit $ac_status); }; } &&
61327          { ac_try='test -s conftest.$ac_objext'
61328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61329   (eval $ac_try) 2>&5
61330   ac_status=$?
61331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61332   (exit $ac_status); }; }; then
61333   glibcxx_cv_func_ldexpf_use=yes
61334 else
61335   echo "$as_me: failed program was:" >&5
61336 sed 's/^/| /' conftest.$ac_ext >&5
61337
61338 glibcxx_cv_func_ldexpf_use=no
61339 fi
61340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61341       ac_ext=c
61342 ac_cpp='$CPP $CPPFLAGS'
61343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61346
61347
61348 fi
61349
61350   fi
61351   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61352 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61353
61354   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61355
61356 for ac_func in ldexpf
61357 do
61358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61359 echo "$as_me:$LINENO: checking for $ac_func" >&5
61360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61361 if eval "test \"\${$as_ac_var+set}\" = set"; then
61362   echo $ECHO_N "(cached) $ECHO_C" >&6
61363 else
61364   if test x$gcc_no_link = xyes; then
61365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61367    { (exit 1); exit 1; }; }
61368 fi
61369 cat >conftest.$ac_ext <<_ACEOF
61370 /* confdefs.h.  */
61371 _ACEOF
61372 cat confdefs.h >>conftest.$ac_ext
61373 cat >>conftest.$ac_ext <<_ACEOF
61374 /* end confdefs.h.  */
61375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61377 #define $ac_func innocuous_$ac_func
61378
61379 /* System header to define __stub macros and hopefully few prototypes,
61380     which can conflict with char $ac_func (); below.
61381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61382     <limits.h> exists even on freestanding compilers.  */
61383
61384 #ifdef __STDC__
61385 # include <limits.h>
61386 #else
61387 # include <assert.h>
61388 #endif
61389
61390 #undef $ac_func
61391
61392 /* Override any gcc2 internal prototype to avoid an error.  */
61393 #ifdef __cplusplus
61394 extern "C"
61395 {
61396 #endif
61397 /* We use char because int might match the return type of a gcc2
61398    builtin and then its argument prototype would still apply.  */
61399 char $ac_func ();
61400 /* The GNU C library defines this for functions which it implements
61401     to always fail with ENOSYS.  Some functions are actually named
61402     something starting with __ and the normal name is an alias.  */
61403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61404 choke me
61405 #else
61406 char (*f) () = $ac_func;
61407 #endif
61408 #ifdef __cplusplus
61409 }
61410 #endif
61411
61412 int
61413 main ()
61414 {
61415 return f != $ac_func;
61416   ;
61417   return 0;
61418 }
61419 _ACEOF
61420 rm -f conftest.$ac_objext conftest$ac_exeext
61421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61422   (eval $ac_link) 2>conftest.er1
61423   ac_status=$?
61424   grep -v '^ *+' conftest.er1 >conftest.err
61425   rm -f conftest.er1
61426   cat conftest.err >&5
61427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61428   (exit $ac_status); } &&
61429          { ac_try='test -z "$ac_c_werror_flag"
61430                          || test ! -s conftest.err'
61431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61432   (eval $ac_try) 2>&5
61433   ac_status=$?
61434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61435   (exit $ac_status); }; } &&
61436          { ac_try='test -s conftest$ac_exeext'
61437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61438   (eval $ac_try) 2>&5
61439   ac_status=$?
61440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61441   (exit $ac_status); }; }; then
61442   eval "$as_ac_var=yes"
61443 else
61444   echo "$as_me: failed program was:" >&5
61445 sed 's/^/| /' conftest.$ac_ext >&5
61446
61447 eval "$as_ac_var=no"
61448 fi
61449 rm -f conftest.err conftest.$ac_objext \
61450       conftest$ac_exeext conftest.$ac_ext
61451 fi
61452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61454 if test `eval echo '${'$as_ac_var'}'` = yes; then
61455   cat >>confdefs.h <<_ACEOF
61456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61457 _ACEOF
61458
61459 fi
61460 done
61461
61462   else
61463
61464   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61465 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61466   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61467     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61468   echo $ECHO_N "(cached) $ECHO_C" >&6
61469 else
61470
61471
61472
61473       ac_ext=cc
61474 ac_cpp='$CXXCPP $CPPFLAGS'
61475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61478
61479       cat >conftest.$ac_ext <<_ACEOF
61480 /* confdefs.h.  */
61481 _ACEOF
61482 cat confdefs.h >>conftest.$ac_ext
61483 cat >>conftest.$ac_ext <<_ACEOF
61484 /* end confdefs.h.  */
61485 #include <math.h>
61486 int
61487 main ()
61488 {
61489  _ldexpf(0, 0);
61490   ;
61491   return 0;
61492 }
61493 _ACEOF
61494 rm -f conftest.$ac_objext
61495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61496   (eval $ac_compile) 2>conftest.er1
61497   ac_status=$?
61498   grep -v '^ *+' conftest.er1 >conftest.err
61499   rm -f conftest.er1
61500   cat conftest.err >&5
61501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61502   (exit $ac_status); } &&
61503          { ac_try='test -z "$ac_cxx_werror_flag"
61504                          || test ! -s conftest.err'
61505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61506   (eval $ac_try) 2>&5
61507   ac_status=$?
61508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61509   (exit $ac_status); }; } &&
61510          { ac_try='test -s conftest.$ac_objext'
61511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61512   (eval $ac_try) 2>&5
61513   ac_status=$?
61514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61515   (exit $ac_status); }; }; then
61516   glibcxx_cv_func__ldexpf_use=yes
61517 else
61518   echo "$as_me: failed program was:" >&5
61519 sed 's/^/| /' conftest.$ac_ext >&5
61520
61521 glibcxx_cv_func__ldexpf_use=no
61522 fi
61523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61524       ac_ext=c
61525 ac_cpp='$CPP $CPPFLAGS'
61526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61529
61530
61531 fi
61532
61533   fi
61534   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61535 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61536
61537     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61538
61539 for ac_func in _ldexpf
61540 do
61541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61542 echo "$as_me:$LINENO: checking for $ac_func" >&5
61543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61544 if eval "test \"\${$as_ac_var+set}\" = set"; then
61545   echo $ECHO_N "(cached) $ECHO_C" >&6
61546 else
61547   if test x$gcc_no_link = xyes; then
61548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61550    { (exit 1); exit 1; }; }
61551 fi
61552 cat >conftest.$ac_ext <<_ACEOF
61553 /* confdefs.h.  */
61554 _ACEOF
61555 cat confdefs.h >>conftest.$ac_ext
61556 cat >>conftest.$ac_ext <<_ACEOF
61557 /* end confdefs.h.  */
61558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61559    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61560 #define $ac_func innocuous_$ac_func
61561
61562 /* System header to define __stub macros and hopefully few prototypes,
61563     which can conflict with char $ac_func (); below.
61564     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61565     <limits.h> exists even on freestanding compilers.  */
61566
61567 #ifdef __STDC__
61568 # include <limits.h>
61569 #else
61570 # include <assert.h>
61571 #endif
61572
61573 #undef $ac_func
61574
61575 /* Override any gcc2 internal prototype to avoid an error.  */
61576 #ifdef __cplusplus
61577 extern "C"
61578 {
61579 #endif
61580 /* We use char because int might match the return type of a gcc2
61581    builtin and then its argument prototype would still apply.  */
61582 char $ac_func ();
61583 /* The GNU C library defines this for functions which it implements
61584     to always fail with ENOSYS.  Some functions are actually named
61585     something starting with __ and the normal name is an alias.  */
61586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61587 choke me
61588 #else
61589 char (*f) () = $ac_func;
61590 #endif
61591 #ifdef __cplusplus
61592 }
61593 #endif
61594
61595 int
61596 main ()
61597 {
61598 return f != $ac_func;
61599   ;
61600   return 0;
61601 }
61602 _ACEOF
61603 rm -f conftest.$ac_objext conftest$ac_exeext
61604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61605   (eval $ac_link) 2>conftest.er1
61606   ac_status=$?
61607   grep -v '^ *+' conftest.er1 >conftest.err
61608   rm -f conftest.er1
61609   cat conftest.err >&5
61610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61611   (exit $ac_status); } &&
61612          { ac_try='test -z "$ac_c_werror_flag"
61613                          || test ! -s conftest.err'
61614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61615   (eval $ac_try) 2>&5
61616   ac_status=$?
61617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61618   (exit $ac_status); }; } &&
61619          { ac_try='test -s conftest$ac_exeext'
61620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61621   (eval $ac_try) 2>&5
61622   ac_status=$?
61623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61624   (exit $ac_status); }; }; then
61625   eval "$as_ac_var=yes"
61626 else
61627   echo "$as_me: failed program was:" >&5
61628 sed 's/^/| /' conftest.$ac_ext >&5
61629
61630 eval "$as_ac_var=no"
61631 fi
61632 rm -f conftest.err conftest.$ac_objext \
61633       conftest$ac_exeext conftest.$ac_ext
61634 fi
61635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61637 if test `eval echo '${'$as_ac_var'}'` = yes; then
61638   cat >>confdefs.h <<_ACEOF
61639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61640 _ACEOF
61641
61642 fi
61643 done
61644
61645     fi
61646   fi
61647
61648
61649
61650
61651
61652
61653   echo "$as_me:$LINENO: checking for logf declaration" >&5
61654 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61655   if test x${glibcxx_cv_func_logf_use+set} != xset; then
61656     if test "${glibcxx_cv_func_logf_use+set}" = set; then
61657   echo $ECHO_N "(cached) $ECHO_C" >&6
61658 else
61659
61660
61661
61662       ac_ext=cc
61663 ac_cpp='$CXXCPP $CPPFLAGS'
61664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61667
61668       cat >conftest.$ac_ext <<_ACEOF
61669 /* confdefs.h.  */
61670 _ACEOF
61671 cat confdefs.h >>conftest.$ac_ext
61672 cat >>conftest.$ac_ext <<_ACEOF
61673 /* end confdefs.h.  */
61674 #include <math.h>
61675                       #ifdef HAVE_IEEEFP_H
61676                       #include <ieeefp.h>
61677                       #endif
61678
61679 int
61680 main ()
61681 {
61682  logf(0);
61683   ;
61684   return 0;
61685 }
61686 _ACEOF
61687 rm -f conftest.$ac_objext
61688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61689   (eval $ac_compile) 2>conftest.er1
61690   ac_status=$?
61691   grep -v '^ *+' conftest.er1 >conftest.err
61692   rm -f conftest.er1
61693   cat conftest.err >&5
61694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61695   (exit $ac_status); } &&
61696          { ac_try='test -z "$ac_cxx_werror_flag"
61697                          || test ! -s conftest.err'
61698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61699   (eval $ac_try) 2>&5
61700   ac_status=$?
61701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61702   (exit $ac_status); }; } &&
61703          { ac_try='test -s conftest.$ac_objext'
61704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61705   (eval $ac_try) 2>&5
61706   ac_status=$?
61707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61708   (exit $ac_status); }; }; then
61709   glibcxx_cv_func_logf_use=yes
61710 else
61711   echo "$as_me: failed program was:" >&5
61712 sed 's/^/| /' conftest.$ac_ext >&5
61713
61714 glibcxx_cv_func_logf_use=no
61715 fi
61716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61717       ac_ext=c
61718 ac_cpp='$CPP $CPPFLAGS'
61719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61722
61723
61724 fi
61725
61726   fi
61727   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61728 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61729
61730   if test x$glibcxx_cv_func_logf_use = x"yes"; then
61731
61732 for ac_func in logf
61733 do
61734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61735 echo "$as_me:$LINENO: checking for $ac_func" >&5
61736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61737 if eval "test \"\${$as_ac_var+set}\" = set"; then
61738   echo $ECHO_N "(cached) $ECHO_C" >&6
61739 else
61740   if test x$gcc_no_link = xyes; then
61741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61743    { (exit 1); exit 1; }; }
61744 fi
61745 cat >conftest.$ac_ext <<_ACEOF
61746 /* confdefs.h.  */
61747 _ACEOF
61748 cat confdefs.h >>conftest.$ac_ext
61749 cat >>conftest.$ac_ext <<_ACEOF
61750 /* end confdefs.h.  */
61751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61752    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61753 #define $ac_func innocuous_$ac_func
61754
61755 /* System header to define __stub macros and hopefully few prototypes,
61756     which can conflict with char $ac_func (); below.
61757     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61758     <limits.h> exists even on freestanding compilers.  */
61759
61760 #ifdef __STDC__
61761 # include <limits.h>
61762 #else
61763 # include <assert.h>
61764 #endif
61765
61766 #undef $ac_func
61767
61768 /* Override any gcc2 internal prototype to avoid an error.  */
61769 #ifdef __cplusplus
61770 extern "C"
61771 {
61772 #endif
61773 /* We use char because int might match the return type of a gcc2
61774    builtin and then its argument prototype would still apply.  */
61775 char $ac_func ();
61776 /* The GNU C library defines this for functions which it implements
61777     to always fail with ENOSYS.  Some functions are actually named
61778     something starting with __ and the normal name is an alias.  */
61779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61780 choke me
61781 #else
61782 char (*f) () = $ac_func;
61783 #endif
61784 #ifdef __cplusplus
61785 }
61786 #endif
61787
61788 int
61789 main ()
61790 {
61791 return f != $ac_func;
61792   ;
61793   return 0;
61794 }
61795 _ACEOF
61796 rm -f conftest.$ac_objext conftest$ac_exeext
61797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61798   (eval $ac_link) 2>conftest.er1
61799   ac_status=$?
61800   grep -v '^ *+' conftest.er1 >conftest.err
61801   rm -f conftest.er1
61802   cat conftest.err >&5
61803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61804   (exit $ac_status); } &&
61805          { ac_try='test -z "$ac_c_werror_flag"
61806                          || test ! -s conftest.err'
61807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61808   (eval $ac_try) 2>&5
61809   ac_status=$?
61810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61811   (exit $ac_status); }; } &&
61812          { ac_try='test -s conftest$ac_exeext'
61813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61814   (eval $ac_try) 2>&5
61815   ac_status=$?
61816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61817   (exit $ac_status); }; }; then
61818   eval "$as_ac_var=yes"
61819 else
61820   echo "$as_me: failed program was:" >&5
61821 sed 's/^/| /' conftest.$ac_ext >&5
61822
61823 eval "$as_ac_var=no"
61824 fi
61825 rm -f conftest.err conftest.$ac_objext \
61826       conftest$ac_exeext conftest.$ac_ext
61827 fi
61828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61830 if test `eval echo '${'$as_ac_var'}'` = yes; then
61831   cat >>confdefs.h <<_ACEOF
61832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61833 _ACEOF
61834
61835 fi
61836 done
61837
61838   else
61839
61840   echo "$as_me:$LINENO: checking for _logf declaration" >&5
61841 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
61842   if test x${glibcxx_cv_func__logf_use+set} != xset; then
61843     if test "${glibcxx_cv_func__logf_use+set}" = set; then
61844   echo $ECHO_N "(cached) $ECHO_C" >&6
61845 else
61846
61847
61848
61849       ac_ext=cc
61850 ac_cpp='$CXXCPP $CPPFLAGS'
61851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61854
61855       cat >conftest.$ac_ext <<_ACEOF
61856 /* confdefs.h.  */
61857 _ACEOF
61858 cat confdefs.h >>conftest.$ac_ext
61859 cat >>conftest.$ac_ext <<_ACEOF
61860 /* end confdefs.h.  */
61861 #include <math.h>
61862                       #ifdef HAVE_IEEEFP_H
61863                       #include <ieeefp.h>
61864                       #endif
61865
61866 int
61867 main ()
61868 {
61869  _logf(0);
61870   ;
61871   return 0;
61872 }
61873 _ACEOF
61874 rm -f conftest.$ac_objext
61875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61876   (eval $ac_compile) 2>conftest.er1
61877   ac_status=$?
61878   grep -v '^ *+' conftest.er1 >conftest.err
61879   rm -f conftest.er1
61880   cat conftest.err >&5
61881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61882   (exit $ac_status); } &&
61883          { ac_try='test -z "$ac_cxx_werror_flag"
61884                          || test ! -s conftest.err'
61885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61886   (eval $ac_try) 2>&5
61887   ac_status=$?
61888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61889   (exit $ac_status); }; } &&
61890          { ac_try='test -s conftest.$ac_objext'
61891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61892   (eval $ac_try) 2>&5
61893   ac_status=$?
61894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61895   (exit $ac_status); }; }; then
61896   glibcxx_cv_func__logf_use=yes
61897 else
61898   echo "$as_me: failed program was:" >&5
61899 sed 's/^/| /' conftest.$ac_ext >&5
61900
61901 glibcxx_cv_func__logf_use=no
61902 fi
61903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61904       ac_ext=c
61905 ac_cpp='$CPP $CPPFLAGS'
61906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61909
61910
61911 fi
61912
61913   fi
61914   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
61915 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
61916
61917     if test x$glibcxx_cv_func__logf_use = x"yes"; then
61918
61919 for ac_func in _logf
61920 do
61921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61922 echo "$as_me:$LINENO: checking for $ac_func" >&5
61923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61924 if eval "test \"\${$as_ac_var+set}\" = set"; then
61925   echo $ECHO_N "(cached) $ECHO_C" >&6
61926 else
61927   if test x$gcc_no_link = xyes; then
61928   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61930    { (exit 1); exit 1; }; }
61931 fi
61932 cat >conftest.$ac_ext <<_ACEOF
61933 /* confdefs.h.  */
61934 _ACEOF
61935 cat confdefs.h >>conftest.$ac_ext
61936 cat >>conftest.$ac_ext <<_ACEOF
61937 /* end confdefs.h.  */
61938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61939    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61940 #define $ac_func innocuous_$ac_func
61941
61942 /* System header to define __stub macros and hopefully few prototypes,
61943     which can conflict with char $ac_func (); below.
61944     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61945     <limits.h> exists even on freestanding compilers.  */
61946
61947 #ifdef __STDC__
61948 # include <limits.h>
61949 #else
61950 # include <assert.h>
61951 #endif
61952
61953 #undef $ac_func
61954
61955 /* Override any gcc2 internal prototype to avoid an error.  */
61956 #ifdef __cplusplus
61957 extern "C"
61958 {
61959 #endif
61960 /* We use char because int might match the return type of a gcc2
61961    builtin and then its argument prototype would still apply.  */
61962 char $ac_func ();
61963 /* The GNU C library defines this for functions which it implements
61964     to always fail with ENOSYS.  Some functions are actually named
61965     something starting with __ and the normal name is an alias.  */
61966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61967 choke me
61968 #else
61969 char (*f) () = $ac_func;
61970 #endif
61971 #ifdef __cplusplus
61972 }
61973 #endif
61974
61975 int
61976 main ()
61977 {
61978 return f != $ac_func;
61979   ;
61980   return 0;
61981 }
61982 _ACEOF
61983 rm -f conftest.$ac_objext conftest$ac_exeext
61984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61985   (eval $ac_link) 2>conftest.er1
61986   ac_status=$?
61987   grep -v '^ *+' conftest.er1 >conftest.err
61988   rm -f conftest.er1
61989   cat conftest.err >&5
61990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61991   (exit $ac_status); } &&
61992          { ac_try='test -z "$ac_c_werror_flag"
61993                          || test ! -s conftest.err'
61994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61995   (eval $ac_try) 2>&5
61996   ac_status=$?
61997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61998   (exit $ac_status); }; } &&
61999          { ac_try='test -s conftest$ac_exeext'
62000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62001   (eval $ac_try) 2>&5
62002   ac_status=$?
62003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62004   (exit $ac_status); }; }; then
62005   eval "$as_ac_var=yes"
62006 else
62007   echo "$as_me: failed program was:" >&5
62008 sed 's/^/| /' conftest.$ac_ext >&5
62009
62010 eval "$as_ac_var=no"
62011 fi
62012 rm -f conftest.err conftest.$ac_objext \
62013       conftest$ac_exeext conftest.$ac_ext
62014 fi
62015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62017 if test `eval echo '${'$as_ac_var'}'` = yes; then
62018   cat >>confdefs.h <<_ACEOF
62019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62020 _ACEOF
62021
62022 fi
62023 done
62024
62025     fi
62026   fi
62027
62028
62029
62030
62031
62032
62033   echo "$as_me:$LINENO: checking for log10f declaration" >&5
62034 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
62035   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62036     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
62037   echo $ECHO_N "(cached) $ECHO_C" >&6
62038 else
62039
62040
62041
62042       ac_ext=cc
62043 ac_cpp='$CXXCPP $CPPFLAGS'
62044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62047
62048       cat >conftest.$ac_ext <<_ACEOF
62049 /* confdefs.h.  */
62050 _ACEOF
62051 cat confdefs.h >>conftest.$ac_ext
62052 cat >>conftest.$ac_ext <<_ACEOF
62053 /* end confdefs.h.  */
62054 #include <math.h>
62055                       #ifdef HAVE_IEEEFP_H
62056                       #include <ieeefp.h>
62057                       #endif
62058
62059 int
62060 main ()
62061 {
62062  log10f(0);
62063   ;
62064   return 0;
62065 }
62066 _ACEOF
62067 rm -f conftest.$ac_objext
62068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62069   (eval $ac_compile) 2>conftest.er1
62070   ac_status=$?
62071   grep -v '^ *+' conftest.er1 >conftest.err
62072   rm -f conftest.er1
62073   cat conftest.err >&5
62074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62075   (exit $ac_status); } &&
62076          { ac_try='test -z "$ac_cxx_werror_flag"
62077                          || test ! -s conftest.err'
62078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62079   (eval $ac_try) 2>&5
62080   ac_status=$?
62081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62082   (exit $ac_status); }; } &&
62083          { ac_try='test -s conftest.$ac_objext'
62084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62085   (eval $ac_try) 2>&5
62086   ac_status=$?
62087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62088   (exit $ac_status); }; }; then
62089   glibcxx_cv_func_log10f_use=yes
62090 else
62091   echo "$as_me: failed program was:" >&5
62092 sed 's/^/| /' conftest.$ac_ext >&5
62093
62094 glibcxx_cv_func_log10f_use=no
62095 fi
62096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62097       ac_ext=c
62098 ac_cpp='$CPP $CPPFLAGS'
62099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62102
62103
62104 fi
62105
62106   fi
62107   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
62108 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
62109
62110   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62111
62112 for ac_func in log10f
62113 do
62114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62115 echo "$as_me:$LINENO: checking for $ac_func" >&5
62116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62117 if eval "test \"\${$as_ac_var+set}\" = set"; then
62118   echo $ECHO_N "(cached) $ECHO_C" >&6
62119 else
62120   if test x$gcc_no_link = xyes; then
62121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62123    { (exit 1); exit 1; }; }
62124 fi
62125 cat >conftest.$ac_ext <<_ACEOF
62126 /* confdefs.h.  */
62127 _ACEOF
62128 cat confdefs.h >>conftest.$ac_ext
62129 cat >>conftest.$ac_ext <<_ACEOF
62130 /* end confdefs.h.  */
62131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62133 #define $ac_func innocuous_$ac_func
62134
62135 /* System header to define __stub macros and hopefully few prototypes,
62136     which can conflict with char $ac_func (); below.
62137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62138     <limits.h> exists even on freestanding compilers.  */
62139
62140 #ifdef __STDC__
62141 # include <limits.h>
62142 #else
62143 # include <assert.h>
62144 #endif
62145
62146 #undef $ac_func
62147
62148 /* Override any gcc2 internal prototype to avoid an error.  */
62149 #ifdef __cplusplus
62150 extern "C"
62151 {
62152 #endif
62153 /* We use char because int might match the return type of a gcc2
62154    builtin and then its argument prototype would still apply.  */
62155 char $ac_func ();
62156 /* The GNU C library defines this for functions which it implements
62157     to always fail with ENOSYS.  Some functions are actually named
62158     something starting with __ and the normal name is an alias.  */
62159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62160 choke me
62161 #else
62162 char (*f) () = $ac_func;
62163 #endif
62164 #ifdef __cplusplus
62165 }
62166 #endif
62167
62168 int
62169 main ()
62170 {
62171 return f != $ac_func;
62172   ;
62173   return 0;
62174 }
62175 _ACEOF
62176 rm -f conftest.$ac_objext conftest$ac_exeext
62177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62178   (eval $ac_link) 2>conftest.er1
62179   ac_status=$?
62180   grep -v '^ *+' conftest.er1 >conftest.err
62181   rm -f conftest.er1
62182   cat conftest.err >&5
62183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62184   (exit $ac_status); } &&
62185          { ac_try='test -z "$ac_c_werror_flag"
62186                          || test ! -s conftest.err'
62187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62188   (eval $ac_try) 2>&5
62189   ac_status=$?
62190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62191   (exit $ac_status); }; } &&
62192          { ac_try='test -s conftest$ac_exeext'
62193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62194   (eval $ac_try) 2>&5
62195   ac_status=$?
62196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62197   (exit $ac_status); }; }; then
62198   eval "$as_ac_var=yes"
62199 else
62200   echo "$as_me: failed program was:" >&5
62201 sed 's/^/| /' conftest.$ac_ext >&5
62202
62203 eval "$as_ac_var=no"
62204 fi
62205 rm -f conftest.err conftest.$ac_objext \
62206       conftest$ac_exeext conftest.$ac_ext
62207 fi
62208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62210 if test `eval echo '${'$as_ac_var'}'` = yes; then
62211   cat >>confdefs.h <<_ACEOF
62212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62213 _ACEOF
62214
62215 fi
62216 done
62217
62218   else
62219
62220   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62221 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62222   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62223     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62224   echo $ECHO_N "(cached) $ECHO_C" >&6
62225 else
62226
62227
62228
62229       ac_ext=cc
62230 ac_cpp='$CXXCPP $CPPFLAGS'
62231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62234
62235       cat >conftest.$ac_ext <<_ACEOF
62236 /* confdefs.h.  */
62237 _ACEOF
62238 cat confdefs.h >>conftest.$ac_ext
62239 cat >>conftest.$ac_ext <<_ACEOF
62240 /* end confdefs.h.  */
62241 #include <math.h>
62242                       #ifdef HAVE_IEEEFP_H
62243                       #include <ieeefp.h>
62244                       #endif
62245
62246 int
62247 main ()
62248 {
62249  _log10f(0);
62250   ;
62251   return 0;
62252 }
62253 _ACEOF
62254 rm -f conftest.$ac_objext
62255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62256   (eval $ac_compile) 2>conftest.er1
62257   ac_status=$?
62258   grep -v '^ *+' conftest.er1 >conftest.err
62259   rm -f conftest.er1
62260   cat conftest.err >&5
62261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62262   (exit $ac_status); } &&
62263          { ac_try='test -z "$ac_cxx_werror_flag"
62264                          || test ! -s conftest.err'
62265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62266   (eval $ac_try) 2>&5
62267   ac_status=$?
62268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62269   (exit $ac_status); }; } &&
62270          { ac_try='test -s conftest.$ac_objext'
62271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62272   (eval $ac_try) 2>&5
62273   ac_status=$?
62274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62275   (exit $ac_status); }; }; then
62276   glibcxx_cv_func__log10f_use=yes
62277 else
62278   echo "$as_me: failed program was:" >&5
62279 sed 's/^/| /' conftest.$ac_ext >&5
62280
62281 glibcxx_cv_func__log10f_use=no
62282 fi
62283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62284       ac_ext=c
62285 ac_cpp='$CPP $CPPFLAGS'
62286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62289
62290
62291 fi
62292
62293   fi
62294   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62295 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62296
62297     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62298
62299 for ac_func in _log10f
62300 do
62301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62302 echo "$as_me:$LINENO: checking for $ac_func" >&5
62303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62304 if eval "test \"\${$as_ac_var+set}\" = set"; then
62305   echo $ECHO_N "(cached) $ECHO_C" >&6
62306 else
62307   if test x$gcc_no_link = xyes; then
62308   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62310    { (exit 1); exit 1; }; }
62311 fi
62312 cat >conftest.$ac_ext <<_ACEOF
62313 /* confdefs.h.  */
62314 _ACEOF
62315 cat confdefs.h >>conftest.$ac_ext
62316 cat >>conftest.$ac_ext <<_ACEOF
62317 /* end confdefs.h.  */
62318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62319    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62320 #define $ac_func innocuous_$ac_func
62321
62322 /* System header to define __stub macros and hopefully few prototypes,
62323     which can conflict with char $ac_func (); below.
62324     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62325     <limits.h> exists even on freestanding compilers.  */
62326
62327 #ifdef __STDC__
62328 # include <limits.h>
62329 #else
62330 # include <assert.h>
62331 #endif
62332
62333 #undef $ac_func
62334
62335 /* Override any gcc2 internal prototype to avoid an error.  */
62336 #ifdef __cplusplus
62337 extern "C"
62338 {
62339 #endif
62340 /* We use char because int might match the return type of a gcc2
62341    builtin and then its argument prototype would still apply.  */
62342 char $ac_func ();
62343 /* The GNU C library defines this for functions which it implements
62344     to always fail with ENOSYS.  Some functions are actually named
62345     something starting with __ and the normal name is an alias.  */
62346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62347 choke me
62348 #else
62349 char (*f) () = $ac_func;
62350 #endif
62351 #ifdef __cplusplus
62352 }
62353 #endif
62354
62355 int
62356 main ()
62357 {
62358 return f != $ac_func;
62359   ;
62360   return 0;
62361 }
62362 _ACEOF
62363 rm -f conftest.$ac_objext conftest$ac_exeext
62364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62365   (eval $ac_link) 2>conftest.er1
62366   ac_status=$?
62367   grep -v '^ *+' conftest.er1 >conftest.err
62368   rm -f conftest.er1
62369   cat conftest.err >&5
62370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62371   (exit $ac_status); } &&
62372          { ac_try='test -z "$ac_c_werror_flag"
62373                          || test ! -s conftest.err'
62374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62375   (eval $ac_try) 2>&5
62376   ac_status=$?
62377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62378   (exit $ac_status); }; } &&
62379          { ac_try='test -s conftest$ac_exeext'
62380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62381   (eval $ac_try) 2>&5
62382   ac_status=$?
62383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62384   (exit $ac_status); }; }; then
62385   eval "$as_ac_var=yes"
62386 else
62387   echo "$as_me: failed program was:" >&5
62388 sed 's/^/| /' conftest.$ac_ext >&5
62389
62390 eval "$as_ac_var=no"
62391 fi
62392 rm -f conftest.err conftest.$ac_objext \
62393       conftest$ac_exeext conftest.$ac_ext
62394 fi
62395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62397 if test `eval echo '${'$as_ac_var'}'` = yes; then
62398   cat >>confdefs.h <<_ACEOF
62399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62400 _ACEOF
62401
62402 fi
62403 done
62404
62405     fi
62406   fi
62407
62408
62409
62410
62411
62412
62413   echo "$as_me:$LINENO: checking for modff declaration" >&5
62414 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62415   if test x${glibcxx_cv_func_modff_use+set} != xset; then
62416     if test "${glibcxx_cv_func_modff_use+set}" = set; then
62417   echo $ECHO_N "(cached) $ECHO_C" >&6
62418 else
62419
62420
62421
62422       ac_ext=cc
62423 ac_cpp='$CXXCPP $CPPFLAGS'
62424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62427
62428       cat >conftest.$ac_ext <<_ACEOF
62429 /* confdefs.h.  */
62430 _ACEOF
62431 cat confdefs.h >>conftest.$ac_ext
62432 cat >>conftest.$ac_ext <<_ACEOF
62433 /* end confdefs.h.  */
62434 #include <math.h>
62435 int
62436 main ()
62437 {
62438  modff(0, 0);
62439   ;
62440   return 0;
62441 }
62442 _ACEOF
62443 rm -f conftest.$ac_objext
62444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62445   (eval $ac_compile) 2>conftest.er1
62446   ac_status=$?
62447   grep -v '^ *+' conftest.er1 >conftest.err
62448   rm -f conftest.er1
62449   cat conftest.err >&5
62450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62451   (exit $ac_status); } &&
62452          { ac_try='test -z "$ac_cxx_werror_flag"
62453                          || test ! -s conftest.err'
62454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62455   (eval $ac_try) 2>&5
62456   ac_status=$?
62457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62458   (exit $ac_status); }; } &&
62459          { ac_try='test -s conftest.$ac_objext'
62460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62461   (eval $ac_try) 2>&5
62462   ac_status=$?
62463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62464   (exit $ac_status); }; }; then
62465   glibcxx_cv_func_modff_use=yes
62466 else
62467   echo "$as_me: failed program was:" >&5
62468 sed 's/^/| /' conftest.$ac_ext >&5
62469
62470 glibcxx_cv_func_modff_use=no
62471 fi
62472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62473       ac_ext=c
62474 ac_cpp='$CPP $CPPFLAGS'
62475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62478
62479
62480 fi
62481
62482   fi
62483   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62484 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62485
62486   if test x$glibcxx_cv_func_modff_use = x"yes"; then
62487
62488 for ac_func in modff
62489 do
62490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62491 echo "$as_me:$LINENO: checking for $ac_func" >&5
62492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62493 if eval "test \"\${$as_ac_var+set}\" = set"; then
62494   echo $ECHO_N "(cached) $ECHO_C" >&6
62495 else
62496   if test x$gcc_no_link = xyes; then
62497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62499    { (exit 1); exit 1; }; }
62500 fi
62501 cat >conftest.$ac_ext <<_ACEOF
62502 /* confdefs.h.  */
62503 _ACEOF
62504 cat confdefs.h >>conftest.$ac_ext
62505 cat >>conftest.$ac_ext <<_ACEOF
62506 /* end confdefs.h.  */
62507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62508    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62509 #define $ac_func innocuous_$ac_func
62510
62511 /* System header to define __stub macros and hopefully few prototypes,
62512     which can conflict with char $ac_func (); below.
62513     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62514     <limits.h> exists even on freestanding compilers.  */
62515
62516 #ifdef __STDC__
62517 # include <limits.h>
62518 #else
62519 # include <assert.h>
62520 #endif
62521
62522 #undef $ac_func
62523
62524 /* Override any gcc2 internal prototype to avoid an error.  */
62525 #ifdef __cplusplus
62526 extern "C"
62527 {
62528 #endif
62529 /* We use char because int might match the return type of a gcc2
62530    builtin and then its argument prototype would still apply.  */
62531 char $ac_func ();
62532 /* The GNU C library defines this for functions which it implements
62533     to always fail with ENOSYS.  Some functions are actually named
62534     something starting with __ and the normal name is an alias.  */
62535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62536 choke me
62537 #else
62538 char (*f) () = $ac_func;
62539 #endif
62540 #ifdef __cplusplus
62541 }
62542 #endif
62543
62544 int
62545 main ()
62546 {
62547 return f != $ac_func;
62548   ;
62549   return 0;
62550 }
62551 _ACEOF
62552 rm -f conftest.$ac_objext conftest$ac_exeext
62553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62554   (eval $ac_link) 2>conftest.er1
62555   ac_status=$?
62556   grep -v '^ *+' conftest.er1 >conftest.err
62557   rm -f conftest.er1
62558   cat conftest.err >&5
62559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62560   (exit $ac_status); } &&
62561          { ac_try='test -z "$ac_c_werror_flag"
62562                          || test ! -s conftest.err'
62563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62564   (eval $ac_try) 2>&5
62565   ac_status=$?
62566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62567   (exit $ac_status); }; } &&
62568          { ac_try='test -s conftest$ac_exeext'
62569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62570   (eval $ac_try) 2>&5
62571   ac_status=$?
62572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62573   (exit $ac_status); }; }; then
62574   eval "$as_ac_var=yes"
62575 else
62576   echo "$as_me: failed program was:" >&5
62577 sed 's/^/| /' conftest.$ac_ext >&5
62578
62579 eval "$as_ac_var=no"
62580 fi
62581 rm -f conftest.err conftest.$ac_objext \
62582       conftest$ac_exeext conftest.$ac_ext
62583 fi
62584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62586 if test `eval echo '${'$as_ac_var'}'` = yes; then
62587   cat >>confdefs.h <<_ACEOF
62588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62589 _ACEOF
62590
62591 fi
62592 done
62593
62594   else
62595
62596   echo "$as_me:$LINENO: checking for _modff declaration" >&5
62597 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62598   if test x${glibcxx_cv_func__modff_use+set} != xset; then
62599     if test "${glibcxx_cv_func__modff_use+set}" = set; then
62600   echo $ECHO_N "(cached) $ECHO_C" >&6
62601 else
62602
62603
62604
62605       ac_ext=cc
62606 ac_cpp='$CXXCPP $CPPFLAGS'
62607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62610
62611       cat >conftest.$ac_ext <<_ACEOF
62612 /* confdefs.h.  */
62613 _ACEOF
62614 cat confdefs.h >>conftest.$ac_ext
62615 cat >>conftest.$ac_ext <<_ACEOF
62616 /* end confdefs.h.  */
62617 #include <math.h>
62618 int
62619 main ()
62620 {
62621  _modff(0, 0);
62622   ;
62623   return 0;
62624 }
62625 _ACEOF
62626 rm -f conftest.$ac_objext
62627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62628   (eval $ac_compile) 2>conftest.er1
62629   ac_status=$?
62630   grep -v '^ *+' conftest.er1 >conftest.err
62631   rm -f conftest.er1
62632   cat conftest.err >&5
62633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62634   (exit $ac_status); } &&
62635          { ac_try='test -z "$ac_cxx_werror_flag"
62636                          || test ! -s conftest.err'
62637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62638   (eval $ac_try) 2>&5
62639   ac_status=$?
62640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62641   (exit $ac_status); }; } &&
62642          { ac_try='test -s conftest.$ac_objext'
62643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62644   (eval $ac_try) 2>&5
62645   ac_status=$?
62646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62647   (exit $ac_status); }; }; then
62648   glibcxx_cv_func__modff_use=yes
62649 else
62650   echo "$as_me: failed program was:" >&5
62651 sed 's/^/| /' conftest.$ac_ext >&5
62652
62653 glibcxx_cv_func__modff_use=no
62654 fi
62655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62656       ac_ext=c
62657 ac_cpp='$CPP $CPPFLAGS'
62658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62661
62662
62663 fi
62664
62665   fi
62666   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62667 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62668
62669     if test x$glibcxx_cv_func__modff_use = x"yes"; then
62670
62671 for ac_func in _modff
62672 do
62673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62674 echo "$as_me:$LINENO: checking for $ac_func" >&5
62675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62676 if eval "test \"\${$as_ac_var+set}\" = set"; then
62677   echo $ECHO_N "(cached) $ECHO_C" >&6
62678 else
62679   if test x$gcc_no_link = xyes; then
62680   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62682    { (exit 1); exit 1; }; }
62683 fi
62684 cat >conftest.$ac_ext <<_ACEOF
62685 /* confdefs.h.  */
62686 _ACEOF
62687 cat confdefs.h >>conftest.$ac_ext
62688 cat >>conftest.$ac_ext <<_ACEOF
62689 /* end confdefs.h.  */
62690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62691    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62692 #define $ac_func innocuous_$ac_func
62693
62694 /* System header to define __stub macros and hopefully few prototypes,
62695     which can conflict with char $ac_func (); below.
62696     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62697     <limits.h> exists even on freestanding compilers.  */
62698
62699 #ifdef __STDC__
62700 # include <limits.h>
62701 #else
62702 # include <assert.h>
62703 #endif
62704
62705 #undef $ac_func
62706
62707 /* Override any gcc2 internal prototype to avoid an error.  */
62708 #ifdef __cplusplus
62709 extern "C"
62710 {
62711 #endif
62712 /* We use char because int might match the return type of a gcc2
62713    builtin and then its argument prototype would still apply.  */
62714 char $ac_func ();
62715 /* The GNU C library defines this for functions which it implements
62716     to always fail with ENOSYS.  Some functions are actually named
62717     something starting with __ and the normal name is an alias.  */
62718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62719 choke me
62720 #else
62721 char (*f) () = $ac_func;
62722 #endif
62723 #ifdef __cplusplus
62724 }
62725 #endif
62726
62727 int
62728 main ()
62729 {
62730 return f != $ac_func;
62731   ;
62732   return 0;
62733 }
62734 _ACEOF
62735 rm -f conftest.$ac_objext conftest$ac_exeext
62736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62737   (eval $ac_link) 2>conftest.er1
62738   ac_status=$?
62739   grep -v '^ *+' conftest.er1 >conftest.err
62740   rm -f conftest.er1
62741   cat conftest.err >&5
62742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62743   (exit $ac_status); } &&
62744          { ac_try='test -z "$ac_c_werror_flag"
62745                          || test ! -s conftest.err'
62746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62747   (eval $ac_try) 2>&5
62748   ac_status=$?
62749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62750   (exit $ac_status); }; } &&
62751          { ac_try='test -s conftest$ac_exeext'
62752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62753   (eval $ac_try) 2>&5
62754   ac_status=$?
62755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62756   (exit $ac_status); }; }; then
62757   eval "$as_ac_var=yes"
62758 else
62759   echo "$as_me: failed program was:" >&5
62760 sed 's/^/| /' conftest.$ac_ext >&5
62761
62762 eval "$as_ac_var=no"
62763 fi
62764 rm -f conftest.err conftest.$ac_objext \
62765       conftest$ac_exeext conftest.$ac_ext
62766 fi
62767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62769 if test `eval echo '${'$as_ac_var'}'` = yes; then
62770   cat >>confdefs.h <<_ACEOF
62771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62772 _ACEOF
62773
62774 fi
62775 done
62776
62777     fi
62778   fi
62779
62780
62781
62782
62783
62784
62785   echo "$as_me:$LINENO: checking for modf declaration" >&5
62786 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62787   if test x${glibcxx_cv_func_modf_use+set} != xset; then
62788     if test "${glibcxx_cv_func_modf_use+set}" = set; then
62789   echo $ECHO_N "(cached) $ECHO_C" >&6
62790 else
62791
62792
62793
62794       ac_ext=cc
62795 ac_cpp='$CXXCPP $CPPFLAGS'
62796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62799
62800       cat >conftest.$ac_ext <<_ACEOF
62801 /* confdefs.h.  */
62802 _ACEOF
62803 cat confdefs.h >>conftest.$ac_ext
62804 cat >>conftest.$ac_ext <<_ACEOF
62805 /* end confdefs.h.  */
62806 #include <math.h>
62807 int
62808 main ()
62809 {
62810  modf(0, 0);
62811   ;
62812   return 0;
62813 }
62814 _ACEOF
62815 rm -f conftest.$ac_objext
62816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62817   (eval $ac_compile) 2>conftest.er1
62818   ac_status=$?
62819   grep -v '^ *+' conftest.er1 >conftest.err
62820   rm -f conftest.er1
62821   cat conftest.err >&5
62822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62823   (exit $ac_status); } &&
62824          { ac_try='test -z "$ac_cxx_werror_flag"
62825                          || test ! -s conftest.err'
62826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62827   (eval $ac_try) 2>&5
62828   ac_status=$?
62829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62830   (exit $ac_status); }; } &&
62831          { ac_try='test -s conftest.$ac_objext'
62832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62833   (eval $ac_try) 2>&5
62834   ac_status=$?
62835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62836   (exit $ac_status); }; }; then
62837   glibcxx_cv_func_modf_use=yes
62838 else
62839   echo "$as_me: failed program was:" >&5
62840 sed 's/^/| /' conftest.$ac_ext >&5
62841
62842 glibcxx_cv_func_modf_use=no
62843 fi
62844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62845       ac_ext=c
62846 ac_cpp='$CPP $CPPFLAGS'
62847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62850
62851
62852 fi
62853
62854   fi
62855   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
62856 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
62857
62858   if test x$glibcxx_cv_func_modf_use = x"yes"; then
62859
62860 for ac_func in modf
62861 do
62862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62863 echo "$as_me:$LINENO: checking for $ac_func" >&5
62864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62865 if eval "test \"\${$as_ac_var+set}\" = set"; then
62866   echo $ECHO_N "(cached) $ECHO_C" >&6
62867 else
62868   if test x$gcc_no_link = xyes; then
62869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62871    { (exit 1); exit 1; }; }
62872 fi
62873 cat >conftest.$ac_ext <<_ACEOF
62874 /* confdefs.h.  */
62875 _ACEOF
62876 cat confdefs.h >>conftest.$ac_ext
62877 cat >>conftest.$ac_ext <<_ACEOF
62878 /* end confdefs.h.  */
62879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62881 #define $ac_func innocuous_$ac_func
62882
62883 /* System header to define __stub macros and hopefully few prototypes,
62884     which can conflict with char $ac_func (); below.
62885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62886     <limits.h> exists even on freestanding compilers.  */
62887
62888 #ifdef __STDC__
62889 # include <limits.h>
62890 #else
62891 # include <assert.h>
62892 #endif
62893
62894 #undef $ac_func
62895
62896 /* Override any gcc2 internal prototype to avoid an error.  */
62897 #ifdef __cplusplus
62898 extern "C"
62899 {
62900 #endif
62901 /* We use char because int might match the return type of a gcc2
62902    builtin and then its argument prototype would still apply.  */
62903 char $ac_func ();
62904 /* The GNU C library defines this for functions which it implements
62905     to always fail with ENOSYS.  Some functions are actually named
62906     something starting with __ and the normal name is an alias.  */
62907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62908 choke me
62909 #else
62910 char (*f) () = $ac_func;
62911 #endif
62912 #ifdef __cplusplus
62913 }
62914 #endif
62915
62916 int
62917 main ()
62918 {
62919 return f != $ac_func;
62920   ;
62921   return 0;
62922 }
62923 _ACEOF
62924 rm -f conftest.$ac_objext conftest$ac_exeext
62925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62926   (eval $ac_link) 2>conftest.er1
62927   ac_status=$?
62928   grep -v '^ *+' conftest.er1 >conftest.err
62929   rm -f conftest.er1
62930   cat conftest.err >&5
62931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62932   (exit $ac_status); } &&
62933          { ac_try='test -z "$ac_c_werror_flag"
62934                          || test ! -s conftest.err'
62935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62936   (eval $ac_try) 2>&5
62937   ac_status=$?
62938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62939   (exit $ac_status); }; } &&
62940          { ac_try='test -s conftest$ac_exeext'
62941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62942   (eval $ac_try) 2>&5
62943   ac_status=$?
62944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62945   (exit $ac_status); }; }; then
62946   eval "$as_ac_var=yes"
62947 else
62948   echo "$as_me: failed program was:" >&5
62949 sed 's/^/| /' conftest.$ac_ext >&5
62950
62951 eval "$as_ac_var=no"
62952 fi
62953 rm -f conftest.err conftest.$ac_objext \
62954       conftest$ac_exeext conftest.$ac_ext
62955 fi
62956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62958 if test `eval echo '${'$as_ac_var'}'` = yes; then
62959   cat >>confdefs.h <<_ACEOF
62960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62961 _ACEOF
62962
62963 fi
62964 done
62965
62966   else
62967
62968   echo "$as_me:$LINENO: checking for _modf declaration" >&5
62969 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
62970   if test x${glibcxx_cv_func__modf_use+set} != xset; then
62971     if test "${glibcxx_cv_func__modf_use+set}" = set; then
62972   echo $ECHO_N "(cached) $ECHO_C" >&6
62973 else
62974
62975
62976
62977       ac_ext=cc
62978 ac_cpp='$CXXCPP $CPPFLAGS'
62979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62982
62983       cat >conftest.$ac_ext <<_ACEOF
62984 /* confdefs.h.  */
62985 _ACEOF
62986 cat confdefs.h >>conftest.$ac_ext
62987 cat >>conftest.$ac_ext <<_ACEOF
62988 /* end confdefs.h.  */
62989 #include <math.h>
62990 int
62991 main ()
62992 {
62993  _modf(0, 0);
62994   ;
62995   return 0;
62996 }
62997 _ACEOF
62998 rm -f conftest.$ac_objext
62999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63000   (eval $ac_compile) 2>conftest.er1
63001   ac_status=$?
63002   grep -v '^ *+' conftest.er1 >conftest.err
63003   rm -f conftest.er1
63004   cat conftest.err >&5
63005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63006   (exit $ac_status); } &&
63007          { ac_try='test -z "$ac_cxx_werror_flag"
63008                          || test ! -s conftest.err'
63009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63010   (eval $ac_try) 2>&5
63011   ac_status=$?
63012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63013   (exit $ac_status); }; } &&
63014          { ac_try='test -s conftest.$ac_objext'
63015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63016   (eval $ac_try) 2>&5
63017   ac_status=$?
63018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63019   (exit $ac_status); }; }; then
63020   glibcxx_cv_func__modf_use=yes
63021 else
63022   echo "$as_me: failed program was:" >&5
63023 sed 's/^/| /' conftest.$ac_ext >&5
63024
63025 glibcxx_cv_func__modf_use=no
63026 fi
63027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63028       ac_ext=c
63029 ac_cpp='$CPP $CPPFLAGS'
63030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63033
63034
63035 fi
63036
63037   fi
63038   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
63039 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
63040
63041     if test x$glibcxx_cv_func__modf_use = x"yes"; then
63042
63043 for ac_func in _modf
63044 do
63045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63046 echo "$as_me:$LINENO: checking for $ac_func" >&5
63047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63048 if eval "test \"\${$as_ac_var+set}\" = set"; then
63049   echo $ECHO_N "(cached) $ECHO_C" >&6
63050 else
63051   if test x$gcc_no_link = xyes; then
63052   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63054    { (exit 1); exit 1; }; }
63055 fi
63056 cat >conftest.$ac_ext <<_ACEOF
63057 /* confdefs.h.  */
63058 _ACEOF
63059 cat confdefs.h >>conftest.$ac_ext
63060 cat >>conftest.$ac_ext <<_ACEOF
63061 /* end confdefs.h.  */
63062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63063    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63064 #define $ac_func innocuous_$ac_func
63065
63066 /* System header to define __stub macros and hopefully few prototypes,
63067     which can conflict with char $ac_func (); below.
63068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63069     <limits.h> exists even on freestanding compilers.  */
63070
63071 #ifdef __STDC__
63072 # include <limits.h>
63073 #else
63074 # include <assert.h>
63075 #endif
63076
63077 #undef $ac_func
63078
63079 /* Override any gcc2 internal prototype to avoid an error.  */
63080 #ifdef __cplusplus
63081 extern "C"
63082 {
63083 #endif
63084 /* We use char because int might match the return type of a gcc2
63085    builtin and then its argument prototype would still apply.  */
63086 char $ac_func ();
63087 /* The GNU C library defines this for functions which it implements
63088     to always fail with ENOSYS.  Some functions are actually named
63089     something starting with __ and the normal name is an alias.  */
63090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63091 choke me
63092 #else
63093 char (*f) () = $ac_func;
63094 #endif
63095 #ifdef __cplusplus
63096 }
63097 #endif
63098
63099 int
63100 main ()
63101 {
63102 return f != $ac_func;
63103   ;
63104   return 0;
63105 }
63106 _ACEOF
63107 rm -f conftest.$ac_objext conftest$ac_exeext
63108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63109   (eval $ac_link) 2>conftest.er1
63110   ac_status=$?
63111   grep -v '^ *+' conftest.er1 >conftest.err
63112   rm -f conftest.er1
63113   cat conftest.err >&5
63114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63115   (exit $ac_status); } &&
63116          { ac_try='test -z "$ac_c_werror_flag"
63117                          || test ! -s conftest.err'
63118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63119   (eval $ac_try) 2>&5
63120   ac_status=$?
63121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63122   (exit $ac_status); }; } &&
63123          { ac_try='test -s conftest$ac_exeext'
63124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63125   (eval $ac_try) 2>&5
63126   ac_status=$?
63127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63128   (exit $ac_status); }; }; then
63129   eval "$as_ac_var=yes"
63130 else
63131   echo "$as_me: failed program was:" >&5
63132 sed 's/^/| /' conftest.$ac_ext >&5
63133
63134 eval "$as_ac_var=no"
63135 fi
63136 rm -f conftest.err conftest.$ac_objext \
63137       conftest$ac_exeext conftest.$ac_ext
63138 fi
63139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63141 if test `eval echo '${'$as_ac_var'}'` = yes; then
63142   cat >>confdefs.h <<_ACEOF
63143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63144 _ACEOF
63145
63146 fi
63147 done
63148
63149     fi
63150   fi
63151
63152
63153
63154
63155
63156
63157   echo "$as_me:$LINENO: checking for powf declaration" >&5
63158 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
63159   if test x${glibcxx_cv_func_powf_use+set} != xset; then
63160     if test "${glibcxx_cv_func_powf_use+set}" = set; then
63161   echo $ECHO_N "(cached) $ECHO_C" >&6
63162 else
63163
63164
63165
63166       ac_ext=cc
63167 ac_cpp='$CXXCPP $CPPFLAGS'
63168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63171
63172       cat >conftest.$ac_ext <<_ACEOF
63173 /* confdefs.h.  */
63174 _ACEOF
63175 cat confdefs.h >>conftest.$ac_ext
63176 cat >>conftest.$ac_ext <<_ACEOF
63177 /* end confdefs.h.  */
63178 #include <math.h>
63179 int
63180 main ()
63181 {
63182  powf(0, 0);
63183   ;
63184   return 0;
63185 }
63186 _ACEOF
63187 rm -f conftest.$ac_objext
63188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63189   (eval $ac_compile) 2>conftest.er1
63190   ac_status=$?
63191   grep -v '^ *+' conftest.er1 >conftest.err
63192   rm -f conftest.er1
63193   cat conftest.err >&5
63194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63195   (exit $ac_status); } &&
63196          { ac_try='test -z "$ac_cxx_werror_flag"
63197                          || test ! -s conftest.err'
63198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63199   (eval $ac_try) 2>&5
63200   ac_status=$?
63201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63202   (exit $ac_status); }; } &&
63203          { ac_try='test -s conftest.$ac_objext'
63204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63205   (eval $ac_try) 2>&5
63206   ac_status=$?
63207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63208   (exit $ac_status); }; }; then
63209   glibcxx_cv_func_powf_use=yes
63210 else
63211   echo "$as_me: failed program was:" >&5
63212 sed 's/^/| /' conftest.$ac_ext >&5
63213
63214 glibcxx_cv_func_powf_use=no
63215 fi
63216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63217       ac_ext=c
63218 ac_cpp='$CPP $CPPFLAGS'
63219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63222
63223
63224 fi
63225
63226   fi
63227   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63228 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63229
63230   if test x$glibcxx_cv_func_powf_use = x"yes"; then
63231
63232 for ac_func in powf
63233 do
63234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63235 echo "$as_me:$LINENO: checking for $ac_func" >&5
63236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63237 if eval "test \"\${$as_ac_var+set}\" = set"; then
63238   echo $ECHO_N "(cached) $ECHO_C" >&6
63239 else
63240   if test x$gcc_no_link = xyes; then
63241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63243    { (exit 1); exit 1; }; }
63244 fi
63245 cat >conftest.$ac_ext <<_ACEOF
63246 /* confdefs.h.  */
63247 _ACEOF
63248 cat confdefs.h >>conftest.$ac_ext
63249 cat >>conftest.$ac_ext <<_ACEOF
63250 /* end confdefs.h.  */
63251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63252    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63253 #define $ac_func innocuous_$ac_func
63254
63255 /* System header to define __stub macros and hopefully few prototypes,
63256     which can conflict with char $ac_func (); below.
63257     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63258     <limits.h> exists even on freestanding compilers.  */
63259
63260 #ifdef __STDC__
63261 # include <limits.h>
63262 #else
63263 # include <assert.h>
63264 #endif
63265
63266 #undef $ac_func
63267
63268 /* Override any gcc2 internal prototype to avoid an error.  */
63269 #ifdef __cplusplus
63270 extern "C"
63271 {
63272 #endif
63273 /* We use char because int might match the return type of a gcc2
63274    builtin and then its argument prototype would still apply.  */
63275 char $ac_func ();
63276 /* The GNU C library defines this for functions which it implements
63277     to always fail with ENOSYS.  Some functions are actually named
63278     something starting with __ and the normal name is an alias.  */
63279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63280 choke me
63281 #else
63282 char (*f) () = $ac_func;
63283 #endif
63284 #ifdef __cplusplus
63285 }
63286 #endif
63287
63288 int
63289 main ()
63290 {
63291 return f != $ac_func;
63292   ;
63293   return 0;
63294 }
63295 _ACEOF
63296 rm -f conftest.$ac_objext conftest$ac_exeext
63297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63298   (eval $ac_link) 2>conftest.er1
63299   ac_status=$?
63300   grep -v '^ *+' conftest.er1 >conftest.err
63301   rm -f conftest.er1
63302   cat conftest.err >&5
63303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63304   (exit $ac_status); } &&
63305          { ac_try='test -z "$ac_c_werror_flag"
63306                          || test ! -s conftest.err'
63307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63308   (eval $ac_try) 2>&5
63309   ac_status=$?
63310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63311   (exit $ac_status); }; } &&
63312          { ac_try='test -s conftest$ac_exeext'
63313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63314   (eval $ac_try) 2>&5
63315   ac_status=$?
63316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63317   (exit $ac_status); }; }; then
63318   eval "$as_ac_var=yes"
63319 else
63320   echo "$as_me: failed program was:" >&5
63321 sed 's/^/| /' conftest.$ac_ext >&5
63322
63323 eval "$as_ac_var=no"
63324 fi
63325 rm -f conftest.err conftest.$ac_objext \
63326       conftest$ac_exeext conftest.$ac_ext
63327 fi
63328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63330 if test `eval echo '${'$as_ac_var'}'` = yes; then
63331   cat >>confdefs.h <<_ACEOF
63332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63333 _ACEOF
63334
63335 fi
63336 done
63337
63338   else
63339
63340   echo "$as_me:$LINENO: checking for _powf declaration" >&5
63341 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63342   if test x${glibcxx_cv_func__powf_use+set} != xset; then
63343     if test "${glibcxx_cv_func__powf_use+set}" = set; then
63344   echo $ECHO_N "(cached) $ECHO_C" >&6
63345 else
63346
63347
63348
63349       ac_ext=cc
63350 ac_cpp='$CXXCPP $CPPFLAGS'
63351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63354
63355       cat >conftest.$ac_ext <<_ACEOF
63356 /* confdefs.h.  */
63357 _ACEOF
63358 cat confdefs.h >>conftest.$ac_ext
63359 cat >>conftest.$ac_ext <<_ACEOF
63360 /* end confdefs.h.  */
63361 #include <math.h>
63362 int
63363 main ()
63364 {
63365  _powf(0, 0);
63366   ;
63367   return 0;
63368 }
63369 _ACEOF
63370 rm -f conftest.$ac_objext
63371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63372   (eval $ac_compile) 2>conftest.er1
63373   ac_status=$?
63374   grep -v '^ *+' conftest.er1 >conftest.err
63375   rm -f conftest.er1
63376   cat conftest.err >&5
63377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63378   (exit $ac_status); } &&
63379          { ac_try='test -z "$ac_cxx_werror_flag"
63380                          || test ! -s conftest.err'
63381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63382   (eval $ac_try) 2>&5
63383   ac_status=$?
63384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63385   (exit $ac_status); }; } &&
63386          { ac_try='test -s conftest.$ac_objext'
63387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63388   (eval $ac_try) 2>&5
63389   ac_status=$?
63390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63391   (exit $ac_status); }; }; then
63392   glibcxx_cv_func__powf_use=yes
63393 else
63394   echo "$as_me: failed program was:" >&5
63395 sed 's/^/| /' conftest.$ac_ext >&5
63396
63397 glibcxx_cv_func__powf_use=no
63398 fi
63399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63400       ac_ext=c
63401 ac_cpp='$CPP $CPPFLAGS'
63402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63405
63406
63407 fi
63408
63409   fi
63410   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63411 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63412
63413     if test x$glibcxx_cv_func__powf_use = x"yes"; then
63414
63415 for ac_func in _powf
63416 do
63417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63418 echo "$as_me:$LINENO: checking for $ac_func" >&5
63419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63420 if eval "test \"\${$as_ac_var+set}\" = set"; then
63421   echo $ECHO_N "(cached) $ECHO_C" >&6
63422 else
63423   if test x$gcc_no_link = xyes; then
63424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63426    { (exit 1); exit 1; }; }
63427 fi
63428 cat >conftest.$ac_ext <<_ACEOF
63429 /* confdefs.h.  */
63430 _ACEOF
63431 cat confdefs.h >>conftest.$ac_ext
63432 cat >>conftest.$ac_ext <<_ACEOF
63433 /* end confdefs.h.  */
63434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63435    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63436 #define $ac_func innocuous_$ac_func
63437
63438 /* System header to define __stub macros and hopefully few prototypes,
63439     which can conflict with char $ac_func (); below.
63440     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63441     <limits.h> exists even on freestanding compilers.  */
63442
63443 #ifdef __STDC__
63444 # include <limits.h>
63445 #else
63446 # include <assert.h>
63447 #endif
63448
63449 #undef $ac_func
63450
63451 /* Override any gcc2 internal prototype to avoid an error.  */
63452 #ifdef __cplusplus
63453 extern "C"
63454 {
63455 #endif
63456 /* We use char because int might match the return type of a gcc2
63457    builtin and then its argument prototype would still apply.  */
63458 char $ac_func ();
63459 /* The GNU C library defines this for functions which it implements
63460     to always fail with ENOSYS.  Some functions are actually named
63461     something starting with __ and the normal name is an alias.  */
63462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63463 choke me
63464 #else
63465 char (*f) () = $ac_func;
63466 #endif
63467 #ifdef __cplusplus
63468 }
63469 #endif
63470
63471 int
63472 main ()
63473 {
63474 return f != $ac_func;
63475   ;
63476   return 0;
63477 }
63478 _ACEOF
63479 rm -f conftest.$ac_objext conftest$ac_exeext
63480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63481   (eval $ac_link) 2>conftest.er1
63482   ac_status=$?
63483   grep -v '^ *+' conftest.er1 >conftest.err
63484   rm -f conftest.er1
63485   cat conftest.err >&5
63486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63487   (exit $ac_status); } &&
63488          { ac_try='test -z "$ac_c_werror_flag"
63489                          || test ! -s conftest.err'
63490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63491   (eval $ac_try) 2>&5
63492   ac_status=$?
63493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63494   (exit $ac_status); }; } &&
63495          { ac_try='test -s conftest$ac_exeext'
63496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63497   (eval $ac_try) 2>&5
63498   ac_status=$?
63499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63500   (exit $ac_status); }; }; then
63501   eval "$as_ac_var=yes"
63502 else
63503   echo "$as_me: failed program was:" >&5
63504 sed 's/^/| /' conftest.$ac_ext >&5
63505
63506 eval "$as_ac_var=no"
63507 fi
63508 rm -f conftest.err conftest.$ac_objext \
63509       conftest$ac_exeext conftest.$ac_ext
63510 fi
63511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63513 if test `eval echo '${'$as_ac_var'}'` = yes; then
63514   cat >>confdefs.h <<_ACEOF
63515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63516 _ACEOF
63517
63518 fi
63519 done
63520
63521     fi
63522   fi
63523
63524
63525
63526
63527
63528
63529   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63530 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63531   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63532     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63533   echo $ECHO_N "(cached) $ECHO_C" >&6
63534 else
63535
63536
63537
63538       ac_ext=cc
63539 ac_cpp='$CXXCPP $CPPFLAGS'
63540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63543
63544       cat >conftest.$ac_ext <<_ACEOF
63545 /* confdefs.h.  */
63546 _ACEOF
63547 cat confdefs.h >>conftest.$ac_ext
63548 cat >>conftest.$ac_ext <<_ACEOF
63549 /* end confdefs.h.  */
63550 #include <math.h>
63551                       #ifdef HAVE_IEEEFP_H
63552                       #include <ieeefp.h>
63553                       #endif
63554
63555 int
63556 main ()
63557 {
63558  sqrtf(0);
63559   ;
63560   return 0;
63561 }
63562 _ACEOF
63563 rm -f conftest.$ac_objext
63564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63565   (eval $ac_compile) 2>conftest.er1
63566   ac_status=$?
63567   grep -v '^ *+' conftest.er1 >conftest.err
63568   rm -f conftest.er1
63569   cat conftest.err >&5
63570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63571   (exit $ac_status); } &&
63572          { ac_try='test -z "$ac_cxx_werror_flag"
63573                          || test ! -s conftest.err'
63574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63575   (eval $ac_try) 2>&5
63576   ac_status=$?
63577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63578   (exit $ac_status); }; } &&
63579          { ac_try='test -s conftest.$ac_objext'
63580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63581   (eval $ac_try) 2>&5
63582   ac_status=$?
63583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63584   (exit $ac_status); }; }; then
63585   glibcxx_cv_func_sqrtf_use=yes
63586 else
63587   echo "$as_me: failed program was:" >&5
63588 sed 's/^/| /' conftest.$ac_ext >&5
63589
63590 glibcxx_cv_func_sqrtf_use=no
63591 fi
63592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63593       ac_ext=c
63594 ac_cpp='$CPP $CPPFLAGS'
63595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63598
63599
63600 fi
63601
63602   fi
63603   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63604 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63605
63606   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63607
63608 for ac_func in sqrtf
63609 do
63610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63611 echo "$as_me:$LINENO: checking for $ac_func" >&5
63612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63613 if eval "test \"\${$as_ac_var+set}\" = set"; then
63614   echo $ECHO_N "(cached) $ECHO_C" >&6
63615 else
63616   if test x$gcc_no_link = xyes; then
63617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63619    { (exit 1); exit 1; }; }
63620 fi
63621 cat >conftest.$ac_ext <<_ACEOF
63622 /* confdefs.h.  */
63623 _ACEOF
63624 cat confdefs.h >>conftest.$ac_ext
63625 cat >>conftest.$ac_ext <<_ACEOF
63626 /* end confdefs.h.  */
63627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63629 #define $ac_func innocuous_$ac_func
63630
63631 /* System header to define __stub macros and hopefully few prototypes,
63632     which can conflict with char $ac_func (); below.
63633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63634     <limits.h> exists even on freestanding compilers.  */
63635
63636 #ifdef __STDC__
63637 # include <limits.h>
63638 #else
63639 # include <assert.h>
63640 #endif
63641
63642 #undef $ac_func
63643
63644 /* Override any gcc2 internal prototype to avoid an error.  */
63645 #ifdef __cplusplus
63646 extern "C"
63647 {
63648 #endif
63649 /* We use char because int might match the return type of a gcc2
63650    builtin and then its argument prototype would still apply.  */
63651 char $ac_func ();
63652 /* The GNU C library defines this for functions which it implements
63653     to always fail with ENOSYS.  Some functions are actually named
63654     something starting with __ and the normal name is an alias.  */
63655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63656 choke me
63657 #else
63658 char (*f) () = $ac_func;
63659 #endif
63660 #ifdef __cplusplus
63661 }
63662 #endif
63663
63664 int
63665 main ()
63666 {
63667 return f != $ac_func;
63668   ;
63669   return 0;
63670 }
63671 _ACEOF
63672 rm -f conftest.$ac_objext conftest$ac_exeext
63673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63674   (eval $ac_link) 2>conftest.er1
63675   ac_status=$?
63676   grep -v '^ *+' conftest.er1 >conftest.err
63677   rm -f conftest.er1
63678   cat conftest.err >&5
63679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63680   (exit $ac_status); } &&
63681          { ac_try='test -z "$ac_c_werror_flag"
63682                          || test ! -s conftest.err'
63683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63684   (eval $ac_try) 2>&5
63685   ac_status=$?
63686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63687   (exit $ac_status); }; } &&
63688          { ac_try='test -s conftest$ac_exeext'
63689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63690   (eval $ac_try) 2>&5
63691   ac_status=$?
63692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63693   (exit $ac_status); }; }; then
63694   eval "$as_ac_var=yes"
63695 else
63696   echo "$as_me: failed program was:" >&5
63697 sed 's/^/| /' conftest.$ac_ext >&5
63698
63699 eval "$as_ac_var=no"
63700 fi
63701 rm -f conftest.err conftest.$ac_objext \
63702       conftest$ac_exeext conftest.$ac_ext
63703 fi
63704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63706 if test `eval echo '${'$as_ac_var'}'` = yes; then
63707   cat >>confdefs.h <<_ACEOF
63708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63709 _ACEOF
63710
63711 fi
63712 done
63713
63714   else
63715
63716   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63717 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63718   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63719     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63720   echo $ECHO_N "(cached) $ECHO_C" >&6
63721 else
63722
63723
63724
63725       ac_ext=cc
63726 ac_cpp='$CXXCPP $CPPFLAGS'
63727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63730
63731       cat >conftest.$ac_ext <<_ACEOF
63732 /* confdefs.h.  */
63733 _ACEOF
63734 cat confdefs.h >>conftest.$ac_ext
63735 cat >>conftest.$ac_ext <<_ACEOF
63736 /* end confdefs.h.  */
63737 #include <math.h>
63738                       #ifdef HAVE_IEEEFP_H
63739                       #include <ieeefp.h>
63740                       #endif
63741
63742 int
63743 main ()
63744 {
63745  _sqrtf(0);
63746   ;
63747   return 0;
63748 }
63749 _ACEOF
63750 rm -f conftest.$ac_objext
63751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63752   (eval $ac_compile) 2>conftest.er1
63753   ac_status=$?
63754   grep -v '^ *+' conftest.er1 >conftest.err
63755   rm -f conftest.er1
63756   cat conftest.err >&5
63757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63758   (exit $ac_status); } &&
63759          { ac_try='test -z "$ac_cxx_werror_flag"
63760                          || test ! -s conftest.err'
63761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63762   (eval $ac_try) 2>&5
63763   ac_status=$?
63764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63765   (exit $ac_status); }; } &&
63766          { ac_try='test -s conftest.$ac_objext'
63767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63768   (eval $ac_try) 2>&5
63769   ac_status=$?
63770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63771   (exit $ac_status); }; }; then
63772   glibcxx_cv_func__sqrtf_use=yes
63773 else
63774   echo "$as_me: failed program was:" >&5
63775 sed 's/^/| /' conftest.$ac_ext >&5
63776
63777 glibcxx_cv_func__sqrtf_use=no
63778 fi
63779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63780       ac_ext=c
63781 ac_cpp='$CPP $CPPFLAGS'
63782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63785
63786
63787 fi
63788
63789   fi
63790   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63791 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63792
63793     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63794
63795 for ac_func in _sqrtf
63796 do
63797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63798 echo "$as_me:$LINENO: checking for $ac_func" >&5
63799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63800 if eval "test \"\${$as_ac_var+set}\" = set"; then
63801   echo $ECHO_N "(cached) $ECHO_C" >&6
63802 else
63803   if test x$gcc_no_link = xyes; then
63804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63806    { (exit 1); exit 1; }; }
63807 fi
63808 cat >conftest.$ac_ext <<_ACEOF
63809 /* confdefs.h.  */
63810 _ACEOF
63811 cat confdefs.h >>conftest.$ac_ext
63812 cat >>conftest.$ac_ext <<_ACEOF
63813 /* end confdefs.h.  */
63814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63816 #define $ac_func innocuous_$ac_func
63817
63818 /* System header to define __stub macros and hopefully few prototypes,
63819     which can conflict with char $ac_func (); below.
63820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63821     <limits.h> exists even on freestanding compilers.  */
63822
63823 #ifdef __STDC__
63824 # include <limits.h>
63825 #else
63826 # include <assert.h>
63827 #endif
63828
63829 #undef $ac_func
63830
63831 /* Override any gcc2 internal prototype to avoid an error.  */
63832 #ifdef __cplusplus
63833 extern "C"
63834 {
63835 #endif
63836 /* We use char because int might match the return type of a gcc2
63837    builtin and then its argument prototype would still apply.  */
63838 char $ac_func ();
63839 /* The GNU C library defines this for functions which it implements
63840     to always fail with ENOSYS.  Some functions are actually named
63841     something starting with __ and the normal name is an alias.  */
63842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63843 choke me
63844 #else
63845 char (*f) () = $ac_func;
63846 #endif
63847 #ifdef __cplusplus
63848 }
63849 #endif
63850
63851 int
63852 main ()
63853 {
63854 return f != $ac_func;
63855   ;
63856   return 0;
63857 }
63858 _ACEOF
63859 rm -f conftest.$ac_objext conftest$ac_exeext
63860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63861   (eval $ac_link) 2>conftest.er1
63862   ac_status=$?
63863   grep -v '^ *+' conftest.er1 >conftest.err
63864   rm -f conftest.er1
63865   cat conftest.err >&5
63866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63867   (exit $ac_status); } &&
63868          { ac_try='test -z "$ac_c_werror_flag"
63869                          || test ! -s conftest.err'
63870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63871   (eval $ac_try) 2>&5
63872   ac_status=$?
63873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63874   (exit $ac_status); }; } &&
63875          { ac_try='test -s conftest$ac_exeext'
63876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63877   (eval $ac_try) 2>&5
63878   ac_status=$?
63879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63880   (exit $ac_status); }; }; then
63881   eval "$as_ac_var=yes"
63882 else
63883   echo "$as_me: failed program was:" >&5
63884 sed 's/^/| /' conftest.$ac_ext >&5
63885
63886 eval "$as_ac_var=no"
63887 fi
63888 rm -f conftest.err conftest.$ac_objext \
63889       conftest$ac_exeext conftest.$ac_ext
63890 fi
63891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63893 if test `eval echo '${'$as_ac_var'}'` = yes; then
63894   cat >>confdefs.h <<_ACEOF
63895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63896 _ACEOF
63897
63898 fi
63899 done
63900
63901     fi
63902   fi
63903
63904
63905
63906
63907
63908
63909   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
63910 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
63911   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63912     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
63913   echo $ECHO_N "(cached) $ECHO_C" >&6
63914 else
63915
63916
63917
63918       ac_ext=cc
63919 ac_cpp='$CXXCPP $CPPFLAGS'
63920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63923
63924       cat >conftest.$ac_ext <<_ACEOF
63925 /* confdefs.h.  */
63926 _ACEOF
63927 cat confdefs.h >>conftest.$ac_ext
63928 cat >>conftest.$ac_ext <<_ACEOF
63929 /* end confdefs.h.  */
63930 #include <math.h>
63931 int
63932 main ()
63933 {
63934  sincosf(0, 0, 0);
63935   ;
63936   return 0;
63937 }
63938 _ACEOF
63939 rm -f conftest.$ac_objext
63940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63941   (eval $ac_compile) 2>conftest.er1
63942   ac_status=$?
63943   grep -v '^ *+' conftest.er1 >conftest.err
63944   rm -f conftest.er1
63945   cat conftest.err >&5
63946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63947   (exit $ac_status); } &&
63948          { ac_try='test -z "$ac_cxx_werror_flag"
63949                          || test ! -s conftest.err'
63950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63951   (eval $ac_try) 2>&5
63952   ac_status=$?
63953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63954   (exit $ac_status); }; } &&
63955          { ac_try='test -s conftest.$ac_objext'
63956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63957   (eval $ac_try) 2>&5
63958   ac_status=$?
63959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63960   (exit $ac_status); }; }; then
63961   glibcxx_cv_func_sincosf_use=yes
63962 else
63963   echo "$as_me: failed program was:" >&5
63964 sed 's/^/| /' conftest.$ac_ext >&5
63965
63966 glibcxx_cv_func_sincosf_use=no
63967 fi
63968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63969       ac_ext=c
63970 ac_cpp='$CPP $CPPFLAGS'
63971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63974
63975
63976 fi
63977
63978   fi
63979   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
63980 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
63981
63982   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63983
63984 for ac_func in sincosf
63985 do
63986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63987 echo "$as_me:$LINENO: checking for $ac_func" >&5
63988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63989 if eval "test \"\${$as_ac_var+set}\" = set"; then
63990   echo $ECHO_N "(cached) $ECHO_C" >&6
63991 else
63992   if test x$gcc_no_link = xyes; then
63993   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63995    { (exit 1); exit 1; }; }
63996 fi
63997 cat >conftest.$ac_ext <<_ACEOF
63998 /* confdefs.h.  */
63999 _ACEOF
64000 cat confdefs.h >>conftest.$ac_ext
64001 cat >>conftest.$ac_ext <<_ACEOF
64002 /* end confdefs.h.  */
64003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64004    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64005 #define $ac_func innocuous_$ac_func
64006
64007 /* System header to define __stub macros and hopefully few prototypes,
64008     which can conflict with char $ac_func (); below.
64009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64010     <limits.h> exists even on freestanding compilers.  */
64011
64012 #ifdef __STDC__
64013 # include <limits.h>
64014 #else
64015 # include <assert.h>
64016 #endif
64017
64018 #undef $ac_func
64019
64020 /* Override any gcc2 internal prototype to avoid an error.  */
64021 #ifdef __cplusplus
64022 extern "C"
64023 {
64024 #endif
64025 /* We use char because int might match the return type of a gcc2
64026    builtin and then its argument prototype would still apply.  */
64027 char $ac_func ();
64028 /* The GNU C library defines this for functions which it implements
64029     to always fail with ENOSYS.  Some functions are actually named
64030     something starting with __ and the normal name is an alias.  */
64031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64032 choke me
64033 #else
64034 char (*f) () = $ac_func;
64035 #endif
64036 #ifdef __cplusplus
64037 }
64038 #endif
64039
64040 int
64041 main ()
64042 {
64043 return f != $ac_func;
64044   ;
64045   return 0;
64046 }
64047 _ACEOF
64048 rm -f conftest.$ac_objext conftest$ac_exeext
64049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64050   (eval $ac_link) 2>conftest.er1
64051   ac_status=$?
64052   grep -v '^ *+' conftest.er1 >conftest.err
64053   rm -f conftest.er1
64054   cat conftest.err >&5
64055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64056   (exit $ac_status); } &&
64057          { ac_try='test -z "$ac_c_werror_flag"
64058                          || test ! -s conftest.err'
64059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64060   (eval $ac_try) 2>&5
64061   ac_status=$?
64062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64063   (exit $ac_status); }; } &&
64064          { ac_try='test -s conftest$ac_exeext'
64065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64066   (eval $ac_try) 2>&5
64067   ac_status=$?
64068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64069   (exit $ac_status); }; }; then
64070   eval "$as_ac_var=yes"
64071 else
64072   echo "$as_me: failed program was:" >&5
64073 sed 's/^/| /' conftest.$ac_ext >&5
64074
64075 eval "$as_ac_var=no"
64076 fi
64077 rm -f conftest.err conftest.$ac_objext \
64078       conftest$ac_exeext conftest.$ac_ext
64079 fi
64080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64082 if test `eval echo '${'$as_ac_var'}'` = yes; then
64083   cat >>confdefs.h <<_ACEOF
64084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64085 _ACEOF
64086
64087 fi
64088 done
64089
64090   else
64091
64092   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
64093 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
64094   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64095     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
64096   echo $ECHO_N "(cached) $ECHO_C" >&6
64097 else
64098
64099
64100
64101       ac_ext=cc
64102 ac_cpp='$CXXCPP $CPPFLAGS'
64103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64106
64107       cat >conftest.$ac_ext <<_ACEOF
64108 /* confdefs.h.  */
64109 _ACEOF
64110 cat confdefs.h >>conftest.$ac_ext
64111 cat >>conftest.$ac_ext <<_ACEOF
64112 /* end confdefs.h.  */
64113 #include <math.h>
64114 int
64115 main ()
64116 {
64117  _sincosf(0, 0, 0);
64118   ;
64119   return 0;
64120 }
64121 _ACEOF
64122 rm -f conftest.$ac_objext
64123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64124   (eval $ac_compile) 2>conftest.er1
64125   ac_status=$?
64126   grep -v '^ *+' conftest.er1 >conftest.err
64127   rm -f conftest.er1
64128   cat conftest.err >&5
64129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64130   (exit $ac_status); } &&
64131          { ac_try='test -z "$ac_cxx_werror_flag"
64132                          || test ! -s conftest.err'
64133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64134   (eval $ac_try) 2>&5
64135   ac_status=$?
64136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64137   (exit $ac_status); }; } &&
64138          { ac_try='test -s conftest.$ac_objext'
64139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64140   (eval $ac_try) 2>&5
64141   ac_status=$?
64142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64143   (exit $ac_status); }; }; then
64144   glibcxx_cv_func__sincosf_use=yes
64145 else
64146   echo "$as_me: failed program was:" >&5
64147 sed 's/^/| /' conftest.$ac_ext >&5
64148
64149 glibcxx_cv_func__sincosf_use=no
64150 fi
64151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64152       ac_ext=c
64153 ac_cpp='$CPP $CPPFLAGS'
64154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64157
64158
64159 fi
64160
64161   fi
64162   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
64163 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
64164
64165     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64166
64167 for ac_func in _sincosf
64168 do
64169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64170 echo "$as_me:$LINENO: checking for $ac_func" >&5
64171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64172 if eval "test \"\${$as_ac_var+set}\" = set"; then
64173   echo $ECHO_N "(cached) $ECHO_C" >&6
64174 else
64175   if test x$gcc_no_link = xyes; then
64176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64178    { (exit 1); exit 1; }; }
64179 fi
64180 cat >conftest.$ac_ext <<_ACEOF
64181 /* confdefs.h.  */
64182 _ACEOF
64183 cat confdefs.h >>conftest.$ac_ext
64184 cat >>conftest.$ac_ext <<_ACEOF
64185 /* end confdefs.h.  */
64186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64187    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64188 #define $ac_func innocuous_$ac_func
64189
64190 /* System header to define __stub macros and hopefully few prototypes,
64191     which can conflict with char $ac_func (); below.
64192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64193     <limits.h> exists even on freestanding compilers.  */
64194
64195 #ifdef __STDC__
64196 # include <limits.h>
64197 #else
64198 # include <assert.h>
64199 #endif
64200
64201 #undef $ac_func
64202
64203 /* Override any gcc2 internal prototype to avoid an error.  */
64204 #ifdef __cplusplus
64205 extern "C"
64206 {
64207 #endif
64208 /* We use char because int might match the return type of a gcc2
64209    builtin and then its argument prototype would still apply.  */
64210 char $ac_func ();
64211 /* The GNU C library defines this for functions which it implements
64212     to always fail with ENOSYS.  Some functions are actually named
64213     something starting with __ and the normal name is an alias.  */
64214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64215 choke me
64216 #else
64217 char (*f) () = $ac_func;
64218 #endif
64219 #ifdef __cplusplus
64220 }
64221 #endif
64222
64223 int
64224 main ()
64225 {
64226 return f != $ac_func;
64227   ;
64228   return 0;
64229 }
64230 _ACEOF
64231 rm -f conftest.$ac_objext conftest$ac_exeext
64232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64233   (eval $ac_link) 2>conftest.er1
64234   ac_status=$?
64235   grep -v '^ *+' conftest.er1 >conftest.err
64236   rm -f conftest.er1
64237   cat conftest.err >&5
64238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64239   (exit $ac_status); } &&
64240          { ac_try='test -z "$ac_c_werror_flag"
64241                          || test ! -s conftest.err'
64242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64243   (eval $ac_try) 2>&5
64244   ac_status=$?
64245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64246   (exit $ac_status); }; } &&
64247          { ac_try='test -s conftest$ac_exeext'
64248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64249   (eval $ac_try) 2>&5
64250   ac_status=$?
64251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64252   (exit $ac_status); }; }; then
64253   eval "$as_ac_var=yes"
64254 else
64255   echo "$as_me: failed program was:" >&5
64256 sed 's/^/| /' conftest.$ac_ext >&5
64257
64258 eval "$as_ac_var=no"
64259 fi
64260 rm -f conftest.err conftest.$ac_objext \
64261       conftest$ac_exeext conftest.$ac_ext
64262 fi
64263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64265 if test `eval echo '${'$as_ac_var'}'` = yes; then
64266   cat >>confdefs.h <<_ACEOF
64267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64268 _ACEOF
64269
64270 fi
64271 done
64272
64273     fi
64274   fi
64275
64276
64277
64278
64279
64280
64281   echo "$as_me:$LINENO: checking for finitef declaration" >&5
64282 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64283   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64284     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64285   echo $ECHO_N "(cached) $ECHO_C" >&6
64286 else
64287
64288
64289
64290       ac_ext=cc
64291 ac_cpp='$CXXCPP $CPPFLAGS'
64292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64295
64296       cat >conftest.$ac_ext <<_ACEOF
64297 /* confdefs.h.  */
64298 _ACEOF
64299 cat confdefs.h >>conftest.$ac_ext
64300 cat >>conftest.$ac_ext <<_ACEOF
64301 /* end confdefs.h.  */
64302 #include <math.h>
64303                       #ifdef HAVE_IEEEFP_H
64304                       #include <ieeefp.h>
64305                       #endif
64306
64307 int
64308 main ()
64309 {
64310  finitef(0);
64311   ;
64312   return 0;
64313 }
64314 _ACEOF
64315 rm -f conftest.$ac_objext
64316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64317   (eval $ac_compile) 2>conftest.er1
64318   ac_status=$?
64319   grep -v '^ *+' conftest.er1 >conftest.err
64320   rm -f conftest.er1
64321   cat conftest.err >&5
64322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64323   (exit $ac_status); } &&
64324          { ac_try='test -z "$ac_cxx_werror_flag"
64325                          || test ! -s conftest.err'
64326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64327   (eval $ac_try) 2>&5
64328   ac_status=$?
64329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64330   (exit $ac_status); }; } &&
64331          { ac_try='test -s conftest.$ac_objext'
64332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64333   (eval $ac_try) 2>&5
64334   ac_status=$?
64335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64336   (exit $ac_status); }; }; then
64337   glibcxx_cv_func_finitef_use=yes
64338 else
64339   echo "$as_me: failed program was:" >&5
64340 sed 's/^/| /' conftest.$ac_ext >&5
64341
64342 glibcxx_cv_func_finitef_use=no
64343 fi
64344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64345       ac_ext=c
64346 ac_cpp='$CPP $CPPFLAGS'
64347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64350
64351
64352 fi
64353
64354   fi
64355   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64356 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64357
64358   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64359
64360 for ac_func in finitef
64361 do
64362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64363 echo "$as_me:$LINENO: checking for $ac_func" >&5
64364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64365 if eval "test \"\${$as_ac_var+set}\" = set"; then
64366   echo $ECHO_N "(cached) $ECHO_C" >&6
64367 else
64368   if test x$gcc_no_link = xyes; then
64369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64371    { (exit 1); exit 1; }; }
64372 fi
64373 cat >conftest.$ac_ext <<_ACEOF
64374 /* confdefs.h.  */
64375 _ACEOF
64376 cat confdefs.h >>conftest.$ac_ext
64377 cat >>conftest.$ac_ext <<_ACEOF
64378 /* end confdefs.h.  */
64379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64380    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64381 #define $ac_func innocuous_$ac_func
64382
64383 /* System header to define __stub macros and hopefully few prototypes,
64384     which can conflict with char $ac_func (); below.
64385     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64386     <limits.h> exists even on freestanding compilers.  */
64387
64388 #ifdef __STDC__
64389 # include <limits.h>
64390 #else
64391 # include <assert.h>
64392 #endif
64393
64394 #undef $ac_func
64395
64396 /* Override any gcc2 internal prototype to avoid an error.  */
64397 #ifdef __cplusplus
64398 extern "C"
64399 {
64400 #endif
64401 /* We use char because int might match the return type of a gcc2
64402    builtin and then its argument prototype would still apply.  */
64403 char $ac_func ();
64404 /* The GNU C library defines this for functions which it implements
64405     to always fail with ENOSYS.  Some functions are actually named
64406     something starting with __ and the normal name is an alias.  */
64407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64408 choke me
64409 #else
64410 char (*f) () = $ac_func;
64411 #endif
64412 #ifdef __cplusplus
64413 }
64414 #endif
64415
64416 int
64417 main ()
64418 {
64419 return f != $ac_func;
64420   ;
64421   return 0;
64422 }
64423 _ACEOF
64424 rm -f conftest.$ac_objext conftest$ac_exeext
64425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64426   (eval $ac_link) 2>conftest.er1
64427   ac_status=$?
64428   grep -v '^ *+' conftest.er1 >conftest.err
64429   rm -f conftest.er1
64430   cat conftest.err >&5
64431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64432   (exit $ac_status); } &&
64433          { ac_try='test -z "$ac_c_werror_flag"
64434                          || test ! -s conftest.err'
64435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64436   (eval $ac_try) 2>&5
64437   ac_status=$?
64438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64439   (exit $ac_status); }; } &&
64440          { ac_try='test -s conftest$ac_exeext'
64441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64442   (eval $ac_try) 2>&5
64443   ac_status=$?
64444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64445   (exit $ac_status); }; }; then
64446   eval "$as_ac_var=yes"
64447 else
64448   echo "$as_me: failed program was:" >&5
64449 sed 's/^/| /' conftest.$ac_ext >&5
64450
64451 eval "$as_ac_var=no"
64452 fi
64453 rm -f conftest.err conftest.$ac_objext \
64454       conftest$ac_exeext conftest.$ac_ext
64455 fi
64456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64458 if test `eval echo '${'$as_ac_var'}'` = yes; then
64459   cat >>confdefs.h <<_ACEOF
64460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64461 _ACEOF
64462
64463 fi
64464 done
64465
64466   else
64467
64468   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64469 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64470   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64471     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64472   echo $ECHO_N "(cached) $ECHO_C" >&6
64473 else
64474
64475
64476
64477       ac_ext=cc
64478 ac_cpp='$CXXCPP $CPPFLAGS'
64479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64482
64483       cat >conftest.$ac_ext <<_ACEOF
64484 /* confdefs.h.  */
64485 _ACEOF
64486 cat confdefs.h >>conftest.$ac_ext
64487 cat >>conftest.$ac_ext <<_ACEOF
64488 /* end confdefs.h.  */
64489 #include <math.h>
64490                       #ifdef HAVE_IEEEFP_H
64491                       #include <ieeefp.h>
64492                       #endif
64493
64494 int
64495 main ()
64496 {
64497  _finitef(0);
64498   ;
64499   return 0;
64500 }
64501 _ACEOF
64502 rm -f conftest.$ac_objext
64503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64504   (eval $ac_compile) 2>conftest.er1
64505   ac_status=$?
64506   grep -v '^ *+' conftest.er1 >conftest.err
64507   rm -f conftest.er1
64508   cat conftest.err >&5
64509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64510   (exit $ac_status); } &&
64511          { ac_try='test -z "$ac_cxx_werror_flag"
64512                          || test ! -s conftest.err'
64513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64514   (eval $ac_try) 2>&5
64515   ac_status=$?
64516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64517   (exit $ac_status); }; } &&
64518          { ac_try='test -s conftest.$ac_objext'
64519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64520   (eval $ac_try) 2>&5
64521   ac_status=$?
64522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64523   (exit $ac_status); }; }; then
64524   glibcxx_cv_func__finitef_use=yes
64525 else
64526   echo "$as_me: failed program was:" >&5
64527 sed 's/^/| /' conftest.$ac_ext >&5
64528
64529 glibcxx_cv_func__finitef_use=no
64530 fi
64531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64532       ac_ext=c
64533 ac_cpp='$CPP $CPPFLAGS'
64534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64537
64538
64539 fi
64540
64541   fi
64542   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64543 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64544
64545     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64546
64547 for ac_func in _finitef
64548 do
64549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64550 echo "$as_me:$LINENO: checking for $ac_func" >&5
64551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64552 if eval "test \"\${$as_ac_var+set}\" = set"; then
64553   echo $ECHO_N "(cached) $ECHO_C" >&6
64554 else
64555   if test x$gcc_no_link = xyes; then
64556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64558    { (exit 1); exit 1; }; }
64559 fi
64560 cat >conftest.$ac_ext <<_ACEOF
64561 /* confdefs.h.  */
64562 _ACEOF
64563 cat confdefs.h >>conftest.$ac_ext
64564 cat >>conftest.$ac_ext <<_ACEOF
64565 /* end confdefs.h.  */
64566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64567    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64568 #define $ac_func innocuous_$ac_func
64569
64570 /* System header to define __stub macros and hopefully few prototypes,
64571     which can conflict with char $ac_func (); below.
64572     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64573     <limits.h> exists even on freestanding compilers.  */
64574
64575 #ifdef __STDC__
64576 # include <limits.h>
64577 #else
64578 # include <assert.h>
64579 #endif
64580
64581 #undef $ac_func
64582
64583 /* Override any gcc2 internal prototype to avoid an error.  */
64584 #ifdef __cplusplus
64585 extern "C"
64586 {
64587 #endif
64588 /* We use char because int might match the return type of a gcc2
64589    builtin and then its argument prototype would still apply.  */
64590 char $ac_func ();
64591 /* The GNU C library defines this for functions which it implements
64592     to always fail with ENOSYS.  Some functions are actually named
64593     something starting with __ and the normal name is an alias.  */
64594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64595 choke me
64596 #else
64597 char (*f) () = $ac_func;
64598 #endif
64599 #ifdef __cplusplus
64600 }
64601 #endif
64602
64603 int
64604 main ()
64605 {
64606 return f != $ac_func;
64607   ;
64608   return 0;
64609 }
64610 _ACEOF
64611 rm -f conftest.$ac_objext conftest$ac_exeext
64612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64613   (eval $ac_link) 2>conftest.er1
64614   ac_status=$?
64615   grep -v '^ *+' conftest.er1 >conftest.err
64616   rm -f conftest.er1
64617   cat conftest.err >&5
64618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64619   (exit $ac_status); } &&
64620          { ac_try='test -z "$ac_c_werror_flag"
64621                          || test ! -s conftest.err'
64622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64623   (eval $ac_try) 2>&5
64624   ac_status=$?
64625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64626   (exit $ac_status); }; } &&
64627          { ac_try='test -s conftest$ac_exeext'
64628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64629   (eval $ac_try) 2>&5
64630   ac_status=$?
64631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64632   (exit $ac_status); }; }; then
64633   eval "$as_ac_var=yes"
64634 else
64635   echo "$as_me: failed program was:" >&5
64636 sed 's/^/| /' conftest.$ac_ext >&5
64637
64638 eval "$as_ac_var=no"
64639 fi
64640 rm -f conftest.err conftest.$ac_objext \
64641       conftest$ac_exeext conftest.$ac_ext
64642 fi
64643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64645 if test `eval echo '${'$as_ac_var'}'` = yes; then
64646   cat >>confdefs.h <<_ACEOF
64647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64648 _ACEOF
64649
64650 fi
64651 done
64652
64653     fi
64654   fi
64655
64656
64657
64658
64659
64660
64661     echo "$as_me:$LINENO: checking for long double trig functions" >&5
64662 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64663   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64664   echo $ECHO_N "(cached) $ECHO_C" >&6
64665 else
64666
64667
64668
64669     ac_ext=cc
64670 ac_cpp='$CXXCPP $CPPFLAGS'
64671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64674
64675     cat >conftest.$ac_ext <<_ACEOF
64676 /* confdefs.h.  */
64677 _ACEOF
64678 cat confdefs.h >>conftest.$ac_ext
64679 cat >>conftest.$ac_ext <<_ACEOF
64680 /* end confdefs.h.  */
64681 #include <math.h>
64682 int
64683 main ()
64684 {
64685 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64686   ;
64687   return 0;
64688 }
64689 _ACEOF
64690 rm -f conftest.$ac_objext
64691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64692   (eval $ac_compile) 2>conftest.er1
64693   ac_status=$?
64694   grep -v '^ *+' conftest.er1 >conftest.err
64695   rm -f conftest.er1
64696   cat conftest.err >&5
64697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64698   (exit $ac_status); } &&
64699          { ac_try='test -z "$ac_cxx_werror_flag"
64700                          || test ! -s conftest.err'
64701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64702   (eval $ac_try) 2>&5
64703   ac_status=$?
64704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64705   (exit $ac_status); }; } &&
64706          { ac_try='test -s conftest.$ac_objext'
64707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64708   (eval $ac_try) 2>&5
64709   ac_status=$?
64710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64711   (exit $ac_status); }; }; then
64712   glibcxx_cv_func_long_double_trig_use=yes
64713 else
64714   echo "$as_me: failed program was:" >&5
64715 sed 's/^/| /' conftest.$ac_ext >&5
64716
64717 glibcxx_cv_func_long_double_trig_use=no
64718 fi
64719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64720     ac_ext=c
64721 ac_cpp='$CPP $CPPFLAGS'
64722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64725
64726 fi
64727
64728   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64729 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64730   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64731
64732
64733
64734
64735
64736
64737
64738
64739
64740 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64741 do
64742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64743 echo "$as_me:$LINENO: checking for $ac_func" >&5
64744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64745 if eval "test \"\${$as_ac_var+set}\" = set"; then
64746   echo $ECHO_N "(cached) $ECHO_C" >&6
64747 else
64748   if test x$gcc_no_link = xyes; then
64749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64751    { (exit 1); exit 1; }; }
64752 fi
64753 cat >conftest.$ac_ext <<_ACEOF
64754 /* confdefs.h.  */
64755 _ACEOF
64756 cat confdefs.h >>conftest.$ac_ext
64757 cat >>conftest.$ac_ext <<_ACEOF
64758 /* end confdefs.h.  */
64759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64761 #define $ac_func innocuous_$ac_func
64762
64763 /* System header to define __stub macros and hopefully few prototypes,
64764     which can conflict with char $ac_func (); below.
64765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64766     <limits.h> exists even on freestanding compilers.  */
64767
64768 #ifdef __STDC__
64769 # include <limits.h>
64770 #else
64771 # include <assert.h>
64772 #endif
64773
64774 #undef $ac_func
64775
64776 /* Override any gcc2 internal prototype to avoid an error.  */
64777 #ifdef __cplusplus
64778 extern "C"
64779 {
64780 #endif
64781 /* We use char because int might match the return type of a gcc2
64782    builtin and then its argument prototype would still apply.  */
64783 char $ac_func ();
64784 /* The GNU C library defines this for functions which it implements
64785     to always fail with ENOSYS.  Some functions are actually named
64786     something starting with __ and the normal name is an alias.  */
64787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64788 choke me
64789 #else
64790 char (*f) () = $ac_func;
64791 #endif
64792 #ifdef __cplusplus
64793 }
64794 #endif
64795
64796 int
64797 main ()
64798 {
64799 return f != $ac_func;
64800   ;
64801   return 0;
64802 }
64803 _ACEOF
64804 rm -f conftest.$ac_objext conftest$ac_exeext
64805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64806   (eval $ac_link) 2>conftest.er1
64807   ac_status=$?
64808   grep -v '^ *+' conftest.er1 >conftest.err
64809   rm -f conftest.er1
64810   cat conftest.err >&5
64811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64812   (exit $ac_status); } &&
64813          { ac_try='test -z "$ac_c_werror_flag"
64814                          || test ! -s conftest.err'
64815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64816   (eval $ac_try) 2>&5
64817   ac_status=$?
64818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64819   (exit $ac_status); }; } &&
64820          { ac_try='test -s conftest$ac_exeext'
64821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64822   (eval $ac_try) 2>&5
64823   ac_status=$?
64824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64825   (exit $ac_status); }; }; then
64826   eval "$as_ac_var=yes"
64827 else
64828   echo "$as_me: failed program was:" >&5
64829 sed 's/^/| /' conftest.$ac_ext >&5
64830
64831 eval "$as_ac_var=no"
64832 fi
64833 rm -f conftest.err conftest.$ac_objext \
64834       conftest$ac_exeext conftest.$ac_ext
64835 fi
64836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64838 if test `eval echo '${'$as_ac_var'}'` = yes; then
64839   cat >>confdefs.h <<_ACEOF
64840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64841 _ACEOF
64842
64843 fi
64844 done
64845
64846   else
64847     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
64848 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
64849     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
64850   echo $ECHO_N "(cached) $ECHO_C" >&6
64851 else
64852
64853
64854
64855       ac_ext=cc
64856 ac_cpp='$CXXCPP $CPPFLAGS'
64857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64860
64861       cat >conftest.$ac_ext <<_ACEOF
64862 /* confdefs.h.  */
64863 _ACEOF
64864 cat confdefs.h >>conftest.$ac_ext
64865 cat >>conftest.$ac_ext <<_ACEOF
64866 /* end confdefs.h.  */
64867 #include <math.h>
64868 int
64869 main ()
64870 {
64871 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64872   ;
64873   return 0;
64874 }
64875 _ACEOF
64876 rm -f conftest.$ac_objext
64877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64878   (eval $ac_compile) 2>conftest.er1
64879   ac_status=$?
64880   grep -v '^ *+' conftest.er1 >conftest.err
64881   rm -f conftest.er1
64882   cat conftest.err >&5
64883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64884   (exit $ac_status); } &&
64885          { ac_try='test -z "$ac_cxx_werror_flag"
64886                          || test ! -s conftest.err'
64887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64888   (eval $ac_try) 2>&5
64889   ac_status=$?
64890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64891   (exit $ac_status); }; } &&
64892          { ac_try='test -s conftest.$ac_objext'
64893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64894   (eval $ac_try) 2>&5
64895   ac_status=$?
64896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64897   (exit $ac_status); }; }; then
64898   glibcxx_cv_func__long_double_trig_use=yes
64899 else
64900   echo "$as_me: failed program was:" >&5
64901 sed 's/^/| /' conftest.$ac_ext >&5
64902
64903 glibcxx_cv_func__long_double_trig_use=no
64904 fi
64905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64906       ac_ext=c
64907 ac_cpp='$CPP $CPPFLAGS'
64908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64911
64912 fi
64913
64914     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
64915 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
64916     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64917
64918
64919
64920
64921
64922
64923
64924
64925
64926 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64927 do
64928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64929 echo "$as_me:$LINENO: checking for $ac_func" >&5
64930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64931 if eval "test \"\${$as_ac_var+set}\" = set"; then
64932   echo $ECHO_N "(cached) $ECHO_C" >&6
64933 else
64934   if test x$gcc_no_link = xyes; then
64935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64937    { (exit 1); exit 1; }; }
64938 fi
64939 cat >conftest.$ac_ext <<_ACEOF
64940 /* confdefs.h.  */
64941 _ACEOF
64942 cat confdefs.h >>conftest.$ac_ext
64943 cat >>conftest.$ac_ext <<_ACEOF
64944 /* end confdefs.h.  */
64945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64947 #define $ac_func innocuous_$ac_func
64948
64949 /* System header to define __stub macros and hopefully few prototypes,
64950     which can conflict with char $ac_func (); below.
64951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64952     <limits.h> exists even on freestanding compilers.  */
64953
64954 #ifdef __STDC__
64955 # include <limits.h>
64956 #else
64957 # include <assert.h>
64958 #endif
64959
64960 #undef $ac_func
64961
64962 /* Override any gcc2 internal prototype to avoid an error.  */
64963 #ifdef __cplusplus
64964 extern "C"
64965 {
64966 #endif
64967 /* We use char because int might match the return type of a gcc2
64968    builtin and then its argument prototype would still apply.  */
64969 char $ac_func ();
64970 /* The GNU C library defines this for functions which it implements
64971     to always fail with ENOSYS.  Some functions are actually named
64972     something starting with __ and the normal name is an alias.  */
64973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64974 choke me
64975 #else
64976 char (*f) () = $ac_func;
64977 #endif
64978 #ifdef __cplusplus
64979 }
64980 #endif
64981
64982 int
64983 main ()
64984 {
64985 return f != $ac_func;
64986   ;
64987   return 0;
64988 }
64989 _ACEOF
64990 rm -f conftest.$ac_objext conftest$ac_exeext
64991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64992   (eval $ac_link) 2>conftest.er1
64993   ac_status=$?
64994   grep -v '^ *+' conftest.er1 >conftest.err
64995   rm -f conftest.er1
64996   cat conftest.err >&5
64997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64998   (exit $ac_status); } &&
64999          { ac_try='test -z "$ac_c_werror_flag"
65000                          || test ! -s conftest.err'
65001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65002   (eval $ac_try) 2>&5
65003   ac_status=$?
65004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65005   (exit $ac_status); }; } &&
65006          { ac_try='test -s conftest$ac_exeext'
65007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65008   (eval $ac_try) 2>&5
65009   ac_status=$?
65010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65011   (exit $ac_status); }; }; then
65012   eval "$as_ac_var=yes"
65013 else
65014   echo "$as_me: failed program was:" >&5
65015 sed 's/^/| /' conftest.$ac_ext >&5
65016
65017 eval "$as_ac_var=no"
65018 fi
65019 rm -f conftest.err conftest.$ac_objext \
65020       conftest$ac_exeext conftest.$ac_ext
65021 fi
65022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65024 if test `eval echo '${'$as_ac_var'}'` = yes; then
65025   cat >>confdefs.h <<_ACEOF
65026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65027 _ACEOF
65028
65029 fi
65030 done
65031
65032     fi
65033   fi
65034
65035
65036
65037
65038
65039
65040
65041
65042
65043
65044
65045
65046
65047
65048     echo "$as_me:$LINENO: checking for long double round functions" >&5
65049 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
65050   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
65051   echo $ECHO_N "(cached) $ECHO_C" >&6
65052 else
65053
65054
65055
65056     ac_ext=cc
65057 ac_cpp='$CXXCPP $CPPFLAGS'
65058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65061
65062     cat >conftest.$ac_ext <<_ACEOF
65063 /* confdefs.h.  */
65064 _ACEOF
65065 cat confdefs.h >>conftest.$ac_ext
65066 cat >>conftest.$ac_ext <<_ACEOF
65067 /* end confdefs.h.  */
65068 #include <math.h>
65069 int
65070 main ()
65071 {
65072 ceill (0); floorl (0);
65073   ;
65074   return 0;
65075 }
65076 _ACEOF
65077 rm -f conftest.$ac_objext
65078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65079   (eval $ac_compile) 2>conftest.er1
65080   ac_status=$?
65081   grep -v '^ *+' conftest.er1 >conftest.err
65082   rm -f conftest.er1
65083   cat conftest.err >&5
65084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65085   (exit $ac_status); } &&
65086          { ac_try='test -z "$ac_cxx_werror_flag"
65087                          || test ! -s conftest.err'
65088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65089   (eval $ac_try) 2>&5
65090   ac_status=$?
65091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65092   (exit $ac_status); }; } &&
65093          { ac_try='test -s conftest.$ac_objext'
65094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65095   (eval $ac_try) 2>&5
65096   ac_status=$?
65097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65098   (exit $ac_status); }; }; then
65099   glibcxx_cv_func_long_double_round_use=yes
65100 else
65101   echo "$as_me: failed program was:" >&5
65102 sed 's/^/| /' conftest.$ac_ext >&5
65103
65104 glibcxx_cv_func_long_double_round_use=no
65105 fi
65106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65107     ac_ext=c
65108 ac_cpp='$CPP $CPPFLAGS'
65109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65112
65113 fi
65114
65115   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
65116 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
65117   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
65118
65119
65120 for ac_func in ceill floorl
65121 do
65122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65123 echo "$as_me:$LINENO: checking for $ac_func" >&5
65124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65125 if eval "test \"\${$as_ac_var+set}\" = set"; then
65126   echo $ECHO_N "(cached) $ECHO_C" >&6
65127 else
65128   if test x$gcc_no_link = xyes; then
65129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65131    { (exit 1); exit 1; }; }
65132 fi
65133 cat >conftest.$ac_ext <<_ACEOF
65134 /* confdefs.h.  */
65135 _ACEOF
65136 cat confdefs.h >>conftest.$ac_ext
65137 cat >>conftest.$ac_ext <<_ACEOF
65138 /* end confdefs.h.  */
65139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65140    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65141 #define $ac_func innocuous_$ac_func
65142
65143 /* System header to define __stub macros and hopefully few prototypes,
65144     which can conflict with char $ac_func (); below.
65145     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65146     <limits.h> exists even on freestanding compilers.  */
65147
65148 #ifdef __STDC__
65149 # include <limits.h>
65150 #else
65151 # include <assert.h>
65152 #endif
65153
65154 #undef $ac_func
65155
65156 /* Override any gcc2 internal prototype to avoid an error.  */
65157 #ifdef __cplusplus
65158 extern "C"
65159 {
65160 #endif
65161 /* We use char because int might match the return type of a gcc2
65162    builtin and then its argument prototype would still apply.  */
65163 char $ac_func ();
65164 /* The GNU C library defines this for functions which it implements
65165     to always fail with ENOSYS.  Some functions are actually named
65166     something starting with __ and the normal name is an alias.  */
65167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65168 choke me
65169 #else
65170 char (*f) () = $ac_func;
65171 #endif
65172 #ifdef __cplusplus
65173 }
65174 #endif
65175
65176 int
65177 main ()
65178 {
65179 return f != $ac_func;
65180   ;
65181   return 0;
65182 }
65183 _ACEOF
65184 rm -f conftest.$ac_objext conftest$ac_exeext
65185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65186   (eval $ac_link) 2>conftest.er1
65187   ac_status=$?
65188   grep -v '^ *+' conftest.er1 >conftest.err
65189   rm -f conftest.er1
65190   cat conftest.err >&5
65191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65192   (exit $ac_status); } &&
65193          { ac_try='test -z "$ac_c_werror_flag"
65194                          || test ! -s conftest.err'
65195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65196   (eval $ac_try) 2>&5
65197   ac_status=$?
65198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65199   (exit $ac_status); }; } &&
65200          { ac_try='test -s conftest$ac_exeext'
65201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65202   (eval $ac_try) 2>&5
65203   ac_status=$?
65204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65205   (exit $ac_status); }; }; then
65206   eval "$as_ac_var=yes"
65207 else
65208   echo "$as_me: failed program was:" >&5
65209 sed 's/^/| /' conftest.$ac_ext >&5
65210
65211 eval "$as_ac_var=no"
65212 fi
65213 rm -f conftest.err conftest.$ac_objext \
65214       conftest$ac_exeext conftest.$ac_ext
65215 fi
65216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65218 if test `eval echo '${'$as_ac_var'}'` = yes; then
65219   cat >>confdefs.h <<_ACEOF
65220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65221 _ACEOF
65222
65223 fi
65224 done
65225
65226   else
65227     echo "$as_me:$LINENO: checking for _long double round functions" >&5
65228 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
65229     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
65230   echo $ECHO_N "(cached) $ECHO_C" >&6
65231 else
65232
65233
65234
65235       ac_ext=cc
65236 ac_cpp='$CXXCPP $CPPFLAGS'
65237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65240
65241       cat >conftest.$ac_ext <<_ACEOF
65242 /* confdefs.h.  */
65243 _ACEOF
65244 cat confdefs.h >>conftest.$ac_ext
65245 cat >>conftest.$ac_ext <<_ACEOF
65246 /* end confdefs.h.  */
65247 #include <math.h>
65248 int
65249 main ()
65250 {
65251 _ceill (0); _floorl (0);
65252   ;
65253   return 0;
65254 }
65255 _ACEOF
65256 rm -f conftest.$ac_objext
65257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65258   (eval $ac_compile) 2>conftest.er1
65259   ac_status=$?
65260   grep -v '^ *+' conftest.er1 >conftest.err
65261   rm -f conftest.er1
65262   cat conftest.err >&5
65263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65264   (exit $ac_status); } &&
65265          { ac_try='test -z "$ac_cxx_werror_flag"
65266                          || test ! -s conftest.err'
65267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65268   (eval $ac_try) 2>&5
65269   ac_status=$?
65270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65271   (exit $ac_status); }; } &&
65272          { ac_try='test -s conftest.$ac_objext'
65273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65274   (eval $ac_try) 2>&5
65275   ac_status=$?
65276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65277   (exit $ac_status); }; }; then
65278   glibcxx_cv_func__long_double_round_use=yes
65279 else
65280   echo "$as_me: failed program was:" >&5
65281 sed 's/^/| /' conftest.$ac_ext >&5
65282
65283 glibcxx_cv_func__long_double_round_use=no
65284 fi
65285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65286       ac_ext=c
65287 ac_cpp='$CPP $CPPFLAGS'
65288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65291
65292 fi
65293
65294     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
65295 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
65296     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65297
65298
65299 for ac_func in _ceill _floorl
65300 do
65301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65302 echo "$as_me:$LINENO: checking for $ac_func" >&5
65303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65304 if eval "test \"\${$as_ac_var+set}\" = set"; then
65305   echo $ECHO_N "(cached) $ECHO_C" >&6
65306 else
65307   if test x$gcc_no_link = xyes; then
65308   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65310    { (exit 1); exit 1; }; }
65311 fi
65312 cat >conftest.$ac_ext <<_ACEOF
65313 /* confdefs.h.  */
65314 _ACEOF
65315 cat confdefs.h >>conftest.$ac_ext
65316 cat >>conftest.$ac_ext <<_ACEOF
65317 /* end confdefs.h.  */
65318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65319    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65320 #define $ac_func innocuous_$ac_func
65321
65322 /* System header to define __stub macros and hopefully few prototypes,
65323     which can conflict with char $ac_func (); below.
65324     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65325     <limits.h> exists even on freestanding compilers.  */
65326
65327 #ifdef __STDC__
65328 # include <limits.h>
65329 #else
65330 # include <assert.h>
65331 #endif
65332
65333 #undef $ac_func
65334
65335 /* Override any gcc2 internal prototype to avoid an error.  */
65336 #ifdef __cplusplus
65337 extern "C"
65338 {
65339 #endif
65340 /* We use char because int might match the return type of a gcc2
65341    builtin and then its argument prototype would still apply.  */
65342 char $ac_func ();
65343 /* The GNU C library defines this for functions which it implements
65344     to always fail with ENOSYS.  Some functions are actually named
65345     something starting with __ and the normal name is an alias.  */
65346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65347 choke me
65348 #else
65349 char (*f) () = $ac_func;
65350 #endif
65351 #ifdef __cplusplus
65352 }
65353 #endif
65354
65355 int
65356 main ()
65357 {
65358 return f != $ac_func;
65359   ;
65360   return 0;
65361 }
65362 _ACEOF
65363 rm -f conftest.$ac_objext conftest$ac_exeext
65364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65365   (eval $ac_link) 2>conftest.er1
65366   ac_status=$?
65367   grep -v '^ *+' conftest.er1 >conftest.err
65368   rm -f conftest.er1
65369   cat conftest.err >&5
65370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65371   (exit $ac_status); } &&
65372          { ac_try='test -z "$ac_c_werror_flag"
65373                          || test ! -s conftest.err'
65374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65375   (eval $ac_try) 2>&5
65376   ac_status=$?
65377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65378   (exit $ac_status); }; } &&
65379          { ac_try='test -s conftest$ac_exeext'
65380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65381   (eval $ac_try) 2>&5
65382   ac_status=$?
65383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65384   (exit $ac_status); }; }; then
65385   eval "$as_ac_var=yes"
65386 else
65387   echo "$as_me: failed program was:" >&5
65388 sed 's/^/| /' conftest.$ac_ext >&5
65389
65390 eval "$as_ac_var=no"
65391 fi
65392 rm -f conftest.err conftest.$ac_objext \
65393       conftest$ac_exeext conftest.$ac_ext
65394 fi
65395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65397 if test `eval echo '${'$as_ac_var'}'` = yes; then
65398   cat >>confdefs.h <<_ACEOF
65399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65400 _ACEOF
65401
65402 fi
65403 done
65404
65405     fi
65406   fi
65407
65408
65409
65410
65411
65412
65413
65414
65415   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65416 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65417   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65418     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65419   echo $ECHO_N "(cached) $ECHO_C" >&6
65420 else
65421
65422
65423
65424       ac_ext=cc
65425 ac_cpp='$CXXCPP $CPPFLAGS'
65426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65429
65430       cat >conftest.$ac_ext <<_ACEOF
65431 /* confdefs.h.  */
65432 _ACEOF
65433 cat confdefs.h >>conftest.$ac_ext
65434 cat >>conftest.$ac_ext <<_ACEOF
65435 /* end confdefs.h.  */
65436 #include <math.h>
65437                       #ifdef HAVE_IEEEFP_H
65438                       #include <ieeefp.h>
65439                       #endif
65440
65441 int
65442 main ()
65443 {
65444  isnanl(0);
65445   ;
65446   return 0;
65447 }
65448 _ACEOF
65449 rm -f conftest.$ac_objext
65450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65451   (eval $ac_compile) 2>conftest.er1
65452   ac_status=$?
65453   grep -v '^ *+' conftest.er1 >conftest.err
65454   rm -f conftest.er1
65455   cat conftest.err >&5
65456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65457   (exit $ac_status); } &&
65458          { ac_try='test -z "$ac_cxx_werror_flag"
65459                          || test ! -s conftest.err'
65460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65461   (eval $ac_try) 2>&5
65462   ac_status=$?
65463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65464   (exit $ac_status); }; } &&
65465          { ac_try='test -s conftest.$ac_objext'
65466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65467   (eval $ac_try) 2>&5
65468   ac_status=$?
65469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65470   (exit $ac_status); }; }; then
65471   glibcxx_cv_func_isnanl_use=yes
65472 else
65473   echo "$as_me: failed program was:" >&5
65474 sed 's/^/| /' conftest.$ac_ext >&5
65475
65476 glibcxx_cv_func_isnanl_use=no
65477 fi
65478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65479       ac_ext=c
65480 ac_cpp='$CPP $CPPFLAGS'
65481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65484
65485
65486 fi
65487
65488   fi
65489   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65490 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65491
65492   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65493
65494 for ac_func in isnanl
65495 do
65496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65497 echo "$as_me:$LINENO: checking for $ac_func" >&5
65498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65499 if eval "test \"\${$as_ac_var+set}\" = set"; then
65500   echo $ECHO_N "(cached) $ECHO_C" >&6
65501 else
65502   if test x$gcc_no_link = xyes; then
65503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65505    { (exit 1); exit 1; }; }
65506 fi
65507 cat >conftest.$ac_ext <<_ACEOF
65508 /* confdefs.h.  */
65509 _ACEOF
65510 cat confdefs.h >>conftest.$ac_ext
65511 cat >>conftest.$ac_ext <<_ACEOF
65512 /* end confdefs.h.  */
65513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65514    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65515 #define $ac_func innocuous_$ac_func
65516
65517 /* System header to define __stub macros and hopefully few prototypes,
65518     which can conflict with char $ac_func (); below.
65519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65520     <limits.h> exists even on freestanding compilers.  */
65521
65522 #ifdef __STDC__
65523 # include <limits.h>
65524 #else
65525 # include <assert.h>
65526 #endif
65527
65528 #undef $ac_func
65529
65530 /* Override any gcc2 internal prototype to avoid an error.  */
65531 #ifdef __cplusplus
65532 extern "C"
65533 {
65534 #endif
65535 /* We use char because int might match the return type of a gcc2
65536    builtin and then its argument prototype would still apply.  */
65537 char $ac_func ();
65538 /* The GNU C library defines this for functions which it implements
65539     to always fail with ENOSYS.  Some functions are actually named
65540     something starting with __ and the normal name is an alias.  */
65541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65542 choke me
65543 #else
65544 char (*f) () = $ac_func;
65545 #endif
65546 #ifdef __cplusplus
65547 }
65548 #endif
65549
65550 int
65551 main ()
65552 {
65553 return f != $ac_func;
65554   ;
65555   return 0;
65556 }
65557 _ACEOF
65558 rm -f conftest.$ac_objext conftest$ac_exeext
65559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65560   (eval $ac_link) 2>conftest.er1
65561   ac_status=$?
65562   grep -v '^ *+' conftest.er1 >conftest.err
65563   rm -f conftest.er1
65564   cat conftest.err >&5
65565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65566   (exit $ac_status); } &&
65567          { ac_try='test -z "$ac_c_werror_flag"
65568                          || test ! -s conftest.err'
65569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65570   (eval $ac_try) 2>&5
65571   ac_status=$?
65572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65573   (exit $ac_status); }; } &&
65574          { ac_try='test -s conftest$ac_exeext'
65575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65576   (eval $ac_try) 2>&5
65577   ac_status=$?
65578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65579   (exit $ac_status); }; }; then
65580   eval "$as_ac_var=yes"
65581 else
65582   echo "$as_me: failed program was:" >&5
65583 sed 's/^/| /' conftest.$ac_ext >&5
65584
65585 eval "$as_ac_var=no"
65586 fi
65587 rm -f conftest.err conftest.$ac_objext \
65588       conftest$ac_exeext conftest.$ac_ext
65589 fi
65590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65592 if test `eval echo '${'$as_ac_var'}'` = yes; then
65593   cat >>confdefs.h <<_ACEOF
65594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65595 _ACEOF
65596
65597 fi
65598 done
65599
65600   else
65601
65602   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65603 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65604   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65605     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65606   echo $ECHO_N "(cached) $ECHO_C" >&6
65607 else
65608
65609
65610
65611       ac_ext=cc
65612 ac_cpp='$CXXCPP $CPPFLAGS'
65613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65616
65617       cat >conftest.$ac_ext <<_ACEOF
65618 /* confdefs.h.  */
65619 _ACEOF
65620 cat confdefs.h >>conftest.$ac_ext
65621 cat >>conftest.$ac_ext <<_ACEOF
65622 /* end confdefs.h.  */
65623 #include <math.h>
65624                       #ifdef HAVE_IEEEFP_H
65625                       #include <ieeefp.h>
65626                       #endif
65627
65628 int
65629 main ()
65630 {
65631  _isnanl(0);
65632   ;
65633   return 0;
65634 }
65635 _ACEOF
65636 rm -f conftest.$ac_objext
65637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65638   (eval $ac_compile) 2>conftest.er1
65639   ac_status=$?
65640   grep -v '^ *+' conftest.er1 >conftest.err
65641   rm -f conftest.er1
65642   cat conftest.err >&5
65643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65644   (exit $ac_status); } &&
65645          { ac_try='test -z "$ac_cxx_werror_flag"
65646                          || test ! -s conftest.err'
65647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65648   (eval $ac_try) 2>&5
65649   ac_status=$?
65650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65651   (exit $ac_status); }; } &&
65652          { ac_try='test -s conftest.$ac_objext'
65653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65654   (eval $ac_try) 2>&5
65655   ac_status=$?
65656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65657   (exit $ac_status); }; }; then
65658   glibcxx_cv_func__isnanl_use=yes
65659 else
65660   echo "$as_me: failed program was:" >&5
65661 sed 's/^/| /' conftest.$ac_ext >&5
65662
65663 glibcxx_cv_func__isnanl_use=no
65664 fi
65665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65666       ac_ext=c
65667 ac_cpp='$CPP $CPPFLAGS'
65668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65671
65672
65673 fi
65674
65675   fi
65676   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65677 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65678
65679     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65680
65681 for ac_func in _isnanl
65682 do
65683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65684 echo "$as_me:$LINENO: checking for $ac_func" >&5
65685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65686 if eval "test \"\${$as_ac_var+set}\" = set"; then
65687   echo $ECHO_N "(cached) $ECHO_C" >&6
65688 else
65689   if test x$gcc_no_link = xyes; then
65690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65692    { (exit 1); exit 1; }; }
65693 fi
65694 cat >conftest.$ac_ext <<_ACEOF
65695 /* confdefs.h.  */
65696 _ACEOF
65697 cat confdefs.h >>conftest.$ac_ext
65698 cat >>conftest.$ac_ext <<_ACEOF
65699 /* end confdefs.h.  */
65700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65701    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65702 #define $ac_func innocuous_$ac_func
65703
65704 /* System header to define __stub macros and hopefully few prototypes,
65705     which can conflict with char $ac_func (); below.
65706     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65707     <limits.h> exists even on freestanding compilers.  */
65708
65709 #ifdef __STDC__
65710 # include <limits.h>
65711 #else
65712 # include <assert.h>
65713 #endif
65714
65715 #undef $ac_func
65716
65717 /* Override any gcc2 internal prototype to avoid an error.  */
65718 #ifdef __cplusplus
65719 extern "C"
65720 {
65721 #endif
65722 /* We use char because int might match the return type of a gcc2
65723    builtin and then its argument prototype would still apply.  */
65724 char $ac_func ();
65725 /* The GNU C library defines this for functions which it implements
65726     to always fail with ENOSYS.  Some functions are actually named
65727     something starting with __ and the normal name is an alias.  */
65728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65729 choke me
65730 #else
65731 char (*f) () = $ac_func;
65732 #endif
65733 #ifdef __cplusplus
65734 }
65735 #endif
65736
65737 int
65738 main ()
65739 {
65740 return f != $ac_func;
65741   ;
65742   return 0;
65743 }
65744 _ACEOF
65745 rm -f conftest.$ac_objext conftest$ac_exeext
65746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65747   (eval $ac_link) 2>conftest.er1
65748   ac_status=$?
65749   grep -v '^ *+' conftest.er1 >conftest.err
65750   rm -f conftest.er1
65751   cat conftest.err >&5
65752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65753   (exit $ac_status); } &&
65754          { ac_try='test -z "$ac_c_werror_flag"
65755                          || test ! -s conftest.err'
65756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65757   (eval $ac_try) 2>&5
65758   ac_status=$?
65759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65760   (exit $ac_status); }; } &&
65761          { ac_try='test -s conftest$ac_exeext'
65762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65763   (eval $ac_try) 2>&5
65764   ac_status=$?
65765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65766   (exit $ac_status); }; }; then
65767   eval "$as_ac_var=yes"
65768 else
65769   echo "$as_me: failed program was:" >&5
65770 sed 's/^/| /' conftest.$ac_ext >&5
65771
65772 eval "$as_ac_var=no"
65773 fi
65774 rm -f conftest.err conftest.$ac_objext \
65775       conftest$ac_exeext conftest.$ac_ext
65776 fi
65777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65779 if test `eval echo '${'$as_ac_var'}'` = yes; then
65780   cat >>confdefs.h <<_ACEOF
65781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65782 _ACEOF
65783
65784 fi
65785 done
65786
65787     fi
65788   fi
65789
65790
65791
65792
65793
65794
65795   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65796 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65797   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65798     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65799   echo $ECHO_N "(cached) $ECHO_C" >&6
65800 else
65801
65802
65803
65804       ac_ext=cc
65805 ac_cpp='$CXXCPP $CPPFLAGS'
65806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65809
65810       cat >conftest.$ac_ext <<_ACEOF
65811 /* confdefs.h.  */
65812 _ACEOF
65813 cat confdefs.h >>conftest.$ac_ext
65814 cat >>conftest.$ac_ext <<_ACEOF
65815 /* end confdefs.h.  */
65816 #include <math.h>
65817                       #ifdef HAVE_IEEEFP_H
65818                       #include <ieeefp.h>
65819                       #endif
65820
65821 int
65822 main ()
65823 {
65824  isinfl(0);
65825   ;
65826   return 0;
65827 }
65828 _ACEOF
65829 rm -f conftest.$ac_objext
65830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65831   (eval $ac_compile) 2>conftest.er1
65832   ac_status=$?
65833   grep -v '^ *+' conftest.er1 >conftest.err
65834   rm -f conftest.er1
65835   cat conftest.err >&5
65836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65837   (exit $ac_status); } &&
65838          { ac_try='test -z "$ac_cxx_werror_flag"
65839                          || test ! -s conftest.err'
65840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65841   (eval $ac_try) 2>&5
65842   ac_status=$?
65843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65844   (exit $ac_status); }; } &&
65845          { ac_try='test -s conftest.$ac_objext'
65846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65847   (eval $ac_try) 2>&5
65848   ac_status=$?
65849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65850   (exit $ac_status); }; }; then
65851   glibcxx_cv_func_isinfl_use=yes
65852 else
65853   echo "$as_me: failed program was:" >&5
65854 sed 's/^/| /' conftest.$ac_ext >&5
65855
65856 glibcxx_cv_func_isinfl_use=no
65857 fi
65858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65859       ac_ext=c
65860 ac_cpp='$CPP $CPPFLAGS'
65861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65864
65865
65866 fi
65867
65868   fi
65869   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65870 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65871
65872   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65873
65874 for ac_func in isinfl
65875 do
65876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65877 echo "$as_me:$LINENO: checking for $ac_func" >&5
65878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65879 if eval "test \"\${$as_ac_var+set}\" = set"; then
65880   echo $ECHO_N "(cached) $ECHO_C" >&6
65881 else
65882   if test x$gcc_no_link = xyes; then
65883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65885    { (exit 1); exit 1; }; }
65886 fi
65887 cat >conftest.$ac_ext <<_ACEOF
65888 /* confdefs.h.  */
65889 _ACEOF
65890 cat confdefs.h >>conftest.$ac_ext
65891 cat >>conftest.$ac_ext <<_ACEOF
65892 /* end confdefs.h.  */
65893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65894    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65895 #define $ac_func innocuous_$ac_func
65896
65897 /* System header to define __stub macros and hopefully few prototypes,
65898     which can conflict with char $ac_func (); below.
65899     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65900     <limits.h> exists even on freestanding compilers.  */
65901
65902 #ifdef __STDC__
65903 # include <limits.h>
65904 #else
65905 # include <assert.h>
65906 #endif
65907
65908 #undef $ac_func
65909
65910 /* Override any gcc2 internal prototype to avoid an error.  */
65911 #ifdef __cplusplus
65912 extern "C"
65913 {
65914 #endif
65915 /* We use char because int might match the return type of a gcc2
65916    builtin and then its argument prototype would still apply.  */
65917 char $ac_func ();
65918 /* The GNU C library defines this for functions which it implements
65919     to always fail with ENOSYS.  Some functions are actually named
65920     something starting with __ and the normal name is an alias.  */
65921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65922 choke me
65923 #else
65924 char (*f) () = $ac_func;
65925 #endif
65926 #ifdef __cplusplus
65927 }
65928 #endif
65929
65930 int
65931 main ()
65932 {
65933 return f != $ac_func;
65934   ;
65935   return 0;
65936 }
65937 _ACEOF
65938 rm -f conftest.$ac_objext conftest$ac_exeext
65939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65940   (eval $ac_link) 2>conftest.er1
65941   ac_status=$?
65942   grep -v '^ *+' conftest.er1 >conftest.err
65943   rm -f conftest.er1
65944   cat conftest.err >&5
65945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65946   (exit $ac_status); } &&
65947          { ac_try='test -z "$ac_c_werror_flag"
65948                          || test ! -s conftest.err'
65949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65950   (eval $ac_try) 2>&5
65951   ac_status=$?
65952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65953   (exit $ac_status); }; } &&
65954          { ac_try='test -s conftest$ac_exeext'
65955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65956   (eval $ac_try) 2>&5
65957   ac_status=$?
65958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65959   (exit $ac_status); }; }; then
65960   eval "$as_ac_var=yes"
65961 else
65962   echo "$as_me: failed program was:" >&5
65963 sed 's/^/| /' conftest.$ac_ext >&5
65964
65965 eval "$as_ac_var=no"
65966 fi
65967 rm -f conftest.err conftest.$ac_objext \
65968       conftest$ac_exeext conftest.$ac_ext
65969 fi
65970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65972 if test `eval echo '${'$as_ac_var'}'` = yes; then
65973   cat >>confdefs.h <<_ACEOF
65974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65975 _ACEOF
65976
65977 fi
65978 done
65979
65980   else
65981
65982   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65983 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65984   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65985     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65986   echo $ECHO_N "(cached) $ECHO_C" >&6
65987 else
65988
65989
65990
65991       ac_ext=cc
65992 ac_cpp='$CXXCPP $CPPFLAGS'
65993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65996
65997       cat >conftest.$ac_ext <<_ACEOF
65998 /* confdefs.h.  */
65999 _ACEOF
66000 cat confdefs.h >>conftest.$ac_ext
66001 cat >>conftest.$ac_ext <<_ACEOF
66002 /* end confdefs.h.  */
66003 #include <math.h>
66004                       #ifdef HAVE_IEEEFP_H
66005                       #include <ieeefp.h>
66006                       #endif
66007
66008 int
66009 main ()
66010 {
66011  _isinfl(0);
66012   ;
66013   return 0;
66014 }
66015 _ACEOF
66016 rm -f conftest.$ac_objext
66017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66018   (eval $ac_compile) 2>conftest.er1
66019   ac_status=$?
66020   grep -v '^ *+' conftest.er1 >conftest.err
66021   rm -f conftest.er1
66022   cat conftest.err >&5
66023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66024   (exit $ac_status); } &&
66025          { ac_try='test -z "$ac_cxx_werror_flag"
66026                          || test ! -s conftest.err'
66027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66028   (eval $ac_try) 2>&5
66029   ac_status=$?
66030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66031   (exit $ac_status); }; } &&
66032          { ac_try='test -s conftest.$ac_objext'
66033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66034   (eval $ac_try) 2>&5
66035   ac_status=$?
66036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66037   (exit $ac_status); }; }; then
66038   glibcxx_cv_func__isinfl_use=yes
66039 else
66040   echo "$as_me: failed program was:" >&5
66041 sed 's/^/| /' conftest.$ac_ext >&5
66042
66043 glibcxx_cv_func__isinfl_use=no
66044 fi
66045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66046       ac_ext=c
66047 ac_cpp='$CPP $CPPFLAGS'
66048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66051
66052
66053 fi
66054
66055   fi
66056   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
66057 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
66058
66059     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
66060
66061 for ac_func in _isinfl
66062 do
66063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66064 echo "$as_me:$LINENO: checking for $ac_func" >&5
66065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66066 if eval "test \"\${$as_ac_var+set}\" = set"; then
66067   echo $ECHO_N "(cached) $ECHO_C" >&6
66068 else
66069   if test x$gcc_no_link = xyes; then
66070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66072    { (exit 1); exit 1; }; }
66073 fi
66074 cat >conftest.$ac_ext <<_ACEOF
66075 /* confdefs.h.  */
66076 _ACEOF
66077 cat confdefs.h >>conftest.$ac_ext
66078 cat >>conftest.$ac_ext <<_ACEOF
66079 /* end confdefs.h.  */
66080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66081    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66082 #define $ac_func innocuous_$ac_func
66083
66084 /* System header to define __stub macros and hopefully few prototypes,
66085     which can conflict with char $ac_func (); below.
66086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66087     <limits.h> exists even on freestanding compilers.  */
66088
66089 #ifdef __STDC__
66090 # include <limits.h>
66091 #else
66092 # include <assert.h>
66093 #endif
66094
66095 #undef $ac_func
66096
66097 /* Override any gcc2 internal prototype to avoid an error.  */
66098 #ifdef __cplusplus
66099 extern "C"
66100 {
66101 #endif
66102 /* We use char because int might match the return type of a gcc2
66103    builtin and then its argument prototype would still apply.  */
66104 char $ac_func ();
66105 /* The GNU C library defines this for functions which it implements
66106     to always fail with ENOSYS.  Some functions are actually named
66107     something starting with __ and the normal name is an alias.  */
66108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66109 choke me
66110 #else
66111 char (*f) () = $ac_func;
66112 #endif
66113 #ifdef __cplusplus
66114 }
66115 #endif
66116
66117 int
66118 main ()
66119 {
66120 return f != $ac_func;
66121   ;
66122   return 0;
66123 }
66124 _ACEOF
66125 rm -f conftest.$ac_objext conftest$ac_exeext
66126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66127   (eval $ac_link) 2>conftest.er1
66128   ac_status=$?
66129   grep -v '^ *+' conftest.er1 >conftest.err
66130   rm -f conftest.er1
66131   cat conftest.err >&5
66132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66133   (exit $ac_status); } &&
66134          { ac_try='test -z "$ac_c_werror_flag"
66135                          || test ! -s conftest.err'
66136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66137   (eval $ac_try) 2>&5
66138   ac_status=$?
66139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66140   (exit $ac_status); }; } &&
66141          { ac_try='test -s conftest$ac_exeext'
66142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66143   (eval $ac_try) 2>&5
66144   ac_status=$?
66145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66146   (exit $ac_status); }; }; then
66147   eval "$as_ac_var=yes"
66148 else
66149   echo "$as_me: failed program was:" >&5
66150 sed 's/^/| /' conftest.$ac_ext >&5
66151
66152 eval "$as_ac_var=no"
66153 fi
66154 rm -f conftest.err conftest.$ac_objext \
66155       conftest$ac_exeext conftest.$ac_ext
66156 fi
66157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66159 if test `eval echo '${'$as_ac_var'}'` = yes; then
66160   cat >>confdefs.h <<_ACEOF
66161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66162 _ACEOF
66163
66164 fi
66165 done
66166
66167     fi
66168   fi
66169
66170
66171
66172
66173
66174
66175   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
66176 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
66177   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
66178     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
66179   echo $ECHO_N "(cached) $ECHO_C" >&6
66180 else
66181
66182
66183
66184       ac_ext=cc
66185 ac_cpp='$CXXCPP $CPPFLAGS'
66186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66189
66190       cat >conftest.$ac_ext <<_ACEOF
66191 /* confdefs.h.  */
66192 _ACEOF
66193 cat confdefs.h >>conftest.$ac_ext
66194 cat >>conftest.$ac_ext <<_ACEOF
66195 /* end confdefs.h.  */
66196 #include <math.h>
66197 int
66198 main ()
66199 {
66200  copysignl(0, 0);
66201   ;
66202   return 0;
66203 }
66204 _ACEOF
66205 rm -f conftest.$ac_objext
66206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66207   (eval $ac_compile) 2>conftest.er1
66208   ac_status=$?
66209   grep -v '^ *+' conftest.er1 >conftest.err
66210   rm -f conftest.er1
66211   cat conftest.err >&5
66212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66213   (exit $ac_status); } &&
66214          { ac_try='test -z "$ac_cxx_werror_flag"
66215                          || test ! -s conftest.err'
66216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66217   (eval $ac_try) 2>&5
66218   ac_status=$?
66219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66220   (exit $ac_status); }; } &&
66221          { ac_try='test -s conftest.$ac_objext'
66222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66223   (eval $ac_try) 2>&5
66224   ac_status=$?
66225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66226   (exit $ac_status); }; }; then
66227   glibcxx_cv_func_copysignl_use=yes
66228 else
66229   echo "$as_me: failed program was:" >&5
66230 sed 's/^/| /' conftest.$ac_ext >&5
66231
66232 glibcxx_cv_func_copysignl_use=no
66233 fi
66234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66235       ac_ext=c
66236 ac_cpp='$CPP $CPPFLAGS'
66237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66240
66241
66242 fi
66243
66244   fi
66245   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
66246 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
66247
66248   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
66249
66250 for ac_func in copysignl
66251 do
66252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66253 echo "$as_me:$LINENO: checking for $ac_func" >&5
66254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66255 if eval "test \"\${$as_ac_var+set}\" = set"; then
66256   echo $ECHO_N "(cached) $ECHO_C" >&6
66257 else
66258   if test x$gcc_no_link = xyes; then
66259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66261    { (exit 1); exit 1; }; }
66262 fi
66263 cat >conftest.$ac_ext <<_ACEOF
66264 /* confdefs.h.  */
66265 _ACEOF
66266 cat confdefs.h >>conftest.$ac_ext
66267 cat >>conftest.$ac_ext <<_ACEOF
66268 /* end confdefs.h.  */
66269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66270    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66271 #define $ac_func innocuous_$ac_func
66272
66273 /* System header to define __stub macros and hopefully few prototypes,
66274     which can conflict with char $ac_func (); below.
66275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66276     <limits.h> exists even on freestanding compilers.  */
66277
66278 #ifdef __STDC__
66279 # include <limits.h>
66280 #else
66281 # include <assert.h>
66282 #endif
66283
66284 #undef $ac_func
66285
66286 /* Override any gcc2 internal prototype to avoid an error.  */
66287 #ifdef __cplusplus
66288 extern "C"
66289 {
66290 #endif
66291 /* We use char because int might match the return type of a gcc2
66292    builtin and then its argument prototype would still apply.  */
66293 char $ac_func ();
66294 /* The GNU C library defines this for functions which it implements
66295     to always fail with ENOSYS.  Some functions are actually named
66296     something starting with __ and the normal name is an alias.  */
66297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66298 choke me
66299 #else
66300 char (*f) () = $ac_func;
66301 #endif
66302 #ifdef __cplusplus
66303 }
66304 #endif
66305
66306 int
66307 main ()
66308 {
66309 return f != $ac_func;
66310   ;
66311   return 0;
66312 }
66313 _ACEOF
66314 rm -f conftest.$ac_objext conftest$ac_exeext
66315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66316   (eval $ac_link) 2>conftest.er1
66317   ac_status=$?
66318   grep -v '^ *+' conftest.er1 >conftest.err
66319   rm -f conftest.er1
66320   cat conftest.err >&5
66321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66322   (exit $ac_status); } &&
66323          { ac_try='test -z "$ac_c_werror_flag"
66324                          || test ! -s conftest.err'
66325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66326   (eval $ac_try) 2>&5
66327   ac_status=$?
66328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66329   (exit $ac_status); }; } &&
66330          { ac_try='test -s conftest$ac_exeext'
66331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66332   (eval $ac_try) 2>&5
66333   ac_status=$?
66334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66335   (exit $ac_status); }; }; then
66336   eval "$as_ac_var=yes"
66337 else
66338   echo "$as_me: failed program was:" >&5
66339 sed 's/^/| /' conftest.$ac_ext >&5
66340
66341 eval "$as_ac_var=no"
66342 fi
66343 rm -f conftest.err conftest.$ac_objext \
66344       conftest$ac_exeext conftest.$ac_ext
66345 fi
66346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66348 if test `eval echo '${'$as_ac_var'}'` = yes; then
66349   cat >>confdefs.h <<_ACEOF
66350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66351 _ACEOF
66352
66353 fi
66354 done
66355
66356   else
66357
66358   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66359 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66360   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66361     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66362   echo $ECHO_N "(cached) $ECHO_C" >&6
66363 else
66364
66365
66366
66367       ac_ext=cc
66368 ac_cpp='$CXXCPP $CPPFLAGS'
66369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66372
66373       cat >conftest.$ac_ext <<_ACEOF
66374 /* confdefs.h.  */
66375 _ACEOF
66376 cat confdefs.h >>conftest.$ac_ext
66377 cat >>conftest.$ac_ext <<_ACEOF
66378 /* end confdefs.h.  */
66379 #include <math.h>
66380 int
66381 main ()
66382 {
66383  _copysignl(0, 0);
66384   ;
66385   return 0;
66386 }
66387 _ACEOF
66388 rm -f conftest.$ac_objext
66389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66390   (eval $ac_compile) 2>conftest.er1
66391   ac_status=$?
66392   grep -v '^ *+' conftest.er1 >conftest.err
66393   rm -f conftest.er1
66394   cat conftest.err >&5
66395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66396   (exit $ac_status); } &&
66397          { ac_try='test -z "$ac_cxx_werror_flag"
66398                          || test ! -s conftest.err'
66399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66400   (eval $ac_try) 2>&5
66401   ac_status=$?
66402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66403   (exit $ac_status); }; } &&
66404          { ac_try='test -s conftest.$ac_objext'
66405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66406   (eval $ac_try) 2>&5
66407   ac_status=$?
66408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66409   (exit $ac_status); }; }; then
66410   glibcxx_cv_func__copysignl_use=yes
66411 else
66412   echo "$as_me: failed program was:" >&5
66413 sed 's/^/| /' conftest.$ac_ext >&5
66414
66415 glibcxx_cv_func__copysignl_use=no
66416 fi
66417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66418       ac_ext=c
66419 ac_cpp='$CPP $CPPFLAGS'
66420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66423
66424
66425 fi
66426
66427   fi
66428   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66429 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66430
66431     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66432
66433 for ac_func in _copysignl
66434 do
66435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66436 echo "$as_me:$LINENO: checking for $ac_func" >&5
66437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66438 if eval "test \"\${$as_ac_var+set}\" = set"; then
66439   echo $ECHO_N "(cached) $ECHO_C" >&6
66440 else
66441   if test x$gcc_no_link = xyes; then
66442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66444    { (exit 1); exit 1; }; }
66445 fi
66446 cat >conftest.$ac_ext <<_ACEOF
66447 /* confdefs.h.  */
66448 _ACEOF
66449 cat confdefs.h >>conftest.$ac_ext
66450 cat >>conftest.$ac_ext <<_ACEOF
66451 /* end confdefs.h.  */
66452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66454 #define $ac_func innocuous_$ac_func
66455
66456 /* System header to define __stub macros and hopefully few prototypes,
66457     which can conflict with char $ac_func (); below.
66458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66459     <limits.h> exists even on freestanding compilers.  */
66460
66461 #ifdef __STDC__
66462 # include <limits.h>
66463 #else
66464 # include <assert.h>
66465 #endif
66466
66467 #undef $ac_func
66468
66469 /* Override any gcc2 internal prototype to avoid an error.  */
66470 #ifdef __cplusplus
66471 extern "C"
66472 {
66473 #endif
66474 /* We use char because int might match the return type of a gcc2
66475    builtin and then its argument prototype would still apply.  */
66476 char $ac_func ();
66477 /* The GNU C library defines this for functions which it implements
66478     to always fail with ENOSYS.  Some functions are actually named
66479     something starting with __ and the normal name is an alias.  */
66480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66481 choke me
66482 #else
66483 char (*f) () = $ac_func;
66484 #endif
66485 #ifdef __cplusplus
66486 }
66487 #endif
66488
66489 int
66490 main ()
66491 {
66492 return f != $ac_func;
66493   ;
66494   return 0;
66495 }
66496 _ACEOF
66497 rm -f conftest.$ac_objext conftest$ac_exeext
66498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66499   (eval $ac_link) 2>conftest.er1
66500   ac_status=$?
66501   grep -v '^ *+' conftest.er1 >conftest.err
66502   rm -f conftest.er1
66503   cat conftest.err >&5
66504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66505   (exit $ac_status); } &&
66506          { ac_try='test -z "$ac_c_werror_flag"
66507                          || test ! -s conftest.err'
66508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66509   (eval $ac_try) 2>&5
66510   ac_status=$?
66511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66512   (exit $ac_status); }; } &&
66513          { ac_try='test -s conftest$ac_exeext'
66514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66515   (eval $ac_try) 2>&5
66516   ac_status=$?
66517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66518   (exit $ac_status); }; }; then
66519   eval "$as_ac_var=yes"
66520 else
66521   echo "$as_me: failed program was:" >&5
66522 sed 's/^/| /' conftest.$ac_ext >&5
66523
66524 eval "$as_ac_var=no"
66525 fi
66526 rm -f conftest.err conftest.$ac_objext \
66527       conftest$ac_exeext conftest.$ac_ext
66528 fi
66529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66531 if test `eval echo '${'$as_ac_var'}'` = yes; then
66532   cat >>confdefs.h <<_ACEOF
66533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66534 _ACEOF
66535
66536 fi
66537 done
66538
66539     fi
66540   fi
66541
66542
66543
66544
66545
66546
66547   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66548 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66549   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66550     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66551   echo $ECHO_N "(cached) $ECHO_C" >&6
66552 else
66553
66554
66555
66556       ac_ext=cc
66557 ac_cpp='$CXXCPP $CPPFLAGS'
66558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66561
66562       cat >conftest.$ac_ext <<_ACEOF
66563 /* confdefs.h.  */
66564 _ACEOF
66565 cat confdefs.h >>conftest.$ac_ext
66566 cat >>conftest.$ac_ext <<_ACEOF
66567 /* end confdefs.h.  */
66568 #include <math.h>
66569 int
66570 main ()
66571 {
66572  atan2l(0, 0);
66573   ;
66574   return 0;
66575 }
66576 _ACEOF
66577 rm -f conftest.$ac_objext
66578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66579   (eval $ac_compile) 2>conftest.er1
66580   ac_status=$?
66581   grep -v '^ *+' conftest.er1 >conftest.err
66582   rm -f conftest.er1
66583   cat conftest.err >&5
66584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66585   (exit $ac_status); } &&
66586          { ac_try='test -z "$ac_cxx_werror_flag"
66587                          || test ! -s conftest.err'
66588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66589   (eval $ac_try) 2>&5
66590   ac_status=$?
66591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66592   (exit $ac_status); }; } &&
66593          { ac_try='test -s conftest.$ac_objext'
66594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66595   (eval $ac_try) 2>&5
66596   ac_status=$?
66597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66598   (exit $ac_status); }; }; then
66599   glibcxx_cv_func_atan2l_use=yes
66600 else
66601   echo "$as_me: failed program was:" >&5
66602 sed 's/^/| /' conftest.$ac_ext >&5
66603
66604 glibcxx_cv_func_atan2l_use=no
66605 fi
66606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66607       ac_ext=c
66608 ac_cpp='$CPP $CPPFLAGS'
66609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66612
66613
66614 fi
66615
66616   fi
66617   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66618 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66619
66620   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66621
66622 for ac_func in atan2l
66623 do
66624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66625 echo "$as_me:$LINENO: checking for $ac_func" >&5
66626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66627 if eval "test \"\${$as_ac_var+set}\" = set"; then
66628   echo $ECHO_N "(cached) $ECHO_C" >&6
66629 else
66630   if test x$gcc_no_link = xyes; then
66631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66633    { (exit 1); exit 1; }; }
66634 fi
66635 cat >conftest.$ac_ext <<_ACEOF
66636 /* confdefs.h.  */
66637 _ACEOF
66638 cat confdefs.h >>conftest.$ac_ext
66639 cat >>conftest.$ac_ext <<_ACEOF
66640 /* end confdefs.h.  */
66641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66642    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66643 #define $ac_func innocuous_$ac_func
66644
66645 /* System header to define __stub macros and hopefully few prototypes,
66646     which can conflict with char $ac_func (); below.
66647     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66648     <limits.h> exists even on freestanding compilers.  */
66649
66650 #ifdef __STDC__
66651 # include <limits.h>
66652 #else
66653 # include <assert.h>
66654 #endif
66655
66656 #undef $ac_func
66657
66658 /* Override any gcc2 internal prototype to avoid an error.  */
66659 #ifdef __cplusplus
66660 extern "C"
66661 {
66662 #endif
66663 /* We use char because int might match the return type of a gcc2
66664    builtin and then its argument prototype would still apply.  */
66665 char $ac_func ();
66666 /* The GNU C library defines this for functions which it implements
66667     to always fail with ENOSYS.  Some functions are actually named
66668     something starting with __ and the normal name is an alias.  */
66669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66670 choke me
66671 #else
66672 char (*f) () = $ac_func;
66673 #endif
66674 #ifdef __cplusplus
66675 }
66676 #endif
66677
66678 int
66679 main ()
66680 {
66681 return f != $ac_func;
66682   ;
66683   return 0;
66684 }
66685 _ACEOF
66686 rm -f conftest.$ac_objext conftest$ac_exeext
66687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66688   (eval $ac_link) 2>conftest.er1
66689   ac_status=$?
66690   grep -v '^ *+' conftest.er1 >conftest.err
66691   rm -f conftest.er1
66692   cat conftest.err >&5
66693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66694   (exit $ac_status); } &&
66695          { ac_try='test -z "$ac_c_werror_flag"
66696                          || test ! -s conftest.err'
66697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66698   (eval $ac_try) 2>&5
66699   ac_status=$?
66700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66701   (exit $ac_status); }; } &&
66702          { ac_try='test -s conftest$ac_exeext'
66703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66704   (eval $ac_try) 2>&5
66705   ac_status=$?
66706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66707   (exit $ac_status); }; }; then
66708   eval "$as_ac_var=yes"
66709 else
66710   echo "$as_me: failed program was:" >&5
66711 sed 's/^/| /' conftest.$ac_ext >&5
66712
66713 eval "$as_ac_var=no"
66714 fi
66715 rm -f conftest.err conftest.$ac_objext \
66716       conftest$ac_exeext conftest.$ac_ext
66717 fi
66718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66720 if test `eval echo '${'$as_ac_var'}'` = yes; then
66721   cat >>confdefs.h <<_ACEOF
66722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66723 _ACEOF
66724
66725 fi
66726 done
66727
66728   else
66729
66730   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66731 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66732   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66733     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66734   echo $ECHO_N "(cached) $ECHO_C" >&6
66735 else
66736
66737
66738
66739       ac_ext=cc
66740 ac_cpp='$CXXCPP $CPPFLAGS'
66741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66744
66745       cat >conftest.$ac_ext <<_ACEOF
66746 /* confdefs.h.  */
66747 _ACEOF
66748 cat confdefs.h >>conftest.$ac_ext
66749 cat >>conftest.$ac_ext <<_ACEOF
66750 /* end confdefs.h.  */
66751 #include <math.h>
66752 int
66753 main ()
66754 {
66755  _atan2l(0, 0);
66756   ;
66757   return 0;
66758 }
66759 _ACEOF
66760 rm -f conftest.$ac_objext
66761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66762   (eval $ac_compile) 2>conftest.er1
66763   ac_status=$?
66764   grep -v '^ *+' conftest.er1 >conftest.err
66765   rm -f conftest.er1
66766   cat conftest.err >&5
66767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66768   (exit $ac_status); } &&
66769          { ac_try='test -z "$ac_cxx_werror_flag"
66770                          || test ! -s conftest.err'
66771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66772   (eval $ac_try) 2>&5
66773   ac_status=$?
66774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66775   (exit $ac_status); }; } &&
66776          { ac_try='test -s conftest.$ac_objext'
66777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66778   (eval $ac_try) 2>&5
66779   ac_status=$?
66780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66781   (exit $ac_status); }; }; then
66782   glibcxx_cv_func__atan2l_use=yes
66783 else
66784   echo "$as_me: failed program was:" >&5
66785 sed 's/^/| /' conftest.$ac_ext >&5
66786
66787 glibcxx_cv_func__atan2l_use=no
66788 fi
66789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66790       ac_ext=c
66791 ac_cpp='$CPP $CPPFLAGS'
66792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66795
66796
66797 fi
66798
66799   fi
66800   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66801 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66802
66803     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66804
66805 for ac_func in _atan2l
66806 do
66807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66808 echo "$as_me:$LINENO: checking for $ac_func" >&5
66809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66810 if eval "test \"\${$as_ac_var+set}\" = set"; then
66811   echo $ECHO_N "(cached) $ECHO_C" >&6
66812 else
66813   if test x$gcc_no_link = xyes; then
66814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66816    { (exit 1); exit 1; }; }
66817 fi
66818 cat >conftest.$ac_ext <<_ACEOF
66819 /* confdefs.h.  */
66820 _ACEOF
66821 cat confdefs.h >>conftest.$ac_ext
66822 cat >>conftest.$ac_ext <<_ACEOF
66823 /* end confdefs.h.  */
66824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66825    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66826 #define $ac_func innocuous_$ac_func
66827
66828 /* System header to define __stub macros and hopefully few prototypes,
66829     which can conflict with char $ac_func (); below.
66830     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66831     <limits.h> exists even on freestanding compilers.  */
66832
66833 #ifdef __STDC__
66834 # include <limits.h>
66835 #else
66836 # include <assert.h>
66837 #endif
66838
66839 #undef $ac_func
66840
66841 /* Override any gcc2 internal prototype to avoid an error.  */
66842 #ifdef __cplusplus
66843 extern "C"
66844 {
66845 #endif
66846 /* We use char because int might match the return type of a gcc2
66847    builtin and then its argument prototype would still apply.  */
66848 char $ac_func ();
66849 /* The GNU C library defines this for functions which it implements
66850     to always fail with ENOSYS.  Some functions are actually named
66851     something starting with __ and the normal name is an alias.  */
66852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66853 choke me
66854 #else
66855 char (*f) () = $ac_func;
66856 #endif
66857 #ifdef __cplusplus
66858 }
66859 #endif
66860
66861 int
66862 main ()
66863 {
66864 return f != $ac_func;
66865   ;
66866   return 0;
66867 }
66868 _ACEOF
66869 rm -f conftest.$ac_objext conftest$ac_exeext
66870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66871   (eval $ac_link) 2>conftest.er1
66872   ac_status=$?
66873   grep -v '^ *+' conftest.er1 >conftest.err
66874   rm -f conftest.er1
66875   cat conftest.err >&5
66876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66877   (exit $ac_status); } &&
66878          { ac_try='test -z "$ac_c_werror_flag"
66879                          || test ! -s conftest.err'
66880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66881   (eval $ac_try) 2>&5
66882   ac_status=$?
66883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66884   (exit $ac_status); }; } &&
66885          { ac_try='test -s conftest$ac_exeext'
66886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66887   (eval $ac_try) 2>&5
66888   ac_status=$?
66889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66890   (exit $ac_status); }; }; then
66891   eval "$as_ac_var=yes"
66892 else
66893   echo "$as_me: failed program was:" >&5
66894 sed 's/^/| /' conftest.$ac_ext >&5
66895
66896 eval "$as_ac_var=no"
66897 fi
66898 rm -f conftest.err conftest.$ac_objext \
66899       conftest$ac_exeext conftest.$ac_ext
66900 fi
66901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66903 if test `eval echo '${'$as_ac_var'}'` = yes; then
66904   cat >>confdefs.h <<_ACEOF
66905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66906 _ACEOF
66907
66908 fi
66909 done
66910
66911     fi
66912   fi
66913
66914
66915
66916
66917
66918
66919   echo "$as_me:$LINENO: checking for expl declaration" >&5
66920 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66921   if test x${glibcxx_cv_func_expl_use+set} != xset; then
66922     if test "${glibcxx_cv_func_expl_use+set}" = set; then
66923   echo $ECHO_N "(cached) $ECHO_C" >&6
66924 else
66925
66926
66927
66928       ac_ext=cc
66929 ac_cpp='$CXXCPP $CPPFLAGS'
66930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66933
66934       cat >conftest.$ac_ext <<_ACEOF
66935 /* confdefs.h.  */
66936 _ACEOF
66937 cat confdefs.h >>conftest.$ac_ext
66938 cat >>conftest.$ac_ext <<_ACEOF
66939 /* end confdefs.h.  */
66940 #include <math.h>
66941                       #ifdef HAVE_IEEEFP_H
66942                       #include <ieeefp.h>
66943                       #endif
66944
66945 int
66946 main ()
66947 {
66948  expl(0);
66949   ;
66950   return 0;
66951 }
66952 _ACEOF
66953 rm -f conftest.$ac_objext
66954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66955   (eval $ac_compile) 2>conftest.er1
66956   ac_status=$?
66957   grep -v '^ *+' conftest.er1 >conftest.err
66958   rm -f conftest.er1
66959   cat conftest.err >&5
66960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66961   (exit $ac_status); } &&
66962          { ac_try='test -z "$ac_cxx_werror_flag"
66963                          || test ! -s conftest.err'
66964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66965   (eval $ac_try) 2>&5
66966   ac_status=$?
66967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66968   (exit $ac_status); }; } &&
66969          { ac_try='test -s conftest.$ac_objext'
66970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66971   (eval $ac_try) 2>&5
66972   ac_status=$?
66973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66974   (exit $ac_status); }; }; then
66975   glibcxx_cv_func_expl_use=yes
66976 else
66977   echo "$as_me: failed program was:" >&5
66978 sed 's/^/| /' conftest.$ac_ext >&5
66979
66980 glibcxx_cv_func_expl_use=no
66981 fi
66982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66983       ac_ext=c
66984 ac_cpp='$CPP $CPPFLAGS'
66985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66988
66989
66990 fi
66991
66992   fi
66993   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66994 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66995
66996   if test x$glibcxx_cv_func_expl_use = x"yes"; then
66997
66998 for ac_func in expl
66999 do
67000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67001 echo "$as_me:$LINENO: checking for $ac_func" >&5
67002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67003 if eval "test \"\${$as_ac_var+set}\" = set"; then
67004   echo $ECHO_N "(cached) $ECHO_C" >&6
67005 else
67006   if test x$gcc_no_link = xyes; then
67007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67009    { (exit 1); exit 1; }; }
67010 fi
67011 cat >conftest.$ac_ext <<_ACEOF
67012 /* confdefs.h.  */
67013 _ACEOF
67014 cat confdefs.h >>conftest.$ac_ext
67015 cat >>conftest.$ac_ext <<_ACEOF
67016 /* end confdefs.h.  */
67017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67019 #define $ac_func innocuous_$ac_func
67020
67021 /* System header to define __stub macros and hopefully few prototypes,
67022     which can conflict with char $ac_func (); below.
67023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67024     <limits.h> exists even on freestanding compilers.  */
67025
67026 #ifdef __STDC__
67027 # include <limits.h>
67028 #else
67029 # include <assert.h>
67030 #endif
67031
67032 #undef $ac_func
67033
67034 /* Override any gcc2 internal prototype to avoid an error.  */
67035 #ifdef __cplusplus
67036 extern "C"
67037 {
67038 #endif
67039 /* We use char because int might match the return type of a gcc2
67040    builtin and then its argument prototype would still apply.  */
67041 char $ac_func ();
67042 /* The GNU C library defines this for functions which it implements
67043     to always fail with ENOSYS.  Some functions are actually named
67044     something starting with __ and the normal name is an alias.  */
67045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67046 choke me
67047 #else
67048 char (*f) () = $ac_func;
67049 #endif
67050 #ifdef __cplusplus
67051 }
67052 #endif
67053
67054 int
67055 main ()
67056 {
67057 return f != $ac_func;
67058   ;
67059   return 0;
67060 }
67061 _ACEOF
67062 rm -f conftest.$ac_objext conftest$ac_exeext
67063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67064   (eval $ac_link) 2>conftest.er1
67065   ac_status=$?
67066   grep -v '^ *+' conftest.er1 >conftest.err
67067   rm -f conftest.er1
67068   cat conftest.err >&5
67069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67070   (exit $ac_status); } &&
67071          { ac_try='test -z "$ac_c_werror_flag"
67072                          || test ! -s conftest.err'
67073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67074   (eval $ac_try) 2>&5
67075   ac_status=$?
67076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67077   (exit $ac_status); }; } &&
67078          { ac_try='test -s conftest$ac_exeext'
67079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67080   (eval $ac_try) 2>&5
67081   ac_status=$?
67082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67083   (exit $ac_status); }; }; then
67084   eval "$as_ac_var=yes"
67085 else
67086   echo "$as_me: failed program was:" >&5
67087 sed 's/^/| /' conftest.$ac_ext >&5
67088
67089 eval "$as_ac_var=no"
67090 fi
67091 rm -f conftest.err conftest.$ac_objext \
67092       conftest$ac_exeext conftest.$ac_ext
67093 fi
67094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67096 if test `eval echo '${'$as_ac_var'}'` = yes; then
67097   cat >>confdefs.h <<_ACEOF
67098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67099 _ACEOF
67100
67101 fi
67102 done
67103
67104   else
67105
67106   echo "$as_me:$LINENO: checking for _expl declaration" >&5
67107 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
67108   if test x${glibcxx_cv_func__expl_use+set} != xset; then
67109     if test "${glibcxx_cv_func__expl_use+set}" = set; then
67110   echo $ECHO_N "(cached) $ECHO_C" >&6
67111 else
67112
67113
67114
67115       ac_ext=cc
67116 ac_cpp='$CXXCPP $CPPFLAGS'
67117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67120
67121       cat >conftest.$ac_ext <<_ACEOF
67122 /* confdefs.h.  */
67123 _ACEOF
67124 cat confdefs.h >>conftest.$ac_ext
67125 cat >>conftest.$ac_ext <<_ACEOF
67126 /* end confdefs.h.  */
67127 #include <math.h>
67128                       #ifdef HAVE_IEEEFP_H
67129                       #include <ieeefp.h>
67130                       #endif
67131
67132 int
67133 main ()
67134 {
67135  _expl(0);
67136   ;
67137   return 0;
67138 }
67139 _ACEOF
67140 rm -f conftest.$ac_objext
67141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67142   (eval $ac_compile) 2>conftest.er1
67143   ac_status=$?
67144   grep -v '^ *+' conftest.er1 >conftest.err
67145   rm -f conftest.er1
67146   cat conftest.err >&5
67147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67148   (exit $ac_status); } &&
67149          { ac_try='test -z "$ac_cxx_werror_flag"
67150                          || test ! -s conftest.err'
67151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67152   (eval $ac_try) 2>&5
67153   ac_status=$?
67154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67155   (exit $ac_status); }; } &&
67156          { ac_try='test -s conftest.$ac_objext'
67157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67158   (eval $ac_try) 2>&5
67159   ac_status=$?
67160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67161   (exit $ac_status); }; }; then
67162   glibcxx_cv_func__expl_use=yes
67163 else
67164   echo "$as_me: failed program was:" >&5
67165 sed 's/^/| /' conftest.$ac_ext >&5
67166
67167 glibcxx_cv_func__expl_use=no
67168 fi
67169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67170       ac_ext=c
67171 ac_cpp='$CPP $CPPFLAGS'
67172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67175
67176
67177 fi
67178
67179   fi
67180   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
67181 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
67182
67183     if test x$glibcxx_cv_func__expl_use = x"yes"; then
67184
67185 for ac_func in _expl
67186 do
67187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67188 echo "$as_me:$LINENO: checking for $ac_func" >&5
67189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67190 if eval "test \"\${$as_ac_var+set}\" = set"; then
67191   echo $ECHO_N "(cached) $ECHO_C" >&6
67192 else
67193   if test x$gcc_no_link = xyes; then
67194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67196    { (exit 1); exit 1; }; }
67197 fi
67198 cat >conftest.$ac_ext <<_ACEOF
67199 /* confdefs.h.  */
67200 _ACEOF
67201 cat confdefs.h >>conftest.$ac_ext
67202 cat >>conftest.$ac_ext <<_ACEOF
67203 /* end confdefs.h.  */
67204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67205    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67206 #define $ac_func innocuous_$ac_func
67207
67208 /* System header to define __stub macros and hopefully few prototypes,
67209     which can conflict with char $ac_func (); below.
67210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67211     <limits.h> exists even on freestanding compilers.  */
67212
67213 #ifdef __STDC__
67214 # include <limits.h>
67215 #else
67216 # include <assert.h>
67217 #endif
67218
67219 #undef $ac_func
67220
67221 /* Override any gcc2 internal prototype to avoid an error.  */
67222 #ifdef __cplusplus
67223 extern "C"
67224 {
67225 #endif
67226 /* We use char because int might match the return type of a gcc2
67227    builtin and then its argument prototype would still apply.  */
67228 char $ac_func ();
67229 /* The GNU C library defines this for functions which it implements
67230     to always fail with ENOSYS.  Some functions are actually named
67231     something starting with __ and the normal name is an alias.  */
67232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67233 choke me
67234 #else
67235 char (*f) () = $ac_func;
67236 #endif
67237 #ifdef __cplusplus
67238 }
67239 #endif
67240
67241 int
67242 main ()
67243 {
67244 return f != $ac_func;
67245   ;
67246   return 0;
67247 }
67248 _ACEOF
67249 rm -f conftest.$ac_objext conftest$ac_exeext
67250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67251   (eval $ac_link) 2>conftest.er1
67252   ac_status=$?
67253   grep -v '^ *+' conftest.er1 >conftest.err
67254   rm -f conftest.er1
67255   cat conftest.err >&5
67256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67257   (exit $ac_status); } &&
67258          { ac_try='test -z "$ac_c_werror_flag"
67259                          || test ! -s conftest.err'
67260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67261   (eval $ac_try) 2>&5
67262   ac_status=$?
67263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67264   (exit $ac_status); }; } &&
67265          { ac_try='test -s conftest$ac_exeext'
67266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67267   (eval $ac_try) 2>&5
67268   ac_status=$?
67269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67270   (exit $ac_status); }; }; then
67271   eval "$as_ac_var=yes"
67272 else
67273   echo "$as_me: failed program was:" >&5
67274 sed 's/^/| /' conftest.$ac_ext >&5
67275
67276 eval "$as_ac_var=no"
67277 fi
67278 rm -f conftest.err conftest.$ac_objext \
67279       conftest$ac_exeext conftest.$ac_ext
67280 fi
67281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67283 if test `eval echo '${'$as_ac_var'}'` = yes; then
67284   cat >>confdefs.h <<_ACEOF
67285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67286 _ACEOF
67287
67288 fi
67289 done
67290
67291     fi
67292   fi
67293
67294
67295
67296
67297
67298
67299   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
67300 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
67301   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67302     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
67303   echo $ECHO_N "(cached) $ECHO_C" >&6
67304 else
67305
67306
67307
67308       ac_ext=cc
67309 ac_cpp='$CXXCPP $CPPFLAGS'
67310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67313
67314       cat >conftest.$ac_ext <<_ACEOF
67315 /* confdefs.h.  */
67316 _ACEOF
67317 cat confdefs.h >>conftest.$ac_ext
67318 cat >>conftest.$ac_ext <<_ACEOF
67319 /* end confdefs.h.  */
67320 #include <math.h>
67321                       #ifdef HAVE_IEEEFP_H
67322                       #include <ieeefp.h>
67323                       #endif
67324
67325 int
67326 main ()
67327 {
67328  fabsl(0);
67329   ;
67330   return 0;
67331 }
67332 _ACEOF
67333 rm -f conftest.$ac_objext
67334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67335   (eval $ac_compile) 2>conftest.er1
67336   ac_status=$?
67337   grep -v '^ *+' conftest.er1 >conftest.err
67338   rm -f conftest.er1
67339   cat conftest.err >&5
67340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67341   (exit $ac_status); } &&
67342          { ac_try='test -z "$ac_cxx_werror_flag"
67343                          || test ! -s conftest.err'
67344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67345   (eval $ac_try) 2>&5
67346   ac_status=$?
67347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67348   (exit $ac_status); }; } &&
67349          { ac_try='test -s conftest.$ac_objext'
67350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67351   (eval $ac_try) 2>&5
67352   ac_status=$?
67353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67354   (exit $ac_status); }; }; then
67355   glibcxx_cv_func_fabsl_use=yes
67356 else
67357   echo "$as_me: failed program was:" >&5
67358 sed 's/^/| /' conftest.$ac_ext >&5
67359
67360 glibcxx_cv_func_fabsl_use=no
67361 fi
67362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67363       ac_ext=c
67364 ac_cpp='$CPP $CPPFLAGS'
67365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67368
67369
67370 fi
67371
67372   fi
67373   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67374 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67375
67376   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67377
67378 for ac_func in fabsl
67379 do
67380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67381 echo "$as_me:$LINENO: checking for $ac_func" >&5
67382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67383 if eval "test \"\${$as_ac_var+set}\" = set"; then
67384   echo $ECHO_N "(cached) $ECHO_C" >&6
67385 else
67386   if test x$gcc_no_link = xyes; then
67387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67389    { (exit 1); exit 1; }; }
67390 fi
67391 cat >conftest.$ac_ext <<_ACEOF
67392 /* confdefs.h.  */
67393 _ACEOF
67394 cat confdefs.h >>conftest.$ac_ext
67395 cat >>conftest.$ac_ext <<_ACEOF
67396 /* end confdefs.h.  */
67397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67399 #define $ac_func innocuous_$ac_func
67400
67401 /* System header to define __stub macros and hopefully few prototypes,
67402     which can conflict with char $ac_func (); below.
67403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67404     <limits.h> exists even on freestanding compilers.  */
67405
67406 #ifdef __STDC__
67407 # include <limits.h>
67408 #else
67409 # include <assert.h>
67410 #endif
67411
67412 #undef $ac_func
67413
67414 /* Override any gcc2 internal prototype to avoid an error.  */
67415 #ifdef __cplusplus
67416 extern "C"
67417 {
67418 #endif
67419 /* We use char because int might match the return type of a gcc2
67420    builtin and then its argument prototype would still apply.  */
67421 char $ac_func ();
67422 /* The GNU C library defines this for functions which it implements
67423     to always fail with ENOSYS.  Some functions are actually named
67424     something starting with __ and the normal name is an alias.  */
67425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67426 choke me
67427 #else
67428 char (*f) () = $ac_func;
67429 #endif
67430 #ifdef __cplusplus
67431 }
67432 #endif
67433
67434 int
67435 main ()
67436 {
67437 return f != $ac_func;
67438   ;
67439   return 0;
67440 }
67441 _ACEOF
67442 rm -f conftest.$ac_objext conftest$ac_exeext
67443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67444   (eval $ac_link) 2>conftest.er1
67445   ac_status=$?
67446   grep -v '^ *+' conftest.er1 >conftest.err
67447   rm -f conftest.er1
67448   cat conftest.err >&5
67449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67450   (exit $ac_status); } &&
67451          { ac_try='test -z "$ac_c_werror_flag"
67452                          || test ! -s conftest.err'
67453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67454   (eval $ac_try) 2>&5
67455   ac_status=$?
67456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67457   (exit $ac_status); }; } &&
67458          { ac_try='test -s conftest$ac_exeext'
67459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67460   (eval $ac_try) 2>&5
67461   ac_status=$?
67462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67463   (exit $ac_status); }; }; then
67464   eval "$as_ac_var=yes"
67465 else
67466   echo "$as_me: failed program was:" >&5
67467 sed 's/^/| /' conftest.$ac_ext >&5
67468
67469 eval "$as_ac_var=no"
67470 fi
67471 rm -f conftest.err conftest.$ac_objext \
67472       conftest$ac_exeext conftest.$ac_ext
67473 fi
67474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67476 if test `eval echo '${'$as_ac_var'}'` = yes; then
67477   cat >>confdefs.h <<_ACEOF
67478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67479 _ACEOF
67480
67481 fi
67482 done
67483
67484   else
67485
67486   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67487 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67488   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67489     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67490   echo $ECHO_N "(cached) $ECHO_C" >&6
67491 else
67492
67493
67494
67495       ac_ext=cc
67496 ac_cpp='$CXXCPP $CPPFLAGS'
67497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67500
67501       cat >conftest.$ac_ext <<_ACEOF
67502 /* confdefs.h.  */
67503 _ACEOF
67504 cat confdefs.h >>conftest.$ac_ext
67505 cat >>conftest.$ac_ext <<_ACEOF
67506 /* end confdefs.h.  */
67507 #include <math.h>
67508                       #ifdef HAVE_IEEEFP_H
67509                       #include <ieeefp.h>
67510                       #endif
67511
67512 int
67513 main ()
67514 {
67515  _fabsl(0);
67516   ;
67517   return 0;
67518 }
67519 _ACEOF
67520 rm -f conftest.$ac_objext
67521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67522   (eval $ac_compile) 2>conftest.er1
67523   ac_status=$?
67524   grep -v '^ *+' conftest.er1 >conftest.err
67525   rm -f conftest.er1
67526   cat conftest.err >&5
67527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67528   (exit $ac_status); } &&
67529          { ac_try='test -z "$ac_cxx_werror_flag"
67530                          || test ! -s conftest.err'
67531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67532   (eval $ac_try) 2>&5
67533   ac_status=$?
67534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67535   (exit $ac_status); }; } &&
67536          { ac_try='test -s conftest.$ac_objext'
67537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67538   (eval $ac_try) 2>&5
67539   ac_status=$?
67540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67541   (exit $ac_status); }; }; then
67542   glibcxx_cv_func__fabsl_use=yes
67543 else
67544   echo "$as_me: failed program was:" >&5
67545 sed 's/^/| /' conftest.$ac_ext >&5
67546
67547 glibcxx_cv_func__fabsl_use=no
67548 fi
67549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67550       ac_ext=c
67551 ac_cpp='$CPP $CPPFLAGS'
67552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67555
67556
67557 fi
67558
67559   fi
67560   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67561 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67562
67563     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67564
67565 for ac_func in _fabsl
67566 do
67567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67568 echo "$as_me:$LINENO: checking for $ac_func" >&5
67569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67570 if eval "test \"\${$as_ac_var+set}\" = set"; then
67571   echo $ECHO_N "(cached) $ECHO_C" >&6
67572 else
67573   if test x$gcc_no_link = xyes; then
67574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67576    { (exit 1); exit 1; }; }
67577 fi
67578 cat >conftest.$ac_ext <<_ACEOF
67579 /* confdefs.h.  */
67580 _ACEOF
67581 cat confdefs.h >>conftest.$ac_ext
67582 cat >>conftest.$ac_ext <<_ACEOF
67583 /* end confdefs.h.  */
67584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67586 #define $ac_func innocuous_$ac_func
67587
67588 /* System header to define __stub macros and hopefully few prototypes,
67589     which can conflict with char $ac_func (); below.
67590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67591     <limits.h> exists even on freestanding compilers.  */
67592
67593 #ifdef __STDC__
67594 # include <limits.h>
67595 #else
67596 # include <assert.h>
67597 #endif
67598
67599 #undef $ac_func
67600
67601 /* Override any gcc2 internal prototype to avoid an error.  */
67602 #ifdef __cplusplus
67603 extern "C"
67604 {
67605 #endif
67606 /* We use char because int might match the return type of a gcc2
67607    builtin and then its argument prototype would still apply.  */
67608 char $ac_func ();
67609 /* The GNU C library defines this for functions which it implements
67610     to always fail with ENOSYS.  Some functions are actually named
67611     something starting with __ and the normal name is an alias.  */
67612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67613 choke me
67614 #else
67615 char (*f) () = $ac_func;
67616 #endif
67617 #ifdef __cplusplus
67618 }
67619 #endif
67620
67621 int
67622 main ()
67623 {
67624 return f != $ac_func;
67625   ;
67626   return 0;
67627 }
67628 _ACEOF
67629 rm -f conftest.$ac_objext conftest$ac_exeext
67630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67631   (eval $ac_link) 2>conftest.er1
67632   ac_status=$?
67633   grep -v '^ *+' conftest.er1 >conftest.err
67634   rm -f conftest.er1
67635   cat conftest.err >&5
67636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67637   (exit $ac_status); } &&
67638          { ac_try='test -z "$ac_c_werror_flag"
67639                          || test ! -s conftest.err'
67640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67641   (eval $ac_try) 2>&5
67642   ac_status=$?
67643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67644   (exit $ac_status); }; } &&
67645          { ac_try='test -s conftest$ac_exeext'
67646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67647   (eval $ac_try) 2>&5
67648   ac_status=$?
67649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67650   (exit $ac_status); }; }; then
67651   eval "$as_ac_var=yes"
67652 else
67653   echo "$as_me: failed program was:" >&5
67654 sed 's/^/| /' conftest.$ac_ext >&5
67655
67656 eval "$as_ac_var=no"
67657 fi
67658 rm -f conftest.err conftest.$ac_objext \
67659       conftest$ac_exeext conftest.$ac_ext
67660 fi
67661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67663 if test `eval echo '${'$as_ac_var'}'` = yes; then
67664   cat >>confdefs.h <<_ACEOF
67665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67666 _ACEOF
67667
67668 fi
67669 done
67670
67671     fi
67672   fi
67673
67674
67675
67676
67677
67678
67679   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67680 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67681   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67682     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67683   echo $ECHO_N "(cached) $ECHO_C" >&6
67684 else
67685
67686
67687
67688       ac_ext=cc
67689 ac_cpp='$CXXCPP $CPPFLAGS'
67690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67693
67694       cat >conftest.$ac_ext <<_ACEOF
67695 /* confdefs.h.  */
67696 _ACEOF
67697 cat confdefs.h >>conftest.$ac_ext
67698 cat >>conftest.$ac_ext <<_ACEOF
67699 /* end confdefs.h.  */
67700 #include <math.h>
67701 int
67702 main ()
67703 {
67704  fmodl(0, 0);
67705   ;
67706   return 0;
67707 }
67708 _ACEOF
67709 rm -f conftest.$ac_objext
67710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67711   (eval $ac_compile) 2>conftest.er1
67712   ac_status=$?
67713   grep -v '^ *+' conftest.er1 >conftest.err
67714   rm -f conftest.er1
67715   cat conftest.err >&5
67716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67717   (exit $ac_status); } &&
67718          { ac_try='test -z "$ac_cxx_werror_flag"
67719                          || test ! -s conftest.err'
67720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67721   (eval $ac_try) 2>&5
67722   ac_status=$?
67723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67724   (exit $ac_status); }; } &&
67725          { ac_try='test -s conftest.$ac_objext'
67726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67727   (eval $ac_try) 2>&5
67728   ac_status=$?
67729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67730   (exit $ac_status); }; }; then
67731   glibcxx_cv_func_fmodl_use=yes
67732 else
67733   echo "$as_me: failed program was:" >&5
67734 sed 's/^/| /' conftest.$ac_ext >&5
67735
67736 glibcxx_cv_func_fmodl_use=no
67737 fi
67738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67739       ac_ext=c
67740 ac_cpp='$CPP $CPPFLAGS'
67741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67744
67745
67746 fi
67747
67748   fi
67749   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67750 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67751
67752   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67753
67754 for ac_func in fmodl
67755 do
67756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67757 echo "$as_me:$LINENO: checking for $ac_func" >&5
67758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67759 if eval "test \"\${$as_ac_var+set}\" = set"; then
67760   echo $ECHO_N "(cached) $ECHO_C" >&6
67761 else
67762   if test x$gcc_no_link = xyes; then
67763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67765    { (exit 1); exit 1; }; }
67766 fi
67767 cat >conftest.$ac_ext <<_ACEOF
67768 /* confdefs.h.  */
67769 _ACEOF
67770 cat confdefs.h >>conftest.$ac_ext
67771 cat >>conftest.$ac_ext <<_ACEOF
67772 /* end confdefs.h.  */
67773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67774    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67775 #define $ac_func innocuous_$ac_func
67776
67777 /* System header to define __stub macros and hopefully few prototypes,
67778     which can conflict with char $ac_func (); below.
67779     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67780     <limits.h> exists even on freestanding compilers.  */
67781
67782 #ifdef __STDC__
67783 # include <limits.h>
67784 #else
67785 # include <assert.h>
67786 #endif
67787
67788 #undef $ac_func
67789
67790 /* Override any gcc2 internal prototype to avoid an error.  */
67791 #ifdef __cplusplus
67792 extern "C"
67793 {
67794 #endif
67795 /* We use char because int might match the return type of a gcc2
67796    builtin and then its argument prototype would still apply.  */
67797 char $ac_func ();
67798 /* The GNU C library defines this for functions which it implements
67799     to always fail with ENOSYS.  Some functions are actually named
67800     something starting with __ and the normal name is an alias.  */
67801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67802 choke me
67803 #else
67804 char (*f) () = $ac_func;
67805 #endif
67806 #ifdef __cplusplus
67807 }
67808 #endif
67809
67810 int
67811 main ()
67812 {
67813 return f != $ac_func;
67814   ;
67815   return 0;
67816 }
67817 _ACEOF
67818 rm -f conftest.$ac_objext conftest$ac_exeext
67819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67820   (eval $ac_link) 2>conftest.er1
67821   ac_status=$?
67822   grep -v '^ *+' conftest.er1 >conftest.err
67823   rm -f conftest.er1
67824   cat conftest.err >&5
67825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67826   (exit $ac_status); } &&
67827          { ac_try='test -z "$ac_c_werror_flag"
67828                          || test ! -s conftest.err'
67829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67830   (eval $ac_try) 2>&5
67831   ac_status=$?
67832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67833   (exit $ac_status); }; } &&
67834          { ac_try='test -s conftest$ac_exeext'
67835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67836   (eval $ac_try) 2>&5
67837   ac_status=$?
67838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67839   (exit $ac_status); }; }; then
67840   eval "$as_ac_var=yes"
67841 else
67842   echo "$as_me: failed program was:" >&5
67843 sed 's/^/| /' conftest.$ac_ext >&5
67844
67845 eval "$as_ac_var=no"
67846 fi
67847 rm -f conftest.err conftest.$ac_objext \
67848       conftest$ac_exeext conftest.$ac_ext
67849 fi
67850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67852 if test `eval echo '${'$as_ac_var'}'` = yes; then
67853   cat >>confdefs.h <<_ACEOF
67854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67855 _ACEOF
67856
67857 fi
67858 done
67859
67860   else
67861
67862   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67863 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67864   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67865     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67866   echo $ECHO_N "(cached) $ECHO_C" >&6
67867 else
67868
67869
67870
67871       ac_ext=cc
67872 ac_cpp='$CXXCPP $CPPFLAGS'
67873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67876
67877       cat >conftest.$ac_ext <<_ACEOF
67878 /* confdefs.h.  */
67879 _ACEOF
67880 cat confdefs.h >>conftest.$ac_ext
67881 cat >>conftest.$ac_ext <<_ACEOF
67882 /* end confdefs.h.  */
67883 #include <math.h>
67884 int
67885 main ()
67886 {
67887  _fmodl(0, 0);
67888   ;
67889   return 0;
67890 }
67891 _ACEOF
67892 rm -f conftest.$ac_objext
67893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67894   (eval $ac_compile) 2>conftest.er1
67895   ac_status=$?
67896   grep -v '^ *+' conftest.er1 >conftest.err
67897   rm -f conftest.er1
67898   cat conftest.err >&5
67899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67900   (exit $ac_status); } &&
67901          { ac_try='test -z "$ac_cxx_werror_flag"
67902                          || test ! -s conftest.err'
67903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67904   (eval $ac_try) 2>&5
67905   ac_status=$?
67906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67907   (exit $ac_status); }; } &&
67908          { ac_try='test -s conftest.$ac_objext'
67909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67910   (eval $ac_try) 2>&5
67911   ac_status=$?
67912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67913   (exit $ac_status); }; }; then
67914   glibcxx_cv_func__fmodl_use=yes
67915 else
67916   echo "$as_me: failed program was:" >&5
67917 sed 's/^/| /' conftest.$ac_ext >&5
67918
67919 glibcxx_cv_func__fmodl_use=no
67920 fi
67921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67922       ac_ext=c
67923 ac_cpp='$CPP $CPPFLAGS'
67924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67927
67928
67929 fi
67930
67931   fi
67932   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67933 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67934
67935     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67936
67937 for ac_func in _fmodl
67938 do
67939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67940 echo "$as_me:$LINENO: checking for $ac_func" >&5
67941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67942 if eval "test \"\${$as_ac_var+set}\" = set"; then
67943   echo $ECHO_N "(cached) $ECHO_C" >&6
67944 else
67945   if test x$gcc_no_link = xyes; then
67946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67948    { (exit 1); exit 1; }; }
67949 fi
67950 cat >conftest.$ac_ext <<_ACEOF
67951 /* confdefs.h.  */
67952 _ACEOF
67953 cat confdefs.h >>conftest.$ac_ext
67954 cat >>conftest.$ac_ext <<_ACEOF
67955 /* end confdefs.h.  */
67956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67957    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67958 #define $ac_func innocuous_$ac_func
67959
67960 /* System header to define __stub macros and hopefully few prototypes,
67961     which can conflict with char $ac_func (); below.
67962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67963     <limits.h> exists even on freestanding compilers.  */
67964
67965 #ifdef __STDC__
67966 # include <limits.h>
67967 #else
67968 # include <assert.h>
67969 #endif
67970
67971 #undef $ac_func
67972
67973 /* Override any gcc2 internal prototype to avoid an error.  */
67974 #ifdef __cplusplus
67975 extern "C"
67976 {
67977 #endif
67978 /* We use char because int might match the return type of a gcc2
67979    builtin and then its argument prototype would still apply.  */
67980 char $ac_func ();
67981 /* The GNU C library defines this for functions which it implements
67982     to always fail with ENOSYS.  Some functions are actually named
67983     something starting with __ and the normal name is an alias.  */
67984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67985 choke me
67986 #else
67987 char (*f) () = $ac_func;
67988 #endif
67989 #ifdef __cplusplus
67990 }
67991 #endif
67992
67993 int
67994 main ()
67995 {
67996 return f != $ac_func;
67997   ;
67998   return 0;
67999 }
68000 _ACEOF
68001 rm -f conftest.$ac_objext conftest$ac_exeext
68002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68003   (eval $ac_link) 2>conftest.er1
68004   ac_status=$?
68005   grep -v '^ *+' conftest.er1 >conftest.err
68006   rm -f conftest.er1
68007   cat conftest.err >&5
68008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68009   (exit $ac_status); } &&
68010          { ac_try='test -z "$ac_c_werror_flag"
68011                          || test ! -s conftest.err'
68012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68013   (eval $ac_try) 2>&5
68014   ac_status=$?
68015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68016   (exit $ac_status); }; } &&
68017          { ac_try='test -s conftest$ac_exeext'
68018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68019   (eval $ac_try) 2>&5
68020   ac_status=$?
68021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68022   (exit $ac_status); }; }; then
68023   eval "$as_ac_var=yes"
68024 else
68025   echo "$as_me: failed program was:" >&5
68026 sed 's/^/| /' conftest.$ac_ext >&5
68027
68028 eval "$as_ac_var=no"
68029 fi
68030 rm -f conftest.err conftest.$ac_objext \
68031       conftest$ac_exeext conftest.$ac_ext
68032 fi
68033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68035 if test `eval echo '${'$as_ac_var'}'` = yes; then
68036   cat >>confdefs.h <<_ACEOF
68037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68038 _ACEOF
68039
68040 fi
68041 done
68042
68043     fi
68044   fi
68045
68046
68047
68048
68049
68050
68051   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
68052 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
68053   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68054     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
68055   echo $ECHO_N "(cached) $ECHO_C" >&6
68056 else
68057
68058
68059
68060       ac_ext=cc
68061 ac_cpp='$CXXCPP $CPPFLAGS'
68062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68065
68066       cat >conftest.$ac_ext <<_ACEOF
68067 /* confdefs.h.  */
68068 _ACEOF
68069 cat confdefs.h >>conftest.$ac_ext
68070 cat >>conftest.$ac_ext <<_ACEOF
68071 /* end confdefs.h.  */
68072 #include <math.h>
68073 int
68074 main ()
68075 {
68076  frexpl(0, 0);
68077   ;
68078   return 0;
68079 }
68080 _ACEOF
68081 rm -f conftest.$ac_objext
68082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68083   (eval $ac_compile) 2>conftest.er1
68084   ac_status=$?
68085   grep -v '^ *+' conftest.er1 >conftest.err
68086   rm -f conftest.er1
68087   cat conftest.err >&5
68088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68089   (exit $ac_status); } &&
68090          { ac_try='test -z "$ac_cxx_werror_flag"
68091                          || test ! -s conftest.err'
68092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68093   (eval $ac_try) 2>&5
68094   ac_status=$?
68095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68096   (exit $ac_status); }; } &&
68097          { ac_try='test -s conftest.$ac_objext'
68098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68099   (eval $ac_try) 2>&5
68100   ac_status=$?
68101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68102   (exit $ac_status); }; }; then
68103   glibcxx_cv_func_frexpl_use=yes
68104 else
68105   echo "$as_me: failed program was:" >&5
68106 sed 's/^/| /' conftest.$ac_ext >&5
68107
68108 glibcxx_cv_func_frexpl_use=no
68109 fi
68110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68111       ac_ext=c
68112 ac_cpp='$CPP $CPPFLAGS'
68113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68116
68117
68118 fi
68119
68120   fi
68121   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
68122 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
68123
68124   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68125
68126 for ac_func in frexpl
68127 do
68128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68129 echo "$as_me:$LINENO: checking for $ac_func" >&5
68130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68131 if eval "test \"\${$as_ac_var+set}\" = set"; then
68132   echo $ECHO_N "(cached) $ECHO_C" >&6
68133 else
68134   if test x$gcc_no_link = xyes; then
68135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68137    { (exit 1); exit 1; }; }
68138 fi
68139 cat >conftest.$ac_ext <<_ACEOF
68140 /* confdefs.h.  */
68141 _ACEOF
68142 cat confdefs.h >>conftest.$ac_ext
68143 cat >>conftest.$ac_ext <<_ACEOF
68144 /* end confdefs.h.  */
68145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68146    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68147 #define $ac_func innocuous_$ac_func
68148
68149 /* System header to define __stub macros and hopefully few prototypes,
68150     which can conflict with char $ac_func (); below.
68151     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68152     <limits.h> exists even on freestanding compilers.  */
68153
68154 #ifdef __STDC__
68155 # include <limits.h>
68156 #else
68157 # include <assert.h>
68158 #endif
68159
68160 #undef $ac_func
68161
68162 /* Override any gcc2 internal prototype to avoid an error.  */
68163 #ifdef __cplusplus
68164 extern "C"
68165 {
68166 #endif
68167 /* We use char because int might match the return type of a gcc2
68168    builtin and then its argument prototype would still apply.  */
68169 char $ac_func ();
68170 /* The GNU C library defines this for functions which it implements
68171     to always fail with ENOSYS.  Some functions are actually named
68172     something starting with __ and the normal name is an alias.  */
68173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68174 choke me
68175 #else
68176 char (*f) () = $ac_func;
68177 #endif
68178 #ifdef __cplusplus
68179 }
68180 #endif
68181
68182 int
68183 main ()
68184 {
68185 return f != $ac_func;
68186   ;
68187   return 0;
68188 }
68189 _ACEOF
68190 rm -f conftest.$ac_objext conftest$ac_exeext
68191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68192   (eval $ac_link) 2>conftest.er1
68193   ac_status=$?
68194   grep -v '^ *+' conftest.er1 >conftest.err
68195   rm -f conftest.er1
68196   cat conftest.err >&5
68197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68198   (exit $ac_status); } &&
68199          { ac_try='test -z "$ac_c_werror_flag"
68200                          || test ! -s conftest.err'
68201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68202   (eval $ac_try) 2>&5
68203   ac_status=$?
68204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68205   (exit $ac_status); }; } &&
68206          { ac_try='test -s conftest$ac_exeext'
68207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68208   (eval $ac_try) 2>&5
68209   ac_status=$?
68210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68211   (exit $ac_status); }; }; then
68212   eval "$as_ac_var=yes"
68213 else
68214   echo "$as_me: failed program was:" >&5
68215 sed 's/^/| /' conftest.$ac_ext >&5
68216
68217 eval "$as_ac_var=no"
68218 fi
68219 rm -f conftest.err conftest.$ac_objext \
68220       conftest$ac_exeext conftest.$ac_ext
68221 fi
68222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68224 if test `eval echo '${'$as_ac_var'}'` = yes; then
68225   cat >>confdefs.h <<_ACEOF
68226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68227 _ACEOF
68228
68229 fi
68230 done
68231
68232   else
68233
68234   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
68235 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
68236   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68237     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
68238   echo $ECHO_N "(cached) $ECHO_C" >&6
68239 else
68240
68241
68242
68243       ac_ext=cc
68244 ac_cpp='$CXXCPP $CPPFLAGS'
68245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68248
68249       cat >conftest.$ac_ext <<_ACEOF
68250 /* confdefs.h.  */
68251 _ACEOF
68252 cat confdefs.h >>conftest.$ac_ext
68253 cat >>conftest.$ac_ext <<_ACEOF
68254 /* end confdefs.h.  */
68255 #include <math.h>
68256 int
68257 main ()
68258 {
68259  _frexpl(0, 0);
68260   ;
68261   return 0;
68262 }
68263 _ACEOF
68264 rm -f conftest.$ac_objext
68265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68266   (eval $ac_compile) 2>conftest.er1
68267   ac_status=$?
68268   grep -v '^ *+' conftest.er1 >conftest.err
68269   rm -f conftest.er1
68270   cat conftest.err >&5
68271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68272   (exit $ac_status); } &&
68273          { ac_try='test -z "$ac_cxx_werror_flag"
68274                          || test ! -s conftest.err'
68275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68276   (eval $ac_try) 2>&5
68277   ac_status=$?
68278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68279   (exit $ac_status); }; } &&
68280          { ac_try='test -s conftest.$ac_objext'
68281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68282   (eval $ac_try) 2>&5
68283   ac_status=$?
68284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68285   (exit $ac_status); }; }; then
68286   glibcxx_cv_func__frexpl_use=yes
68287 else
68288   echo "$as_me: failed program was:" >&5
68289 sed 's/^/| /' conftest.$ac_ext >&5
68290
68291 glibcxx_cv_func__frexpl_use=no
68292 fi
68293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68294       ac_ext=c
68295 ac_cpp='$CPP $CPPFLAGS'
68296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68299
68300
68301 fi
68302
68303   fi
68304   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
68305 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
68306
68307     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68308
68309 for ac_func in _frexpl
68310 do
68311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68312 echo "$as_me:$LINENO: checking for $ac_func" >&5
68313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68314 if eval "test \"\${$as_ac_var+set}\" = set"; then
68315   echo $ECHO_N "(cached) $ECHO_C" >&6
68316 else
68317   if test x$gcc_no_link = xyes; then
68318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68320    { (exit 1); exit 1; }; }
68321 fi
68322 cat >conftest.$ac_ext <<_ACEOF
68323 /* confdefs.h.  */
68324 _ACEOF
68325 cat confdefs.h >>conftest.$ac_ext
68326 cat >>conftest.$ac_ext <<_ACEOF
68327 /* end confdefs.h.  */
68328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68329    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68330 #define $ac_func innocuous_$ac_func
68331
68332 /* System header to define __stub macros and hopefully few prototypes,
68333     which can conflict with char $ac_func (); below.
68334     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68335     <limits.h> exists even on freestanding compilers.  */
68336
68337 #ifdef __STDC__
68338 # include <limits.h>
68339 #else
68340 # include <assert.h>
68341 #endif
68342
68343 #undef $ac_func
68344
68345 /* Override any gcc2 internal prototype to avoid an error.  */
68346 #ifdef __cplusplus
68347 extern "C"
68348 {
68349 #endif
68350 /* We use char because int might match the return type of a gcc2
68351    builtin and then its argument prototype would still apply.  */
68352 char $ac_func ();
68353 /* The GNU C library defines this for functions which it implements
68354     to always fail with ENOSYS.  Some functions are actually named
68355     something starting with __ and the normal name is an alias.  */
68356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68357 choke me
68358 #else
68359 char (*f) () = $ac_func;
68360 #endif
68361 #ifdef __cplusplus
68362 }
68363 #endif
68364
68365 int
68366 main ()
68367 {
68368 return f != $ac_func;
68369   ;
68370   return 0;
68371 }
68372 _ACEOF
68373 rm -f conftest.$ac_objext conftest$ac_exeext
68374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68375   (eval $ac_link) 2>conftest.er1
68376   ac_status=$?
68377   grep -v '^ *+' conftest.er1 >conftest.err
68378   rm -f conftest.er1
68379   cat conftest.err >&5
68380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68381   (exit $ac_status); } &&
68382          { ac_try='test -z "$ac_c_werror_flag"
68383                          || test ! -s conftest.err'
68384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68385   (eval $ac_try) 2>&5
68386   ac_status=$?
68387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68388   (exit $ac_status); }; } &&
68389          { ac_try='test -s conftest$ac_exeext'
68390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68391   (eval $ac_try) 2>&5
68392   ac_status=$?
68393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68394   (exit $ac_status); }; }; then
68395   eval "$as_ac_var=yes"
68396 else
68397   echo "$as_me: failed program was:" >&5
68398 sed 's/^/| /' conftest.$ac_ext >&5
68399
68400 eval "$as_ac_var=no"
68401 fi
68402 rm -f conftest.err conftest.$ac_objext \
68403       conftest$ac_exeext conftest.$ac_ext
68404 fi
68405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68407 if test `eval echo '${'$as_ac_var'}'` = yes; then
68408   cat >>confdefs.h <<_ACEOF
68409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68410 _ACEOF
68411
68412 fi
68413 done
68414
68415     fi
68416   fi
68417
68418
68419
68420
68421
68422
68423   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68424 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68425   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68426     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68427   echo $ECHO_N "(cached) $ECHO_C" >&6
68428 else
68429
68430
68431
68432       ac_ext=cc
68433 ac_cpp='$CXXCPP $CPPFLAGS'
68434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68437
68438       cat >conftest.$ac_ext <<_ACEOF
68439 /* confdefs.h.  */
68440 _ACEOF
68441 cat confdefs.h >>conftest.$ac_ext
68442 cat >>conftest.$ac_ext <<_ACEOF
68443 /* end confdefs.h.  */
68444 #include <math.h>
68445 int
68446 main ()
68447 {
68448  hypotl(0, 0);
68449   ;
68450   return 0;
68451 }
68452 _ACEOF
68453 rm -f conftest.$ac_objext
68454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68455   (eval $ac_compile) 2>conftest.er1
68456   ac_status=$?
68457   grep -v '^ *+' conftest.er1 >conftest.err
68458   rm -f conftest.er1
68459   cat conftest.err >&5
68460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68461   (exit $ac_status); } &&
68462          { ac_try='test -z "$ac_cxx_werror_flag"
68463                          || test ! -s conftest.err'
68464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68465   (eval $ac_try) 2>&5
68466   ac_status=$?
68467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68468   (exit $ac_status); }; } &&
68469          { ac_try='test -s conftest.$ac_objext'
68470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68471   (eval $ac_try) 2>&5
68472   ac_status=$?
68473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68474   (exit $ac_status); }; }; then
68475   glibcxx_cv_func_hypotl_use=yes
68476 else
68477   echo "$as_me: failed program was:" >&5
68478 sed 's/^/| /' conftest.$ac_ext >&5
68479
68480 glibcxx_cv_func_hypotl_use=no
68481 fi
68482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68483       ac_ext=c
68484 ac_cpp='$CPP $CPPFLAGS'
68485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68488
68489
68490 fi
68491
68492   fi
68493   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68494 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68495
68496   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68497
68498 for ac_func in hypotl
68499 do
68500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68501 echo "$as_me:$LINENO: checking for $ac_func" >&5
68502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68503 if eval "test \"\${$as_ac_var+set}\" = set"; then
68504   echo $ECHO_N "(cached) $ECHO_C" >&6
68505 else
68506   if test x$gcc_no_link = xyes; then
68507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68509    { (exit 1); exit 1; }; }
68510 fi
68511 cat >conftest.$ac_ext <<_ACEOF
68512 /* confdefs.h.  */
68513 _ACEOF
68514 cat confdefs.h >>conftest.$ac_ext
68515 cat >>conftest.$ac_ext <<_ACEOF
68516 /* end confdefs.h.  */
68517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68518    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68519 #define $ac_func innocuous_$ac_func
68520
68521 /* System header to define __stub macros and hopefully few prototypes,
68522     which can conflict with char $ac_func (); below.
68523     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68524     <limits.h> exists even on freestanding compilers.  */
68525
68526 #ifdef __STDC__
68527 # include <limits.h>
68528 #else
68529 # include <assert.h>
68530 #endif
68531
68532 #undef $ac_func
68533
68534 /* Override any gcc2 internal prototype to avoid an error.  */
68535 #ifdef __cplusplus
68536 extern "C"
68537 {
68538 #endif
68539 /* We use char because int might match the return type of a gcc2
68540    builtin and then its argument prototype would still apply.  */
68541 char $ac_func ();
68542 /* The GNU C library defines this for functions which it implements
68543     to always fail with ENOSYS.  Some functions are actually named
68544     something starting with __ and the normal name is an alias.  */
68545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68546 choke me
68547 #else
68548 char (*f) () = $ac_func;
68549 #endif
68550 #ifdef __cplusplus
68551 }
68552 #endif
68553
68554 int
68555 main ()
68556 {
68557 return f != $ac_func;
68558   ;
68559   return 0;
68560 }
68561 _ACEOF
68562 rm -f conftest.$ac_objext conftest$ac_exeext
68563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68564   (eval $ac_link) 2>conftest.er1
68565   ac_status=$?
68566   grep -v '^ *+' conftest.er1 >conftest.err
68567   rm -f conftest.er1
68568   cat conftest.err >&5
68569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68570   (exit $ac_status); } &&
68571          { ac_try='test -z "$ac_c_werror_flag"
68572                          || test ! -s conftest.err'
68573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68574   (eval $ac_try) 2>&5
68575   ac_status=$?
68576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68577   (exit $ac_status); }; } &&
68578          { ac_try='test -s conftest$ac_exeext'
68579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68580   (eval $ac_try) 2>&5
68581   ac_status=$?
68582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68583   (exit $ac_status); }; }; then
68584   eval "$as_ac_var=yes"
68585 else
68586   echo "$as_me: failed program was:" >&5
68587 sed 's/^/| /' conftest.$ac_ext >&5
68588
68589 eval "$as_ac_var=no"
68590 fi
68591 rm -f conftest.err conftest.$ac_objext \
68592       conftest$ac_exeext conftest.$ac_ext
68593 fi
68594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68596 if test `eval echo '${'$as_ac_var'}'` = yes; then
68597   cat >>confdefs.h <<_ACEOF
68598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68599 _ACEOF
68600
68601 fi
68602 done
68603
68604   else
68605
68606   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68607 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68608   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68609     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68610   echo $ECHO_N "(cached) $ECHO_C" >&6
68611 else
68612
68613
68614
68615       ac_ext=cc
68616 ac_cpp='$CXXCPP $CPPFLAGS'
68617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68620
68621       cat >conftest.$ac_ext <<_ACEOF
68622 /* confdefs.h.  */
68623 _ACEOF
68624 cat confdefs.h >>conftest.$ac_ext
68625 cat >>conftest.$ac_ext <<_ACEOF
68626 /* end confdefs.h.  */
68627 #include <math.h>
68628 int
68629 main ()
68630 {
68631  _hypotl(0, 0);
68632   ;
68633   return 0;
68634 }
68635 _ACEOF
68636 rm -f conftest.$ac_objext
68637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68638   (eval $ac_compile) 2>conftest.er1
68639   ac_status=$?
68640   grep -v '^ *+' conftest.er1 >conftest.err
68641   rm -f conftest.er1
68642   cat conftest.err >&5
68643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68644   (exit $ac_status); } &&
68645          { ac_try='test -z "$ac_cxx_werror_flag"
68646                          || test ! -s conftest.err'
68647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68648   (eval $ac_try) 2>&5
68649   ac_status=$?
68650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68651   (exit $ac_status); }; } &&
68652          { ac_try='test -s conftest.$ac_objext'
68653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68654   (eval $ac_try) 2>&5
68655   ac_status=$?
68656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68657   (exit $ac_status); }; }; then
68658   glibcxx_cv_func__hypotl_use=yes
68659 else
68660   echo "$as_me: failed program was:" >&5
68661 sed 's/^/| /' conftest.$ac_ext >&5
68662
68663 glibcxx_cv_func__hypotl_use=no
68664 fi
68665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68666       ac_ext=c
68667 ac_cpp='$CPP $CPPFLAGS'
68668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68671
68672
68673 fi
68674
68675   fi
68676   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68677 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68678
68679     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68680
68681 for ac_func in _hypotl
68682 do
68683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68684 echo "$as_me:$LINENO: checking for $ac_func" >&5
68685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68686 if eval "test \"\${$as_ac_var+set}\" = set"; then
68687   echo $ECHO_N "(cached) $ECHO_C" >&6
68688 else
68689   if test x$gcc_no_link = xyes; then
68690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68692    { (exit 1); exit 1; }; }
68693 fi
68694 cat >conftest.$ac_ext <<_ACEOF
68695 /* confdefs.h.  */
68696 _ACEOF
68697 cat confdefs.h >>conftest.$ac_ext
68698 cat >>conftest.$ac_ext <<_ACEOF
68699 /* end confdefs.h.  */
68700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68701    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68702 #define $ac_func innocuous_$ac_func
68703
68704 /* System header to define __stub macros and hopefully few prototypes,
68705     which can conflict with char $ac_func (); below.
68706     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68707     <limits.h> exists even on freestanding compilers.  */
68708
68709 #ifdef __STDC__
68710 # include <limits.h>
68711 #else
68712 # include <assert.h>
68713 #endif
68714
68715 #undef $ac_func
68716
68717 /* Override any gcc2 internal prototype to avoid an error.  */
68718 #ifdef __cplusplus
68719 extern "C"
68720 {
68721 #endif
68722 /* We use char because int might match the return type of a gcc2
68723    builtin and then its argument prototype would still apply.  */
68724 char $ac_func ();
68725 /* The GNU C library defines this for functions which it implements
68726     to always fail with ENOSYS.  Some functions are actually named
68727     something starting with __ and the normal name is an alias.  */
68728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68729 choke me
68730 #else
68731 char (*f) () = $ac_func;
68732 #endif
68733 #ifdef __cplusplus
68734 }
68735 #endif
68736
68737 int
68738 main ()
68739 {
68740 return f != $ac_func;
68741   ;
68742   return 0;
68743 }
68744 _ACEOF
68745 rm -f conftest.$ac_objext conftest$ac_exeext
68746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68747   (eval $ac_link) 2>conftest.er1
68748   ac_status=$?
68749   grep -v '^ *+' conftest.er1 >conftest.err
68750   rm -f conftest.er1
68751   cat conftest.err >&5
68752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68753   (exit $ac_status); } &&
68754          { ac_try='test -z "$ac_c_werror_flag"
68755                          || test ! -s conftest.err'
68756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68757   (eval $ac_try) 2>&5
68758   ac_status=$?
68759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68760   (exit $ac_status); }; } &&
68761          { ac_try='test -s conftest$ac_exeext'
68762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68763   (eval $ac_try) 2>&5
68764   ac_status=$?
68765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68766   (exit $ac_status); }; }; then
68767   eval "$as_ac_var=yes"
68768 else
68769   echo "$as_me: failed program was:" >&5
68770 sed 's/^/| /' conftest.$ac_ext >&5
68771
68772 eval "$as_ac_var=no"
68773 fi
68774 rm -f conftest.err conftest.$ac_objext \
68775       conftest$ac_exeext conftest.$ac_ext
68776 fi
68777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68779 if test `eval echo '${'$as_ac_var'}'` = yes; then
68780   cat >>confdefs.h <<_ACEOF
68781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68782 _ACEOF
68783
68784 fi
68785 done
68786
68787     fi
68788   fi
68789
68790
68791
68792
68793
68794
68795   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68796 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68797   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68798     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68799   echo $ECHO_N "(cached) $ECHO_C" >&6
68800 else
68801
68802
68803
68804       ac_ext=cc
68805 ac_cpp='$CXXCPP $CPPFLAGS'
68806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68809
68810       cat >conftest.$ac_ext <<_ACEOF
68811 /* confdefs.h.  */
68812 _ACEOF
68813 cat confdefs.h >>conftest.$ac_ext
68814 cat >>conftest.$ac_ext <<_ACEOF
68815 /* end confdefs.h.  */
68816 #include <math.h>
68817 int
68818 main ()
68819 {
68820  ldexpl(0, 0);
68821   ;
68822   return 0;
68823 }
68824 _ACEOF
68825 rm -f conftest.$ac_objext
68826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68827   (eval $ac_compile) 2>conftest.er1
68828   ac_status=$?
68829   grep -v '^ *+' conftest.er1 >conftest.err
68830   rm -f conftest.er1
68831   cat conftest.err >&5
68832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68833   (exit $ac_status); } &&
68834          { ac_try='test -z "$ac_cxx_werror_flag"
68835                          || test ! -s conftest.err'
68836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68837   (eval $ac_try) 2>&5
68838   ac_status=$?
68839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68840   (exit $ac_status); }; } &&
68841          { ac_try='test -s conftest.$ac_objext'
68842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68843   (eval $ac_try) 2>&5
68844   ac_status=$?
68845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68846   (exit $ac_status); }; }; then
68847   glibcxx_cv_func_ldexpl_use=yes
68848 else
68849   echo "$as_me: failed program was:" >&5
68850 sed 's/^/| /' conftest.$ac_ext >&5
68851
68852 glibcxx_cv_func_ldexpl_use=no
68853 fi
68854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68855       ac_ext=c
68856 ac_cpp='$CPP $CPPFLAGS'
68857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68860
68861
68862 fi
68863
68864   fi
68865   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68866 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68867
68868   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68869
68870 for ac_func in ldexpl
68871 do
68872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68873 echo "$as_me:$LINENO: checking for $ac_func" >&5
68874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68875 if eval "test \"\${$as_ac_var+set}\" = set"; then
68876   echo $ECHO_N "(cached) $ECHO_C" >&6
68877 else
68878   if test x$gcc_no_link = xyes; then
68879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68881    { (exit 1); exit 1; }; }
68882 fi
68883 cat >conftest.$ac_ext <<_ACEOF
68884 /* confdefs.h.  */
68885 _ACEOF
68886 cat confdefs.h >>conftest.$ac_ext
68887 cat >>conftest.$ac_ext <<_ACEOF
68888 /* end confdefs.h.  */
68889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68891 #define $ac_func innocuous_$ac_func
68892
68893 /* System header to define __stub macros and hopefully few prototypes,
68894     which can conflict with char $ac_func (); below.
68895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68896     <limits.h> exists even on freestanding compilers.  */
68897
68898 #ifdef __STDC__
68899 # include <limits.h>
68900 #else
68901 # include <assert.h>
68902 #endif
68903
68904 #undef $ac_func
68905
68906 /* Override any gcc2 internal prototype to avoid an error.  */
68907 #ifdef __cplusplus
68908 extern "C"
68909 {
68910 #endif
68911 /* We use char because int might match the return type of a gcc2
68912    builtin and then its argument prototype would still apply.  */
68913 char $ac_func ();
68914 /* The GNU C library defines this for functions which it implements
68915     to always fail with ENOSYS.  Some functions are actually named
68916     something starting with __ and the normal name is an alias.  */
68917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68918 choke me
68919 #else
68920 char (*f) () = $ac_func;
68921 #endif
68922 #ifdef __cplusplus
68923 }
68924 #endif
68925
68926 int
68927 main ()
68928 {
68929 return f != $ac_func;
68930   ;
68931   return 0;
68932 }
68933 _ACEOF
68934 rm -f conftest.$ac_objext conftest$ac_exeext
68935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68936   (eval $ac_link) 2>conftest.er1
68937   ac_status=$?
68938   grep -v '^ *+' conftest.er1 >conftest.err
68939   rm -f conftest.er1
68940   cat conftest.err >&5
68941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68942   (exit $ac_status); } &&
68943          { ac_try='test -z "$ac_c_werror_flag"
68944                          || test ! -s conftest.err'
68945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68946   (eval $ac_try) 2>&5
68947   ac_status=$?
68948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68949   (exit $ac_status); }; } &&
68950          { ac_try='test -s conftest$ac_exeext'
68951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68952   (eval $ac_try) 2>&5
68953   ac_status=$?
68954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68955   (exit $ac_status); }; }; then
68956   eval "$as_ac_var=yes"
68957 else
68958   echo "$as_me: failed program was:" >&5
68959 sed 's/^/| /' conftest.$ac_ext >&5
68960
68961 eval "$as_ac_var=no"
68962 fi
68963 rm -f conftest.err conftest.$ac_objext \
68964       conftest$ac_exeext conftest.$ac_ext
68965 fi
68966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68968 if test `eval echo '${'$as_ac_var'}'` = yes; then
68969   cat >>confdefs.h <<_ACEOF
68970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68971 _ACEOF
68972
68973 fi
68974 done
68975
68976   else
68977
68978   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68979 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68980   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68981     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68982   echo $ECHO_N "(cached) $ECHO_C" >&6
68983 else
68984
68985
68986
68987       ac_ext=cc
68988 ac_cpp='$CXXCPP $CPPFLAGS'
68989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68992
68993       cat >conftest.$ac_ext <<_ACEOF
68994 /* confdefs.h.  */
68995 _ACEOF
68996 cat confdefs.h >>conftest.$ac_ext
68997 cat >>conftest.$ac_ext <<_ACEOF
68998 /* end confdefs.h.  */
68999 #include <math.h>
69000 int
69001 main ()
69002 {
69003  _ldexpl(0, 0);
69004   ;
69005   return 0;
69006 }
69007 _ACEOF
69008 rm -f conftest.$ac_objext
69009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69010   (eval $ac_compile) 2>conftest.er1
69011   ac_status=$?
69012   grep -v '^ *+' conftest.er1 >conftest.err
69013   rm -f conftest.er1
69014   cat conftest.err >&5
69015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69016   (exit $ac_status); } &&
69017          { ac_try='test -z "$ac_cxx_werror_flag"
69018                          || test ! -s conftest.err'
69019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69020   (eval $ac_try) 2>&5
69021   ac_status=$?
69022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69023   (exit $ac_status); }; } &&
69024          { ac_try='test -s conftest.$ac_objext'
69025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69026   (eval $ac_try) 2>&5
69027   ac_status=$?
69028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69029   (exit $ac_status); }; }; then
69030   glibcxx_cv_func__ldexpl_use=yes
69031 else
69032   echo "$as_me: failed program was:" >&5
69033 sed 's/^/| /' conftest.$ac_ext >&5
69034
69035 glibcxx_cv_func__ldexpl_use=no
69036 fi
69037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69038       ac_ext=c
69039 ac_cpp='$CPP $CPPFLAGS'
69040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69043
69044
69045 fi
69046
69047   fi
69048   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
69049 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
69050
69051     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69052
69053 for ac_func in _ldexpl
69054 do
69055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69056 echo "$as_me:$LINENO: checking for $ac_func" >&5
69057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69058 if eval "test \"\${$as_ac_var+set}\" = set"; then
69059   echo $ECHO_N "(cached) $ECHO_C" >&6
69060 else
69061   if test x$gcc_no_link = xyes; then
69062   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69064    { (exit 1); exit 1; }; }
69065 fi
69066 cat >conftest.$ac_ext <<_ACEOF
69067 /* confdefs.h.  */
69068 _ACEOF
69069 cat confdefs.h >>conftest.$ac_ext
69070 cat >>conftest.$ac_ext <<_ACEOF
69071 /* end confdefs.h.  */
69072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69073    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69074 #define $ac_func innocuous_$ac_func
69075
69076 /* System header to define __stub macros and hopefully few prototypes,
69077     which can conflict with char $ac_func (); below.
69078     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69079     <limits.h> exists even on freestanding compilers.  */
69080
69081 #ifdef __STDC__
69082 # include <limits.h>
69083 #else
69084 # include <assert.h>
69085 #endif
69086
69087 #undef $ac_func
69088
69089 /* Override any gcc2 internal prototype to avoid an error.  */
69090 #ifdef __cplusplus
69091 extern "C"
69092 {
69093 #endif
69094 /* We use char because int might match the return type of a gcc2
69095    builtin and then its argument prototype would still apply.  */
69096 char $ac_func ();
69097 /* The GNU C library defines this for functions which it implements
69098     to always fail with ENOSYS.  Some functions are actually named
69099     something starting with __ and the normal name is an alias.  */
69100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69101 choke me
69102 #else
69103 char (*f) () = $ac_func;
69104 #endif
69105 #ifdef __cplusplus
69106 }
69107 #endif
69108
69109 int
69110 main ()
69111 {
69112 return f != $ac_func;
69113   ;
69114   return 0;
69115 }
69116 _ACEOF
69117 rm -f conftest.$ac_objext conftest$ac_exeext
69118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69119   (eval $ac_link) 2>conftest.er1
69120   ac_status=$?
69121   grep -v '^ *+' conftest.er1 >conftest.err
69122   rm -f conftest.er1
69123   cat conftest.err >&5
69124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69125   (exit $ac_status); } &&
69126          { ac_try='test -z "$ac_c_werror_flag"
69127                          || test ! -s conftest.err'
69128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69129   (eval $ac_try) 2>&5
69130   ac_status=$?
69131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69132   (exit $ac_status); }; } &&
69133          { ac_try='test -s conftest$ac_exeext'
69134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69135   (eval $ac_try) 2>&5
69136   ac_status=$?
69137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69138   (exit $ac_status); }; }; then
69139   eval "$as_ac_var=yes"
69140 else
69141   echo "$as_me: failed program was:" >&5
69142 sed 's/^/| /' conftest.$ac_ext >&5
69143
69144 eval "$as_ac_var=no"
69145 fi
69146 rm -f conftest.err conftest.$ac_objext \
69147       conftest$ac_exeext conftest.$ac_ext
69148 fi
69149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69151 if test `eval echo '${'$as_ac_var'}'` = yes; then
69152   cat >>confdefs.h <<_ACEOF
69153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69154 _ACEOF
69155
69156 fi
69157 done
69158
69159     fi
69160   fi
69161
69162
69163
69164
69165
69166
69167   echo "$as_me:$LINENO: checking for logl declaration" >&5
69168 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
69169   if test x${glibcxx_cv_func_logl_use+set} != xset; then
69170     if test "${glibcxx_cv_func_logl_use+set}" = set; then
69171   echo $ECHO_N "(cached) $ECHO_C" >&6
69172 else
69173
69174
69175
69176       ac_ext=cc
69177 ac_cpp='$CXXCPP $CPPFLAGS'
69178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69181
69182       cat >conftest.$ac_ext <<_ACEOF
69183 /* confdefs.h.  */
69184 _ACEOF
69185 cat confdefs.h >>conftest.$ac_ext
69186 cat >>conftest.$ac_ext <<_ACEOF
69187 /* end confdefs.h.  */
69188 #include <math.h>
69189                       #ifdef HAVE_IEEEFP_H
69190                       #include <ieeefp.h>
69191                       #endif
69192
69193 int
69194 main ()
69195 {
69196  logl(0);
69197   ;
69198   return 0;
69199 }
69200 _ACEOF
69201 rm -f conftest.$ac_objext
69202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69203   (eval $ac_compile) 2>conftest.er1
69204   ac_status=$?
69205   grep -v '^ *+' conftest.er1 >conftest.err
69206   rm -f conftest.er1
69207   cat conftest.err >&5
69208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69209   (exit $ac_status); } &&
69210          { ac_try='test -z "$ac_cxx_werror_flag"
69211                          || test ! -s conftest.err'
69212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69213   (eval $ac_try) 2>&5
69214   ac_status=$?
69215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69216   (exit $ac_status); }; } &&
69217          { ac_try='test -s conftest.$ac_objext'
69218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69219   (eval $ac_try) 2>&5
69220   ac_status=$?
69221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69222   (exit $ac_status); }; }; then
69223   glibcxx_cv_func_logl_use=yes
69224 else
69225   echo "$as_me: failed program was:" >&5
69226 sed 's/^/| /' conftest.$ac_ext >&5
69227
69228 glibcxx_cv_func_logl_use=no
69229 fi
69230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69231       ac_ext=c
69232 ac_cpp='$CPP $CPPFLAGS'
69233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69236
69237
69238 fi
69239
69240   fi
69241   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
69242 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
69243
69244   if test x$glibcxx_cv_func_logl_use = x"yes"; then
69245
69246 for ac_func in logl
69247 do
69248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69249 echo "$as_me:$LINENO: checking for $ac_func" >&5
69250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69251 if eval "test \"\${$as_ac_var+set}\" = set"; then
69252   echo $ECHO_N "(cached) $ECHO_C" >&6
69253 else
69254   if test x$gcc_no_link = xyes; then
69255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69257    { (exit 1); exit 1; }; }
69258 fi
69259 cat >conftest.$ac_ext <<_ACEOF
69260 /* confdefs.h.  */
69261 _ACEOF
69262 cat confdefs.h >>conftest.$ac_ext
69263 cat >>conftest.$ac_ext <<_ACEOF
69264 /* end confdefs.h.  */
69265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69266    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69267 #define $ac_func innocuous_$ac_func
69268
69269 /* System header to define __stub macros and hopefully few prototypes,
69270     which can conflict with char $ac_func (); below.
69271     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69272     <limits.h> exists even on freestanding compilers.  */
69273
69274 #ifdef __STDC__
69275 # include <limits.h>
69276 #else
69277 # include <assert.h>
69278 #endif
69279
69280 #undef $ac_func
69281
69282 /* Override any gcc2 internal prototype to avoid an error.  */
69283 #ifdef __cplusplus
69284 extern "C"
69285 {
69286 #endif
69287 /* We use char because int might match the return type of a gcc2
69288    builtin and then its argument prototype would still apply.  */
69289 char $ac_func ();
69290 /* The GNU C library defines this for functions which it implements
69291     to always fail with ENOSYS.  Some functions are actually named
69292     something starting with __ and the normal name is an alias.  */
69293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69294 choke me
69295 #else
69296 char (*f) () = $ac_func;
69297 #endif
69298 #ifdef __cplusplus
69299 }
69300 #endif
69301
69302 int
69303 main ()
69304 {
69305 return f != $ac_func;
69306   ;
69307   return 0;
69308 }
69309 _ACEOF
69310 rm -f conftest.$ac_objext conftest$ac_exeext
69311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69312   (eval $ac_link) 2>conftest.er1
69313   ac_status=$?
69314   grep -v '^ *+' conftest.er1 >conftest.err
69315   rm -f conftest.er1
69316   cat conftest.err >&5
69317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69318   (exit $ac_status); } &&
69319          { ac_try='test -z "$ac_c_werror_flag"
69320                          || test ! -s conftest.err'
69321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69322   (eval $ac_try) 2>&5
69323   ac_status=$?
69324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69325   (exit $ac_status); }; } &&
69326          { ac_try='test -s conftest$ac_exeext'
69327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69328   (eval $ac_try) 2>&5
69329   ac_status=$?
69330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69331   (exit $ac_status); }; }; then
69332   eval "$as_ac_var=yes"
69333 else
69334   echo "$as_me: failed program was:" >&5
69335 sed 's/^/| /' conftest.$ac_ext >&5
69336
69337 eval "$as_ac_var=no"
69338 fi
69339 rm -f conftest.err conftest.$ac_objext \
69340       conftest$ac_exeext conftest.$ac_ext
69341 fi
69342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69344 if test `eval echo '${'$as_ac_var'}'` = yes; then
69345   cat >>confdefs.h <<_ACEOF
69346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69347 _ACEOF
69348
69349 fi
69350 done
69351
69352   else
69353
69354   echo "$as_me:$LINENO: checking for _logl declaration" >&5
69355 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69356   if test x${glibcxx_cv_func__logl_use+set} != xset; then
69357     if test "${glibcxx_cv_func__logl_use+set}" = set; then
69358   echo $ECHO_N "(cached) $ECHO_C" >&6
69359 else
69360
69361
69362
69363       ac_ext=cc
69364 ac_cpp='$CXXCPP $CPPFLAGS'
69365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69368
69369       cat >conftest.$ac_ext <<_ACEOF
69370 /* confdefs.h.  */
69371 _ACEOF
69372 cat confdefs.h >>conftest.$ac_ext
69373 cat >>conftest.$ac_ext <<_ACEOF
69374 /* end confdefs.h.  */
69375 #include <math.h>
69376                       #ifdef HAVE_IEEEFP_H
69377                       #include <ieeefp.h>
69378                       #endif
69379
69380 int
69381 main ()
69382 {
69383  _logl(0);
69384   ;
69385   return 0;
69386 }
69387 _ACEOF
69388 rm -f conftest.$ac_objext
69389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69390   (eval $ac_compile) 2>conftest.er1
69391   ac_status=$?
69392   grep -v '^ *+' conftest.er1 >conftest.err
69393   rm -f conftest.er1
69394   cat conftest.err >&5
69395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69396   (exit $ac_status); } &&
69397          { ac_try='test -z "$ac_cxx_werror_flag"
69398                          || test ! -s conftest.err'
69399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69400   (eval $ac_try) 2>&5
69401   ac_status=$?
69402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69403   (exit $ac_status); }; } &&
69404          { ac_try='test -s conftest.$ac_objext'
69405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69406   (eval $ac_try) 2>&5
69407   ac_status=$?
69408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69409   (exit $ac_status); }; }; then
69410   glibcxx_cv_func__logl_use=yes
69411 else
69412   echo "$as_me: failed program was:" >&5
69413 sed 's/^/| /' conftest.$ac_ext >&5
69414
69415 glibcxx_cv_func__logl_use=no
69416 fi
69417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69418       ac_ext=c
69419 ac_cpp='$CPP $CPPFLAGS'
69420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69423
69424
69425 fi
69426
69427   fi
69428   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69429 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69430
69431     if test x$glibcxx_cv_func__logl_use = x"yes"; then
69432
69433 for ac_func in _logl
69434 do
69435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69436 echo "$as_me:$LINENO: checking for $ac_func" >&5
69437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69438 if eval "test \"\${$as_ac_var+set}\" = set"; then
69439   echo $ECHO_N "(cached) $ECHO_C" >&6
69440 else
69441   if test x$gcc_no_link = xyes; then
69442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69444    { (exit 1); exit 1; }; }
69445 fi
69446 cat >conftest.$ac_ext <<_ACEOF
69447 /* confdefs.h.  */
69448 _ACEOF
69449 cat confdefs.h >>conftest.$ac_ext
69450 cat >>conftest.$ac_ext <<_ACEOF
69451 /* end confdefs.h.  */
69452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69454 #define $ac_func innocuous_$ac_func
69455
69456 /* System header to define __stub macros and hopefully few prototypes,
69457     which can conflict with char $ac_func (); below.
69458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69459     <limits.h> exists even on freestanding compilers.  */
69460
69461 #ifdef __STDC__
69462 # include <limits.h>
69463 #else
69464 # include <assert.h>
69465 #endif
69466
69467 #undef $ac_func
69468
69469 /* Override any gcc2 internal prototype to avoid an error.  */
69470 #ifdef __cplusplus
69471 extern "C"
69472 {
69473 #endif
69474 /* We use char because int might match the return type of a gcc2
69475    builtin and then its argument prototype would still apply.  */
69476 char $ac_func ();
69477 /* The GNU C library defines this for functions which it implements
69478     to always fail with ENOSYS.  Some functions are actually named
69479     something starting with __ and the normal name is an alias.  */
69480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69481 choke me
69482 #else
69483 char (*f) () = $ac_func;
69484 #endif
69485 #ifdef __cplusplus
69486 }
69487 #endif
69488
69489 int
69490 main ()
69491 {
69492 return f != $ac_func;
69493   ;
69494   return 0;
69495 }
69496 _ACEOF
69497 rm -f conftest.$ac_objext conftest$ac_exeext
69498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69499   (eval $ac_link) 2>conftest.er1
69500   ac_status=$?
69501   grep -v '^ *+' conftest.er1 >conftest.err
69502   rm -f conftest.er1
69503   cat conftest.err >&5
69504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69505   (exit $ac_status); } &&
69506          { ac_try='test -z "$ac_c_werror_flag"
69507                          || test ! -s conftest.err'
69508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69509   (eval $ac_try) 2>&5
69510   ac_status=$?
69511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69512   (exit $ac_status); }; } &&
69513          { ac_try='test -s conftest$ac_exeext'
69514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69515   (eval $ac_try) 2>&5
69516   ac_status=$?
69517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69518   (exit $ac_status); }; }; then
69519   eval "$as_ac_var=yes"
69520 else
69521   echo "$as_me: failed program was:" >&5
69522 sed 's/^/| /' conftest.$ac_ext >&5
69523
69524 eval "$as_ac_var=no"
69525 fi
69526 rm -f conftest.err conftest.$ac_objext \
69527       conftest$ac_exeext conftest.$ac_ext
69528 fi
69529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69531 if test `eval echo '${'$as_ac_var'}'` = yes; then
69532   cat >>confdefs.h <<_ACEOF
69533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69534 _ACEOF
69535
69536 fi
69537 done
69538
69539     fi
69540   fi
69541
69542
69543
69544
69545
69546
69547   echo "$as_me:$LINENO: checking for log10l declaration" >&5
69548 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69549   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69550     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69551   echo $ECHO_N "(cached) $ECHO_C" >&6
69552 else
69553
69554
69555
69556       ac_ext=cc
69557 ac_cpp='$CXXCPP $CPPFLAGS'
69558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69561
69562       cat >conftest.$ac_ext <<_ACEOF
69563 /* confdefs.h.  */
69564 _ACEOF
69565 cat confdefs.h >>conftest.$ac_ext
69566 cat >>conftest.$ac_ext <<_ACEOF
69567 /* end confdefs.h.  */
69568 #include <math.h>
69569                       #ifdef HAVE_IEEEFP_H
69570                       #include <ieeefp.h>
69571                       #endif
69572
69573 int
69574 main ()
69575 {
69576  log10l(0);
69577   ;
69578   return 0;
69579 }
69580 _ACEOF
69581 rm -f conftest.$ac_objext
69582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69583   (eval $ac_compile) 2>conftest.er1
69584   ac_status=$?
69585   grep -v '^ *+' conftest.er1 >conftest.err
69586   rm -f conftest.er1
69587   cat conftest.err >&5
69588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69589   (exit $ac_status); } &&
69590          { ac_try='test -z "$ac_cxx_werror_flag"
69591                          || test ! -s conftest.err'
69592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69593   (eval $ac_try) 2>&5
69594   ac_status=$?
69595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69596   (exit $ac_status); }; } &&
69597          { ac_try='test -s conftest.$ac_objext'
69598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69599   (eval $ac_try) 2>&5
69600   ac_status=$?
69601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69602   (exit $ac_status); }; }; then
69603   glibcxx_cv_func_log10l_use=yes
69604 else
69605   echo "$as_me: failed program was:" >&5
69606 sed 's/^/| /' conftest.$ac_ext >&5
69607
69608 glibcxx_cv_func_log10l_use=no
69609 fi
69610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69611       ac_ext=c
69612 ac_cpp='$CPP $CPPFLAGS'
69613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69616
69617
69618 fi
69619
69620   fi
69621   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69622 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69623
69624   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69625
69626 for ac_func in log10l
69627 do
69628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69629 echo "$as_me:$LINENO: checking for $ac_func" >&5
69630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69631 if eval "test \"\${$as_ac_var+set}\" = set"; then
69632   echo $ECHO_N "(cached) $ECHO_C" >&6
69633 else
69634   if test x$gcc_no_link = xyes; then
69635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69637    { (exit 1); exit 1; }; }
69638 fi
69639 cat >conftest.$ac_ext <<_ACEOF
69640 /* confdefs.h.  */
69641 _ACEOF
69642 cat confdefs.h >>conftest.$ac_ext
69643 cat >>conftest.$ac_ext <<_ACEOF
69644 /* end confdefs.h.  */
69645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69646    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69647 #define $ac_func innocuous_$ac_func
69648
69649 /* System header to define __stub macros and hopefully few prototypes,
69650     which can conflict with char $ac_func (); below.
69651     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69652     <limits.h> exists even on freestanding compilers.  */
69653
69654 #ifdef __STDC__
69655 # include <limits.h>
69656 #else
69657 # include <assert.h>
69658 #endif
69659
69660 #undef $ac_func
69661
69662 /* Override any gcc2 internal prototype to avoid an error.  */
69663 #ifdef __cplusplus
69664 extern "C"
69665 {
69666 #endif
69667 /* We use char because int might match the return type of a gcc2
69668    builtin and then its argument prototype would still apply.  */
69669 char $ac_func ();
69670 /* The GNU C library defines this for functions which it implements
69671     to always fail with ENOSYS.  Some functions are actually named
69672     something starting with __ and the normal name is an alias.  */
69673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69674 choke me
69675 #else
69676 char (*f) () = $ac_func;
69677 #endif
69678 #ifdef __cplusplus
69679 }
69680 #endif
69681
69682 int
69683 main ()
69684 {
69685 return f != $ac_func;
69686   ;
69687   return 0;
69688 }
69689 _ACEOF
69690 rm -f conftest.$ac_objext conftest$ac_exeext
69691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69692   (eval $ac_link) 2>conftest.er1
69693   ac_status=$?
69694   grep -v '^ *+' conftest.er1 >conftest.err
69695   rm -f conftest.er1
69696   cat conftest.err >&5
69697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69698   (exit $ac_status); } &&
69699          { ac_try='test -z "$ac_c_werror_flag"
69700                          || test ! -s conftest.err'
69701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69702   (eval $ac_try) 2>&5
69703   ac_status=$?
69704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69705   (exit $ac_status); }; } &&
69706          { ac_try='test -s conftest$ac_exeext'
69707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69708   (eval $ac_try) 2>&5
69709   ac_status=$?
69710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69711   (exit $ac_status); }; }; then
69712   eval "$as_ac_var=yes"
69713 else
69714   echo "$as_me: failed program was:" >&5
69715 sed 's/^/| /' conftest.$ac_ext >&5
69716
69717 eval "$as_ac_var=no"
69718 fi
69719 rm -f conftest.err conftest.$ac_objext \
69720       conftest$ac_exeext conftest.$ac_ext
69721 fi
69722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69724 if test `eval echo '${'$as_ac_var'}'` = yes; then
69725   cat >>confdefs.h <<_ACEOF
69726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69727 _ACEOF
69728
69729 fi
69730 done
69731
69732   else
69733
69734   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69735 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69736   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69737     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69738   echo $ECHO_N "(cached) $ECHO_C" >&6
69739 else
69740
69741
69742
69743       ac_ext=cc
69744 ac_cpp='$CXXCPP $CPPFLAGS'
69745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69748
69749       cat >conftest.$ac_ext <<_ACEOF
69750 /* confdefs.h.  */
69751 _ACEOF
69752 cat confdefs.h >>conftest.$ac_ext
69753 cat >>conftest.$ac_ext <<_ACEOF
69754 /* end confdefs.h.  */
69755 #include <math.h>
69756                       #ifdef HAVE_IEEEFP_H
69757                       #include <ieeefp.h>
69758                       #endif
69759
69760 int
69761 main ()
69762 {
69763  _log10l(0);
69764   ;
69765   return 0;
69766 }
69767 _ACEOF
69768 rm -f conftest.$ac_objext
69769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69770   (eval $ac_compile) 2>conftest.er1
69771   ac_status=$?
69772   grep -v '^ *+' conftest.er1 >conftest.err
69773   rm -f conftest.er1
69774   cat conftest.err >&5
69775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69776   (exit $ac_status); } &&
69777          { ac_try='test -z "$ac_cxx_werror_flag"
69778                          || test ! -s conftest.err'
69779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69780   (eval $ac_try) 2>&5
69781   ac_status=$?
69782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69783   (exit $ac_status); }; } &&
69784          { ac_try='test -s conftest.$ac_objext'
69785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69786   (eval $ac_try) 2>&5
69787   ac_status=$?
69788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69789   (exit $ac_status); }; }; then
69790   glibcxx_cv_func__log10l_use=yes
69791 else
69792   echo "$as_me: failed program was:" >&5
69793 sed 's/^/| /' conftest.$ac_ext >&5
69794
69795 glibcxx_cv_func__log10l_use=no
69796 fi
69797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69798       ac_ext=c
69799 ac_cpp='$CPP $CPPFLAGS'
69800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69803
69804
69805 fi
69806
69807   fi
69808   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69809 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69810
69811     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69812
69813 for ac_func in _log10l
69814 do
69815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69816 echo "$as_me:$LINENO: checking for $ac_func" >&5
69817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69818 if eval "test \"\${$as_ac_var+set}\" = set"; then
69819   echo $ECHO_N "(cached) $ECHO_C" >&6
69820 else
69821   if test x$gcc_no_link = xyes; then
69822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69824    { (exit 1); exit 1; }; }
69825 fi
69826 cat >conftest.$ac_ext <<_ACEOF
69827 /* confdefs.h.  */
69828 _ACEOF
69829 cat confdefs.h >>conftest.$ac_ext
69830 cat >>conftest.$ac_ext <<_ACEOF
69831 /* end confdefs.h.  */
69832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69834 #define $ac_func innocuous_$ac_func
69835
69836 /* System header to define __stub macros and hopefully few prototypes,
69837     which can conflict with char $ac_func (); below.
69838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69839     <limits.h> exists even on freestanding compilers.  */
69840
69841 #ifdef __STDC__
69842 # include <limits.h>
69843 #else
69844 # include <assert.h>
69845 #endif
69846
69847 #undef $ac_func
69848
69849 /* Override any gcc2 internal prototype to avoid an error.  */
69850 #ifdef __cplusplus
69851 extern "C"
69852 {
69853 #endif
69854 /* We use char because int might match the return type of a gcc2
69855    builtin and then its argument prototype would still apply.  */
69856 char $ac_func ();
69857 /* The GNU C library defines this for functions which it implements
69858     to always fail with ENOSYS.  Some functions are actually named
69859     something starting with __ and the normal name is an alias.  */
69860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69861 choke me
69862 #else
69863 char (*f) () = $ac_func;
69864 #endif
69865 #ifdef __cplusplus
69866 }
69867 #endif
69868
69869 int
69870 main ()
69871 {
69872 return f != $ac_func;
69873   ;
69874   return 0;
69875 }
69876 _ACEOF
69877 rm -f conftest.$ac_objext conftest$ac_exeext
69878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69879   (eval $ac_link) 2>conftest.er1
69880   ac_status=$?
69881   grep -v '^ *+' conftest.er1 >conftest.err
69882   rm -f conftest.er1
69883   cat conftest.err >&5
69884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69885   (exit $ac_status); } &&
69886          { ac_try='test -z "$ac_c_werror_flag"
69887                          || test ! -s conftest.err'
69888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69889   (eval $ac_try) 2>&5
69890   ac_status=$?
69891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69892   (exit $ac_status); }; } &&
69893          { ac_try='test -s conftest$ac_exeext'
69894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69895   (eval $ac_try) 2>&5
69896   ac_status=$?
69897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69898   (exit $ac_status); }; }; then
69899   eval "$as_ac_var=yes"
69900 else
69901   echo "$as_me: failed program was:" >&5
69902 sed 's/^/| /' conftest.$ac_ext >&5
69903
69904 eval "$as_ac_var=no"
69905 fi
69906 rm -f conftest.err conftest.$ac_objext \
69907       conftest$ac_exeext conftest.$ac_ext
69908 fi
69909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69911 if test `eval echo '${'$as_ac_var'}'` = yes; then
69912   cat >>confdefs.h <<_ACEOF
69913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69914 _ACEOF
69915
69916 fi
69917 done
69918
69919     fi
69920   fi
69921
69922
69923
69924
69925
69926
69927   echo "$as_me:$LINENO: checking for modfl declaration" >&5
69928 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69929   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69930     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69931   echo $ECHO_N "(cached) $ECHO_C" >&6
69932 else
69933
69934
69935
69936       ac_ext=cc
69937 ac_cpp='$CXXCPP $CPPFLAGS'
69938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69941
69942       cat >conftest.$ac_ext <<_ACEOF
69943 /* confdefs.h.  */
69944 _ACEOF
69945 cat confdefs.h >>conftest.$ac_ext
69946 cat >>conftest.$ac_ext <<_ACEOF
69947 /* end confdefs.h.  */
69948 #include <math.h>
69949 int
69950 main ()
69951 {
69952  modfl(0, 0);
69953   ;
69954   return 0;
69955 }
69956 _ACEOF
69957 rm -f conftest.$ac_objext
69958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69959   (eval $ac_compile) 2>conftest.er1
69960   ac_status=$?
69961   grep -v '^ *+' conftest.er1 >conftest.err
69962   rm -f conftest.er1
69963   cat conftest.err >&5
69964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69965   (exit $ac_status); } &&
69966          { ac_try='test -z "$ac_cxx_werror_flag"
69967                          || test ! -s conftest.err'
69968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69969   (eval $ac_try) 2>&5
69970   ac_status=$?
69971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69972   (exit $ac_status); }; } &&
69973          { ac_try='test -s conftest.$ac_objext'
69974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69975   (eval $ac_try) 2>&5
69976   ac_status=$?
69977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69978   (exit $ac_status); }; }; then
69979   glibcxx_cv_func_modfl_use=yes
69980 else
69981   echo "$as_me: failed program was:" >&5
69982 sed 's/^/| /' conftest.$ac_ext >&5
69983
69984 glibcxx_cv_func_modfl_use=no
69985 fi
69986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69987       ac_ext=c
69988 ac_cpp='$CPP $CPPFLAGS'
69989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69992
69993
69994 fi
69995
69996   fi
69997   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69998 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69999
70000   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70001
70002 for ac_func in modfl
70003 do
70004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70005 echo "$as_me:$LINENO: checking for $ac_func" >&5
70006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70007 if eval "test \"\${$as_ac_var+set}\" = set"; then
70008   echo $ECHO_N "(cached) $ECHO_C" >&6
70009 else
70010   if test x$gcc_no_link = xyes; then
70011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70013    { (exit 1); exit 1; }; }
70014 fi
70015 cat >conftest.$ac_ext <<_ACEOF
70016 /* confdefs.h.  */
70017 _ACEOF
70018 cat confdefs.h >>conftest.$ac_ext
70019 cat >>conftest.$ac_ext <<_ACEOF
70020 /* end confdefs.h.  */
70021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70023 #define $ac_func innocuous_$ac_func
70024
70025 /* System header to define __stub macros and hopefully few prototypes,
70026     which can conflict with char $ac_func (); below.
70027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70028     <limits.h> exists even on freestanding compilers.  */
70029
70030 #ifdef __STDC__
70031 # include <limits.h>
70032 #else
70033 # include <assert.h>
70034 #endif
70035
70036 #undef $ac_func
70037
70038 /* Override any gcc2 internal prototype to avoid an error.  */
70039 #ifdef __cplusplus
70040 extern "C"
70041 {
70042 #endif
70043 /* We use char because int might match the return type of a gcc2
70044    builtin and then its argument prototype would still apply.  */
70045 char $ac_func ();
70046 /* The GNU C library defines this for functions which it implements
70047     to always fail with ENOSYS.  Some functions are actually named
70048     something starting with __ and the normal name is an alias.  */
70049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70050 choke me
70051 #else
70052 char (*f) () = $ac_func;
70053 #endif
70054 #ifdef __cplusplus
70055 }
70056 #endif
70057
70058 int
70059 main ()
70060 {
70061 return f != $ac_func;
70062   ;
70063   return 0;
70064 }
70065 _ACEOF
70066 rm -f conftest.$ac_objext conftest$ac_exeext
70067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70068   (eval $ac_link) 2>conftest.er1
70069   ac_status=$?
70070   grep -v '^ *+' conftest.er1 >conftest.err
70071   rm -f conftest.er1
70072   cat conftest.err >&5
70073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70074   (exit $ac_status); } &&
70075          { ac_try='test -z "$ac_c_werror_flag"
70076                          || test ! -s conftest.err'
70077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70078   (eval $ac_try) 2>&5
70079   ac_status=$?
70080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70081   (exit $ac_status); }; } &&
70082          { ac_try='test -s conftest$ac_exeext'
70083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70084   (eval $ac_try) 2>&5
70085   ac_status=$?
70086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70087   (exit $ac_status); }; }; then
70088   eval "$as_ac_var=yes"
70089 else
70090   echo "$as_me: failed program was:" >&5
70091 sed 's/^/| /' conftest.$ac_ext >&5
70092
70093 eval "$as_ac_var=no"
70094 fi
70095 rm -f conftest.err conftest.$ac_objext \
70096       conftest$ac_exeext conftest.$ac_ext
70097 fi
70098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70100 if test `eval echo '${'$as_ac_var'}'` = yes; then
70101   cat >>confdefs.h <<_ACEOF
70102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70103 _ACEOF
70104
70105 fi
70106 done
70107
70108   else
70109
70110   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
70111 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
70112   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70113     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
70114   echo $ECHO_N "(cached) $ECHO_C" >&6
70115 else
70116
70117
70118
70119       ac_ext=cc
70120 ac_cpp='$CXXCPP $CPPFLAGS'
70121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70124
70125       cat >conftest.$ac_ext <<_ACEOF
70126 /* confdefs.h.  */
70127 _ACEOF
70128 cat confdefs.h >>conftest.$ac_ext
70129 cat >>conftest.$ac_ext <<_ACEOF
70130 /* end confdefs.h.  */
70131 #include <math.h>
70132 int
70133 main ()
70134 {
70135  _modfl(0, 0);
70136   ;
70137   return 0;
70138 }
70139 _ACEOF
70140 rm -f conftest.$ac_objext
70141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70142   (eval $ac_compile) 2>conftest.er1
70143   ac_status=$?
70144   grep -v '^ *+' conftest.er1 >conftest.err
70145   rm -f conftest.er1
70146   cat conftest.err >&5
70147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70148   (exit $ac_status); } &&
70149          { ac_try='test -z "$ac_cxx_werror_flag"
70150                          || test ! -s conftest.err'
70151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70152   (eval $ac_try) 2>&5
70153   ac_status=$?
70154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70155   (exit $ac_status); }; } &&
70156          { ac_try='test -s conftest.$ac_objext'
70157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70158   (eval $ac_try) 2>&5
70159   ac_status=$?
70160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70161   (exit $ac_status); }; }; then
70162   glibcxx_cv_func__modfl_use=yes
70163 else
70164   echo "$as_me: failed program was:" >&5
70165 sed 's/^/| /' conftest.$ac_ext >&5
70166
70167 glibcxx_cv_func__modfl_use=no
70168 fi
70169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70170       ac_ext=c
70171 ac_cpp='$CPP $CPPFLAGS'
70172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70175
70176
70177 fi
70178
70179   fi
70180   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
70181 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
70182
70183     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70184
70185 for ac_func in _modfl
70186 do
70187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70188 echo "$as_me:$LINENO: checking for $ac_func" >&5
70189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70190 if eval "test \"\${$as_ac_var+set}\" = set"; then
70191   echo $ECHO_N "(cached) $ECHO_C" >&6
70192 else
70193   if test x$gcc_no_link = xyes; then
70194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70196    { (exit 1); exit 1; }; }
70197 fi
70198 cat >conftest.$ac_ext <<_ACEOF
70199 /* confdefs.h.  */
70200 _ACEOF
70201 cat confdefs.h >>conftest.$ac_ext
70202 cat >>conftest.$ac_ext <<_ACEOF
70203 /* end confdefs.h.  */
70204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70205    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70206 #define $ac_func innocuous_$ac_func
70207
70208 /* System header to define __stub macros and hopefully few prototypes,
70209     which can conflict with char $ac_func (); below.
70210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70211     <limits.h> exists even on freestanding compilers.  */
70212
70213 #ifdef __STDC__
70214 # include <limits.h>
70215 #else
70216 # include <assert.h>
70217 #endif
70218
70219 #undef $ac_func
70220
70221 /* Override any gcc2 internal prototype to avoid an error.  */
70222 #ifdef __cplusplus
70223 extern "C"
70224 {
70225 #endif
70226 /* We use char because int might match the return type of a gcc2
70227    builtin and then its argument prototype would still apply.  */
70228 char $ac_func ();
70229 /* The GNU C library defines this for functions which it implements
70230     to always fail with ENOSYS.  Some functions are actually named
70231     something starting with __ and the normal name is an alias.  */
70232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70233 choke me
70234 #else
70235 char (*f) () = $ac_func;
70236 #endif
70237 #ifdef __cplusplus
70238 }
70239 #endif
70240
70241 int
70242 main ()
70243 {
70244 return f != $ac_func;
70245   ;
70246   return 0;
70247 }
70248 _ACEOF
70249 rm -f conftest.$ac_objext conftest$ac_exeext
70250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70251   (eval $ac_link) 2>conftest.er1
70252   ac_status=$?
70253   grep -v '^ *+' conftest.er1 >conftest.err
70254   rm -f conftest.er1
70255   cat conftest.err >&5
70256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70257   (exit $ac_status); } &&
70258          { ac_try='test -z "$ac_c_werror_flag"
70259                          || test ! -s conftest.err'
70260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70261   (eval $ac_try) 2>&5
70262   ac_status=$?
70263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70264   (exit $ac_status); }; } &&
70265          { ac_try='test -s conftest$ac_exeext'
70266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70267   (eval $ac_try) 2>&5
70268   ac_status=$?
70269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70270   (exit $ac_status); }; }; then
70271   eval "$as_ac_var=yes"
70272 else
70273   echo "$as_me: failed program was:" >&5
70274 sed 's/^/| /' conftest.$ac_ext >&5
70275
70276 eval "$as_ac_var=no"
70277 fi
70278 rm -f conftest.err conftest.$ac_objext \
70279       conftest$ac_exeext conftest.$ac_ext
70280 fi
70281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70283 if test `eval echo '${'$as_ac_var'}'` = yes; then
70284   cat >>confdefs.h <<_ACEOF
70285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70286 _ACEOF
70287
70288 fi
70289 done
70290
70291     fi
70292   fi
70293
70294
70295
70296
70297
70298
70299   echo "$as_me:$LINENO: checking for powl declaration" >&5
70300 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
70301   if test x${glibcxx_cv_func_powl_use+set} != xset; then
70302     if test "${glibcxx_cv_func_powl_use+set}" = set; then
70303   echo $ECHO_N "(cached) $ECHO_C" >&6
70304 else
70305
70306
70307
70308       ac_ext=cc
70309 ac_cpp='$CXXCPP $CPPFLAGS'
70310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70313
70314       cat >conftest.$ac_ext <<_ACEOF
70315 /* confdefs.h.  */
70316 _ACEOF
70317 cat confdefs.h >>conftest.$ac_ext
70318 cat >>conftest.$ac_ext <<_ACEOF
70319 /* end confdefs.h.  */
70320 #include <math.h>
70321 int
70322 main ()
70323 {
70324  powl(0, 0);
70325   ;
70326   return 0;
70327 }
70328 _ACEOF
70329 rm -f conftest.$ac_objext
70330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70331   (eval $ac_compile) 2>conftest.er1
70332   ac_status=$?
70333   grep -v '^ *+' conftest.er1 >conftest.err
70334   rm -f conftest.er1
70335   cat conftest.err >&5
70336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70337   (exit $ac_status); } &&
70338          { ac_try='test -z "$ac_cxx_werror_flag"
70339                          || test ! -s conftest.err'
70340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70341   (eval $ac_try) 2>&5
70342   ac_status=$?
70343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70344   (exit $ac_status); }; } &&
70345          { ac_try='test -s conftest.$ac_objext'
70346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70347   (eval $ac_try) 2>&5
70348   ac_status=$?
70349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70350   (exit $ac_status); }; }; then
70351   glibcxx_cv_func_powl_use=yes
70352 else
70353   echo "$as_me: failed program was:" >&5
70354 sed 's/^/| /' conftest.$ac_ext >&5
70355
70356 glibcxx_cv_func_powl_use=no
70357 fi
70358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70359       ac_ext=c
70360 ac_cpp='$CPP $CPPFLAGS'
70361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70364
70365
70366 fi
70367
70368   fi
70369   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70370 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70371
70372   if test x$glibcxx_cv_func_powl_use = x"yes"; then
70373
70374 for ac_func in powl
70375 do
70376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70377 echo "$as_me:$LINENO: checking for $ac_func" >&5
70378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70379 if eval "test \"\${$as_ac_var+set}\" = set"; then
70380   echo $ECHO_N "(cached) $ECHO_C" >&6
70381 else
70382   if test x$gcc_no_link = xyes; then
70383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70385    { (exit 1); exit 1; }; }
70386 fi
70387 cat >conftest.$ac_ext <<_ACEOF
70388 /* confdefs.h.  */
70389 _ACEOF
70390 cat confdefs.h >>conftest.$ac_ext
70391 cat >>conftest.$ac_ext <<_ACEOF
70392 /* end confdefs.h.  */
70393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70394    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70395 #define $ac_func innocuous_$ac_func
70396
70397 /* System header to define __stub macros and hopefully few prototypes,
70398     which can conflict with char $ac_func (); below.
70399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70400     <limits.h> exists even on freestanding compilers.  */
70401
70402 #ifdef __STDC__
70403 # include <limits.h>
70404 #else
70405 # include <assert.h>
70406 #endif
70407
70408 #undef $ac_func
70409
70410 /* Override any gcc2 internal prototype to avoid an error.  */
70411 #ifdef __cplusplus
70412 extern "C"
70413 {
70414 #endif
70415 /* We use char because int might match the return type of a gcc2
70416    builtin and then its argument prototype would still apply.  */
70417 char $ac_func ();
70418 /* The GNU C library defines this for functions which it implements
70419     to always fail with ENOSYS.  Some functions are actually named
70420     something starting with __ and the normal name is an alias.  */
70421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70422 choke me
70423 #else
70424 char (*f) () = $ac_func;
70425 #endif
70426 #ifdef __cplusplus
70427 }
70428 #endif
70429
70430 int
70431 main ()
70432 {
70433 return f != $ac_func;
70434   ;
70435   return 0;
70436 }
70437 _ACEOF
70438 rm -f conftest.$ac_objext conftest$ac_exeext
70439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70440   (eval $ac_link) 2>conftest.er1
70441   ac_status=$?
70442   grep -v '^ *+' conftest.er1 >conftest.err
70443   rm -f conftest.er1
70444   cat conftest.err >&5
70445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70446   (exit $ac_status); } &&
70447          { ac_try='test -z "$ac_c_werror_flag"
70448                          || test ! -s conftest.err'
70449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70450   (eval $ac_try) 2>&5
70451   ac_status=$?
70452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70453   (exit $ac_status); }; } &&
70454          { ac_try='test -s conftest$ac_exeext'
70455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70456   (eval $ac_try) 2>&5
70457   ac_status=$?
70458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70459   (exit $ac_status); }; }; then
70460   eval "$as_ac_var=yes"
70461 else
70462   echo "$as_me: failed program was:" >&5
70463 sed 's/^/| /' conftest.$ac_ext >&5
70464
70465 eval "$as_ac_var=no"
70466 fi
70467 rm -f conftest.err conftest.$ac_objext \
70468       conftest$ac_exeext conftest.$ac_ext
70469 fi
70470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70472 if test `eval echo '${'$as_ac_var'}'` = yes; then
70473   cat >>confdefs.h <<_ACEOF
70474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70475 _ACEOF
70476
70477 fi
70478 done
70479
70480   else
70481
70482   echo "$as_me:$LINENO: checking for _powl declaration" >&5
70483 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70484   if test x${glibcxx_cv_func__powl_use+set} != xset; then
70485     if test "${glibcxx_cv_func__powl_use+set}" = set; then
70486   echo $ECHO_N "(cached) $ECHO_C" >&6
70487 else
70488
70489
70490
70491       ac_ext=cc
70492 ac_cpp='$CXXCPP $CPPFLAGS'
70493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70496
70497       cat >conftest.$ac_ext <<_ACEOF
70498 /* confdefs.h.  */
70499 _ACEOF
70500 cat confdefs.h >>conftest.$ac_ext
70501 cat >>conftest.$ac_ext <<_ACEOF
70502 /* end confdefs.h.  */
70503 #include <math.h>
70504 int
70505 main ()
70506 {
70507  _powl(0, 0);
70508   ;
70509   return 0;
70510 }
70511 _ACEOF
70512 rm -f conftest.$ac_objext
70513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70514   (eval $ac_compile) 2>conftest.er1
70515   ac_status=$?
70516   grep -v '^ *+' conftest.er1 >conftest.err
70517   rm -f conftest.er1
70518   cat conftest.err >&5
70519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70520   (exit $ac_status); } &&
70521          { ac_try='test -z "$ac_cxx_werror_flag"
70522                          || test ! -s conftest.err'
70523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70524   (eval $ac_try) 2>&5
70525   ac_status=$?
70526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70527   (exit $ac_status); }; } &&
70528          { ac_try='test -s conftest.$ac_objext'
70529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70530   (eval $ac_try) 2>&5
70531   ac_status=$?
70532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70533   (exit $ac_status); }; }; then
70534   glibcxx_cv_func__powl_use=yes
70535 else
70536   echo "$as_me: failed program was:" >&5
70537 sed 's/^/| /' conftest.$ac_ext >&5
70538
70539 glibcxx_cv_func__powl_use=no
70540 fi
70541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70542       ac_ext=c
70543 ac_cpp='$CPP $CPPFLAGS'
70544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70547
70548
70549 fi
70550
70551   fi
70552   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70553 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70554
70555     if test x$glibcxx_cv_func__powl_use = x"yes"; then
70556
70557 for ac_func in _powl
70558 do
70559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70560 echo "$as_me:$LINENO: checking for $ac_func" >&5
70561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70562 if eval "test \"\${$as_ac_var+set}\" = set"; then
70563   echo $ECHO_N "(cached) $ECHO_C" >&6
70564 else
70565   if test x$gcc_no_link = xyes; then
70566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70568    { (exit 1); exit 1; }; }
70569 fi
70570 cat >conftest.$ac_ext <<_ACEOF
70571 /* confdefs.h.  */
70572 _ACEOF
70573 cat confdefs.h >>conftest.$ac_ext
70574 cat >>conftest.$ac_ext <<_ACEOF
70575 /* end confdefs.h.  */
70576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70577    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70578 #define $ac_func innocuous_$ac_func
70579
70580 /* System header to define __stub macros and hopefully few prototypes,
70581     which can conflict with char $ac_func (); below.
70582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70583     <limits.h> exists even on freestanding compilers.  */
70584
70585 #ifdef __STDC__
70586 # include <limits.h>
70587 #else
70588 # include <assert.h>
70589 #endif
70590
70591 #undef $ac_func
70592
70593 /* Override any gcc2 internal prototype to avoid an error.  */
70594 #ifdef __cplusplus
70595 extern "C"
70596 {
70597 #endif
70598 /* We use char because int might match the return type of a gcc2
70599    builtin and then its argument prototype would still apply.  */
70600 char $ac_func ();
70601 /* The GNU C library defines this for functions which it implements
70602     to always fail with ENOSYS.  Some functions are actually named
70603     something starting with __ and the normal name is an alias.  */
70604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70605 choke me
70606 #else
70607 char (*f) () = $ac_func;
70608 #endif
70609 #ifdef __cplusplus
70610 }
70611 #endif
70612
70613 int
70614 main ()
70615 {
70616 return f != $ac_func;
70617   ;
70618   return 0;
70619 }
70620 _ACEOF
70621 rm -f conftest.$ac_objext conftest$ac_exeext
70622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70623   (eval $ac_link) 2>conftest.er1
70624   ac_status=$?
70625   grep -v '^ *+' conftest.er1 >conftest.err
70626   rm -f conftest.er1
70627   cat conftest.err >&5
70628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70629   (exit $ac_status); } &&
70630          { ac_try='test -z "$ac_c_werror_flag"
70631                          || test ! -s conftest.err'
70632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70633   (eval $ac_try) 2>&5
70634   ac_status=$?
70635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70636   (exit $ac_status); }; } &&
70637          { ac_try='test -s conftest$ac_exeext'
70638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70639   (eval $ac_try) 2>&5
70640   ac_status=$?
70641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70642   (exit $ac_status); }; }; then
70643   eval "$as_ac_var=yes"
70644 else
70645   echo "$as_me: failed program was:" >&5
70646 sed 's/^/| /' conftest.$ac_ext >&5
70647
70648 eval "$as_ac_var=no"
70649 fi
70650 rm -f conftest.err conftest.$ac_objext \
70651       conftest$ac_exeext conftest.$ac_ext
70652 fi
70653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70655 if test `eval echo '${'$as_ac_var'}'` = yes; then
70656   cat >>confdefs.h <<_ACEOF
70657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70658 _ACEOF
70659
70660 fi
70661 done
70662
70663     fi
70664   fi
70665
70666
70667
70668
70669
70670
70671   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70672 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70673   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70674     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70675   echo $ECHO_N "(cached) $ECHO_C" >&6
70676 else
70677
70678
70679
70680       ac_ext=cc
70681 ac_cpp='$CXXCPP $CPPFLAGS'
70682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70685
70686       cat >conftest.$ac_ext <<_ACEOF
70687 /* confdefs.h.  */
70688 _ACEOF
70689 cat confdefs.h >>conftest.$ac_ext
70690 cat >>conftest.$ac_ext <<_ACEOF
70691 /* end confdefs.h.  */
70692 #include <math.h>
70693                       #ifdef HAVE_IEEEFP_H
70694                       #include <ieeefp.h>
70695                       #endif
70696
70697 int
70698 main ()
70699 {
70700  sqrtl(0);
70701   ;
70702   return 0;
70703 }
70704 _ACEOF
70705 rm -f conftest.$ac_objext
70706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70707   (eval $ac_compile) 2>conftest.er1
70708   ac_status=$?
70709   grep -v '^ *+' conftest.er1 >conftest.err
70710   rm -f conftest.er1
70711   cat conftest.err >&5
70712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70713   (exit $ac_status); } &&
70714          { ac_try='test -z "$ac_cxx_werror_flag"
70715                          || test ! -s conftest.err'
70716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70717   (eval $ac_try) 2>&5
70718   ac_status=$?
70719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70720   (exit $ac_status); }; } &&
70721          { ac_try='test -s conftest.$ac_objext'
70722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70723   (eval $ac_try) 2>&5
70724   ac_status=$?
70725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70726   (exit $ac_status); }; }; then
70727   glibcxx_cv_func_sqrtl_use=yes
70728 else
70729   echo "$as_me: failed program was:" >&5
70730 sed 's/^/| /' conftest.$ac_ext >&5
70731
70732 glibcxx_cv_func_sqrtl_use=no
70733 fi
70734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70735       ac_ext=c
70736 ac_cpp='$CPP $CPPFLAGS'
70737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70740
70741
70742 fi
70743
70744   fi
70745   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70746 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70747
70748   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70749
70750 for ac_func in sqrtl
70751 do
70752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70753 echo "$as_me:$LINENO: checking for $ac_func" >&5
70754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70755 if eval "test \"\${$as_ac_var+set}\" = set"; then
70756   echo $ECHO_N "(cached) $ECHO_C" >&6
70757 else
70758   if test x$gcc_no_link = xyes; then
70759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70761    { (exit 1); exit 1; }; }
70762 fi
70763 cat >conftest.$ac_ext <<_ACEOF
70764 /* confdefs.h.  */
70765 _ACEOF
70766 cat confdefs.h >>conftest.$ac_ext
70767 cat >>conftest.$ac_ext <<_ACEOF
70768 /* end confdefs.h.  */
70769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70771 #define $ac_func innocuous_$ac_func
70772
70773 /* System header to define __stub macros and hopefully few prototypes,
70774     which can conflict with char $ac_func (); below.
70775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70776     <limits.h> exists even on freestanding compilers.  */
70777
70778 #ifdef __STDC__
70779 # include <limits.h>
70780 #else
70781 # include <assert.h>
70782 #endif
70783
70784 #undef $ac_func
70785
70786 /* Override any gcc2 internal prototype to avoid an error.  */
70787 #ifdef __cplusplus
70788 extern "C"
70789 {
70790 #endif
70791 /* We use char because int might match the return type of a gcc2
70792    builtin and then its argument prototype would still apply.  */
70793 char $ac_func ();
70794 /* The GNU C library defines this for functions which it implements
70795     to always fail with ENOSYS.  Some functions are actually named
70796     something starting with __ and the normal name is an alias.  */
70797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70798 choke me
70799 #else
70800 char (*f) () = $ac_func;
70801 #endif
70802 #ifdef __cplusplus
70803 }
70804 #endif
70805
70806 int
70807 main ()
70808 {
70809 return f != $ac_func;
70810   ;
70811   return 0;
70812 }
70813 _ACEOF
70814 rm -f conftest.$ac_objext conftest$ac_exeext
70815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70816   (eval $ac_link) 2>conftest.er1
70817   ac_status=$?
70818   grep -v '^ *+' conftest.er1 >conftest.err
70819   rm -f conftest.er1
70820   cat conftest.err >&5
70821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70822   (exit $ac_status); } &&
70823          { ac_try='test -z "$ac_c_werror_flag"
70824                          || test ! -s conftest.err'
70825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70826   (eval $ac_try) 2>&5
70827   ac_status=$?
70828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70829   (exit $ac_status); }; } &&
70830          { ac_try='test -s conftest$ac_exeext'
70831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70832   (eval $ac_try) 2>&5
70833   ac_status=$?
70834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70835   (exit $ac_status); }; }; then
70836   eval "$as_ac_var=yes"
70837 else
70838   echo "$as_me: failed program was:" >&5
70839 sed 's/^/| /' conftest.$ac_ext >&5
70840
70841 eval "$as_ac_var=no"
70842 fi
70843 rm -f conftest.err conftest.$ac_objext \
70844       conftest$ac_exeext conftest.$ac_ext
70845 fi
70846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70848 if test `eval echo '${'$as_ac_var'}'` = yes; then
70849   cat >>confdefs.h <<_ACEOF
70850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70851 _ACEOF
70852
70853 fi
70854 done
70855
70856   else
70857
70858   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70859 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70860   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70861     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70862   echo $ECHO_N "(cached) $ECHO_C" >&6
70863 else
70864
70865
70866
70867       ac_ext=cc
70868 ac_cpp='$CXXCPP $CPPFLAGS'
70869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70872
70873       cat >conftest.$ac_ext <<_ACEOF
70874 /* confdefs.h.  */
70875 _ACEOF
70876 cat confdefs.h >>conftest.$ac_ext
70877 cat >>conftest.$ac_ext <<_ACEOF
70878 /* end confdefs.h.  */
70879 #include <math.h>
70880                       #ifdef HAVE_IEEEFP_H
70881                       #include <ieeefp.h>
70882                       #endif
70883
70884 int
70885 main ()
70886 {
70887  _sqrtl(0);
70888   ;
70889   return 0;
70890 }
70891 _ACEOF
70892 rm -f conftest.$ac_objext
70893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70894   (eval $ac_compile) 2>conftest.er1
70895   ac_status=$?
70896   grep -v '^ *+' conftest.er1 >conftest.err
70897   rm -f conftest.er1
70898   cat conftest.err >&5
70899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70900   (exit $ac_status); } &&
70901          { ac_try='test -z "$ac_cxx_werror_flag"
70902                          || test ! -s conftest.err'
70903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70904   (eval $ac_try) 2>&5
70905   ac_status=$?
70906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70907   (exit $ac_status); }; } &&
70908          { ac_try='test -s conftest.$ac_objext'
70909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70910   (eval $ac_try) 2>&5
70911   ac_status=$?
70912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70913   (exit $ac_status); }; }; then
70914   glibcxx_cv_func__sqrtl_use=yes
70915 else
70916   echo "$as_me: failed program was:" >&5
70917 sed 's/^/| /' conftest.$ac_ext >&5
70918
70919 glibcxx_cv_func__sqrtl_use=no
70920 fi
70921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70922       ac_ext=c
70923 ac_cpp='$CPP $CPPFLAGS'
70924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70927
70928
70929 fi
70930
70931   fi
70932   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70933 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70934
70935     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70936
70937 for ac_func in _sqrtl
70938 do
70939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70940 echo "$as_me:$LINENO: checking for $ac_func" >&5
70941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70942 if eval "test \"\${$as_ac_var+set}\" = set"; then
70943   echo $ECHO_N "(cached) $ECHO_C" >&6
70944 else
70945   if test x$gcc_no_link = xyes; then
70946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70948    { (exit 1); exit 1; }; }
70949 fi
70950 cat >conftest.$ac_ext <<_ACEOF
70951 /* confdefs.h.  */
70952 _ACEOF
70953 cat confdefs.h >>conftest.$ac_ext
70954 cat >>conftest.$ac_ext <<_ACEOF
70955 /* end confdefs.h.  */
70956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70957    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70958 #define $ac_func innocuous_$ac_func
70959
70960 /* System header to define __stub macros and hopefully few prototypes,
70961     which can conflict with char $ac_func (); below.
70962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70963     <limits.h> exists even on freestanding compilers.  */
70964
70965 #ifdef __STDC__
70966 # include <limits.h>
70967 #else
70968 # include <assert.h>
70969 #endif
70970
70971 #undef $ac_func
70972
70973 /* Override any gcc2 internal prototype to avoid an error.  */
70974 #ifdef __cplusplus
70975 extern "C"
70976 {
70977 #endif
70978 /* We use char because int might match the return type of a gcc2
70979    builtin and then its argument prototype would still apply.  */
70980 char $ac_func ();
70981 /* The GNU C library defines this for functions which it implements
70982     to always fail with ENOSYS.  Some functions are actually named
70983     something starting with __ and the normal name is an alias.  */
70984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70985 choke me
70986 #else
70987 char (*f) () = $ac_func;
70988 #endif
70989 #ifdef __cplusplus
70990 }
70991 #endif
70992
70993 int
70994 main ()
70995 {
70996 return f != $ac_func;
70997   ;
70998   return 0;
70999 }
71000 _ACEOF
71001 rm -f conftest.$ac_objext conftest$ac_exeext
71002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71003   (eval $ac_link) 2>conftest.er1
71004   ac_status=$?
71005   grep -v '^ *+' conftest.er1 >conftest.err
71006   rm -f conftest.er1
71007   cat conftest.err >&5
71008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71009   (exit $ac_status); } &&
71010          { ac_try='test -z "$ac_c_werror_flag"
71011                          || test ! -s conftest.err'
71012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71013   (eval $ac_try) 2>&5
71014   ac_status=$?
71015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71016   (exit $ac_status); }; } &&
71017          { ac_try='test -s conftest$ac_exeext'
71018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71019   (eval $ac_try) 2>&5
71020   ac_status=$?
71021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71022   (exit $ac_status); }; }; then
71023   eval "$as_ac_var=yes"
71024 else
71025   echo "$as_me: failed program was:" >&5
71026 sed 's/^/| /' conftest.$ac_ext >&5
71027
71028 eval "$as_ac_var=no"
71029 fi
71030 rm -f conftest.err conftest.$ac_objext \
71031       conftest$ac_exeext conftest.$ac_ext
71032 fi
71033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71035 if test `eval echo '${'$as_ac_var'}'` = yes; then
71036   cat >>confdefs.h <<_ACEOF
71037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71038 _ACEOF
71039
71040 fi
71041 done
71042
71043     fi
71044   fi
71045
71046
71047
71048
71049
71050
71051   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
71052 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
71053   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71054     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
71055   echo $ECHO_N "(cached) $ECHO_C" >&6
71056 else
71057
71058
71059
71060       ac_ext=cc
71061 ac_cpp='$CXXCPP $CPPFLAGS'
71062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71065
71066       cat >conftest.$ac_ext <<_ACEOF
71067 /* confdefs.h.  */
71068 _ACEOF
71069 cat confdefs.h >>conftest.$ac_ext
71070 cat >>conftest.$ac_ext <<_ACEOF
71071 /* end confdefs.h.  */
71072 #include <math.h>
71073 int
71074 main ()
71075 {
71076  sincosl(0, 0, 0);
71077   ;
71078   return 0;
71079 }
71080 _ACEOF
71081 rm -f conftest.$ac_objext
71082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71083   (eval $ac_compile) 2>conftest.er1
71084   ac_status=$?
71085   grep -v '^ *+' conftest.er1 >conftest.err
71086   rm -f conftest.er1
71087   cat conftest.err >&5
71088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71089   (exit $ac_status); } &&
71090          { ac_try='test -z "$ac_cxx_werror_flag"
71091                          || test ! -s conftest.err'
71092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71093   (eval $ac_try) 2>&5
71094   ac_status=$?
71095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71096   (exit $ac_status); }; } &&
71097          { ac_try='test -s conftest.$ac_objext'
71098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71099   (eval $ac_try) 2>&5
71100   ac_status=$?
71101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71102   (exit $ac_status); }; }; then
71103   glibcxx_cv_func_sincosl_use=yes
71104 else
71105   echo "$as_me: failed program was:" >&5
71106 sed 's/^/| /' conftest.$ac_ext >&5
71107
71108 glibcxx_cv_func_sincosl_use=no
71109 fi
71110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71111       ac_ext=c
71112 ac_cpp='$CPP $CPPFLAGS'
71113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71116
71117
71118 fi
71119
71120   fi
71121   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
71122 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
71123
71124   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71125
71126 for ac_func in sincosl
71127 do
71128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71129 echo "$as_me:$LINENO: checking for $ac_func" >&5
71130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71131 if eval "test \"\${$as_ac_var+set}\" = set"; then
71132   echo $ECHO_N "(cached) $ECHO_C" >&6
71133 else
71134   if test x$gcc_no_link = xyes; then
71135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71137    { (exit 1); exit 1; }; }
71138 fi
71139 cat >conftest.$ac_ext <<_ACEOF
71140 /* confdefs.h.  */
71141 _ACEOF
71142 cat confdefs.h >>conftest.$ac_ext
71143 cat >>conftest.$ac_ext <<_ACEOF
71144 /* end confdefs.h.  */
71145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71146    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71147 #define $ac_func innocuous_$ac_func
71148
71149 /* System header to define __stub macros and hopefully few prototypes,
71150     which can conflict with char $ac_func (); below.
71151     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71152     <limits.h> exists even on freestanding compilers.  */
71153
71154 #ifdef __STDC__
71155 # include <limits.h>
71156 #else
71157 # include <assert.h>
71158 #endif
71159
71160 #undef $ac_func
71161
71162 /* Override any gcc2 internal prototype to avoid an error.  */
71163 #ifdef __cplusplus
71164 extern "C"
71165 {
71166 #endif
71167 /* We use char because int might match the return type of a gcc2
71168    builtin and then its argument prototype would still apply.  */
71169 char $ac_func ();
71170 /* The GNU C library defines this for functions which it implements
71171     to always fail with ENOSYS.  Some functions are actually named
71172     something starting with __ and the normal name is an alias.  */
71173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71174 choke me
71175 #else
71176 char (*f) () = $ac_func;
71177 #endif
71178 #ifdef __cplusplus
71179 }
71180 #endif
71181
71182 int
71183 main ()
71184 {
71185 return f != $ac_func;
71186   ;
71187   return 0;
71188 }
71189 _ACEOF
71190 rm -f conftest.$ac_objext conftest$ac_exeext
71191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71192   (eval $ac_link) 2>conftest.er1
71193   ac_status=$?
71194   grep -v '^ *+' conftest.er1 >conftest.err
71195   rm -f conftest.er1
71196   cat conftest.err >&5
71197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71198   (exit $ac_status); } &&
71199          { ac_try='test -z "$ac_c_werror_flag"
71200                          || test ! -s conftest.err'
71201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71202   (eval $ac_try) 2>&5
71203   ac_status=$?
71204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71205   (exit $ac_status); }; } &&
71206          { ac_try='test -s conftest$ac_exeext'
71207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71208   (eval $ac_try) 2>&5
71209   ac_status=$?
71210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71211   (exit $ac_status); }; }; then
71212   eval "$as_ac_var=yes"
71213 else
71214   echo "$as_me: failed program was:" >&5
71215 sed 's/^/| /' conftest.$ac_ext >&5
71216
71217 eval "$as_ac_var=no"
71218 fi
71219 rm -f conftest.err conftest.$ac_objext \
71220       conftest$ac_exeext conftest.$ac_ext
71221 fi
71222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71224 if test `eval echo '${'$as_ac_var'}'` = yes; then
71225   cat >>confdefs.h <<_ACEOF
71226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71227 _ACEOF
71228
71229 fi
71230 done
71231
71232   else
71233
71234   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
71235 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
71236   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71237     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
71238   echo $ECHO_N "(cached) $ECHO_C" >&6
71239 else
71240
71241
71242
71243       ac_ext=cc
71244 ac_cpp='$CXXCPP $CPPFLAGS'
71245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71248
71249       cat >conftest.$ac_ext <<_ACEOF
71250 /* confdefs.h.  */
71251 _ACEOF
71252 cat confdefs.h >>conftest.$ac_ext
71253 cat >>conftest.$ac_ext <<_ACEOF
71254 /* end confdefs.h.  */
71255 #include <math.h>
71256 int
71257 main ()
71258 {
71259  _sincosl(0, 0, 0);
71260   ;
71261   return 0;
71262 }
71263 _ACEOF
71264 rm -f conftest.$ac_objext
71265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71266   (eval $ac_compile) 2>conftest.er1
71267   ac_status=$?
71268   grep -v '^ *+' conftest.er1 >conftest.err
71269   rm -f conftest.er1
71270   cat conftest.err >&5
71271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71272   (exit $ac_status); } &&
71273          { ac_try='test -z "$ac_cxx_werror_flag"
71274                          || test ! -s conftest.err'
71275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71276   (eval $ac_try) 2>&5
71277   ac_status=$?
71278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71279   (exit $ac_status); }; } &&
71280          { ac_try='test -s conftest.$ac_objext'
71281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71282   (eval $ac_try) 2>&5
71283   ac_status=$?
71284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71285   (exit $ac_status); }; }; then
71286   glibcxx_cv_func__sincosl_use=yes
71287 else
71288   echo "$as_me: failed program was:" >&5
71289 sed 's/^/| /' conftest.$ac_ext >&5
71290
71291 glibcxx_cv_func__sincosl_use=no
71292 fi
71293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71294       ac_ext=c
71295 ac_cpp='$CPP $CPPFLAGS'
71296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71299
71300
71301 fi
71302
71303   fi
71304   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
71305 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
71306
71307     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71308
71309 for ac_func in _sincosl
71310 do
71311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71312 echo "$as_me:$LINENO: checking for $ac_func" >&5
71313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71314 if eval "test \"\${$as_ac_var+set}\" = set"; then
71315   echo $ECHO_N "(cached) $ECHO_C" >&6
71316 else
71317   if test x$gcc_no_link = xyes; then
71318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71320    { (exit 1); exit 1; }; }
71321 fi
71322 cat >conftest.$ac_ext <<_ACEOF
71323 /* confdefs.h.  */
71324 _ACEOF
71325 cat confdefs.h >>conftest.$ac_ext
71326 cat >>conftest.$ac_ext <<_ACEOF
71327 /* end confdefs.h.  */
71328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71329    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71330 #define $ac_func innocuous_$ac_func
71331
71332 /* System header to define __stub macros and hopefully few prototypes,
71333     which can conflict with char $ac_func (); below.
71334     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71335     <limits.h> exists even on freestanding compilers.  */
71336
71337 #ifdef __STDC__
71338 # include <limits.h>
71339 #else
71340 # include <assert.h>
71341 #endif
71342
71343 #undef $ac_func
71344
71345 /* Override any gcc2 internal prototype to avoid an error.  */
71346 #ifdef __cplusplus
71347 extern "C"
71348 {
71349 #endif
71350 /* We use char because int might match the return type of a gcc2
71351    builtin and then its argument prototype would still apply.  */
71352 char $ac_func ();
71353 /* The GNU C library defines this for functions which it implements
71354     to always fail with ENOSYS.  Some functions are actually named
71355     something starting with __ and the normal name is an alias.  */
71356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71357 choke me
71358 #else
71359 char (*f) () = $ac_func;
71360 #endif
71361 #ifdef __cplusplus
71362 }
71363 #endif
71364
71365 int
71366 main ()
71367 {
71368 return f != $ac_func;
71369   ;
71370   return 0;
71371 }
71372 _ACEOF
71373 rm -f conftest.$ac_objext conftest$ac_exeext
71374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71375   (eval $ac_link) 2>conftest.er1
71376   ac_status=$?
71377   grep -v '^ *+' conftest.er1 >conftest.err
71378   rm -f conftest.er1
71379   cat conftest.err >&5
71380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71381   (exit $ac_status); } &&
71382          { ac_try='test -z "$ac_c_werror_flag"
71383                          || test ! -s conftest.err'
71384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71385   (eval $ac_try) 2>&5
71386   ac_status=$?
71387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71388   (exit $ac_status); }; } &&
71389          { ac_try='test -s conftest$ac_exeext'
71390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71391   (eval $ac_try) 2>&5
71392   ac_status=$?
71393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71394   (exit $ac_status); }; }; then
71395   eval "$as_ac_var=yes"
71396 else
71397   echo "$as_me: failed program was:" >&5
71398 sed 's/^/| /' conftest.$ac_ext >&5
71399
71400 eval "$as_ac_var=no"
71401 fi
71402 rm -f conftest.err conftest.$ac_objext \
71403       conftest$ac_exeext conftest.$ac_ext
71404 fi
71405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71407 if test `eval echo '${'$as_ac_var'}'` = yes; then
71408   cat >>confdefs.h <<_ACEOF
71409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71410 _ACEOF
71411
71412 fi
71413 done
71414
71415     fi
71416   fi
71417
71418
71419
71420
71421
71422
71423   echo "$as_me:$LINENO: checking for finitel declaration" >&5
71424 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71425   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71426     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71427   echo $ECHO_N "(cached) $ECHO_C" >&6
71428 else
71429
71430
71431
71432       ac_ext=cc
71433 ac_cpp='$CXXCPP $CPPFLAGS'
71434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71437
71438       cat >conftest.$ac_ext <<_ACEOF
71439 /* confdefs.h.  */
71440 _ACEOF
71441 cat confdefs.h >>conftest.$ac_ext
71442 cat >>conftest.$ac_ext <<_ACEOF
71443 /* end confdefs.h.  */
71444 #include <math.h>
71445                       #ifdef HAVE_IEEEFP_H
71446                       #include <ieeefp.h>
71447                       #endif
71448
71449 int
71450 main ()
71451 {
71452  finitel(0);
71453   ;
71454   return 0;
71455 }
71456 _ACEOF
71457 rm -f conftest.$ac_objext
71458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71459   (eval $ac_compile) 2>conftest.er1
71460   ac_status=$?
71461   grep -v '^ *+' conftest.er1 >conftest.err
71462   rm -f conftest.er1
71463   cat conftest.err >&5
71464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71465   (exit $ac_status); } &&
71466          { ac_try='test -z "$ac_cxx_werror_flag"
71467                          || test ! -s conftest.err'
71468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71469   (eval $ac_try) 2>&5
71470   ac_status=$?
71471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71472   (exit $ac_status); }; } &&
71473          { ac_try='test -s conftest.$ac_objext'
71474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71475   (eval $ac_try) 2>&5
71476   ac_status=$?
71477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71478   (exit $ac_status); }; }; then
71479   glibcxx_cv_func_finitel_use=yes
71480 else
71481   echo "$as_me: failed program was:" >&5
71482 sed 's/^/| /' conftest.$ac_ext >&5
71483
71484 glibcxx_cv_func_finitel_use=no
71485 fi
71486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71487       ac_ext=c
71488 ac_cpp='$CPP $CPPFLAGS'
71489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71492
71493
71494 fi
71495
71496   fi
71497   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71498 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71499
71500   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71501
71502 for ac_func in finitel
71503 do
71504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71505 echo "$as_me:$LINENO: checking for $ac_func" >&5
71506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71507 if eval "test \"\${$as_ac_var+set}\" = set"; then
71508   echo $ECHO_N "(cached) $ECHO_C" >&6
71509 else
71510   if test x$gcc_no_link = xyes; then
71511   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71513    { (exit 1); exit 1; }; }
71514 fi
71515 cat >conftest.$ac_ext <<_ACEOF
71516 /* confdefs.h.  */
71517 _ACEOF
71518 cat confdefs.h >>conftest.$ac_ext
71519 cat >>conftest.$ac_ext <<_ACEOF
71520 /* end confdefs.h.  */
71521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71522    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71523 #define $ac_func innocuous_$ac_func
71524
71525 /* System header to define __stub macros and hopefully few prototypes,
71526     which can conflict with char $ac_func (); below.
71527     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71528     <limits.h> exists even on freestanding compilers.  */
71529
71530 #ifdef __STDC__
71531 # include <limits.h>
71532 #else
71533 # include <assert.h>
71534 #endif
71535
71536 #undef $ac_func
71537
71538 /* Override any gcc2 internal prototype to avoid an error.  */
71539 #ifdef __cplusplus
71540 extern "C"
71541 {
71542 #endif
71543 /* We use char because int might match the return type of a gcc2
71544    builtin and then its argument prototype would still apply.  */
71545 char $ac_func ();
71546 /* The GNU C library defines this for functions which it implements
71547     to always fail with ENOSYS.  Some functions are actually named
71548     something starting with __ and the normal name is an alias.  */
71549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71550 choke me
71551 #else
71552 char (*f) () = $ac_func;
71553 #endif
71554 #ifdef __cplusplus
71555 }
71556 #endif
71557
71558 int
71559 main ()
71560 {
71561 return f != $ac_func;
71562   ;
71563   return 0;
71564 }
71565 _ACEOF
71566 rm -f conftest.$ac_objext conftest$ac_exeext
71567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71568   (eval $ac_link) 2>conftest.er1
71569   ac_status=$?
71570   grep -v '^ *+' conftest.er1 >conftest.err
71571   rm -f conftest.er1
71572   cat conftest.err >&5
71573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71574   (exit $ac_status); } &&
71575          { ac_try='test -z "$ac_c_werror_flag"
71576                          || test ! -s conftest.err'
71577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71578   (eval $ac_try) 2>&5
71579   ac_status=$?
71580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71581   (exit $ac_status); }; } &&
71582          { ac_try='test -s conftest$ac_exeext'
71583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71584   (eval $ac_try) 2>&5
71585   ac_status=$?
71586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71587   (exit $ac_status); }; }; then
71588   eval "$as_ac_var=yes"
71589 else
71590   echo "$as_me: failed program was:" >&5
71591 sed 's/^/| /' conftest.$ac_ext >&5
71592
71593 eval "$as_ac_var=no"
71594 fi
71595 rm -f conftest.err conftest.$ac_objext \
71596       conftest$ac_exeext conftest.$ac_ext
71597 fi
71598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71600 if test `eval echo '${'$as_ac_var'}'` = yes; then
71601   cat >>confdefs.h <<_ACEOF
71602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71603 _ACEOF
71604
71605 fi
71606 done
71607
71608   else
71609
71610   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71611 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71612   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71613     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71614   echo $ECHO_N "(cached) $ECHO_C" >&6
71615 else
71616
71617
71618
71619       ac_ext=cc
71620 ac_cpp='$CXXCPP $CPPFLAGS'
71621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71624
71625       cat >conftest.$ac_ext <<_ACEOF
71626 /* confdefs.h.  */
71627 _ACEOF
71628 cat confdefs.h >>conftest.$ac_ext
71629 cat >>conftest.$ac_ext <<_ACEOF
71630 /* end confdefs.h.  */
71631 #include <math.h>
71632                       #ifdef HAVE_IEEEFP_H
71633                       #include <ieeefp.h>
71634                       #endif
71635
71636 int
71637 main ()
71638 {
71639  _finitel(0);
71640   ;
71641   return 0;
71642 }
71643 _ACEOF
71644 rm -f conftest.$ac_objext
71645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71646   (eval $ac_compile) 2>conftest.er1
71647   ac_status=$?
71648   grep -v '^ *+' conftest.er1 >conftest.err
71649   rm -f conftest.er1
71650   cat conftest.err >&5
71651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71652   (exit $ac_status); } &&
71653          { ac_try='test -z "$ac_cxx_werror_flag"
71654                          || test ! -s conftest.err'
71655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71656   (eval $ac_try) 2>&5
71657   ac_status=$?
71658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71659   (exit $ac_status); }; } &&
71660          { ac_try='test -s conftest.$ac_objext'
71661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71662   (eval $ac_try) 2>&5
71663   ac_status=$?
71664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71665   (exit $ac_status); }; }; then
71666   glibcxx_cv_func__finitel_use=yes
71667 else
71668   echo "$as_me: failed program was:" >&5
71669 sed 's/^/| /' conftest.$ac_ext >&5
71670
71671 glibcxx_cv_func__finitel_use=no
71672 fi
71673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71674       ac_ext=c
71675 ac_cpp='$CPP $CPPFLAGS'
71676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71679
71680
71681 fi
71682
71683   fi
71684   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71685 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71686
71687     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71688
71689 for ac_func in _finitel
71690 do
71691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71692 echo "$as_me:$LINENO: checking for $ac_func" >&5
71693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71694 if eval "test \"\${$as_ac_var+set}\" = set"; then
71695   echo $ECHO_N "(cached) $ECHO_C" >&6
71696 else
71697   if test x$gcc_no_link = xyes; then
71698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71700    { (exit 1); exit 1; }; }
71701 fi
71702 cat >conftest.$ac_ext <<_ACEOF
71703 /* confdefs.h.  */
71704 _ACEOF
71705 cat confdefs.h >>conftest.$ac_ext
71706 cat >>conftest.$ac_ext <<_ACEOF
71707 /* end confdefs.h.  */
71708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71710 #define $ac_func innocuous_$ac_func
71711
71712 /* System header to define __stub macros and hopefully few prototypes,
71713     which can conflict with char $ac_func (); below.
71714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71715     <limits.h> exists even on freestanding compilers.  */
71716
71717 #ifdef __STDC__
71718 # include <limits.h>
71719 #else
71720 # include <assert.h>
71721 #endif
71722
71723 #undef $ac_func
71724
71725 /* Override any gcc2 internal prototype to avoid an error.  */
71726 #ifdef __cplusplus
71727 extern "C"
71728 {
71729 #endif
71730 /* We use char because int might match the return type of a gcc2
71731    builtin and then its argument prototype would still apply.  */
71732 char $ac_func ();
71733 /* The GNU C library defines this for functions which it implements
71734     to always fail with ENOSYS.  Some functions are actually named
71735     something starting with __ and the normal name is an alias.  */
71736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71737 choke me
71738 #else
71739 char (*f) () = $ac_func;
71740 #endif
71741 #ifdef __cplusplus
71742 }
71743 #endif
71744
71745 int
71746 main ()
71747 {
71748 return f != $ac_func;
71749   ;
71750   return 0;
71751 }
71752 _ACEOF
71753 rm -f conftest.$ac_objext conftest$ac_exeext
71754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71755   (eval $ac_link) 2>conftest.er1
71756   ac_status=$?
71757   grep -v '^ *+' conftest.er1 >conftest.err
71758   rm -f conftest.er1
71759   cat conftest.err >&5
71760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71761   (exit $ac_status); } &&
71762          { ac_try='test -z "$ac_c_werror_flag"
71763                          || test ! -s conftest.err'
71764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71765   (eval $ac_try) 2>&5
71766   ac_status=$?
71767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71768   (exit $ac_status); }; } &&
71769          { ac_try='test -s conftest$ac_exeext'
71770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71771   (eval $ac_try) 2>&5
71772   ac_status=$?
71773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71774   (exit $ac_status); }; }; then
71775   eval "$as_ac_var=yes"
71776 else
71777   echo "$as_me: failed program was:" >&5
71778 sed 's/^/| /' conftest.$ac_ext >&5
71779
71780 eval "$as_ac_var=no"
71781 fi
71782 rm -f conftest.err conftest.$ac_objext \
71783       conftest$ac_exeext conftest.$ac_ext
71784 fi
71785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71787 if test `eval echo '${'$as_ac_var'}'` = yes; then
71788   cat >>confdefs.h <<_ACEOF
71789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71790 _ACEOF
71791
71792 fi
71793 done
71794
71795     fi
71796   fi
71797
71798
71799
71800
71801
71802   LIBS="$ac_save_LIBS"
71803   CXXFLAGS="$ac_save_CXXFLAGS"
71804
71805
71806
71807   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71808 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71809   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71810     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71811   echo $ECHO_N "(cached) $ECHO_C" >&6
71812 else
71813
71814
71815
71816       ac_ext=cc
71817 ac_cpp='$CXXCPP $CPPFLAGS'
71818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71821
71822       cat >conftest.$ac_ext <<_ACEOF
71823 /* confdefs.h.  */
71824 _ACEOF
71825 cat confdefs.h >>conftest.$ac_ext
71826 cat >>conftest.$ac_ext <<_ACEOF
71827 /* end confdefs.h.  */
71828 #include <math.h>
71829 int
71830 main ()
71831 {
71832  __builtin_abs(0);
71833   ;
71834   return 0;
71835 }
71836 _ACEOF
71837 rm -f conftest.$ac_objext
71838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71839   (eval $ac_compile) 2>conftest.er1
71840   ac_status=$?
71841   grep -v '^ *+' conftest.er1 >conftest.err
71842   rm -f conftest.er1
71843   cat conftest.err >&5
71844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71845   (exit $ac_status); } &&
71846          { ac_try='test -z "$ac_cxx_werror_flag"
71847                          || test ! -s conftest.err'
71848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71849   (eval $ac_try) 2>&5
71850   ac_status=$?
71851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71852   (exit $ac_status); }; } &&
71853          { ac_try='test -s conftest.$ac_objext'
71854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71855   (eval $ac_try) 2>&5
71856   ac_status=$?
71857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71858   (exit $ac_status); }; }; then
71859   glibcxx_cv_func___builtin_abs_use=yes
71860 else
71861   echo "$as_me: failed program was:" >&5
71862 sed 's/^/| /' conftest.$ac_ext >&5
71863
71864 glibcxx_cv_func___builtin_abs_use=no
71865 fi
71866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71867       ac_ext=c
71868 ac_cpp='$CPP $CPPFLAGS'
71869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71872
71873
71874 fi
71875
71876   fi
71877   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
71878 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
71879   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
71880     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
71881 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
71882     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
71883       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
71884   echo $ECHO_N "(cached) $ECHO_C" >&6
71885 else
71886
71887         if test x$gcc_no_link = xyes; then
71888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71890    { (exit 1); exit 1; }; }
71891 fi
71892 cat >conftest.$ac_ext <<_ACEOF
71893 /* confdefs.h.  */
71894 _ACEOF
71895 cat confdefs.h >>conftest.$ac_ext
71896 cat >>conftest.$ac_ext <<_ACEOF
71897 /* end confdefs.h.  */
71898 #include <math.h>
71899 int
71900 main ()
71901 {
71902  __builtin_abs(0);
71903   ;
71904   return 0;
71905 }
71906 _ACEOF
71907 rm -f conftest.$ac_objext conftest$ac_exeext
71908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71909   (eval $ac_link) 2>conftest.er1
71910   ac_status=$?
71911   grep -v '^ *+' conftest.er1 >conftest.err
71912   rm -f conftest.er1
71913   cat conftest.err >&5
71914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71915   (exit $ac_status); } &&
71916          { ac_try='test -z "$ac_c_werror_flag"
71917                          || test ! -s conftest.err'
71918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71919   (eval $ac_try) 2>&5
71920   ac_status=$?
71921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71922   (exit $ac_status); }; } &&
71923          { ac_try='test -s conftest$ac_exeext'
71924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71925   (eval $ac_try) 2>&5
71926   ac_status=$?
71927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71928   (exit $ac_status); }; }; then
71929   glibcxx_cv_func___builtin_abs_link=yes
71930 else
71931   echo "$as_me: failed program was:" >&5
71932 sed 's/^/| /' conftest.$ac_ext >&5
71933
71934 glibcxx_cv_func___builtin_abs_link=no
71935 fi
71936 rm -f conftest.err conftest.$ac_objext \
71937       conftest$ac_exeext conftest.$ac_ext
71938
71939 fi
71940
71941     fi
71942     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
71943 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
71944
71945     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
71946
71947 cat >>confdefs.h <<\_ACEOF
71948 #define HAVE___BUILTIN_ABS 1
71949 _ACEOF
71950
71951     fi
71952
71953   fi
71954
71955
71956   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
71957 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
71958   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
71959     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
71960   echo $ECHO_N "(cached) $ECHO_C" >&6
71961 else
71962
71963
71964
71965       ac_ext=cc
71966 ac_cpp='$CXXCPP $CPPFLAGS'
71967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71970
71971       cat >conftest.$ac_ext <<_ACEOF
71972 /* confdefs.h.  */
71973 _ACEOF
71974 cat confdefs.h >>conftest.$ac_ext
71975 cat >>conftest.$ac_ext <<_ACEOF
71976 /* end confdefs.h.  */
71977 #include <math.h>
71978 int
71979 main ()
71980 {
71981  __builtin_fabsf(0);
71982   ;
71983   return 0;
71984 }
71985 _ACEOF
71986 rm -f conftest.$ac_objext
71987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71988   (eval $ac_compile) 2>conftest.er1
71989   ac_status=$?
71990   grep -v '^ *+' conftest.er1 >conftest.err
71991   rm -f conftest.er1
71992   cat conftest.err >&5
71993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71994   (exit $ac_status); } &&
71995          { ac_try='test -z "$ac_cxx_werror_flag"
71996                          || test ! -s conftest.err'
71997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71998   (eval $ac_try) 2>&5
71999   ac_status=$?
72000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72001   (exit $ac_status); }; } &&
72002          { ac_try='test -s conftest.$ac_objext'
72003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72004   (eval $ac_try) 2>&5
72005   ac_status=$?
72006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72007   (exit $ac_status); }; }; then
72008   glibcxx_cv_func___builtin_fabsf_use=yes
72009 else
72010   echo "$as_me: failed program was:" >&5
72011 sed 's/^/| /' conftest.$ac_ext >&5
72012
72013 glibcxx_cv_func___builtin_fabsf_use=no
72014 fi
72015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72016       ac_ext=c
72017 ac_cpp='$CPP $CPPFLAGS'
72018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72021
72022
72023 fi
72024
72025   fi
72026   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
72027 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
72028   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
72029     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
72030 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
72031     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
72032       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
72033   echo $ECHO_N "(cached) $ECHO_C" >&6
72034 else
72035
72036         if test x$gcc_no_link = xyes; then
72037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72039    { (exit 1); exit 1; }; }
72040 fi
72041 cat >conftest.$ac_ext <<_ACEOF
72042 /* confdefs.h.  */
72043 _ACEOF
72044 cat confdefs.h >>conftest.$ac_ext
72045 cat >>conftest.$ac_ext <<_ACEOF
72046 /* end confdefs.h.  */
72047 #include <math.h>
72048 int
72049 main ()
72050 {
72051  __builtin_fabsf(0);
72052   ;
72053   return 0;
72054 }
72055 _ACEOF
72056 rm -f conftest.$ac_objext conftest$ac_exeext
72057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72058   (eval $ac_link) 2>conftest.er1
72059   ac_status=$?
72060   grep -v '^ *+' conftest.er1 >conftest.err
72061   rm -f conftest.er1
72062   cat conftest.err >&5
72063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72064   (exit $ac_status); } &&
72065          { ac_try='test -z "$ac_c_werror_flag"
72066                          || test ! -s conftest.err'
72067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72068   (eval $ac_try) 2>&5
72069   ac_status=$?
72070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72071   (exit $ac_status); }; } &&
72072          { ac_try='test -s conftest$ac_exeext'
72073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72074   (eval $ac_try) 2>&5
72075   ac_status=$?
72076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72077   (exit $ac_status); }; }; then
72078   glibcxx_cv_func___builtin_fabsf_link=yes
72079 else
72080   echo "$as_me: failed program was:" >&5
72081 sed 's/^/| /' conftest.$ac_ext >&5
72082
72083 glibcxx_cv_func___builtin_fabsf_link=no
72084 fi
72085 rm -f conftest.err conftest.$ac_objext \
72086       conftest$ac_exeext conftest.$ac_ext
72087
72088 fi
72089
72090     fi
72091     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
72092 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
72093
72094     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
72095
72096 cat >>confdefs.h <<\_ACEOF
72097 #define HAVE___BUILTIN_FABSF 1
72098 _ACEOF
72099
72100     fi
72101
72102   fi
72103
72104
72105   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
72106 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
72107   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
72108     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
72109   echo $ECHO_N "(cached) $ECHO_C" >&6
72110 else
72111
72112
72113
72114       ac_ext=cc
72115 ac_cpp='$CXXCPP $CPPFLAGS'
72116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72119
72120       cat >conftest.$ac_ext <<_ACEOF
72121 /* confdefs.h.  */
72122 _ACEOF
72123 cat confdefs.h >>conftest.$ac_ext
72124 cat >>conftest.$ac_ext <<_ACEOF
72125 /* end confdefs.h.  */
72126 #include <math.h>
72127 int
72128 main ()
72129 {
72130  __builtin_fabs(0);
72131   ;
72132   return 0;
72133 }
72134 _ACEOF
72135 rm -f conftest.$ac_objext
72136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72137   (eval $ac_compile) 2>conftest.er1
72138   ac_status=$?
72139   grep -v '^ *+' conftest.er1 >conftest.err
72140   rm -f conftest.er1
72141   cat conftest.err >&5
72142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72143   (exit $ac_status); } &&
72144          { ac_try='test -z "$ac_cxx_werror_flag"
72145                          || test ! -s conftest.err'
72146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72147   (eval $ac_try) 2>&5
72148   ac_status=$?
72149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72150   (exit $ac_status); }; } &&
72151          { ac_try='test -s conftest.$ac_objext'
72152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72153   (eval $ac_try) 2>&5
72154   ac_status=$?
72155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72156   (exit $ac_status); }; }; then
72157   glibcxx_cv_func___builtin_fabs_use=yes
72158 else
72159   echo "$as_me: failed program was:" >&5
72160 sed 's/^/| /' conftest.$ac_ext >&5
72161
72162 glibcxx_cv_func___builtin_fabs_use=no
72163 fi
72164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72165       ac_ext=c
72166 ac_cpp='$CPP $CPPFLAGS'
72167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72170
72171
72172 fi
72173
72174   fi
72175   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
72176 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
72177   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
72178     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
72179 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
72180     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
72181       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
72182   echo $ECHO_N "(cached) $ECHO_C" >&6
72183 else
72184
72185         if test x$gcc_no_link = xyes; then
72186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72188    { (exit 1); exit 1; }; }
72189 fi
72190 cat >conftest.$ac_ext <<_ACEOF
72191 /* confdefs.h.  */
72192 _ACEOF
72193 cat confdefs.h >>conftest.$ac_ext
72194 cat >>conftest.$ac_ext <<_ACEOF
72195 /* end confdefs.h.  */
72196 #include <math.h>
72197 int
72198 main ()
72199 {
72200  __builtin_fabs(0);
72201   ;
72202   return 0;
72203 }
72204 _ACEOF
72205 rm -f conftest.$ac_objext conftest$ac_exeext
72206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72207   (eval $ac_link) 2>conftest.er1
72208   ac_status=$?
72209   grep -v '^ *+' conftest.er1 >conftest.err
72210   rm -f conftest.er1
72211   cat conftest.err >&5
72212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72213   (exit $ac_status); } &&
72214          { ac_try='test -z "$ac_c_werror_flag"
72215                          || test ! -s conftest.err'
72216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72217   (eval $ac_try) 2>&5
72218   ac_status=$?
72219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72220   (exit $ac_status); }; } &&
72221          { ac_try='test -s conftest$ac_exeext'
72222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72223   (eval $ac_try) 2>&5
72224   ac_status=$?
72225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72226   (exit $ac_status); }; }; then
72227   glibcxx_cv_func___builtin_fabs_link=yes
72228 else
72229   echo "$as_me: failed program was:" >&5
72230 sed 's/^/| /' conftest.$ac_ext >&5
72231
72232 glibcxx_cv_func___builtin_fabs_link=no
72233 fi
72234 rm -f conftest.err conftest.$ac_objext \
72235       conftest$ac_exeext conftest.$ac_ext
72236
72237 fi
72238
72239     fi
72240     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72241 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72242
72243     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72244
72245 cat >>confdefs.h <<\_ACEOF
72246 #define HAVE___BUILTIN_FABS 1
72247 _ACEOF
72248
72249     fi
72250
72251   fi
72252
72253
72254   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72255 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72256   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72257     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72258   echo $ECHO_N "(cached) $ECHO_C" >&6
72259 else
72260
72261
72262
72263       ac_ext=cc
72264 ac_cpp='$CXXCPP $CPPFLAGS'
72265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72268
72269       cat >conftest.$ac_ext <<_ACEOF
72270 /* confdefs.h.  */
72271 _ACEOF
72272 cat confdefs.h >>conftest.$ac_ext
72273 cat >>conftest.$ac_ext <<_ACEOF
72274 /* end confdefs.h.  */
72275 #include <math.h>
72276 int
72277 main ()
72278 {
72279  __builtin_fabsl(0);
72280   ;
72281   return 0;
72282 }
72283 _ACEOF
72284 rm -f conftest.$ac_objext
72285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72286   (eval $ac_compile) 2>conftest.er1
72287   ac_status=$?
72288   grep -v '^ *+' conftest.er1 >conftest.err
72289   rm -f conftest.er1
72290   cat conftest.err >&5
72291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72292   (exit $ac_status); } &&
72293          { ac_try='test -z "$ac_cxx_werror_flag"
72294                          || test ! -s conftest.err'
72295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72296   (eval $ac_try) 2>&5
72297   ac_status=$?
72298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72299   (exit $ac_status); }; } &&
72300          { ac_try='test -s conftest.$ac_objext'
72301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72302   (eval $ac_try) 2>&5
72303   ac_status=$?
72304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72305   (exit $ac_status); }; }; then
72306   glibcxx_cv_func___builtin_fabsl_use=yes
72307 else
72308   echo "$as_me: failed program was:" >&5
72309 sed 's/^/| /' conftest.$ac_ext >&5
72310
72311 glibcxx_cv_func___builtin_fabsl_use=no
72312 fi
72313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72314       ac_ext=c
72315 ac_cpp='$CPP $CPPFLAGS'
72316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72319
72320
72321 fi
72322
72323   fi
72324   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72325 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72326   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72327     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72328 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72329     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72330       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72331   echo $ECHO_N "(cached) $ECHO_C" >&6
72332 else
72333
72334         if test x$gcc_no_link = xyes; then
72335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72337    { (exit 1); exit 1; }; }
72338 fi
72339 cat >conftest.$ac_ext <<_ACEOF
72340 /* confdefs.h.  */
72341 _ACEOF
72342 cat confdefs.h >>conftest.$ac_ext
72343 cat >>conftest.$ac_ext <<_ACEOF
72344 /* end confdefs.h.  */
72345 #include <math.h>
72346 int
72347 main ()
72348 {
72349  __builtin_fabsl(0);
72350   ;
72351   return 0;
72352 }
72353 _ACEOF
72354 rm -f conftest.$ac_objext conftest$ac_exeext
72355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72356   (eval $ac_link) 2>conftest.er1
72357   ac_status=$?
72358   grep -v '^ *+' conftest.er1 >conftest.err
72359   rm -f conftest.er1
72360   cat conftest.err >&5
72361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72362   (exit $ac_status); } &&
72363          { ac_try='test -z "$ac_c_werror_flag"
72364                          || test ! -s conftest.err'
72365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72366   (eval $ac_try) 2>&5
72367   ac_status=$?
72368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72369   (exit $ac_status); }; } &&
72370          { ac_try='test -s conftest$ac_exeext'
72371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72372   (eval $ac_try) 2>&5
72373   ac_status=$?
72374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72375   (exit $ac_status); }; }; then
72376   glibcxx_cv_func___builtin_fabsl_link=yes
72377 else
72378   echo "$as_me: failed program was:" >&5
72379 sed 's/^/| /' conftest.$ac_ext >&5
72380
72381 glibcxx_cv_func___builtin_fabsl_link=no
72382 fi
72383 rm -f conftest.err conftest.$ac_objext \
72384       conftest$ac_exeext conftest.$ac_ext
72385
72386 fi
72387
72388     fi
72389     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72390 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72391
72392     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72393
72394 cat >>confdefs.h <<\_ACEOF
72395 #define HAVE___BUILTIN_FABSL 1
72396 _ACEOF
72397
72398     fi
72399
72400   fi
72401
72402
72403   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72404 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72405   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72406     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72407   echo $ECHO_N "(cached) $ECHO_C" >&6
72408 else
72409
72410
72411
72412       ac_ext=cc
72413 ac_cpp='$CXXCPP $CPPFLAGS'
72414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72417
72418       cat >conftest.$ac_ext <<_ACEOF
72419 /* confdefs.h.  */
72420 _ACEOF
72421 cat confdefs.h >>conftest.$ac_ext
72422 cat >>conftest.$ac_ext <<_ACEOF
72423 /* end confdefs.h.  */
72424 #include <math.h>
72425 int
72426 main ()
72427 {
72428  __builtin_labs(0);
72429   ;
72430   return 0;
72431 }
72432 _ACEOF
72433 rm -f conftest.$ac_objext
72434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72435   (eval $ac_compile) 2>conftest.er1
72436   ac_status=$?
72437   grep -v '^ *+' conftest.er1 >conftest.err
72438   rm -f conftest.er1
72439   cat conftest.err >&5
72440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72441   (exit $ac_status); } &&
72442          { ac_try='test -z "$ac_cxx_werror_flag"
72443                          || test ! -s conftest.err'
72444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72445   (eval $ac_try) 2>&5
72446   ac_status=$?
72447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72448   (exit $ac_status); }; } &&
72449          { ac_try='test -s conftest.$ac_objext'
72450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72451   (eval $ac_try) 2>&5
72452   ac_status=$?
72453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72454   (exit $ac_status); }; }; then
72455   glibcxx_cv_func___builtin_labs_use=yes
72456 else
72457   echo "$as_me: failed program was:" >&5
72458 sed 's/^/| /' conftest.$ac_ext >&5
72459
72460 glibcxx_cv_func___builtin_labs_use=no
72461 fi
72462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72463       ac_ext=c
72464 ac_cpp='$CPP $CPPFLAGS'
72465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72468
72469
72470 fi
72471
72472   fi
72473   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72474 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72475   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72476     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72477 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72478     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72479       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72480   echo $ECHO_N "(cached) $ECHO_C" >&6
72481 else
72482
72483         if test x$gcc_no_link = xyes; then
72484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72486    { (exit 1); exit 1; }; }
72487 fi
72488 cat >conftest.$ac_ext <<_ACEOF
72489 /* confdefs.h.  */
72490 _ACEOF
72491 cat confdefs.h >>conftest.$ac_ext
72492 cat >>conftest.$ac_ext <<_ACEOF
72493 /* end confdefs.h.  */
72494 #include <math.h>
72495 int
72496 main ()
72497 {
72498  __builtin_labs(0);
72499   ;
72500   return 0;
72501 }
72502 _ACEOF
72503 rm -f conftest.$ac_objext conftest$ac_exeext
72504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72505   (eval $ac_link) 2>conftest.er1
72506   ac_status=$?
72507   grep -v '^ *+' conftest.er1 >conftest.err
72508   rm -f conftest.er1
72509   cat conftest.err >&5
72510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72511   (exit $ac_status); } &&
72512          { ac_try='test -z "$ac_c_werror_flag"
72513                          || test ! -s conftest.err'
72514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72515   (eval $ac_try) 2>&5
72516   ac_status=$?
72517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72518   (exit $ac_status); }; } &&
72519          { ac_try='test -s conftest$ac_exeext'
72520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72521   (eval $ac_try) 2>&5
72522   ac_status=$?
72523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72524   (exit $ac_status); }; }; then
72525   glibcxx_cv_func___builtin_labs_link=yes
72526 else
72527   echo "$as_me: failed program was:" >&5
72528 sed 's/^/| /' conftest.$ac_ext >&5
72529
72530 glibcxx_cv_func___builtin_labs_link=no
72531 fi
72532 rm -f conftest.err conftest.$ac_objext \
72533       conftest$ac_exeext conftest.$ac_ext
72534
72535 fi
72536
72537     fi
72538     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72539 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72540
72541     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72542
72543 cat >>confdefs.h <<\_ACEOF
72544 #define HAVE___BUILTIN_LABS 1
72545 _ACEOF
72546
72547     fi
72548
72549   fi
72550
72551
72552
72553   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72554 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72555   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72556     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72557   echo $ECHO_N "(cached) $ECHO_C" >&6
72558 else
72559
72560
72561
72562       ac_ext=cc
72563 ac_cpp='$CXXCPP $CPPFLAGS'
72564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72567
72568       cat >conftest.$ac_ext <<_ACEOF
72569 /* confdefs.h.  */
72570 _ACEOF
72571 cat confdefs.h >>conftest.$ac_ext
72572 cat >>conftest.$ac_ext <<_ACEOF
72573 /* end confdefs.h.  */
72574 #include <math.h>
72575 int
72576 main ()
72577 {
72578  __builtin_sqrtf(0);
72579   ;
72580   return 0;
72581 }
72582 _ACEOF
72583 rm -f conftest.$ac_objext
72584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72585   (eval $ac_compile) 2>conftest.er1
72586   ac_status=$?
72587   grep -v '^ *+' conftest.er1 >conftest.err
72588   rm -f conftest.er1
72589   cat conftest.err >&5
72590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72591   (exit $ac_status); } &&
72592          { ac_try='test -z "$ac_cxx_werror_flag"
72593                          || test ! -s conftest.err'
72594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72595   (eval $ac_try) 2>&5
72596   ac_status=$?
72597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72598   (exit $ac_status); }; } &&
72599          { ac_try='test -s conftest.$ac_objext'
72600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72601   (eval $ac_try) 2>&5
72602   ac_status=$?
72603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72604   (exit $ac_status); }; }; then
72605   glibcxx_cv_func___builtin_sqrtf_use=yes
72606 else
72607   echo "$as_me: failed program was:" >&5
72608 sed 's/^/| /' conftest.$ac_ext >&5
72609
72610 glibcxx_cv_func___builtin_sqrtf_use=no
72611 fi
72612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72613       ac_ext=c
72614 ac_cpp='$CPP $CPPFLAGS'
72615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72618
72619
72620 fi
72621
72622   fi
72623   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72624 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72625   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72626     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72627 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72628     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72629       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72630   echo $ECHO_N "(cached) $ECHO_C" >&6
72631 else
72632
72633         if test x$gcc_no_link = xyes; then
72634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72636    { (exit 1); exit 1; }; }
72637 fi
72638 cat >conftest.$ac_ext <<_ACEOF
72639 /* confdefs.h.  */
72640 _ACEOF
72641 cat confdefs.h >>conftest.$ac_ext
72642 cat >>conftest.$ac_ext <<_ACEOF
72643 /* end confdefs.h.  */
72644 #include <math.h>
72645 int
72646 main ()
72647 {
72648  __builtin_sqrtf(0);
72649   ;
72650   return 0;
72651 }
72652 _ACEOF
72653 rm -f conftest.$ac_objext conftest$ac_exeext
72654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72655   (eval $ac_link) 2>conftest.er1
72656   ac_status=$?
72657   grep -v '^ *+' conftest.er1 >conftest.err
72658   rm -f conftest.er1
72659   cat conftest.err >&5
72660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72661   (exit $ac_status); } &&
72662          { ac_try='test -z "$ac_c_werror_flag"
72663                          || test ! -s conftest.err'
72664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72665   (eval $ac_try) 2>&5
72666   ac_status=$?
72667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72668   (exit $ac_status); }; } &&
72669          { ac_try='test -s conftest$ac_exeext'
72670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72671   (eval $ac_try) 2>&5
72672   ac_status=$?
72673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72674   (exit $ac_status); }; }; then
72675   glibcxx_cv_func___builtin_sqrtf_link=yes
72676 else
72677   echo "$as_me: failed program was:" >&5
72678 sed 's/^/| /' conftest.$ac_ext >&5
72679
72680 glibcxx_cv_func___builtin_sqrtf_link=no
72681 fi
72682 rm -f conftest.err conftest.$ac_objext \
72683       conftest$ac_exeext conftest.$ac_ext
72684
72685 fi
72686
72687     fi
72688     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72689 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72690
72691     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72692
72693 cat >>confdefs.h <<\_ACEOF
72694 #define HAVE___BUILTIN_SQRTF 1
72695 _ACEOF
72696
72697     fi
72698
72699   fi
72700
72701
72702   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72703 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72704   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72705     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72706   echo $ECHO_N "(cached) $ECHO_C" >&6
72707 else
72708
72709
72710
72711       ac_ext=cc
72712 ac_cpp='$CXXCPP $CPPFLAGS'
72713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72716
72717       cat >conftest.$ac_ext <<_ACEOF
72718 /* confdefs.h.  */
72719 _ACEOF
72720 cat confdefs.h >>conftest.$ac_ext
72721 cat >>conftest.$ac_ext <<_ACEOF
72722 /* end confdefs.h.  */
72723 #include <math.h>
72724 int
72725 main ()
72726 {
72727  __builtin_sqrt(0);
72728   ;
72729   return 0;
72730 }
72731 _ACEOF
72732 rm -f conftest.$ac_objext
72733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72734   (eval $ac_compile) 2>conftest.er1
72735   ac_status=$?
72736   grep -v '^ *+' conftest.er1 >conftest.err
72737   rm -f conftest.er1
72738   cat conftest.err >&5
72739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72740   (exit $ac_status); } &&
72741          { ac_try='test -z "$ac_cxx_werror_flag"
72742                          || test ! -s conftest.err'
72743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72744   (eval $ac_try) 2>&5
72745   ac_status=$?
72746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72747   (exit $ac_status); }; } &&
72748          { ac_try='test -s conftest.$ac_objext'
72749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72750   (eval $ac_try) 2>&5
72751   ac_status=$?
72752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72753   (exit $ac_status); }; }; then
72754   glibcxx_cv_func___builtin_sqrt_use=yes
72755 else
72756   echo "$as_me: failed program was:" >&5
72757 sed 's/^/| /' conftest.$ac_ext >&5
72758
72759 glibcxx_cv_func___builtin_sqrt_use=no
72760 fi
72761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72762       ac_ext=c
72763 ac_cpp='$CPP $CPPFLAGS'
72764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72767
72768
72769 fi
72770
72771   fi
72772   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72773 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72774   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72775     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72776 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72777     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72778       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72779   echo $ECHO_N "(cached) $ECHO_C" >&6
72780 else
72781
72782         if test x$gcc_no_link = xyes; then
72783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72785    { (exit 1); exit 1; }; }
72786 fi
72787 cat >conftest.$ac_ext <<_ACEOF
72788 /* confdefs.h.  */
72789 _ACEOF
72790 cat confdefs.h >>conftest.$ac_ext
72791 cat >>conftest.$ac_ext <<_ACEOF
72792 /* end confdefs.h.  */
72793 #include <math.h>
72794 int
72795 main ()
72796 {
72797  __builtin_sqrt(0);
72798   ;
72799   return 0;
72800 }
72801 _ACEOF
72802 rm -f conftest.$ac_objext conftest$ac_exeext
72803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72804   (eval $ac_link) 2>conftest.er1
72805   ac_status=$?
72806   grep -v '^ *+' conftest.er1 >conftest.err
72807   rm -f conftest.er1
72808   cat conftest.err >&5
72809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72810   (exit $ac_status); } &&
72811          { ac_try='test -z "$ac_c_werror_flag"
72812                          || test ! -s conftest.err'
72813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72814   (eval $ac_try) 2>&5
72815   ac_status=$?
72816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72817   (exit $ac_status); }; } &&
72818          { ac_try='test -s conftest$ac_exeext'
72819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72820   (eval $ac_try) 2>&5
72821   ac_status=$?
72822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72823   (exit $ac_status); }; }; then
72824   glibcxx_cv_func___builtin_sqrt_link=yes
72825 else
72826   echo "$as_me: failed program was:" >&5
72827 sed 's/^/| /' conftest.$ac_ext >&5
72828
72829 glibcxx_cv_func___builtin_sqrt_link=no
72830 fi
72831 rm -f conftest.err conftest.$ac_objext \
72832       conftest$ac_exeext conftest.$ac_ext
72833
72834 fi
72835
72836     fi
72837     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72838 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
72839
72840     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
72841
72842 cat >>confdefs.h <<\_ACEOF
72843 #define HAVE___BUILTIN_SQRT 1
72844 _ACEOF
72845
72846     fi
72847
72848   fi
72849
72850
72851   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
72852 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
72853   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
72854     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
72855   echo $ECHO_N "(cached) $ECHO_C" >&6
72856 else
72857
72858
72859
72860       ac_ext=cc
72861 ac_cpp='$CXXCPP $CPPFLAGS'
72862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72865
72866       cat >conftest.$ac_ext <<_ACEOF
72867 /* confdefs.h.  */
72868 _ACEOF
72869 cat confdefs.h >>conftest.$ac_ext
72870 cat >>conftest.$ac_ext <<_ACEOF
72871 /* end confdefs.h.  */
72872 #include <math.h>
72873 int
72874 main ()
72875 {
72876  __builtin_sqrtl(0);
72877   ;
72878   return 0;
72879 }
72880 _ACEOF
72881 rm -f conftest.$ac_objext
72882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72883   (eval $ac_compile) 2>conftest.er1
72884   ac_status=$?
72885   grep -v '^ *+' conftest.er1 >conftest.err
72886   rm -f conftest.er1
72887   cat conftest.err >&5
72888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72889   (exit $ac_status); } &&
72890          { ac_try='test -z "$ac_cxx_werror_flag"
72891                          || test ! -s conftest.err'
72892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72893   (eval $ac_try) 2>&5
72894   ac_status=$?
72895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72896   (exit $ac_status); }; } &&
72897          { ac_try='test -s conftest.$ac_objext'
72898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72899   (eval $ac_try) 2>&5
72900   ac_status=$?
72901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72902   (exit $ac_status); }; }; then
72903   glibcxx_cv_func___builtin_sqrtl_use=yes
72904 else
72905   echo "$as_me: failed program was:" >&5
72906 sed 's/^/| /' conftest.$ac_ext >&5
72907
72908 glibcxx_cv_func___builtin_sqrtl_use=no
72909 fi
72910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72911       ac_ext=c
72912 ac_cpp='$CPP $CPPFLAGS'
72913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72916
72917
72918 fi
72919
72920   fi
72921   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
72922 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
72923   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
72924     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
72925 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
72926     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
72927       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
72928   echo $ECHO_N "(cached) $ECHO_C" >&6
72929 else
72930
72931         if test x$gcc_no_link = xyes; then
72932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72934    { (exit 1); exit 1; }; }
72935 fi
72936 cat >conftest.$ac_ext <<_ACEOF
72937 /* confdefs.h.  */
72938 _ACEOF
72939 cat confdefs.h >>conftest.$ac_ext
72940 cat >>conftest.$ac_ext <<_ACEOF
72941 /* end confdefs.h.  */
72942 #include <math.h>
72943 int
72944 main ()
72945 {
72946  __builtin_sqrtl(0);
72947   ;
72948   return 0;
72949 }
72950 _ACEOF
72951 rm -f conftest.$ac_objext conftest$ac_exeext
72952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72953   (eval $ac_link) 2>conftest.er1
72954   ac_status=$?
72955   grep -v '^ *+' conftest.er1 >conftest.err
72956   rm -f conftest.er1
72957   cat conftest.err >&5
72958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72959   (exit $ac_status); } &&
72960          { ac_try='test -z "$ac_c_werror_flag"
72961                          || test ! -s conftest.err'
72962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72963   (eval $ac_try) 2>&5
72964   ac_status=$?
72965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72966   (exit $ac_status); }; } &&
72967          { ac_try='test -s conftest$ac_exeext'
72968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72969   (eval $ac_try) 2>&5
72970   ac_status=$?
72971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72972   (exit $ac_status); }; }; then
72973   glibcxx_cv_func___builtin_sqrtl_link=yes
72974 else
72975   echo "$as_me: failed program was:" >&5
72976 sed 's/^/| /' conftest.$ac_ext >&5
72977
72978 glibcxx_cv_func___builtin_sqrtl_link=no
72979 fi
72980 rm -f conftest.err conftest.$ac_objext \
72981       conftest$ac_exeext conftest.$ac_ext
72982
72983 fi
72984
72985     fi
72986     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
72987 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
72988
72989     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
72990
72991 cat >>confdefs.h <<\_ACEOF
72992 #define HAVE___BUILTIN_SQRTL 1
72993 _ACEOF
72994
72995     fi
72996
72997   fi
72998
72999
73000
73001   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
73002 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
73003   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
73004     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
73005   echo $ECHO_N "(cached) $ECHO_C" >&6
73006 else
73007
73008
73009
73010       ac_ext=cc
73011 ac_cpp='$CXXCPP $CPPFLAGS'
73012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73015
73016       cat >conftest.$ac_ext <<_ACEOF
73017 /* confdefs.h.  */
73018 _ACEOF
73019 cat confdefs.h >>conftest.$ac_ext
73020 cat >>conftest.$ac_ext <<_ACEOF
73021 /* end confdefs.h.  */
73022 #include <math.h>
73023 int
73024 main ()
73025 {
73026  __builtin_sinf(0);
73027   ;
73028   return 0;
73029 }
73030 _ACEOF
73031 rm -f conftest.$ac_objext
73032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73033   (eval $ac_compile) 2>conftest.er1
73034   ac_status=$?
73035   grep -v '^ *+' conftest.er1 >conftest.err
73036   rm -f conftest.er1
73037   cat conftest.err >&5
73038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73039   (exit $ac_status); } &&
73040          { ac_try='test -z "$ac_cxx_werror_flag"
73041                          || test ! -s conftest.err'
73042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73043   (eval $ac_try) 2>&5
73044   ac_status=$?
73045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73046   (exit $ac_status); }; } &&
73047          { ac_try='test -s conftest.$ac_objext'
73048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73049   (eval $ac_try) 2>&5
73050   ac_status=$?
73051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73052   (exit $ac_status); }; }; then
73053   glibcxx_cv_func___builtin_sinf_use=yes
73054 else
73055   echo "$as_me: failed program was:" >&5
73056 sed 's/^/| /' conftest.$ac_ext >&5
73057
73058 glibcxx_cv_func___builtin_sinf_use=no
73059 fi
73060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73061       ac_ext=c
73062 ac_cpp='$CPP $CPPFLAGS'
73063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73066
73067
73068 fi
73069
73070   fi
73071   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
73072 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
73073   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
73074     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
73075 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
73076     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
73077       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
73078   echo $ECHO_N "(cached) $ECHO_C" >&6
73079 else
73080
73081         if test x$gcc_no_link = xyes; then
73082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73084    { (exit 1); exit 1; }; }
73085 fi
73086 cat >conftest.$ac_ext <<_ACEOF
73087 /* confdefs.h.  */
73088 _ACEOF
73089 cat confdefs.h >>conftest.$ac_ext
73090 cat >>conftest.$ac_ext <<_ACEOF
73091 /* end confdefs.h.  */
73092 #include <math.h>
73093 int
73094 main ()
73095 {
73096  __builtin_sinf(0);
73097   ;
73098   return 0;
73099 }
73100 _ACEOF
73101 rm -f conftest.$ac_objext conftest$ac_exeext
73102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73103   (eval $ac_link) 2>conftest.er1
73104   ac_status=$?
73105   grep -v '^ *+' conftest.er1 >conftest.err
73106   rm -f conftest.er1
73107   cat conftest.err >&5
73108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73109   (exit $ac_status); } &&
73110          { ac_try='test -z "$ac_c_werror_flag"
73111                          || test ! -s conftest.err'
73112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73113   (eval $ac_try) 2>&5
73114   ac_status=$?
73115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73116   (exit $ac_status); }; } &&
73117          { ac_try='test -s conftest$ac_exeext'
73118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73119   (eval $ac_try) 2>&5
73120   ac_status=$?
73121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73122   (exit $ac_status); }; }; then
73123   glibcxx_cv_func___builtin_sinf_link=yes
73124 else
73125   echo "$as_me: failed program was:" >&5
73126 sed 's/^/| /' conftest.$ac_ext >&5
73127
73128 glibcxx_cv_func___builtin_sinf_link=no
73129 fi
73130 rm -f conftest.err conftest.$ac_objext \
73131       conftest$ac_exeext conftest.$ac_ext
73132
73133 fi
73134
73135     fi
73136     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
73137 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
73138
73139     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
73140
73141 cat >>confdefs.h <<\_ACEOF
73142 #define HAVE___BUILTIN_SINF 1
73143 _ACEOF
73144
73145     fi
73146
73147   fi
73148
73149
73150   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
73151 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
73152   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
73153     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
73154   echo $ECHO_N "(cached) $ECHO_C" >&6
73155 else
73156
73157
73158
73159       ac_ext=cc
73160 ac_cpp='$CXXCPP $CPPFLAGS'
73161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73164
73165       cat >conftest.$ac_ext <<_ACEOF
73166 /* confdefs.h.  */
73167 _ACEOF
73168 cat confdefs.h >>conftest.$ac_ext
73169 cat >>conftest.$ac_ext <<_ACEOF
73170 /* end confdefs.h.  */
73171 #include <math.h>
73172 int
73173 main ()
73174 {
73175  __builtin_sin(0);
73176   ;
73177   return 0;
73178 }
73179 _ACEOF
73180 rm -f conftest.$ac_objext
73181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73182   (eval $ac_compile) 2>conftest.er1
73183   ac_status=$?
73184   grep -v '^ *+' conftest.er1 >conftest.err
73185   rm -f conftest.er1
73186   cat conftest.err >&5
73187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73188   (exit $ac_status); } &&
73189          { ac_try='test -z "$ac_cxx_werror_flag"
73190                          || test ! -s conftest.err'
73191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73192   (eval $ac_try) 2>&5
73193   ac_status=$?
73194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73195   (exit $ac_status); }; } &&
73196          { ac_try='test -s conftest.$ac_objext'
73197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73198   (eval $ac_try) 2>&5
73199   ac_status=$?
73200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73201   (exit $ac_status); }; }; then
73202   glibcxx_cv_func___builtin_sin_use=yes
73203 else
73204   echo "$as_me: failed program was:" >&5
73205 sed 's/^/| /' conftest.$ac_ext >&5
73206
73207 glibcxx_cv_func___builtin_sin_use=no
73208 fi
73209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73210       ac_ext=c
73211 ac_cpp='$CPP $CPPFLAGS'
73212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73215
73216
73217 fi
73218
73219   fi
73220   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73221 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73222   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73223     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73224 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73225     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73226       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73227   echo $ECHO_N "(cached) $ECHO_C" >&6
73228 else
73229
73230         if test x$gcc_no_link = xyes; then
73231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73233    { (exit 1); exit 1; }; }
73234 fi
73235 cat >conftest.$ac_ext <<_ACEOF
73236 /* confdefs.h.  */
73237 _ACEOF
73238 cat confdefs.h >>conftest.$ac_ext
73239 cat >>conftest.$ac_ext <<_ACEOF
73240 /* end confdefs.h.  */
73241 #include <math.h>
73242 int
73243 main ()
73244 {
73245  __builtin_sin(0);
73246   ;
73247   return 0;
73248 }
73249 _ACEOF
73250 rm -f conftest.$ac_objext conftest$ac_exeext
73251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73252   (eval $ac_link) 2>conftest.er1
73253   ac_status=$?
73254   grep -v '^ *+' conftest.er1 >conftest.err
73255   rm -f conftest.er1
73256   cat conftest.err >&5
73257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73258   (exit $ac_status); } &&
73259          { ac_try='test -z "$ac_c_werror_flag"
73260                          || test ! -s conftest.err'
73261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73262   (eval $ac_try) 2>&5
73263   ac_status=$?
73264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73265   (exit $ac_status); }; } &&
73266          { ac_try='test -s conftest$ac_exeext'
73267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73268   (eval $ac_try) 2>&5
73269   ac_status=$?
73270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73271   (exit $ac_status); }; }; then
73272   glibcxx_cv_func___builtin_sin_link=yes
73273 else
73274   echo "$as_me: failed program was:" >&5
73275 sed 's/^/| /' conftest.$ac_ext >&5
73276
73277 glibcxx_cv_func___builtin_sin_link=no
73278 fi
73279 rm -f conftest.err conftest.$ac_objext \
73280       conftest$ac_exeext conftest.$ac_ext
73281
73282 fi
73283
73284     fi
73285     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73286 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73287
73288     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73289
73290 cat >>confdefs.h <<\_ACEOF
73291 #define HAVE___BUILTIN_SIN 1
73292 _ACEOF
73293
73294     fi
73295
73296   fi
73297
73298
73299   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73300 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73301   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73302     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73303   echo $ECHO_N "(cached) $ECHO_C" >&6
73304 else
73305
73306
73307
73308       ac_ext=cc
73309 ac_cpp='$CXXCPP $CPPFLAGS'
73310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73313
73314       cat >conftest.$ac_ext <<_ACEOF
73315 /* confdefs.h.  */
73316 _ACEOF
73317 cat confdefs.h >>conftest.$ac_ext
73318 cat >>conftest.$ac_ext <<_ACEOF
73319 /* end confdefs.h.  */
73320 #include <math.h>
73321 int
73322 main ()
73323 {
73324  __builtin_sinl(0);
73325   ;
73326   return 0;
73327 }
73328 _ACEOF
73329 rm -f conftest.$ac_objext
73330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73331   (eval $ac_compile) 2>conftest.er1
73332   ac_status=$?
73333   grep -v '^ *+' conftest.er1 >conftest.err
73334   rm -f conftest.er1
73335   cat conftest.err >&5
73336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73337   (exit $ac_status); } &&
73338          { ac_try='test -z "$ac_cxx_werror_flag"
73339                          || test ! -s conftest.err'
73340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73341   (eval $ac_try) 2>&5
73342   ac_status=$?
73343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73344   (exit $ac_status); }; } &&
73345          { ac_try='test -s conftest.$ac_objext'
73346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73347   (eval $ac_try) 2>&5
73348   ac_status=$?
73349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73350   (exit $ac_status); }; }; then
73351   glibcxx_cv_func___builtin_sinl_use=yes
73352 else
73353   echo "$as_me: failed program was:" >&5
73354 sed 's/^/| /' conftest.$ac_ext >&5
73355
73356 glibcxx_cv_func___builtin_sinl_use=no
73357 fi
73358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73359       ac_ext=c
73360 ac_cpp='$CPP $CPPFLAGS'
73361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73364
73365
73366 fi
73367
73368   fi
73369   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73370 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73371   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73372     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73373 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73374     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73375       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73376   echo $ECHO_N "(cached) $ECHO_C" >&6
73377 else
73378
73379         if test x$gcc_no_link = xyes; then
73380   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73382    { (exit 1); exit 1; }; }
73383 fi
73384 cat >conftest.$ac_ext <<_ACEOF
73385 /* confdefs.h.  */
73386 _ACEOF
73387 cat confdefs.h >>conftest.$ac_ext
73388 cat >>conftest.$ac_ext <<_ACEOF
73389 /* end confdefs.h.  */
73390 #include <math.h>
73391 int
73392 main ()
73393 {
73394  __builtin_sinl(0);
73395   ;
73396   return 0;
73397 }
73398 _ACEOF
73399 rm -f conftest.$ac_objext conftest$ac_exeext
73400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73401   (eval $ac_link) 2>conftest.er1
73402   ac_status=$?
73403   grep -v '^ *+' conftest.er1 >conftest.err
73404   rm -f conftest.er1
73405   cat conftest.err >&5
73406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73407   (exit $ac_status); } &&
73408          { ac_try='test -z "$ac_c_werror_flag"
73409                          || test ! -s conftest.err'
73410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73411   (eval $ac_try) 2>&5
73412   ac_status=$?
73413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73414   (exit $ac_status); }; } &&
73415          { ac_try='test -s conftest$ac_exeext'
73416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73417   (eval $ac_try) 2>&5
73418   ac_status=$?
73419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73420   (exit $ac_status); }; }; then
73421   glibcxx_cv_func___builtin_sinl_link=yes
73422 else
73423   echo "$as_me: failed program was:" >&5
73424 sed 's/^/| /' conftest.$ac_ext >&5
73425
73426 glibcxx_cv_func___builtin_sinl_link=no
73427 fi
73428 rm -f conftest.err conftest.$ac_objext \
73429       conftest$ac_exeext conftest.$ac_ext
73430
73431 fi
73432
73433     fi
73434     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73435 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73436
73437     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73438
73439 cat >>confdefs.h <<\_ACEOF
73440 #define HAVE___BUILTIN_SINL 1
73441 _ACEOF
73442
73443     fi
73444
73445   fi
73446
73447
73448
73449   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73450 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73451   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73452     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73453   echo $ECHO_N "(cached) $ECHO_C" >&6
73454 else
73455
73456
73457
73458       ac_ext=cc
73459 ac_cpp='$CXXCPP $CPPFLAGS'
73460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73463
73464       cat >conftest.$ac_ext <<_ACEOF
73465 /* confdefs.h.  */
73466 _ACEOF
73467 cat confdefs.h >>conftest.$ac_ext
73468 cat >>conftest.$ac_ext <<_ACEOF
73469 /* end confdefs.h.  */
73470 #include <math.h>
73471 int
73472 main ()
73473 {
73474  __builtin_cosf(0);
73475   ;
73476   return 0;
73477 }
73478 _ACEOF
73479 rm -f conftest.$ac_objext
73480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73481   (eval $ac_compile) 2>conftest.er1
73482   ac_status=$?
73483   grep -v '^ *+' conftest.er1 >conftest.err
73484   rm -f conftest.er1
73485   cat conftest.err >&5
73486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73487   (exit $ac_status); } &&
73488          { ac_try='test -z "$ac_cxx_werror_flag"
73489                          || test ! -s conftest.err'
73490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73491   (eval $ac_try) 2>&5
73492   ac_status=$?
73493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73494   (exit $ac_status); }; } &&
73495          { ac_try='test -s conftest.$ac_objext'
73496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73497   (eval $ac_try) 2>&5
73498   ac_status=$?
73499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73500   (exit $ac_status); }; }; then
73501   glibcxx_cv_func___builtin_cosf_use=yes
73502 else
73503   echo "$as_me: failed program was:" >&5
73504 sed 's/^/| /' conftest.$ac_ext >&5
73505
73506 glibcxx_cv_func___builtin_cosf_use=no
73507 fi
73508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73509       ac_ext=c
73510 ac_cpp='$CPP $CPPFLAGS'
73511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73514
73515
73516 fi
73517
73518   fi
73519   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73520 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73521   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73522     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73523 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73524     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73525       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73526   echo $ECHO_N "(cached) $ECHO_C" >&6
73527 else
73528
73529         if test x$gcc_no_link = xyes; then
73530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73532    { (exit 1); exit 1; }; }
73533 fi
73534 cat >conftest.$ac_ext <<_ACEOF
73535 /* confdefs.h.  */
73536 _ACEOF
73537 cat confdefs.h >>conftest.$ac_ext
73538 cat >>conftest.$ac_ext <<_ACEOF
73539 /* end confdefs.h.  */
73540 #include <math.h>
73541 int
73542 main ()
73543 {
73544  __builtin_cosf(0);
73545   ;
73546   return 0;
73547 }
73548 _ACEOF
73549 rm -f conftest.$ac_objext conftest$ac_exeext
73550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73551   (eval $ac_link) 2>conftest.er1
73552   ac_status=$?
73553   grep -v '^ *+' conftest.er1 >conftest.err
73554   rm -f conftest.er1
73555   cat conftest.err >&5
73556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73557   (exit $ac_status); } &&
73558          { ac_try='test -z "$ac_c_werror_flag"
73559                          || test ! -s conftest.err'
73560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73561   (eval $ac_try) 2>&5
73562   ac_status=$?
73563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73564   (exit $ac_status); }; } &&
73565          { ac_try='test -s conftest$ac_exeext'
73566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73567   (eval $ac_try) 2>&5
73568   ac_status=$?
73569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73570   (exit $ac_status); }; }; then
73571   glibcxx_cv_func___builtin_cosf_link=yes
73572 else
73573   echo "$as_me: failed program was:" >&5
73574 sed 's/^/| /' conftest.$ac_ext >&5
73575
73576 glibcxx_cv_func___builtin_cosf_link=no
73577 fi
73578 rm -f conftest.err conftest.$ac_objext \
73579       conftest$ac_exeext conftest.$ac_ext
73580
73581 fi
73582
73583     fi
73584     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73585 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73586
73587     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73588
73589 cat >>confdefs.h <<\_ACEOF
73590 #define HAVE___BUILTIN_COSF 1
73591 _ACEOF
73592
73593     fi
73594
73595   fi
73596
73597
73598   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73599 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73600   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73601     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73602   echo $ECHO_N "(cached) $ECHO_C" >&6
73603 else
73604
73605
73606
73607       ac_ext=cc
73608 ac_cpp='$CXXCPP $CPPFLAGS'
73609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73612
73613       cat >conftest.$ac_ext <<_ACEOF
73614 /* confdefs.h.  */
73615 _ACEOF
73616 cat confdefs.h >>conftest.$ac_ext
73617 cat >>conftest.$ac_ext <<_ACEOF
73618 /* end confdefs.h.  */
73619 #include <math.h>
73620 int
73621 main ()
73622 {
73623  __builtin_cos(0);
73624   ;
73625   return 0;
73626 }
73627 _ACEOF
73628 rm -f conftest.$ac_objext
73629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73630   (eval $ac_compile) 2>conftest.er1
73631   ac_status=$?
73632   grep -v '^ *+' conftest.er1 >conftest.err
73633   rm -f conftest.er1
73634   cat conftest.err >&5
73635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73636   (exit $ac_status); } &&
73637          { ac_try='test -z "$ac_cxx_werror_flag"
73638                          || test ! -s conftest.err'
73639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73640   (eval $ac_try) 2>&5
73641   ac_status=$?
73642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73643   (exit $ac_status); }; } &&
73644          { ac_try='test -s conftest.$ac_objext'
73645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73646   (eval $ac_try) 2>&5
73647   ac_status=$?
73648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73649   (exit $ac_status); }; }; then
73650   glibcxx_cv_func___builtin_cos_use=yes
73651 else
73652   echo "$as_me: failed program was:" >&5
73653 sed 's/^/| /' conftest.$ac_ext >&5
73654
73655 glibcxx_cv_func___builtin_cos_use=no
73656 fi
73657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73658       ac_ext=c
73659 ac_cpp='$CPP $CPPFLAGS'
73660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73663
73664
73665 fi
73666
73667   fi
73668   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73669 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73670   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73671     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73672 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73673     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73674       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73675   echo $ECHO_N "(cached) $ECHO_C" >&6
73676 else
73677
73678         if test x$gcc_no_link = xyes; then
73679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73681    { (exit 1); exit 1; }; }
73682 fi
73683 cat >conftest.$ac_ext <<_ACEOF
73684 /* confdefs.h.  */
73685 _ACEOF
73686 cat confdefs.h >>conftest.$ac_ext
73687 cat >>conftest.$ac_ext <<_ACEOF
73688 /* end confdefs.h.  */
73689 #include <math.h>
73690 int
73691 main ()
73692 {
73693  __builtin_cos(0);
73694   ;
73695   return 0;
73696 }
73697 _ACEOF
73698 rm -f conftest.$ac_objext conftest$ac_exeext
73699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73700   (eval $ac_link) 2>conftest.er1
73701   ac_status=$?
73702   grep -v '^ *+' conftest.er1 >conftest.err
73703   rm -f conftest.er1
73704   cat conftest.err >&5
73705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73706   (exit $ac_status); } &&
73707          { ac_try='test -z "$ac_c_werror_flag"
73708                          || test ! -s conftest.err'
73709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73710   (eval $ac_try) 2>&5
73711   ac_status=$?
73712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73713   (exit $ac_status); }; } &&
73714          { ac_try='test -s conftest$ac_exeext'
73715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73716   (eval $ac_try) 2>&5
73717   ac_status=$?
73718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73719   (exit $ac_status); }; }; then
73720   glibcxx_cv_func___builtin_cos_link=yes
73721 else
73722   echo "$as_me: failed program was:" >&5
73723 sed 's/^/| /' conftest.$ac_ext >&5
73724
73725 glibcxx_cv_func___builtin_cos_link=no
73726 fi
73727 rm -f conftest.err conftest.$ac_objext \
73728       conftest$ac_exeext conftest.$ac_ext
73729
73730 fi
73731
73732     fi
73733     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73734 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73735
73736     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73737
73738 cat >>confdefs.h <<\_ACEOF
73739 #define HAVE___BUILTIN_COS 1
73740 _ACEOF
73741
73742     fi
73743
73744   fi
73745
73746
73747   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73748 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73749   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73750     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73751   echo $ECHO_N "(cached) $ECHO_C" >&6
73752 else
73753
73754
73755
73756       ac_ext=cc
73757 ac_cpp='$CXXCPP $CPPFLAGS'
73758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73761
73762       cat >conftest.$ac_ext <<_ACEOF
73763 /* confdefs.h.  */
73764 _ACEOF
73765 cat confdefs.h >>conftest.$ac_ext
73766 cat >>conftest.$ac_ext <<_ACEOF
73767 /* end confdefs.h.  */
73768 #include <math.h>
73769 int
73770 main ()
73771 {
73772  __builtin_cosl(0);
73773   ;
73774   return 0;
73775 }
73776 _ACEOF
73777 rm -f conftest.$ac_objext
73778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73779   (eval $ac_compile) 2>conftest.er1
73780   ac_status=$?
73781   grep -v '^ *+' conftest.er1 >conftest.err
73782   rm -f conftest.er1
73783   cat conftest.err >&5
73784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73785   (exit $ac_status); } &&
73786          { ac_try='test -z "$ac_cxx_werror_flag"
73787                          || test ! -s conftest.err'
73788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73789   (eval $ac_try) 2>&5
73790   ac_status=$?
73791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73792   (exit $ac_status); }; } &&
73793          { ac_try='test -s conftest.$ac_objext'
73794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73795   (eval $ac_try) 2>&5
73796   ac_status=$?
73797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73798   (exit $ac_status); }; }; then
73799   glibcxx_cv_func___builtin_cosl_use=yes
73800 else
73801   echo "$as_me: failed program was:" >&5
73802 sed 's/^/| /' conftest.$ac_ext >&5
73803
73804 glibcxx_cv_func___builtin_cosl_use=no
73805 fi
73806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73807       ac_ext=c
73808 ac_cpp='$CPP $CPPFLAGS'
73809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73812
73813
73814 fi
73815
73816   fi
73817   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73818 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73819   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73820     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73821 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73822     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73823       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73824   echo $ECHO_N "(cached) $ECHO_C" >&6
73825 else
73826
73827         if test x$gcc_no_link = xyes; then
73828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73830    { (exit 1); exit 1; }; }
73831 fi
73832 cat >conftest.$ac_ext <<_ACEOF
73833 /* confdefs.h.  */
73834 _ACEOF
73835 cat confdefs.h >>conftest.$ac_ext
73836 cat >>conftest.$ac_ext <<_ACEOF
73837 /* end confdefs.h.  */
73838 #include <math.h>
73839 int
73840 main ()
73841 {
73842  __builtin_cosl(0);
73843   ;
73844   return 0;
73845 }
73846 _ACEOF
73847 rm -f conftest.$ac_objext conftest$ac_exeext
73848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73849   (eval $ac_link) 2>conftest.er1
73850   ac_status=$?
73851   grep -v '^ *+' conftest.er1 >conftest.err
73852   rm -f conftest.er1
73853   cat conftest.err >&5
73854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73855   (exit $ac_status); } &&
73856          { ac_try='test -z "$ac_c_werror_flag"
73857                          || test ! -s conftest.err'
73858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73859   (eval $ac_try) 2>&5
73860   ac_status=$?
73861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73862   (exit $ac_status); }; } &&
73863          { ac_try='test -s conftest$ac_exeext'
73864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73865   (eval $ac_try) 2>&5
73866   ac_status=$?
73867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73868   (exit $ac_status); }; }; then
73869   glibcxx_cv_func___builtin_cosl_link=yes
73870 else
73871   echo "$as_me: failed program was:" >&5
73872 sed 's/^/| /' conftest.$ac_ext >&5
73873
73874 glibcxx_cv_func___builtin_cosl_link=no
73875 fi
73876 rm -f conftest.err conftest.$ac_objext \
73877       conftest$ac_exeext conftest.$ac_ext
73878
73879 fi
73880
73881     fi
73882     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
73883 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
73884
73885     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
73886
73887 cat >>confdefs.h <<\_ACEOF
73888 #define HAVE___BUILTIN_COSL 1
73889 _ACEOF
73890
73891     fi
73892
73893   fi
73894
73895
73896
73897
73898 echo "$as_me:$LINENO: checking for main in -lm" >&5
73899 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
73900 if test "${ac_cv_lib_m_main+set}" = set; then
73901   echo $ECHO_N "(cached) $ECHO_C" >&6
73902 else
73903   ac_check_lib_save_LIBS=$LIBS
73904 LIBS="-lm  $LIBS"
73905 if test x$gcc_no_link = xyes; then
73906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73908    { (exit 1); exit 1; }; }
73909 fi
73910 cat >conftest.$ac_ext <<_ACEOF
73911 /* confdefs.h.  */
73912 _ACEOF
73913 cat confdefs.h >>conftest.$ac_ext
73914 cat >>conftest.$ac_ext <<_ACEOF
73915 /* end confdefs.h.  */
73916
73917
73918 int
73919 main ()
73920 {
73921 main ();
73922   ;
73923   return 0;
73924 }
73925 _ACEOF
73926 rm -f conftest.$ac_objext conftest$ac_exeext
73927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73928   (eval $ac_link) 2>conftest.er1
73929   ac_status=$?
73930   grep -v '^ *+' conftest.er1 >conftest.err
73931   rm -f conftest.er1
73932   cat conftest.err >&5
73933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73934   (exit $ac_status); } &&
73935          { ac_try='test -z "$ac_c_werror_flag"
73936                          || test ! -s conftest.err'
73937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73938   (eval $ac_try) 2>&5
73939   ac_status=$?
73940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73941   (exit $ac_status); }; } &&
73942          { ac_try='test -s conftest$ac_exeext'
73943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73944   (eval $ac_try) 2>&5
73945   ac_status=$?
73946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73947   (exit $ac_status); }; }; then
73948   ac_cv_lib_m_main=yes
73949 else
73950   echo "$as_me: failed program was:" >&5
73951 sed 's/^/| /' conftest.$ac_ext >&5
73952
73953 ac_cv_lib_m_main=no
73954 fi
73955 rm -f conftest.err conftest.$ac_objext \
73956       conftest$ac_exeext conftest.$ac_ext
73957 LIBS=$ac_check_lib_save_LIBS
73958 fi
73959 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
73960 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
73961 if test $ac_cv_lib_m_main = yes; then
73962   cat >>confdefs.h <<_ACEOF
73963 #define HAVE_LIBM 1
73964 _ACEOF
73965
73966   LIBS="-lm $LIBS"
73967
73968 fi
73969
73970
73971 for ac_func in copysignf
73972 do
73973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73974 echo "$as_me:$LINENO: checking for $ac_func" >&5
73975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73976 if eval "test \"\${$as_ac_var+set}\" = set"; then
73977   echo $ECHO_N "(cached) $ECHO_C" >&6
73978 else
73979   if test x$gcc_no_link = xyes; then
73980   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73982    { (exit 1); exit 1; }; }
73983 fi
73984 cat >conftest.$ac_ext <<_ACEOF
73985 /* confdefs.h.  */
73986 _ACEOF
73987 cat confdefs.h >>conftest.$ac_ext
73988 cat >>conftest.$ac_ext <<_ACEOF
73989 /* end confdefs.h.  */
73990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73991    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73992 #define $ac_func innocuous_$ac_func
73993
73994 /* System header to define __stub macros and hopefully few prototypes,
73995     which can conflict with char $ac_func (); below.
73996     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73997     <limits.h> exists even on freestanding compilers.  */
73998
73999 #ifdef __STDC__
74000 # include <limits.h>
74001 #else
74002 # include <assert.h>
74003 #endif
74004
74005 #undef $ac_func
74006
74007 /* Override any gcc2 internal prototype to avoid an error.  */
74008 #ifdef __cplusplus
74009 extern "C"
74010 {
74011 #endif
74012 /* We use char because int might match the return type of a gcc2
74013    builtin and then its argument prototype would still apply.  */
74014 char $ac_func ();
74015 /* The GNU C library defines this for functions which it implements
74016     to always fail with ENOSYS.  Some functions are actually named
74017     something starting with __ and the normal name is an alias.  */
74018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74019 choke me
74020 #else
74021 char (*f) () = $ac_func;
74022 #endif
74023 #ifdef __cplusplus
74024 }
74025 #endif
74026
74027 int
74028 main ()
74029 {
74030 return f != $ac_func;
74031   ;
74032   return 0;
74033 }
74034 _ACEOF
74035 rm -f conftest.$ac_objext conftest$ac_exeext
74036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74037   (eval $ac_link) 2>conftest.er1
74038   ac_status=$?
74039   grep -v '^ *+' conftest.er1 >conftest.err
74040   rm -f conftest.er1
74041   cat conftest.err >&5
74042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74043   (exit $ac_status); } &&
74044          { ac_try='test -z "$ac_c_werror_flag"
74045                          || test ! -s conftest.err'
74046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74047   (eval $ac_try) 2>&5
74048   ac_status=$?
74049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74050   (exit $ac_status); }; } &&
74051          { ac_try='test -s conftest$ac_exeext'
74052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74053   (eval $ac_try) 2>&5
74054   ac_status=$?
74055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74056   (exit $ac_status); }; }; then
74057   eval "$as_ac_var=yes"
74058 else
74059   echo "$as_me: failed program was:" >&5
74060 sed 's/^/| /' conftest.$ac_ext >&5
74061
74062 eval "$as_ac_var=no"
74063 fi
74064 rm -f conftest.err conftest.$ac_objext \
74065       conftest$ac_exeext conftest.$ac_ext
74066 fi
74067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74069 if test `eval echo '${'$as_ac_var'}'` = yes; then
74070   cat >>confdefs.h <<_ACEOF
74071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74072 _ACEOF
74073
74074 else
74075   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74076 fi
74077 done
74078
74079
74080
74081 for ac_func in __signbit
74082 do
74083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74084 echo "$as_me:$LINENO: checking for $ac_func" >&5
74085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74086 if eval "test \"\${$as_ac_var+set}\" = set"; then
74087   echo $ECHO_N "(cached) $ECHO_C" >&6
74088 else
74089   if test x$gcc_no_link = xyes; then
74090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74092    { (exit 1); exit 1; }; }
74093 fi
74094 cat >conftest.$ac_ext <<_ACEOF
74095 /* confdefs.h.  */
74096 _ACEOF
74097 cat confdefs.h >>conftest.$ac_ext
74098 cat >>conftest.$ac_ext <<_ACEOF
74099 /* end confdefs.h.  */
74100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74101    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74102 #define $ac_func innocuous_$ac_func
74103
74104 /* System header to define __stub macros and hopefully few prototypes,
74105     which can conflict with char $ac_func (); below.
74106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74107     <limits.h> exists even on freestanding compilers.  */
74108
74109 #ifdef __STDC__
74110 # include <limits.h>
74111 #else
74112 # include <assert.h>
74113 #endif
74114
74115 #undef $ac_func
74116
74117 /* Override any gcc2 internal prototype to avoid an error.  */
74118 #ifdef __cplusplus
74119 extern "C"
74120 {
74121 #endif
74122 /* We use char because int might match the return type of a gcc2
74123    builtin and then its argument prototype would still apply.  */
74124 char $ac_func ();
74125 /* The GNU C library defines this for functions which it implements
74126     to always fail with ENOSYS.  Some functions are actually named
74127     something starting with __ and the normal name is an alias.  */
74128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74129 choke me
74130 #else
74131 char (*f) () = $ac_func;
74132 #endif
74133 #ifdef __cplusplus
74134 }
74135 #endif
74136
74137 int
74138 main ()
74139 {
74140 return f != $ac_func;
74141   ;
74142   return 0;
74143 }
74144 _ACEOF
74145 rm -f conftest.$ac_objext conftest$ac_exeext
74146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74147   (eval $ac_link) 2>conftest.er1
74148   ac_status=$?
74149   grep -v '^ *+' conftest.er1 >conftest.err
74150   rm -f conftest.er1
74151   cat conftest.err >&5
74152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74153   (exit $ac_status); } &&
74154          { ac_try='test -z "$ac_c_werror_flag"
74155                          || test ! -s conftest.err'
74156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74157   (eval $ac_try) 2>&5
74158   ac_status=$?
74159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74160   (exit $ac_status); }; } &&
74161          { ac_try='test -s conftest$ac_exeext'
74162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74163   (eval $ac_try) 2>&5
74164   ac_status=$?
74165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74166   (exit $ac_status); }; }; then
74167   eval "$as_ac_var=yes"
74168 else
74169   echo "$as_me: failed program was:" >&5
74170 sed 's/^/| /' conftest.$ac_ext >&5
74171
74172 eval "$as_ac_var=no"
74173 fi
74174 rm -f conftest.err conftest.$ac_objext \
74175       conftest$ac_exeext conftest.$ac_ext
74176 fi
74177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74179 if test `eval echo '${'$as_ac_var'}'` = yes; then
74180   cat >>confdefs.h <<_ACEOF
74181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74182 _ACEOF
74183
74184 else
74185   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74186 fi
74187 done
74188
74189
74190
74191 for ac_func in __signbitf
74192 do
74193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74194 echo "$as_me:$LINENO: checking for $ac_func" >&5
74195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74196 if eval "test \"\${$as_ac_var+set}\" = set"; then
74197   echo $ECHO_N "(cached) $ECHO_C" >&6
74198 else
74199   if test x$gcc_no_link = xyes; then
74200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74202    { (exit 1); exit 1; }; }
74203 fi
74204 cat >conftest.$ac_ext <<_ACEOF
74205 /* confdefs.h.  */
74206 _ACEOF
74207 cat confdefs.h >>conftest.$ac_ext
74208 cat >>conftest.$ac_ext <<_ACEOF
74209 /* end confdefs.h.  */
74210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74211    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74212 #define $ac_func innocuous_$ac_func
74213
74214 /* System header to define __stub macros and hopefully few prototypes,
74215     which can conflict with char $ac_func (); below.
74216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74217     <limits.h> exists even on freestanding compilers.  */
74218
74219 #ifdef __STDC__
74220 # include <limits.h>
74221 #else
74222 # include <assert.h>
74223 #endif
74224
74225 #undef $ac_func
74226
74227 /* Override any gcc2 internal prototype to avoid an error.  */
74228 #ifdef __cplusplus
74229 extern "C"
74230 {
74231 #endif
74232 /* We use char because int might match the return type of a gcc2
74233    builtin and then its argument prototype would still apply.  */
74234 char $ac_func ();
74235 /* The GNU C library defines this for functions which it implements
74236     to always fail with ENOSYS.  Some functions are actually named
74237     something starting with __ and the normal name is an alias.  */
74238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74239 choke me
74240 #else
74241 char (*f) () = $ac_func;
74242 #endif
74243 #ifdef __cplusplus
74244 }
74245 #endif
74246
74247 int
74248 main ()
74249 {
74250 return f != $ac_func;
74251   ;
74252   return 0;
74253 }
74254 _ACEOF
74255 rm -f conftest.$ac_objext conftest$ac_exeext
74256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74257   (eval $ac_link) 2>conftest.er1
74258   ac_status=$?
74259   grep -v '^ *+' conftest.er1 >conftest.err
74260   rm -f conftest.er1
74261   cat conftest.err >&5
74262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74263   (exit $ac_status); } &&
74264          { ac_try='test -z "$ac_c_werror_flag"
74265                          || test ! -s conftest.err'
74266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74267   (eval $ac_try) 2>&5
74268   ac_status=$?
74269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74270   (exit $ac_status); }; } &&
74271          { ac_try='test -s conftest$ac_exeext'
74272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74273   (eval $ac_try) 2>&5
74274   ac_status=$?
74275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74276   (exit $ac_status); }; }; then
74277   eval "$as_ac_var=yes"
74278 else
74279   echo "$as_me: failed program was:" >&5
74280 sed 's/^/| /' conftest.$ac_ext >&5
74281
74282 eval "$as_ac_var=no"
74283 fi
74284 rm -f conftest.err conftest.$ac_objext \
74285       conftest$ac_exeext conftest.$ac_ext
74286 fi
74287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74289 if test `eval echo '${'$as_ac_var'}'` = yes; then
74290   cat >>confdefs.h <<_ACEOF
74291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74292 _ACEOF
74293
74294 else
74295   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74296 fi
74297 done
74298
74299
74300           if test x$ac_cv_func_copysignl = x"yes"; then
74301
74302 for ac_func in __signbitl
74303 do
74304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74305 echo "$as_me:$LINENO: checking for $ac_func" >&5
74306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74307 if eval "test \"\${$as_ac_var+set}\" = set"; then
74308   echo $ECHO_N "(cached) $ECHO_C" >&6
74309 else
74310   if test x$gcc_no_link = xyes; then
74311   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74313    { (exit 1); exit 1; }; }
74314 fi
74315 cat >conftest.$ac_ext <<_ACEOF
74316 /* confdefs.h.  */
74317 _ACEOF
74318 cat confdefs.h >>conftest.$ac_ext
74319 cat >>conftest.$ac_ext <<_ACEOF
74320 /* end confdefs.h.  */
74321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74322    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74323 #define $ac_func innocuous_$ac_func
74324
74325 /* System header to define __stub macros and hopefully few prototypes,
74326     which can conflict with char $ac_func (); below.
74327     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74328     <limits.h> exists even on freestanding compilers.  */
74329
74330 #ifdef __STDC__
74331 # include <limits.h>
74332 #else
74333 # include <assert.h>
74334 #endif
74335
74336 #undef $ac_func
74337
74338 /* Override any gcc2 internal prototype to avoid an error.  */
74339 #ifdef __cplusplus
74340 extern "C"
74341 {
74342 #endif
74343 /* We use char because int might match the return type of a gcc2
74344    builtin and then its argument prototype would still apply.  */
74345 char $ac_func ();
74346 /* The GNU C library defines this for functions which it implements
74347     to always fail with ENOSYS.  Some functions are actually named
74348     something starting with __ and the normal name is an alias.  */
74349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74350 choke me
74351 #else
74352 char (*f) () = $ac_func;
74353 #endif
74354 #ifdef __cplusplus
74355 }
74356 #endif
74357
74358 int
74359 main ()
74360 {
74361 return f != $ac_func;
74362   ;
74363   return 0;
74364 }
74365 _ACEOF
74366 rm -f conftest.$ac_objext conftest$ac_exeext
74367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74368   (eval $ac_link) 2>conftest.er1
74369   ac_status=$?
74370   grep -v '^ *+' conftest.er1 >conftest.err
74371   rm -f conftest.er1
74372   cat conftest.err >&5
74373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74374   (exit $ac_status); } &&
74375          { ac_try='test -z "$ac_c_werror_flag"
74376                          || test ! -s conftest.err'
74377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74378   (eval $ac_try) 2>&5
74379   ac_status=$?
74380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74381   (exit $ac_status); }; } &&
74382          { ac_try='test -s conftest$ac_exeext'
74383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74384   (eval $ac_try) 2>&5
74385   ac_status=$?
74386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74387   (exit $ac_status); }; }; then
74388   eval "$as_ac_var=yes"
74389 else
74390   echo "$as_me: failed program was:" >&5
74391 sed 's/^/| /' conftest.$ac_ext >&5
74392
74393 eval "$as_ac_var=no"
74394 fi
74395 rm -f conftest.err conftest.$ac_objext \
74396       conftest$ac_exeext conftest.$ac_ext
74397 fi
74398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74400 if test `eval echo '${'$as_ac_var'}'` = yes; then
74401   cat >>confdefs.h <<_ACEOF
74402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74403 _ACEOF
74404
74405 else
74406   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74407 fi
74408 done
74409
74410   fi
74411
74412   # Used in libmath/Makefile.am.
74413   if test -n "$LIBMATHOBJS"; then
74414     need_libmath=yes
74415   fi
74416
74417
74418
74419
74420   enable_iconv=no
74421   # Only continue checking if the ISO C99 headers exist and support is on.
74422   if test x"$enable_wchar_t" = xyes; then
74423
74424     # Use iconv for wchar_t to char conversions. As such, check for
74425     # X/Open Portability Guide, version 2 features (XPG2).
74426     if test "${ac_cv_header_iconv_h+set}" = set; then
74427   echo "$as_me:$LINENO: checking for iconv.h" >&5
74428 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74429 if test "${ac_cv_header_iconv_h+set}" = set; then
74430   echo $ECHO_N "(cached) $ECHO_C" >&6
74431 fi
74432 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74433 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74434 else
74435   # Is the header compilable?
74436 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74437 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74438 cat >conftest.$ac_ext <<_ACEOF
74439 /* confdefs.h.  */
74440 _ACEOF
74441 cat confdefs.h >>conftest.$ac_ext
74442 cat >>conftest.$ac_ext <<_ACEOF
74443 /* end confdefs.h.  */
74444 $ac_includes_default
74445 #include <iconv.h>
74446 _ACEOF
74447 rm -f conftest.$ac_objext
74448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74449   (eval $ac_compile) 2>conftest.er1
74450   ac_status=$?
74451   grep -v '^ *+' conftest.er1 >conftest.err
74452   rm -f conftest.er1
74453   cat conftest.err >&5
74454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74455   (exit $ac_status); } &&
74456          { ac_try='test -z "$ac_c_werror_flag"
74457                          || test ! -s conftest.err'
74458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74459   (eval $ac_try) 2>&5
74460   ac_status=$?
74461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74462   (exit $ac_status); }; } &&
74463          { ac_try='test -s conftest.$ac_objext'
74464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74465   (eval $ac_try) 2>&5
74466   ac_status=$?
74467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74468   (exit $ac_status); }; }; then
74469   ac_header_compiler=yes
74470 else
74471   echo "$as_me: failed program was:" >&5
74472 sed 's/^/| /' conftest.$ac_ext >&5
74473
74474 ac_header_compiler=no
74475 fi
74476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74478 echo "${ECHO_T}$ac_header_compiler" >&6
74479
74480 # Is the header present?
74481 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74482 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74483 cat >conftest.$ac_ext <<_ACEOF
74484 /* confdefs.h.  */
74485 _ACEOF
74486 cat confdefs.h >>conftest.$ac_ext
74487 cat >>conftest.$ac_ext <<_ACEOF
74488 /* end confdefs.h.  */
74489 #include <iconv.h>
74490 _ACEOF
74491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74492   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74493   ac_status=$?
74494   grep -v '^ *+' conftest.er1 >conftest.err
74495   rm -f conftest.er1
74496   cat conftest.err >&5
74497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74498   (exit $ac_status); } >/dev/null; then
74499   if test -s conftest.err; then
74500     ac_cpp_err=$ac_c_preproc_warn_flag
74501     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74502   else
74503     ac_cpp_err=
74504   fi
74505 else
74506   ac_cpp_err=yes
74507 fi
74508 if test -z "$ac_cpp_err"; then
74509   ac_header_preproc=yes
74510 else
74511   echo "$as_me: failed program was:" >&5
74512 sed 's/^/| /' conftest.$ac_ext >&5
74513
74514   ac_header_preproc=no
74515 fi
74516 rm -f conftest.err conftest.$ac_ext
74517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74518 echo "${ECHO_T}$ac_header_preproc" >&6
74519
74520 # So?  What about this header?
74521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74522   yes:no: )
74523     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74524 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74525     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74526 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74527     ac_header_preproc=yes
74528     ;;
74529   no:yes:* )
74530     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74531 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74532     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
74533 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
74534     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74535 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74536     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
74537 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74538     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74539 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74540     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74541 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74542     (
74543       cat <<\_ASBOX
74544 ## ----------------------------------------- ##
74545 ## Report this to the package-unused lists.  ##
74546 ## ----------------------------------------- ##
74547 _ASBOX
74548     ) |
74549       sed "s/^/$as_me: WARNING:     /" >&2
74550     ;;
74551 esac
74552 echo "$as_me:$LINENO: checking for iconv.h" >&5
74553 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74554 if test "${ac_cv_header_iconv_h+set}" = set; then
74555   echo $ECHO_N "(cached) $ECHO_C" >&6
74556 else
74557   ac_cv_header_iconv_h=$ac_header_preproc
74558 fi
74559 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74560 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74561
74562 fi
74563 if test $ac_cv_header_iconv_h = yes; then
74564   ac_has_iconv_h=yes
74565 else
74566   ac_has_iconv_h=no
74567 fi
74568
74569
74570     if test "${ac_cv_header_langinfo_h+set}" = set; then
74571   echo "$as_me:$LINENO: checking for langinfo.h" >&5
74572 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74573 if test "${ac_cv_header_langinfo_h+set}" = set; then
74574   echo $ECHO_N "(cached) $ECHO_C" >&6
74575 fi
74576 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74577 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74578 else
74579   # Is the header compilable?
74580 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74581 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74582 cat >conftest.$ac_ext <<_ACEOF
74583 /* confdefs.h.  */
74584 _ACEOF
74585 cat confdefs.h >>conftest.$ac_ext
74586 cat >>conftest.$ac_ext <<_ACEOF
74587 /* end confdefs.h.  */
74588 $ac_includes_default
74589 #include <langinfo.h>
74590 _ACEOF
74591 rm -f conftest.$ac_objext
74592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74593   (eval $ac_compile) 2>conftest.er1
74594   ac_status=$?
74595   grep -v '^ *+' conftest.er1 >conftest.err
74596   rm -f conftest.er1
74597   cat conftest.err >&5
74598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74599   (exit $ac_status); } &&
74600          { ac_try='test -z "$ac_c_werror_flag"
74601                          || test ! -s conftest.err'
74602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74603   (eval $ac_try) 2>&5
74604   ac_status=$?
74605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74606   (exit $ac_status); }; } &&
74607          { ac_try='test -s conftest.$ac_objext'
74608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74609   (eval $ac_try) 2>&5
74610   ac_status=$?
74611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74612   (exit $ac_status); }; }; then
74613   ac_header_compiler=yes
74614 else
74615   echo "$as_me: failed program was:" >&5
74616 sed 's/^/| /' conftest.$ac_ext >&5
74617
74618 ac_header_compiler=no
74619 fi
74620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74622 echo "${ECHO_T}$ac_header_compiler" >&6
74623
74624 # Is the header present?
74625 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74626 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74627 cat >conftest.$ac_ext <<_ACEOF
74628 /* confdefs.h.  */
74629 _ACEOF
74630 cat confdefs.h >>conftest.$ac_ext
74631 cat >>conftest.$ac_ext <<_ACEOF
74632 /* end confdefs.h.  */
74633 #include <langinfo.h>
74634 _ACEOF
74635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74636   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74637   ac_status=$?
74638   grep -v '^ *+' conftest.er1 >conftest.err
74639   rm -f conftest.er1
74640   cat conftest.err >&5
74641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74642   (exit $ac_status); } >/dev/null; then
74643   if test -s conftest.err; then
74644     ac_cpp_err=$ac_c_preproc_warn_flag
74645     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74646   else
74647     ac_cpp_err=
74648   fi
74649 else
74650   ac_cpp_err=yes
74651 fi
74652 if test -z "$ac_cpp_err"; then
74653   ac_header_preproc=yes
74654 else
74655   echo "$as_me: failed program was:" >&5
74656 sed 's/^/| /' conftest.$ac_ext >&5
74657
74658   ac_header_preproc=no
74659 fi
74660 rm -f conftest.err conftest.$ac_ext
74661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74662 echo "${ECHO_T}$ac_header_preproc" >&6
74663
74664 # So?  What about this header?
74665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74666   yes:no: )
74667     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74668 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74669     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74670 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74671     ac_header_preproc=yes
74672     ;;
74673   no:yes:* )
74674     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74675 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74676     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
74677 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
74678     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74679 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74680     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
74681 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74682     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74683 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74684     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74685 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74686     (
74687       cat <<\_ASBOX
74688 ## ----------------------------------------- ##
74689 ## Report this to the package-unused lists.  ##
74690 ## ----------------------------------------- ##
74691 _ASBOX
74692     ) |
74693       sed "s/^/$as_me: WARNING:     /" >&2
74694     ;;
74695 esac
74696 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74697 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74698 if test "${ac_cv_header_langinfo_h+set}" = set; then
74699   echo $ECHO_N "(cached) $ECHO_C" >&6
74700 else
74701   ac_cv_header_langinfo_h=$ac_header_preproc
74702 fi
74703 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74704 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74705
74706 fi
74707 if test $ac_cv_header_langinfo_h = yes; then
74708   ac_has_langinfo_h=yes
74709 else
74710   ac_has_langinfo_h=no
74711 fi
74712
74713
74714
74715     # Check for existence of libiconv.a providing XPG2 wchar_t support.
74716     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74717 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74718 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74719   echo $ECHO_N "(cached) $ECHO_C" >&6
74720 else
74721   ac_check_lib_save_LIBS=$LIBS
74722 LIBS="-liconv  $LIBS"
74723 if test x$gcc_no_link = xyes; then
74724   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74726    { (exit 1); exit 1; }; }
74727 fi
74728 cat >conftest.$ac_ext <<_ACEOF
74729 /* confdefs.h.  */
74730 _ACEOF
74731 cat confdefs.h >>conftest.$ac_ext
74732 cat >>conftest.$ac_ext <<_ACEOF
74733 /* end confdefs.h.  */
74734
74735 /* Override any gcc2 internal prototype to avoid an error.  */
74736 #ifdef __cplusplus
74737 extern "C"
74738 #endif
74739 /* We use char because int might match the return type of a gcc2
74740    builtin and then its argument prototype would still apply.  */
74741 char iconv ();
74742 int
74743 main ()
74744 {
74745 iconv ();
74746   ;
74747   return 0;
74748 }
74749 _ACEOF
74750 rm -f conftest.$ac_objext conftest$ac_exeext
74751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74752   (eval $ac_link) 2>conftest.er1
74753   ac_status=$?
74754   grep -v '^ *+' conftest.er1 >conftest.err
74755   rm -f conftest.er1
74756   cat conftest.err >&5
74757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74758   (exit $ac_status); } &&
74759          { ac_try='test -z "$ac_c_werror_flag"
74760                          || test ! -s conftest.err'
74761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74762   (eval $ac_try) 2>&5
74763   ac_status=$?
74764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74765   (exit $ac_status); }; } &&
74766          { ac_try='test -s conftest$ac_exeext'
74767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74768   (eval $ac_try) 2>&5
74769   ac_status=$?
74770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74771   (exit $ac_status); }; }; then
74772   ac_cv_lib_iconv_iconv=yes
74773 else
74774   echo "$as_me: failed program was:" >&5
74775 sed 's/^/| /' conftest.$ac_ext >&5
74776
74777 ac_cv_lib_iconv_iconv=no
74778 fi
74779 rm -f conftest.err conftest.$ac_objext \
74780       conftest$ac_exeext conftest.$ac_ext
74781 LIBS=$ac_check_lib_save_LIBS
74782 fi
74783 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74784 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74785 if test $ac_cv_lib_iconv_iconv = yes; then
74786   LIBICONV="-liconv"
74787 fi
74788
74789     ac_save_LIBS="$LIBS"
74790     LIBS="$LIBS $LIBICONV"
74791
74792
74793
74794
74795
74796
74797 for ac_func in iconv_open iconv_close iconv nl_langinfo
74798 do
74799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74800 echo "$as_me:$LINENO: checking for $ac_func" >&5
74801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74802 if eval "test \"\${$as_ac_var+set}\" = set"; then
74803   echo $ECHO_N "(cached) $ECHO_C" >&6
74804 else
74805   if test x$gcc_no_link = xyes; then
74806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74808    { (exit 1); exit 1; }; }
74809 fi
74810 cat >conftest.$ac_ext <<_ACEOF
74811 /* confdefs.h.  */
74812 _ACEOF
74813 cat confdefs.h >>conftest.$ac_ext
74814 cat >>conftest.$ac_ext <<_ACEOF
74815 /* end confdefs.h.  */
74816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74817    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74818 #define $ac_func innocuous_$ac_func
74819
74820 /* System header to define __stub macros and hopefully few prototypes,
74821     which can conflict with char $ac_func (); below.
74822     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74823     <limits.h> exists even on freestanding compilers.  */
74824
74825 #ifdef __STDC__
74826 # include <limits.h>
74827 #else
74828 # include <assert.h>
74829 #endif
74830
74831 #undef $ac_func
74832
74833 /* Override any gcc2 internal prototype to avoid an error.  */
74834 #ifdef __cplusplus
74835 extern "C"
74836 {
74837 #endif
74838 /* We use char because int might match the return type of a gcc2
74839    builtin and then its argument prototype would still apply.  */
74840 char $ac_func ();
74841 /* The GNU C library defines this for functions which it implements
74842     to always fail with ENOSYS.  Some functions are actually named
74843     something starting with __ and the normal name is an alias.  */
74844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74845 choke me
74846 #else
74847 char (*f) () = $ac_func;
74848 #endif
74849 #ifdef __cplusplus
74850 }
74851 #endif
74852
74853 int
74854 main ()
74855 {
74856 return f != $ac_func;
74857   ;
74858   return 0;
74859 }
74860 _ACEOF
74861 rm -f conftest.$ac_objext conftest$ac_exeext
74862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74863   (eval $ac_link) 2>conftest.er1
74864   ac_status=$?
74865   grep -v '^ *+' conftest.er1 >conftest.err
74866   rm -f conftest.er1
74867   cat conftest.err >&5
74868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74869   (exit $ac_status); } &&
74870          { ac_try='test -z "$ac_c_werror_flag"
74871                          || test ! -s conftest.err'
74872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74873   (eval $ac_try) 2>&5
74874   ac_status=$?
74875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74876   (exit $ac_status); }; } &&
74877          { ac_try='test -s conftest$ac_exeext'
74878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74879   (eval $ac_try) 2>&5
74880   ac_status=$?
74881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74882   (exit $ac_status); }; }; then
74883   eval "$as_ac_var=yes"
74884 else
74885   echo "$as_me: failed program was:" >&5
74886 sed 's/^/| /' conftest.$ac_ext >&5
74887
74888 eval "$as_ac_var=no"
74889 fi
74890 rm -f conftest.err conftest.$ac_objext \
74891       conftest$ac_exeext conftest.$ac_ext
74892 fi
74893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74895 if test `eval echo '${'$as_ac_var'}'` = yes; then
74896   cat >>confdefs.h <<_ACEOF
74897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74898 _ACEOF
74899  ac_XPG2funcs=yes
74900 else
74901   ac_XPG2funcs=no
74902 fi
74903 done
74904
74905
74906     LIBS="$ac_save_LIBS"
74907
74908     if test x"$ac_has_iconv_h" = xyes &&
74909        test x"$ac_has_langinfo_h" = xyes &&
74910        test x"$ac_XPG2funcs" = xyes;
74911     then
74912
74913 cat >>confdefs.h <<\_ACEOF
74914 #define _GLIBCXX_USE_ICONV 1
74915 _ACEOF
74916
74917       enable_iconv=yes
74918     fi
74919   fi
74920   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
74921 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
74922   echo "$as_me:$LINENO: result: $enable_iconv" >&5
74923 echo "${ECHO_T}$enable_iconv" >&6
74924
74925
74926   ac_test_CXXFLAGS="${CXXFLAGS+set}"
74927   ac_save_CXXFLAGS="$CXXFLAGS"
74928   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74929
74930
74931   echo "$as_me:$LINENO: checking for strtold declaration" >&5
74932 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74933   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74934     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74935   echo $ECHO_N "(cached) $ECHO_C" >&6
74936 else
74937
74938
74939
74940       ac_ext=cc
74941 ac_cpp='$CXXCPP $CPPFLAGS'
74942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74945
74946       cat >conftest.$ac_ext <<_ACEOF
74947 /* confdefs.h.  */
74948 _ACEOF
74949 cat confdefs.h >>conftest.$ac_ext
74950 cat >>conftest.$ac_ext <<_ACEOF
74951 /* end confdefs.h.  */
74952 #include <stdlib.h>
74953 int
74954 main ()
74955 {
74956  strtold(0, 0);
74957   ;
74958   return 0;
74959 }
74960 _ACEOF
74961 rm -f conftest.$ac_objext
74962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74963   (eval $ac_compile) 2>conftest.er1
74964   ac_status=$?
74965   grep -v '^ *+' conftest.er1 >conftest.err
74966   rm -f conftest.er1
74967   cat conftest.err >&5
74968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74969   (exit $ac_status); } &&
74970          { ac_try='test -z "$ac_cxx_werror_flag"
74971                          || test ! -s conftest.err'
74972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74973   (eval $ac_try) 2>&5
74974   ac_status=$?
74975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74976   (exit $ac_status); }; } &&
74977          { ac_try='test -s conftest.$ac_objext'
74978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74979   (eval $ac_try) 2>&5
74980   ac_status=$?
74981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74982   (exit $ac_status); }; }; then
74983   glibcxx_cv_func_strtold_use=yes
74984 else
74985   echo "$as_me: failed program was:" >&5
74986 sed 's/^/| /' conftest.$ac_ext >&5
74987
74988 glibcxx_cv_func_strtold_use=no
74989 fi
74990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74991       ac_ext=c
74992 ac_cpp='$CPP $CPPFLAGS'
74993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74996
74997
74998 fi
74999
75000   fi
75001   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
75002 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
75003   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
75004
75005 for ac_func in strtold
75006 do
75007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75008 echo "$as_me:$LINENO: checking for $ac_func" >&5
75009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75010 if eval "test \"\${$as_ac_var+set}\" = set"; then
75011   echo $ECHO_N "(cached) $ECHO_C" >&6
75012 else
75013   if test x$gcc_no_link = xyes; then
75014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75016    { (exit 1); exit 1; }; }
75017 fi
75018 cat >conftest.$ac_ext <<_ACEOF
75019 /* confdefs.h.  */
75020 _ACEOF
75021 cat confdefs.h >>conftest.$ac_ext
75022 cat >>conftest.$ac_ext <<_ACEOF
75023 /* end confdefs.h.  */
75024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75026 #define $ac_func innocuous_$ac_func
75027
75028 /* System header to define __stub macros and hopefully few prototypes,
75029     which can conflict with char $ac_func (); below.
75030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75031     <limits.h> exists even on freestanding compilers.  */
75032
75033 #ifdef __STDC__
75034 # include <limits.h>
75035 #else
75036 # include <assert.h>
75037 #endif
75038
75039 #undef $ac_func
75040
75041 /* Override any gcc2 internal prototype to avoid an error.  */
75042 #ifdef __cplusplus
75043 extern "C"
75044 {
75045 #endif
75046 /* We use char because int might match the return type of a gcc2
75047    builtin and then its argument prototype would still apply.  */
75048 char $ac_func ();
75049 /* The GNU C library defines this for functions which it implements
75050     to always fail with ENOSYS.  Some functions are actually named
75051     something starting with __ and the normal name is an alias.  */
75052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75053 choke me
75054 #else
75055 char (*f) () = $ac_func;
75056 #endif
75057 #ifdef __cplusplus
75058 }
75059 #endif
75060
75061 int
75062 main ()
75063 {
75064 return f != $ac_func;
75065   ;
75066   return 0;
75067 }
75068 _ACEOF
75069 rm -f conftest.$ac_objext conftest$ac_exeext
75070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75071   (eval $ac_link) 2>conftest.er1
75072   ac_status=$?
75073   grep -v '^ *+' conftest.er1 >conftest.err
75074   rm -f conftest.er1
75075   cat conftest.err >&5
75076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75077   (exit $ac_status); } &&
75078          { ac_try='test -z "$ac_c_werror_flag"
75079                          || test ! -s conftest.err'
75080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75081   (eval $ac_try) 2>&5
75082   ac_status=$?
75083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75084   (exit $ac_status); }; } &&
75085          { ac_try='test -s conftest$ac_exeext'
75086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75087   (eval $ac_try) 2>&5
75088   ac_status=$?
75089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75090   (exit $ac_status); }; }; then
75091   eval "$as_ac_var=yes"
75092 else
75093   echo "$as_me: failed program was:" >&5
75094 sed 's/^/| /' conftest.$ac_ext >&5
75095
75096 eval "$as_ac_var=no"
75097 fi
75098 rm -f conftest.err conftest.$ac_objext \
75099       conftest$ac_exeext conftest.$ac_ext
75100 fi
75101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75103 if test `eval echo '${'$as_ac_var'}'` = yes; then
75104   cat >>confdefs.h <<_ACEOF
75105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75106 _ACEOF
75107
75108 fi
75109 done
75110
75111   fi
75112
75113
75114
75115
75116
75117   echo "$as_me:$LINENO: checking for strtof declaration" >&5
75118 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
75119   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
75120     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
75121   echo $ECHO_N "(cached) $ECHO_C" >&6
75122 else
75123
75124
75125
75126       ac_ext=cc
75127 ac_cpp='$CXXCPP $CPPFLAGS'
75128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75131
75132       cat >conftest.$ac_ext <<_ACEOF
75133 /* confdefs.h.  */
75134 _ACEOF
75135 cat confdefs.h >>conftest.$ac_ext
75136 cat >>conftest.$ac_ext <<_ACEOF
75137 /* end confdefs.h.  */
75138 #include <stdlib.h>
75139 int
75140 main ()
75141 {
75142  strtof(0, 0);
75143   ;
75144   return 0;
75145 }
75146 _ACEOF
75147 rm -f conftest.$ac_objext
75148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75149   (eval $ac_compile) 2>conftest.er1
75150   ac_status=$?
75151   grep -v '^ *+' conftest.er1 >conftest.err
75152   rm -f conftest.er1
75153   cat conftest.err >&5
75154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75155   (exit $ac_status); } &&
75156          { ac_try='test -z "$ac_cxx_werror_flag"
75157                          || test ! -s conftest.err'
75158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75159   (eval $ac_try) 2>&5
75160   ac_status=$?
75161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75162   (exit $ac_status); }; } &&
75163          { ac_try='test -s conftest.$ac_objext'
75164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75165   (eval $ac_try) 2>&5
75166   ac_status=$?
75167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75168   (exit $ac_status); }; }; then
75169   glibcxx_cv_func_strtof_use=yes
75170 else
75171   echo "$as_me: failed program was:" >&5
75172 sed 's/^/| /' conftest.$ac_ext >&5
75173
75174 glibcxx_cv_func_strtof_use=no
75175 fi
75176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75177       ac_ext=c
75178 ac_cpp='$CPP $CPPFLAGS'
75179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75182
75183
75184 fi
75185
75186   fi
75187   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
75188 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
75189   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
75190
75191 for ac_func in strtof
75192 do
75193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75194 echo "$as_me:$LINENO: checking for $ac_func" >&5
75195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75196 if eval "test \"\${$as_ac_var+set}\" = set"; then
75197   echo $ECHO_N "(cached) $ECHO_C" >&6
75198 else
75199   if test x$gcc_no_link = xyes; then
75200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75202    { (exit 1); exit 1; }; }
75203 fi
75204 cat >conftest.$ac_ext <<_ACEOF
75205 /* confdefs.h.  */
75206 _ACEOF
75207 cat confdefs.h >>conftest.$ac_ext
75208 cat >>conftest.$ac_ext <<_ACEOF
75209 /* end confdefs.h.  */
75210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75211    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75212 #define $ac_func innocuous_$ac_func
75213
75214 /* System header to define __stub macros and hopefully few prototypes,
75215     which can conflict with char $ac_func (); below.
75216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75217     <limits.h> exists even on freestanding compilers.  */
75218
75219 #ifdef __STDC__
75220 # include <limits.h>
75221 #else
75222 # include <assert.h>
75223 #endif
75224
75225 #undef $ac_func
75226
75227 /* Override any gcc2 internal prototype to avoid an error.  */
75228 #ifdef __cplusplus
75229 extern "C"
75230 {
75231 #endif
75232 /* We use char because int might match the return type of a gcc2
75233    builtin and then its argument prototype would still apply.  */
75234 char $ac_func ();
75235 /* The GNU C library defines this for functions which it implements
75236     to always fail with ENOSYS.  Some functions are actually named
75237     something starting with __ and the normal name is an alias.  */
75238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75239 choke me
75240 #else
75241 char (*f) () = $ac_func;
75242 #endif
75243 #ifdef __cplusplus
75244 }
75245 #endif
75246
75247 int
75248 main ()
75249 {
75250 return f != $ac_func;
75251   ;
75252   return 0;
75253 }
75254 _ACEOF
75255 rm -f conftest.$ac_objext conftest$ac_exeext
75256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75257   (eval $ac_link) 2>conftest.er1
75258   ac_status=$?
75259   grep -v '^ *+' conftest.er1 >conftest.err
75260   rm -f conftest.er1
75261   cat conftest.err >&5
75262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75263   (exit $ac_status); } &&
75264          { ac_try='test -z "$ac_c_werror_flag"
75265                          || test ! -s conftest.err'
75266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75267   (eval $ac_try) 2>&5
75268   ac_status=$?
75269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75270   (exit $ac_status); }; } &&
75271          { ac_try='test -s conftest$ac_exeext'
75272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75273   (eval $ac_try) 2>&5
75274   ac_status=$?
75275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75276   (exit $ac_status); }; }; then
75277   eval "$as_ac_var=yes"
75278 else
75279   echo "$as_me: failed program was:" >&5
75280 sed 's/^/| /' conftest.$ac_ext >&5
75281
75282 eval "$as_ac_var=no"
75283 fi
75284 rm -f conftest.err conftest.$ac_objext \
75285       conftest$ac_exeext conftest.$ac_ext
75286 fi
75287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75289 if test `eval echo '${'$as_ac_var'}'` = yes; then
75290   cat >>confdefs.h <<_ACEOF
75291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75292 _ACEOF
75293
75294 fi
75295 done
75296
75297   fi
75298
75299
75300
75301
75302
75303   CXXFLAGS="$ac_save_CXXFLAGS"
75304
75305
75306   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
75307 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
75308   if test "${glibcxx_cv_S_ISREG+set}" = set; then
75309   echo $ECHO_N "(cached) $ECHO_C" >&6
75310 else
75311
75312     if test x$gcc_no_link = xyes; then
75313   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75315    { (exit 1); exit 1; }; }
75316 fi
75317 cat >conftest.$ac_ext <<_ACEOF
75318 /* confdefs.h.  */
75319 _ACEOF
75320 cat confdefs.h >>conftest.$ac_ext
75321 cat >>conftest.$ac_ext <<_ACEOF
75322 /* end confdefs.h.  */
75323 #include <sys/stat.h>
75324 int
75325 main ()
75326 {
75327 struct stat buffer;
75328        fstat(0, &buffer);
75329        S_ISREG(buffer.st_mode);
75330   ;
75331   return 0;
75332 }
75333 _ACEOF
75334 rm -f conftest.$ac_objext conftest$ac_exeext
75335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75336   (eval $ac_link) 2>conftest.er1
75337   ac_status=$?
75338   grep -v '^ *+' conftest.er1 >conftest.err
75339   rm -f conftest.er1
75340   cat conftest.err >&5
75341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75342   (exit $ac_status); } &&
75343          { ac_try='test -z "$ac_c_werror_flag"
75344                          || test ! -s conftest.err'
75345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75346   (eval $ac_try) 2>&5
75347   ac_status=$?
75348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75349   (exit $ac_status); }; } &&
75350          { ac_try='test -s conftest$ac_exeext'
75351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75352   (eval $ac_try) 2>&5
75353   ac_status=$?
75354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75355   (exit $ac_status); }; }; then
75356   glibcxx_cv_S_ISREG=yes
75357 else
75358   echo "$as_me: failed program was:" >&5
75359 sed 's/^/| /' conftest.$ac_ext >&5
75360
75361 glibcxx_cv_S_ISREG=no
75362 fi
75363 rm -f conftest.err conftest.$ac_objext \
75364       conftest$ac_exeext conftest.$ac_ext
75365
75366 fi
75367
75368   if test "${glibcxx_cv_S_IFREG+set}" = set; then
75369   echo $ECHO_N "(cached) $ECHO_C" >&6
75370 else
75371
75372     if test x$gcc_no_link = xyes; then
75373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75375    { (exit 1); exit 1; }; }
75376 fi
75377 cat >conftest.$ac_ext <<_ACEOF
75378 /* confdefs.h.  */
75379 _ACEOF
75380 cat confdefs.h >>conftest.$ac_ext
75381 cat >>conftest.$ac_ext <<_ACEOF
75382 /* end confdefs.h.  */
75383 #include <sys/stat.h>
75384 int
75385 main ()
75386 {
75387 struct stat buffer;
75388        fstat(0, &buffer);
75389        S_IFREG & buffer.st_mode;
75390   ;
75391   return 0;
75392 }
75393 _ACEOF
75394 rm -f conftest.$ac_objext conftest$ac_exeext
75395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75396   (eval $ac_link) 2>conftest.er1
75397   ac_status=$?
75398   grep -v '^ *+' conftest.er1 >conftest.err
75399   rm -f conftest.er1
75400   cat conftest.err >&5
75401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75402   (exit $ac_status); } &&
75403          { ac_try='test -z "$ac_c_werror_flag"
75404                          || test ! -s conftest.err'
75405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75406   (eval $ac_try) 2>&5
75407   ac_status=$?
75408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75409   (exit $ac_status); }; } &&
75410          { ac_try='test -s conftest$ac_exeext'
75411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75412   (eval $ac_try) 2>&5
75413   ac_status=$?
75414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75415   (exit $ac_status); }; }; then
75416   glibcxx_cv_S_IFREG=yes
75417 else
75418   echo "$as_me: failed program was:" >&5
75419 sed 's/^/| /' conftest.$ac_ext >&5
75420
75421 glibcxx_cv_S_IFREG=no
75422 fi
75423 rm -f conftest.err conftest.$ac_objext \
75424       conftest$ac_exeext conftest.$ac_ext
75425
75426 fi
75427
75428   res=no
75429   if test $glibcxx_cv_S_ISREG = yes; then
75430
75431 cat >>confdefs.h <<\_ACEOF
75432 #define HAVE_S_ISREG 1
75433 _ACEOF
75434
75435     res=S_ISREG
75436   elif test $glibcxx_cv_S_IFREG = yes; then
75437
75438 cat >>confdefs.h <<\_ACEOF
75439 #define HAVE_S_IFREG 1
75440 _ACEOF
75441
75442     res=S_IFREG
75443   fi
75444   echo "$as_me:$LINENO: result: $res" >&5
75445 echo "${ECHO_T}$res" >&6
75446
75447     cat >>confdefs.h <<\_ACEOF
75448 #define HAVE_WRITEV 1
75449 _ACEOF
75450
75451     ;;
75452
75453   *-freebsd*)
75454
75455
75456
75457
75458
75459
75460
75461
75462
75463
75464
75465
75466
75467
75468
75469
75470 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75471       machine/endian.h machine/param.h sys/machine.h sys/types.h \
75472       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75473       sys/time.h unistd.h
75474 do
75475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75477   echo "$as_me:$LINENO: checking for $ac_header" >&5
75478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75480   echo $ECHO_N "(cached) $ECHO_C" >&6
75481 fi
75482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75484 else
75485   # Is the header compilable?
75486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75488 cat >conftest.$ac_ext <<_ACEOF
75489 /* confdefs.h.  */
75490 _ACEOF
75491 cat confdefs.h >>conftest.$ac_ext
75492 cat >>conftest.$ac_ext <<_ACEOF
75493 /* end confdefs.h.  */
75494 $ac_includes_default
75495 #include <$ac_header>
75496 _ACEOF
75497 rm -f conftest.$ac_objext
75498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75499   (eval $ac_compile) 2>conftest.er1
75500   ac_status=$?
75501   grep -v '^ *+' conftest.er1 >conftest.err
75502   rm -f conftest.er1
75503   cat conftest.err >&5
75504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75505   (exit $ac_status); } &&
75506          { ac_try='test -z "$ac_c_werror_flag"
75507                          || test ! -s conftest.err'
75508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75509   (eval $ac_try) 2>&5
75510   ac_status=$?
75511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75512   (exit $ac_status); }; } &&
75513          { ac_try='test -s conftest.$ac_objext'
75514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75515   (eval $ac_try) 2>&5
75516   ac_status=$?
75517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75518   (exit $ac_status); }; }; then
75519   ac_header_compiler=yes
75520 else
75521   echo "$as_me: failed program was:" >&5
75522 sed 's/^/| /' conftest.$ac_ext >&5
75523
75524 ac_header_compiler=no
75525 fi
75526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75528 echo "${ECHO_T}$ac_header_compiler" >&6
75529
75530 # Is the header present?
75531 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75533 cat >conftest.$ac_ext <<_ACEOF
75534 /* confdefs.h.  */
75535 _ACEOF
75536 cat confdefs.h >>conftest.$ac_ext
75537 cat >>conftest.$ac_ext <<_ACEOF
75538 /* end confdefs.h.  */
75539 #include <$ac_header>
75540 _ACEOF
75541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75542   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75543   ac_status=$?
75544   grep -v '^ *+' conftest.er1 >conftest.err
75545   rm -f conftest.er1
75546   cat conftest.err >&5
75547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75548   (exit $ac_status); } >/dev/null; then
75549   if test -s conftest.err; then
75550     ac_cpp_err=$ac_c_preproc_warn_flag
75551     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75552   else
75553     ac_cpp_err=
75554   fi
75555 else
75556   ac_cpp_err=yes
75557 fi
75558 if test -z "$ac_cpp_err"; then
75559   ac_header_preproc=yes
75560 else
75561   echo "$as_me: failed program was:" >&5
75562 sed 's/^/| /' conftest.$ac_ext >&5
75563
75564   ac_header_preproc=no
75565 fi
75566 rm -f conftest.err conftest.$ac_ext
75567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75568 echo "${ECHO_T}$ac_header_preproc" >&6
75569
75570 # So?  What about this header?
75571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75572   yes:no: )
75573     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75575     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75576 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75577     ac_header_preproc=yes
75578     ;;
75579   no:yes:* )
75580     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75581 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75582     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75583 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75584     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75585 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75586     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75587 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75588     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75590     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75591 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75592     (
75593       cat <<\_ASBOX
75594 ## ----------------------------------------- ##
75595 ## Report this to the package-unused lists.  ##
75596 ## ----------------------------------------- ##
75597 _ASBOX
75598     ) |
75599       sed "s/^/$as_me: WARNING:     /" >&2
75600     ;;
75601 esac
75602 echo "$as_me:$LINENO: checking for $ac_header" >&5
75603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75605   echo $ECHO_N "(cached) $ECHO_C" >&6
75606 else
75607   eval "$as_ac_Header=\$ac_header_preproc"
75608 fi
75609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75611
75612 fi
75613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75614   cat >>confdefs.h <<_ACEOF
75615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75616 _ACEOF
75617
75618 fi
75619
75620 done
75621
75622     SECTION_FLAGS='-ffunction-sections -fdata-sections'
75623
75624
75625   # If we're not using GNU ld, then there's no point in even trying these
75626   # tests.  Check for that first.  We should have already tested for gld
75627   # by now (in libtool), but require it now just to be safe...
75628   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75629   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75630
75631
75632
75633   # The name set by libtool depends on the version of libtool.  Shame on us
75634   # for depending on an impl detail, but c'est la vie.  Older versions used
75635   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75636   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75637   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75638   # set (hence we're using an older libtool), then set it.
75639   if test x${with_gnu_ld+set} != xset; then
75640     if test x${ac_cv_prog_gnu_ld+set} != xset; then
75641       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75642       with_gnu_ld=no
75643     else
75644       with_gnu_ld=$ac_cv_prog_gnu_ld
75645     fi
75646   fi
75647
75648   # Start by getting the version number.  I think the libtool test already
75649   # does some of this, but throws away the result.
75650   if test x"$with_gnu_ld" = x"yes"; then
75651     echo "$as_me:$LINENO: checking for ld version" >&5
75652 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75653
75654     ldver=`$LD --version 2>/dev/null | head -1 | \
75655            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
75656
75657     glibcxx_gnu_ld_version=`echo $ldver | \
75658            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75659     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75660 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75661   fi
75662
75663   # Set --gc-sections.
75664   glibcxx_gcsections_min_ld=21602
75665   if test x"$with_gnu_ld" = x"yes" &&
75666         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75667
75668     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
75669     # NB: This flag only works reliably after 2.16.1. Configure tests
75670     # for this are difficult, so hard wire a value that should work.
75671
75672     # All these tests are for C++, but run with the "C" compiler driver.
75673     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
75674     ac_test_CFLAGS="${CFLAGS+set}"
75675     ac_save_CFLAGS="$CFLAGS"
75676     CFLAGS='-x c++ -Wl,--gc-sections'
75677
75678     # Check for -Wl,--gc-sections
75679     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75680 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75681     if test x$gcc_no_link = xyes; then
75682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75684    { (exit 1); exit 1; }; }
75685 fi
75686 cat >conftest.$ac_ext <<_ACEOF
75687 /* confdefs.h.  */
75688 _ACEOF
75689 cat confdefs.h >>conftest.$ac_ext
75690 cat >>conftest.$ac_ext <<_ACEOF
75691 /* end confdefs.h.  */
75692  int one(void) { return 1; }
75693      int two(void) { return 2; }
75694
75695 int
75696 main ()
75697 {
75698  two();
75699   ;
75700   return 0;
75701 }
75702 _ACEOF
75703 rm -f conftest.$ac_objext conftest$ac_exeext
75704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75705   (eval $ac_link) 2>conftest.er1
75706   ac_status=$?
75707   grep -v '^ *+' conftest.er1 >conftest.err
75708   rm -f conftest.er1
75709   cat conftest.err >&5
75710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75711   (exit $ac_status); } &&
75712          { ac_try='test -z "$ac_c_werror_flag"
75713                          || test ! -s conftest.err'
75714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75715   (eval $ac_try) 2>&5
75716   ac_status=$?
75717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75718   (exit $ac_status); }; } &&
75719          { ac_try='test -s conftest$ac_exeext'
75720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75721   (eval $ac_try) 2>&5
75722   ac_status=$?
75723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75724   (exit $ac_status); }; }; then
75725   ac_gcsections=yes
75726 else
75727   echo "$as_me: failed program was:" >&5
75728 sed 's/^/| /' conftest.$ac_ext >&5
75729
75730 ac_gcsections=no
75731 fi
75732 rm -f conftest.err conftest.$ac_objext \
75733       conftest$ac_exeext conftest.$ac_ext
75734     if test "$ac_gcsections" = "yes"; then
75735       rm -f conftest.c
75736       touch conftest.c
75737       if $CC -c conftest.c; then
75738         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75739            grep "Warning: gc-sections option ignored" > /dev/null; then
75740           ac_gcsections=no
75741         fi
75742       fi
75743       rm -f conftest.c conftest.o conftest
75744     fi
75745     if test "$ac_gcsections" = "yes"; then
75746       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75747     fi
75748     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75749 echo "${ECHO_T}$ac_gcsections" >&6
75750
75751     if test "$ac_test_CFLAGS" = set; then
75752       CFLAGS="$ac_save_CFLAGS"
75753     else
75754       # this is the suspicious part
75755       CFLAGS=''
75756     fi
75757   fi
75758
75759   # Set -z,relro.
75760   # Note this is only for shared objects.
75761   ac_ld_relro=no
75762   if test x"$with_gnu_ld" = x"yes"; then
75763     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75764 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75765     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75766     if test -n "$cxx_z_relo"; then
75767       OPT_LDFLAGS="-Wl,-z,relro"
75768       ac_ld_relro=yes
75769     fi
75770     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75771 echo "${ECHO_T}$ac_ld_relro" >&6
75772   fi
75773
75774   # Set linker optimization flags.
75775   if test x"$with_gnu_ld" = x"yes"; then
75776     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75777   fi
75778
75779
75780
75781
75782
75783
75784 echo "$as_me:$LINENO: checking for main in -lm" >&5
75785 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75786 if test "${ac_cv_lib_m_main+set}" = set; then
75787   echo $ECHO_N "(cached) $ECHO_C" >&6
75788 else
75789   ac_check_lib_save_LIBS=$LIBS
75790 LIBS="-lm  $LIBS"
75791 if test x$gcc_no_link = xyes; then
75792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75794    { (exit 1); exit 1; }; }
75795 fi
75796 cat >conftest.$ac_ext <<_ACEOF
75797 /* confdefs.h.  */
75798 _ACEOF
75799 cat confdefs.h >>conftest.$ac_ext
75800 cat >>conftest.$ac_ext <<_ACEOF
75801 /* end confdefs.h.  */
75802
75803
75804 int
75805 main ()
75806 {
75807 main ();
75808   ;
75809   return 0;
75810 }
75811 _ACEOF
75812 rm -f conftest.$ac_objext conftest$ac_exeext
75813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75814   (eval $ac_link) 2>conftest.er1
75815   ac_status=$?
75816   grep -v '^ *+' conftest.er1 >conftest.err
75817   rm -f conftest.er1
75818   cat conftest.err >&5
75819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75820   (exit $ac_status); } &&
75821          { ac_try='test -z "$ac_c_werror_flag"
75822                          || test ! -s conftest.err'
75823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75824   (eval $ac_try) 2>&5
75825   ac_status=$?
75826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75827   (exit $ac_status); }; } &&
75828          { ac_try='test -s conftest$ac_exeext'
75829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75830   (eval $ac_try) 2>&5
75831   ac_status=$?
75832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75833   (exit $ac_status); }; }; then
75834   ac_cv_lib_m_main=yes
75835 else
75836   echo "$as_me: failed program was:" >&5
75837 sed 's/^/| /' conftest.$ac_ext >&5
75838
75839 ac_cv_lib_m_main=no
75840 fi
75841 rm -f conftest.err conftest.$ac_objext \
75842       conftest$ac_exeext conftest.$ac_ext
75843 LIBS=$ac_check_lib_save_LIBS
75844 fi
75845 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75846 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75847 if test $ac_cv_lib_m_main = yes; then
75848   cat >>confdefs.h <<_ACEOF
75849 #define HAVE_LIBM 1
75850 _ACEOF
75851
75852   LIBS="-lm $LIBS"
75853
75854 fi
75855
75856
75857 for ac_func in copysignf
75858 do
75859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75860 echo "$as_me:$LINENO: checking for $ac_func" >&5
75861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75862 if eval "test \"\${$as_ac_var+set}\" = set"; then
75863   echo $ECHO_N "(cached) $ECHO_C" >&6
75864 else
75865   if test x$gcc_no_link = xyes; then
75866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75868    { (exit 1); exit 1; }; }
75869 fi
75870 cat >conftest.$ac_ext <<_ACEOF
75871 /* confdefs.h.  */
75872 _ACEOF
75873 cat confdefs.h >>conftest.$ac_ext
75874 cat >>conftest.$ac_ext <<_ACEOF
75875 /* end confdefs.h.  */
75876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75878 #define $ac_func innocuous_$ac_func
75879
75880 /* System header to define __stub macros and hopefully few prototypes,
75881     which can conflict with char $ac_func (); below.
75882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75883     <limits.h> exists even on freestanding compilers.  */
75884
75885 #ifdef __STDC__
75886 # include <limits.h>
75887 #else
75888 # include <assert.h>
75889 #endif
75890
75891 #undef $ac_func
75892
75893 /* Override any gcc2 internal prototype to avoid an error.  */
75894 #ifdef __cplusplus
75895 extern "C"
75896 {
75897 #endif
75898 /* We use char because int might match the return type of a gcc2
75899    builtin and then its argument prototype would still apply.  */
75900 char $ac_func ();
75901 /* The GNU C library defines this for functions which it implements
75902     to always fail with ENOSYS.  Some functions are actually named
75903     something starting with __ and the normal name is an alias.  */
75904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75905 choke me
75906 #else
75907 char (*f) () = $ac_func;
75908 #endif
75909 #ifdef __cplusplus
75910 }
75911 #endif
75912
75913 int
75914 main ()
75915 {
75916 return f != $ac_func;
75917   ;
75918   return 0;
75919 }
75920 _ACEOF
75921 rm -f conftest.$ac_objext conftest$ac_exeext
75922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75923   (eval $ac_link) 2>conftest.er1
75924   ac_status=$?
75925   grep -v '^ *+' conftest.er1 >conftest.err
75926   rm -f conftest.er1
75927   cat conftest.err >&5
75928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75929   (exit $ac_status); } &&
75930          { ac_try='test -z "$ac_c_werror_flag"
75931                          || test ! -s conftest.err'
75932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75933   (eval $ac_try) 2>&5
75934   ac_status=$?
75935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75936   (exit $ac_status); }; } &&
75937          { ac_try='test -s conftest$ac_exeext'
75938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75939   (eval $ac_try) 2>&5
75940   ac_status=$?
75941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75942   (exit $ac_status); }; }; then
75943   eval "$as_ac_var=yes"
75944 else
75945   echo "$as_me: failed program was:" >&5
75946 sed 's/^/| /' conftest.$ac_ext >&5
75947
75948 eval "$as_ac_var=no"
75949 fi
75950 rm -f conftest.err conftest.$ac_objext \
75951       conftest$ac_exeext conftest.$ac_ext
75952 fi
75953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75955 if test `eval echo '${'$as_ac_var'}'` = yes; then
75956   cat >>confdefs.h <<_ACEOF
75957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75958 _ACEOF
75959
75960 else
75961   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75962 fi
75963 done
75964
75965
75966
75967 for ac_func in __signbit
75968 do
75969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75970 echo "$as_me:$LINENO: checking for $ac_func" >&5
75971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75972 if eval "test \"\${$as_ac_var+set}\" = set"; then
75973   echo $ECHO_N "(cached) $ECHO_C" >&6
75974 else
75975   if test x$gcc_no_link = xyes; then
75976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75978    { (exit 1); exit 1; }; }
75979 fi
75980 cat >conftest.$ac_ext <<_ACEOF
75981 /* confdefs.h.  */
75982 _ACEOF
75983 cat confdefs.h >>conftest.$ac_ext
75984 cat >>conftest.$ac_ext <<_ACEOF
75985 /* end confdefs.h.  */
75986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75988 #define $ac_func innocuous_$ac_func
75989
75990 /* System header to define __stub macros and hopefully few prototypes,
75991     which can conflict with char $ac_func (); below.
75992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75993     <limits.h> exists even on freestanding compilers.  */
75994
75995 #ifdef __STDC__
75996 # include <limits.h>
75997 #else
75998 # include <assert.h>
75999 #endif
76000
76001 #undef $ac_func
76002
76003 /* Override any gcc2 internal prototype to avoid an error.  */
76004 #ifdef __cplusplus
76005 extern "C"
76006 {
76007 #endif
76008 /* We use char because int might match the return type of a gcc2
76009    builtin and then its argument prototype would still apply.  */
76010 char $ac_func ();
76011 /* The GNU C library defines this for functions which it implements
76012     to always fail with ENOSYS.  Some functions are actually named
76013     something starting with __ and the normal name is an alias.  */
76014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76015 choke me
76016 #else
76017 char (*f) () = $ac_func;
76018 #endif
76019 #ifdef __cplusplus
76020 }
76021 #endif
76022
76023 int
76024 main ()
76025 {
76026 return f != $ac_func;
76027   ;
76028   return 0;
76029 }
76030 _ACEOF
76031 rm -f conftest.$ac_objext conftest$ac_exeext
76032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76033   (eval $ac_link) 2>conftest.er1
76034   ac_status=$?
76035   grep -v '^ *+' conftest.er1 >conftest.err
76036   rm -f conftest.er1
76037   cat conftest.err >&5
76038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76039   (exit $ac_status); } &&
76040          { ac_try='test -z "$ac_c_werror_flag"
76041                          || test ! -s conftest.err'
76042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76043   (eval $ac_try) 2>&5
76044   ac_status=$?
76045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76046   (exit $ac_status); }; } &&
76047          { ac_try='test -s conftest$ac_exeext'
76048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76049   (eval $ac_try) 2>&5
76050   ac_status=$?
76051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76052   (exit $ac_status); }; }; then
76053   eval "$as_ac_var=yes"
76054 else
76055   echo "$as_me: failed program was:" >&5
76056 sed 's/^/| /' conftest.$ac_ext >&5
76057
76058 eval "$as_ac_var=no"
76059 fi
76060 rm -f conftest.err conftest.$ac_objext \
76061       conftest$ac_exeext conftest.$ac_ext
76062 fi
76063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76065 if test `eval echo '${'$as_ac_var'}'` = yes; then
76066   cat >>confdefs.h <<_ACEOF
76067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76068 _ACEOF
76069
76070 else
76071   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76072 fi
76073 done
76074
76075
76076
76077 for ac_func in __signbitf
76078 do
76079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76080 echo "$as_me:$LINENO: checking for $ac_func" >&5
76081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76082 if eval "test \"\${$as_ac_var+set}\" = set"; then
76083   echo $ECHO_N "(cached) $ECHO_C" >&6
76084 else
76085   if test x$gcc_no_link = xyes; then
76086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76088    { (exit 1); exit 1; }; }
76089 fi
76090 cat >conftest.$ac_ext <<_ACEOF
76091 /* confdefs.h.  */
76092 _ACEOF
76093 cat confdefs.h >>conftest.$ac_ext
76094 cat >>conftest.$ac_ext <<_ACEOF
76095 /* end confdefs.h.  */
76096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76097    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76098 #define $ac_func innocuous_$ac_func
76099
76100 /* System header to define __stub macros and hopefully few prototypes,
76101     which can conflict with char $ac_func (); below.
76102     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76103     <limits.h> exists even on freestanding compilers.  */
76104
76105 #ifdef __STDC__
76106 # include <limits.h>
76107 #else
76108 # include <assert.h>
76109 #endif
76110
76111 #undef $ac_func
76112
76113 /* Override any gcc2 internal prototype to avoid an error.  */
76114 #ifdef __cplusplus
76115 extern "C"
76116 {
76117 #endif
76118 /* We use char because int might match the return type of a gcc2
76119    builtin and then its argument prototype would still apply.  */
76120 char $ac_func ();
76121 /* The GNU C library defines this for functions which it implements
76122     to always fail with ENOSYS.  Some functions are actually named
76123     something starting with __ and the normal name is an alias.  */
76124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76125 choke me
76126 #else
76127 char (*f) () = $ac_func;
76128 #endif
76129 #ifdef __cplusplus
76130 }
76131 #endif
76132
76133 int
76134 main ()
76135 {
76136 return f != $ac_func;
76137   ;
76138   return 0;
76139 }
76140 _ACEOF
76141 rm -f conftest.$ac_objext conftest$ac_exeext
76142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76143   (eval $ac_link) 2>conftest.er1
76144   ac_status=$?
76145   grep -v '^ *+' conftest.er1 >conftest.err
76146   rm -f conftest.er1
76147   cat conftest.err >&5
76148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76149   (exit $ac_status); } &&
76150          { ac_try='test -z "$ac_c_werror_flag"
76151                          || test ! -s conftest.err'
76152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76153   (eval $ac_try) 2>&5
76154   ac_status=$?
76155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76156   (exit $ac_status); }; } &&
76157          { ac_try='test -s conftest$ac_exeext'
76158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76159   (eval $ac_try) 2>&5
76160   ac_status=$?
76161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76162   (exit $ac_status); }; }; then
76163   eval "$as_ac_var=yes"
76164 else
76165   echo "$as_me: failed program was:" >&5
76166 sed 's/^/| /' conftest.$ac_ext >&5
76167
76168 eval "$as_ac_var=no"
76169 fi
76170 rm -f conftest.err conftest.$ac_objext \
76171       conftest$ac_exeext conftest.$ac_ext
76172 fi
76173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76175 if test `eval echo '${'$as_ac_var'}'` = yes; then
76176   cat >>confdefs.h <<_ACEOF
76177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76178 _ACEOF
76179
76180 else
76181   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76182 fi
76183 done
76184
76185
76186           if test x$ac_cv_func_copysignl = x"yes"; then
76187
76188 for ac_func in __signbitl
76189 do
76190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76191 echo "$as_me:$LINENO: checking for $ac_func" >&5
76192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76193 if eval "test \"\${$as_ac_var+set}\" = set"; then
76194   echo $ECHO_N "(cached) $ECHO_C" >&6
76195 else
76196   if test x$gcc_no_link = xyes; then
76197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76199    { (exit 1); exit 1; }; }
76200 fi
76201 cat >conftest.$ac_ext <<_ACEOF
76202 /* confdefs.h.  */
76203 _ACEOF
76204 cat confdefs.h >>conftest.$ac_ext
76205 cat >>conftest.$ac_ext <<_ACEOF
76206 /* end confdefs.h.  */
76207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76209 #define $ac_func innocuous_$ac_func
76210
76211 /* System header to define __stub macros and hopefully few prototypes,
76212     which can conflict with char $ac_func (); below.
76213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76214     <limits.h> exists even on freestanding compilers.  */
76215
76216 #ifdef __STDC__
76217 # include <limits.h>
76218 #else
76219 # include <assert.h>
76220 #endif
76221
76222 #undef $ac_func
76223
76224 /* Override any gcc2 internal prototype to avoid an error.  */
76225 #ifdef __cplusplus
76226 extern "C"
76227 {
76228 #endif
76229 /* We use char because int might match the return type of a gcc2
76230    builtin and then its argument prototype would still apply.  */
76231 char $ac_func ();
76232 /* The GNU C library defines this for functions which it implements
76233     to always fail with ENOSYS.  Some functions are actually named
76234     something starting with __ and the normal name is an alias.  */
76235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76236 choke me
76237 #else
76238 char (*f) () = $ac_func;
76239 #endif
76240 #ifdef __cplusplus
76241 }
76242 #endif
76243
76244 int
76245 main ()
76246 {
76247 return f != $ac_func;
76248   ;
76249   return 0;
76250 }
76251 _ACEOF
76252 rm -f conftest.$ac_objext conftest$ac_exeext
76253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76254   (eval $ac_link) 2>conftest.er1
76255   ac_status=$?
76256   grep -v '^ *+' conftest.er1 >conftest.err
76257   rm -f conftest.er1
76258   cat conftest.err >&5
76259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76260   (exit $ac_status); } &&
76261          { ac_try='test -z "$ac_c_werror_flag"
76262                          || test ! -s conftest.err'
76263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76264   (eval $ac_try) 2>&5
76265   ac_status=$?
76266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76267   (exit $ac_status); }; } &&
76268          { ac_try='test -s conftest$ac_exeext'
76269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76270   (eval $ac_try) 2>&5
76271   ac_status=$?
76272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76273   (exit $ac_status); }; }; then
76274   eval "$as_ac_var=yes"
76275 else
76276   echo "$as_me: failed program was:" >&5
76277 sed 's/^/| /' conftest.$ac_ext >&5
76278
76279 eval "$as_ac_var=no"
76280 fi
76281 rm -f conftest.err conftest.$ac_objext \
76282       conftest$ac_exeext conftest.$ac_ext
76283 fi
76284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76286 if test `eval echo '${'$as_ac_var'}'` = yes; then
76287   cat >>confdefs.h <<_ACEOF
76288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76289 _ACEOF
76290
76291 else
76292   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76293 fi
76294 done
76295
76296   fi
76297
76298   # Used in libmath/Makefile.am.
76299   if test -n "$LIBMATHOBJS"; then
76300     need_libmath=yes
76301   fi
76302
76303
76304
76305
76306   enable_iconv=no
76307   # Only continue checking if the ISO C99 headers exist and support is on.
76308   if test x"$enable_wchar_t" = xyes; then
76309
76310     # Use iconv for wchar_t to char conversions. As such, check for
76311     # X/Open Portability Guide, version 2 features (XPG2).
76312     if test "${ac_cv_header_iconv_h+set}" = set; then
76313   echo "$as_me:$LINENO: checking for iconv.h" >&5
76314 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76315 if test "${ac_cv_header_iconv_h+set}" = set; then
76316   echo $ECHO_N "(cached) $ECHO_C" >&6
76317 fi
76318 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76319 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76320 else
76321   # Is the header compilable?
76322 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76323 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76324 cat >conftest.$ac_ext <<_ACEOF
76325 /* confdefs.h.  */
76326 _ACEOF
76327 cat confdefs.h >>conftest.$ac_ext
76328 cat >>conftest.$ac_ext <<_ACEOF
76329 /* end confdefs.h.  */
76330 $ac_includes_default
76331 #include <iconv.h>
76332 _ACEOF
76333 rm -f conftest.$ac_objext
76334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76335   (eval $ac_compile) 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_objext'
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   ac_header_compiler=yes
76356 else
76357   echo "$as_me: failed program was:" >&5
76358 sed 's/^/| /' conftest.$ac_ext >&5
76359
76360 ac_header_compiler=no
76361 fi
76362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76364 echo "${ECHO_T}$ac_header_compiler" >&6
76365
76366 # Is the header present?
76367 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76368 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76369 cat >conftest.$ac_ext <<_ACEOF
76370 /* confdefs.h.  */
76371 _ACEOF
76372 cat confdefs.h >>conftest.$ac_ext
76373 cat >>conftest.$ac_ext <<_ACEOF
76374 /* end confdefs.h.  */
76375 #include <iconv.h>
76376 _ACEOF
76377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76378   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76379   ac_status=$?
76380   grep -v '^ *+' conftest.er1 >conftest.err
76381   rm -f conftest.er1
76382   cat conftest.err >&5
76383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76384   (exit $ac_status); } >/dev/null; then
76385   if test -s conftest.err; then
76386     ac_cpp_err=$ac_c_preproc_warn_flag
76387     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76388   else
76389     ac_cpp_err=
76390   fi
76391 else
76392   ac_cpp_err=yes
76393 fi
76394 if test -z "$ac_cpp_err"; then
76395   ac_header_preproc=yes
76396 else
76397   echo "$as_me: failed program was:" >&5
76398 sed 's/^/| /' conftest.$ac_ext >&5
76399
76400   ac_header_preproc=no
76401 fi
76402 rm -f conftest.err conftest.$ac_ext
76403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76404 echo "${ECHO_T}$ac_header_preproc" >&6
76405
76406 # So?  What about this header?
76407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76408   yes:no: )
76409     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76410 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76411     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76412 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76413     ac_header_preproc=yes
76414     ;;
76415   no:yes:* )
76416     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76417 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76418     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
76419 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
76420     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76421 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76422     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
76423 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76424     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76425 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76426     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76427 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76428     (
76429       cat <<\_ASBOX
76430 ## ----------------------------------------- ##
76431 ## Report this to the package-unused lists.  ##
76432 ## ----------------------------------------- ##
76433 _ASBOX
76434     ) |
76435       sed "s/^/$as_me: WARNING:     /" >&2
76436     ;;
76437 esac
76438 echo "$as_me:$LINENO: checking for iconv.h" >&5
76439 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76440 if test "${ac_cv_header_iconv_h+set}" = set; then
76441   echo $ECHO_N "(cached) $ECHO_C" >&6
76442 else
76443   ac_cv_header_iconv_h=$ac_header_preproc
76444 fi
76445 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76446 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76447
76448 fi
76449 if test $ac_cv_header_iconv_h = yes; then
76450   ac_has_iconv_h=yes
76451 else
76452   ac_has_iconv_h=no
76453 fi
76454
76455
76456     if test "${ac_cv_header_langinfo_h+set}" = set; then
76457   echo "$as_me:$LINENO: checking for langinfo.h" >&5
76458 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76459 if test "${ac_cv_header_langinfo_h+set}" = set; then
76460   echo $ECHO_N "(cached) $ECHO_C" >&6
76461 fi
76462 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76463 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76464 else
76465   # Is the header compilable?
76466 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76467 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76468 cat >conftest.$ac_ext <<_ACEOF
76469 /* confdefs.h.  */
76470 _ACEOF
76471 cat confdefs.h >>conftest.$ac_ext
76472 cat >>conftest.$ac_ext <<_ACEOF
76473 /* end confdefs.h.  */
76474 $ac_includes_default
76475 #include <langinfo.h>
76476 _ACEOF
76477 rm -f conftest.$ac_objext
76478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76479   (eval $ac_compile) 2>conftest.er1
76480   ac_status=$?
76481   grep -v '^ *+' conftest.er1 >conftest.err
76482   rm -f conftest.er1
76483   cat conftest.err >&5
76484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76485   (exit $ac_status); } &&
76486          { ac_try='test -z "$ac_c_werror_flag"
76487                          || test ! -s conftest.err'
76488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76489   (eval $ac_try) 2>&5
76490   ac_status=$?
76491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76492   (exit $ac_status); }; } &&
76493          { ac_try='test -s conftest.$ac_objext'
76494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76495   (eval $ac_try) 2>&5
76496   ac_status=$?
76497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76498   (exit $ac_status); }; }; then
76499   ac_header_compiler=yes
76500 else
76501   echo "$as_me: failed program was:" >&5
76502 sed 's/^/| /' conftest.$ac_ext >&5
76503
76504 ac_header_compiler=no
76505 fi
76506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76508 echo "${ECHO_T}$ac_header_compiler" >&6
76509
76510 # Is the header present?
76511 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76512 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76513 cat >conftest.$ac_ext <<_ACEOF
76514 /* confdefs.h.  */
76515 _ACEOF
76516 cat confdefs.h >>conftest.$ac_ext
76517 cat >>conftest.$ac_ext <<_ACEOF
76518 /* end confdefs.h.  */
76519 #include <langinfo.h>
76520 _ACEOF
76521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76522   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76523   ac_status=$?
76524   grep -v '^ *+' conftest.er1 >conftest.err
76525   rm -f conftest.er1
76526   cat conftest.err >&5
76527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76528   (exit $ac_status); } >/dev/null; then
76529   if test -s conftest.err; then
76530     ac_cpp_err=$ac_c_preproc_warn_flag
76531     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76532   else
76533     ac_cpp_err=
76534   fi
76535 else
76536   ac_cpp_err=yes
76537 fi
76538 if test -z "$ac_cpp_err"; then
76539   ac_header_preproc=yes
76540 else
76541   echo "$as_me: failed program was:" >&5
76542 sed 's/^/| /' conftest.$ac_ext >&5
76543
76544   ac_header_preproc=no
76545 fi
76546 rm -f conftest.err conftest.$ac_ext
76547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76548 echo "${ECHO_T}$ac_header_preproc" >&6
76549
76550 # So?  What about this header?
76551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76552   yes:no: )
76553     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76554 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76555     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76556 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76557     ac_header_preproc=yes
76558     ;;
76559   no:yes:* )
76560     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76561 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76562     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
76563 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
76564     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76565 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76566     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
76567 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76568     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76569 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76570     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76571 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76572     (
76573       cat <<\_ASBOX
76574 ## ----------------------------------------- ##
76575 ## Report this to the package-unused lists.  ##
76576 ## ----------------------------------------- ##
76577 _ASBOX
76578     ) |
76579       sed "s/^/$as_me: WARNING:     /" >&2
76580     ;;
76581 esac
76582 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76583 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76584 if test "${ac_cv_header_langinfo_h+set}" = set; then
76585   echo $ECHO_N "(cached) $ECHO_C" >&6
76586 else
76587   ac_cv_header_langinfo_h=$ac_header_preproc
76588 fi
76589 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76590 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76591
76592 fi
76593 if test $ac_cv_header_langinfo_h = yes; then
76594   ac_has_langinfo_h=yes
76595 else
76596   ac_has_langinfo_h=no
76597 fi
76598
76599
76600
76601     # Check for existence of libiconv.a providing XPG2 wchar_t support.
76602     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76603 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76604 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76605   echo $ECHO_N "(cached) $ECHO_C" >&6
76606 else
76607   ac_check_lib_save_LIBS=$LIBS
76608 LIBS="-liconv  $LIBS"
76609 if test x$gcc_no_link = xyes; then
76610   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76612    { (exit 1); exit 1; }; }
76613 fi
76614 cat >conftest.$ac_ext <<_ACEOF
76615 /* confdefs.h.  */
76616 _ACEOF
76617 cat confdefs.h >>conftest.$ac_ext
76618 cat >>conftest.$ac_ext <<_ACEOF
76619 /* end confdefs.h.  */
76620
76621 /* Override any gcc2 internal prototype to avoid an error.  */
76622 #ifdef __cplusplus
76623 extern "C"
76624 #endif
76625 /* We use char because int might match the return type of a gcc2
76626    builtin and then its argument prototype would still apply.  */
76627 char iconv ();
76628 int
76629 main ()
76630 {
76631 iconv ();
76632   ;
76633   return 0;
76634 }
76635 _ACEOF
76636 rm -f conftest.$ac_objext conftest$ac_exeext
76637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76638   (eval $ac_link) 2>conftest.er1
76639   ac_status=$?
76640   grep -v '^ *+' conftest.er1 >conftest.err
76641   rm -f conftest.er1
76642   cat conftest.err >&5
76643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76644   (exit $ac_status); } &&
76645          { ac_try='test -z "$ac_c_werror_flag"
76646                          || test ! -s conftest.err'
76647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76648   (eval $ac_try) 2>&5
76649   ac_status=$?
76650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76651   (exit $ac_status); }; } &&
76652          { ac_try='test -s conftest$ac_exeext'
76653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76654   (eval $ac_try) 2>&5
76655   ac_status=$?
76656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76657   (exit $ac_status); }; }; then
76658   ac_cv_lib_iconv_iconv=yes
76659 else
76660   echo "$as_me: failed program was:" >&5
76661 sed 's/^/| /' conftest.$ac_ext >&5
76662
76663 ac_cv_lib_iconv_iconv=no
76664 fi
76665 rm -f conftest.err conftest.$ac_objext \
76666       conftest$ac_exeext conftest.$ac_ext
76667 LIBS=$ac_check_lib_save_LIBS
76668 fi
76669 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76670 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76671 if test $ac_cv_lib_iconv_iconv = yes; then
76672   LIBICONV="-liconv"
76673 fi
76674
76675     ac_save_LIBS="$LIBS"
76676     LIBS="$LIBS $LIBICONV"
76677
76678
76679
76680
76681
76682
76683 for ac_func in iconv_open iconv_close iconv nl_langinfo
76684 do
76685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76686 echo "$as_me:$LINENO: checking for $ac_func" >&5
76687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76688 if eval "test \"\${$as_ac_var+set}\" = set"; then
76689   echo $ECHO_N "(cached) $ECHO_C" >&6
76690 else
76691   if test x$gcc_no_link = xyes; then
76692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76694    { (exit 1); exit 1; }; }
76695 fi
76696 cat >conftest.$ac_ext <<_ACEOF
76697 /* confdefs.h.  */
76698 _ACEOF
76699 cat confdefs.h >>conftest.$ac_ext
76700 cat >>conftest.$ac_ext <<_ACEOF
76701 /* end confdefs.h.  */
76702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76703    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76704 #define $ac_func innocuous_$ac_func
76705
76706 /* System header to define __stub macros and hopefully few prototypes,
76707     which can conflict with char $ac_func (); below.
76708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76709     <limits.h> exists even on freestanding compilers.  */
76710
76711 #ifdef __STDC__
76712 # include <limits.h>
76713 #else
76714 # include <assert.h>
76715 #endif
76716
76717 #undef $ac_func
76718
76719 /* Override any gcc2 internal prototype to avoid an error.  */
76720 #ifdef __cplusplus
76721 extern "C"
76722 {
76723 #endif
76724 /* We use char because int might match the return type of a gcc2
76725    builtin and then its argument prototype would still apply.  */
76726 char $ac_func ();
76727 /* The GNU C library defines this for functions which it implements
76728     to always fail with ENOSYS.  Some functions are actually named
76729     something starting with __ and the normal name is an alias.  */
76730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76731 choke me
76732 #else
76733 char (*f) () = $ac_func;
76734 #endif
76735 #ifdef __cplusplus
76736 }
76737 #endif
76738
76739 int
76740 main ()
76741 {
76742 return f != $ac_func;
76743   ;
76744   return 0;
76745 }
76746 _ACEOF
76747 rm -f conftest.$ac_objext conftest$ac_exeext
76748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76749   (eval $ac_link) 2>conftest.er1
76750   ac_status=$?
76751   grep -v '^ *+' conftest.er1 >conftest.err
76752   rm -f conftest.er1
76753   cat conftest.err >&5
76754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76755   (exit $ac_status); } &&
76756          { ac_try='test -z "$ac_c_werror_flag"
76757                          || test ! -s conftest.err'
76758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76759   (eval $ac_try) 2>&5
76760   ac_status=$?
76761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76762   (exit $ac_status); }; } &&
76763          { ac_try='test -s conftest$ac_exeext'
76764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76765   (eval $ac_try) 2>&5
76766   ac_status=$?
76767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76768   (exit $ac_status); }; }; then
76769   eval "$as_ac_var=yes"
76770 else
76771   echo "$as_me: failed program was:" >&5
76772 sed 's/^/| /' conftest.$ac_ext >&5
76773
76774 eval "$as_ac_var=no"
76775 fi
76776 rm -f conftest.err conftest.$ac_objext \
76777       conftest$ac_exeext conftest.$ac_ext
76778 fi
76779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76781 if test `eval echo '${'$as_ac_var'}'` = yes; then
76782   cat >>confdefs.h <<_ACEOF
76783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76784 _ACEOF
76785  ac_XPG2funcs=yes
76786 else
76787   ac_XPG2funcs=no
76788 fi
76789 done
76790
76791
76792     LIBS="$ac_save_LIBS"
76793
76794     if test x"$ac_has_iconv_h" = xyes &&
76795        test x"$ac_has_langinfo_h" = xyes &&
76796        test x"$ac_XPG2funcs" = xyes;
76797     then
76798
76799 cat >>confdefs.h <<\_ACEOF
76800 #define _GLIBCXX_USE_ICONV 1
76801 _ACEOF
76802
76803       enable_iconv=yes
76804     fi
76805   fi
76806   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76807 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76808   echo "$as_me:$LINENO: result: $enable_iconv" >&5
76809 echo "${ECHO_T}$enable_iconv" >&6
76810
76811     cat >>confdefs.h <<\_ACEOF
76812 #define HAVE_LC_MESSAGES 1
76813 _ACEOF
76814
76815     cat >>confdefs.h <<\_ACEOF
76816 #define HAVE_GETPAGESIZE 1
76817 _ACEOF
76818
76819     cat >>confdefs.h <<\_ACEOF
76820 #define HAVE_SETENV 1
76821 _ACEOF
76822
76823     cat >>confdefs.h <<\_ACEOF
76824 #define HAVE_SIGSETJMP 1
76825 _ACEOF
76826
76827     cat >>confdefs.h <<\_ACEOF
76828 #define HAVE_COPYSIGN 1
76829 _ACEOF
76830
76831     cat >>confdefs.h <<\_ACEOF
76832 #define HAVE_COPYSIGNF 1
76833 _ACEOF
76834
76835     cat >>confdefs.h <<\_ACEOF
76836 #define HAVE_FINITEF 1
76837 _ACEOF
76838
76839     cat >>confdefs.h <<\_ACEOF
76840 #define HAVE_FINITE 1
76841 _ACEOF
76842
76843     cat >>confdefs.h <<\_ACEOF
76844 #define HAVE_FREXPF 1
76845 _ACEOF
76846
76847     cat >>confdefs.h <<\_ACEOF
76848 #define HAVE_HYPOT 1
76849 _ACEOF
76850
76851     cat >>confdefs.h <<\_ACEOF
76852 #define HAVE_HYPOTF 1
76853 _ACEOF
76854
76855     cat >>confdefs.h <<\_ACEOF
76856 #define HAVE_ISINF 1
76857 _ACEOF
76858
76859     cat >>confdefs.h <<\_ACEOF
76860 #define HAVE_ISNAN 1
76861 _ACEOF
76862
76863     cat >>confdefs.h <<\_ACEOF
76864 #define HAVE_ISNANF 1
76865 _ACEOF
76866
76867
76868     cat >>confdefs.h <<\_ACEOF
76869 #define HAVE_MMAP 1
76870 _ACEOF
76871
76872     cat >>confdefs.h <<\_ACEOF
76873 #define HAVE_ACOSF 1
76874 _ACEOF
76875
76876     cat >>confdefs.h <<\_ACEOF
76877 #define HAVE_ASINF 1
76878 _ACEOF
76879
76880     cat >>confdefs.h <<\_ACEOF
76881 #define HAVE_ATAN2F 1
76882 _ACEOF
76883
76884     cat >>confdefs.h <<\_ACEOF
76885 #define HAVE_ATANF 1
76886 _ACEOF
76887
76888     cat >>confdefs.h <<\_ACEOF
76889 #define HAVE_CEILF 1
76890 _ACEOF
76891
76892     cat >>confdefs.h <<\_ACEOF
76893 #define HAVE_COPYSIGN 1
76894 _ACEOF
76895
76896     cat >>confdefs.h <<\_ACEOF
76897 #define HAVE_COPYSIGNF 1
76898 _ACEOF
76899
76900     cat >>confdefs.h <<\_ACEOF
76901 #define HAVE_COSF 1
76902 _ACEOF
76903
76904     cat >>confdefs.h <<\_ACEOF
76905 #define HAVE_COSHF 1
76906 _ACEOF
76907
76908     cat >>confdefs.h <<\_ACEOF
76909 #define HAVE_EXPF 1
76910 _ACEOF
76911
76912     cat >>confdefs.h <<\_ACEOF
76913 #define HAVE_FABSF 1
76914 _ACEOF
76915
76916     cat >>confdefs.h <<\_ACEOF
76917 #define HAVE_FLOORF 1
76918 _ACEOF
76919
76920     cat >>confdefs.h <<\_ACEOF
76921 #define HAVE_FMODF 1
76922 _ACEOF
76923
76924     cat >>confdefs.h <<\_ACEOF
76925 #define HAVE_FREXPF 1
76926 _ACEOF
76927
76928     cat >>confdefs.h <<\_ACEOF
76929 #define HAVE_LDEXPF 1
76930 _ACEOF
76931
76932     cat >>confdefs.h <<\_ACEOF
76933 #define HAVE_LOG10F 1
76934 _ACEOF
76935
76936     cat >>confdefs.h <<\_ACEOF
76937 #define HAVE_LOGF 1
76938 _ACEOF
76939
76940     cat >>confdefs.h <<\_ACEOF
76941 #define HAVE_MODFF 1
76942 _ACEOF
76943
76944     cat >>confdefs.h <<\_ACEOF
76945 #define HAVE_POWF 1
76946 _ACEOF
76947
76948     cat >>confdefs.h <<\_ACEOF
76949 #define HAVE_SINF 1
76950 _ACEOF
76951
76952     cat >>confdefs.h <<\_ACEOF
76953 #define HAVE_SINHF 1
76954 _ACEOF
76955
76956     cat >>confdefs.h <<\_ACEOF
76957 #define HAVE_SQRTF 1
76958 _ACEOF
76959
76960     cat >>confdefs.h <<\_ACEOF
76961 #define HAVE_TANF 1
76962 _ACEOF
76963
76964     cat >>confdefs.h <<\_ACEOF
76965 #define HAVE_TANHF 1
76966 _ACEOF
76967
76968     if test x"long_double_math_on_this_cpu" = x"yes"; then
76969       cat >>confdefs.h <<\_ACEOF
76970 #define HAVE_FINITEL 1
76971 _ACEOF
76972
76973       cat >>confdefs.h <<\_ACEOF
76974 #define HAVE_ISINFL 1
76975 _ACEOF
76976
76977       cat >>confdefs.h <<\_ACEOF
76978 #define HAVE_ISNANL 1
76979 _ACEOF
76980
76981     fi
76982     ;;
76983   *-hpux*)
76984
76985
76986
76987
76988
76989
76990
76991
76992
76993
76994
76995
76996 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76997       machine/endian.h machine/param.h sys/machine.h sys/types.h \
76998       fp.h locale.h float.h inttypes.h
76999 do
77000 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77002   echo "$as_me:$LINENO: checking for $ac_header" >&5
77003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77005   echo $ECHO_N "(cached) $ECHO_C" >&6
77006 fi
77007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77009 else
77010   # Is the header compilable?
77011 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77012 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77013 cat >conftest.$ac_ext <<_ACEOF
77014 /* confdefs.h.  */
77015 _ACEOF
77016 cat confdefs.h >>conftest.$ac_ext
77017 cat >>conftest.$ac_ext <<_ACEOF
77018 /* end confdefs.h.  */
77019 $ac_includes_default
77020 #include <$ac_header>
77021 _ACEOF
77022 rm -f conftest.$ac_objext
77023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77024   (eval $ac_compile) 2>conftest.er1
77025   ac_status=$?
77026   grep -v '^ *+' conftest.er1 >conftest.err
77027   rm -f conftest.er1
77028   cat conftest.err >&5
77029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77030   (exit $ac_status); } &&
77031          { ac_try='test -z "$ac_c_werror_flag"
77032                          || test ! -s conftest.err'
77033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77034   (eval $ac_try) 2>&5
77035   ac_status=$?
77036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77037   (exit $ac_status); }; } &&
77038          { ac_try='test -s conftest.$ac_objext'
77039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77040   (eval $ac_try) 2>&5
77041   ac_status=$?
77042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77043   (exit $ac_status); }; }; then
77044   ac_header_compiler=yes
77045 else
77046   echo "$as_me: failed program was:" >&5
77047 sed 's/^/| /' conftest.$ac_ext >&5
77048
77049 ac_header_compiler=no
77050 fi
77051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77052 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77053 echo "${ECHO_T}$ac_header_compiler" >&6
77054
77055 # Is the header present?
77056 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77057 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77058 cat >conftest.$ac_ext <<_ACEOF
77059 /* confdefs.h.  */
77060 _ACEOF
77061 cat confdefs.h >>conftest.$ac_ext
77062 cat >>conftest.$ac_ext <<_ACEOF
77063 /* end confdefs.h.  */
77064 #include <$ac_header>
77065 _ACEOF
77066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77067   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77068   ac_status=$?
77069   grep -v '^ *+' conftest.er1 >conftest.err
77070   rm -f conftest.er1
77071   cat conftest.err >&5
77072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77073   (exit $ac_status); } >/dev/null; then
77074   if test -s conftest.err; then
77075     ac_cpp_err=$ac_c_preproc_warn_flag
77076     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77077   else
77078     ac_cpp_err=
77079   fi
77080 else
77081   ac_cpp_err=yes
77082 fi
77083 if test -z "$ac_cpp_err"; then
77084   ac_header_preproc=yes
77085 else
77086   echo "$as_me: failed program was:" >&5
77087 sed 's/^/| /' conftest.$ac_ext >&5
77088
77089   ac_header_preproc=no
77090 fi
77091 rm -f conftest.err conftest.$ac_ext
77092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77093 echo "${ECHO_T}$ac_header_preproc" >&6
77094
77095 # So?  What about this header?
77096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77097   yes:no: )
77098     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77099 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77100     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77101 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77102     ac_header_preproc=yes
77103     ;;
77104   no:yes:* )
77105     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77106 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77107     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
77108 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
77109     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77110 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77111     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
77112 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
77113     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77115     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77116 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77117     (
77118       cat <<\_ASBOX
77119 ## ----------------------------------------- ##
77120 ## Report this to the package-unused lists.  ##
77121 ## ----------------------------------------- ##
77122 _ASBOX
77123     ) |
77124       sed "s/^/$as_me: WARNING:     /" >&2
77125     ;;
77126 esac
77127 echo "$as_me:$LINENO: checking for $ac_header" >&5
77128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77130   echo $ECHO_N "(cached) $ECHO_C" >&6
77131 else
77132   eval "$as_ac_Header=\$ac_header_preproc"
77133 fi
77134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77136
77137 fi
77138 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77139   cat >>confdefs.h <<_ACEOF
77140 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77141 _ACEOF
77142
77143 fi
77144
77145 done
77146
77147     SECTION_FLAGS='-ffunction-sections -fdata-sections'
77148
77149
77150   # If we're not using GNU ld, then there's no point in even trying these
77151   # tests.  Check for that first.  We should have already tested for gld
77152   # by now (in libtool), but require it now just to be safe...
77153   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77154   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77155
77156
77157
77158   # The name set by libtool depends on the version of libtool.  Shame on us
77159   # for depending on an impl detail, but c'est la vie.  Older versions used
77160   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77161   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77162   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
77163   # set (hence we're using an older libtool), then set it.
77164   if test x${with_gnu_ld+set} != xset; then
77165     if test x${ac_cv_prog_gnu_ld+set} != xset; then
77166       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
77167       with_gnu_ld=no
77168     else
77169       with_gnu_ld=$ac_cv_prog_gnu_ld
77170     fi
77171   fi
77172
77173   # Start by getting the version number.  I think the libtool test already
77174   # does some of this, but throws away the result.
77175   if test x"$with_gnu_ld" = x"yes"; then
77176     echo "$as_me:$LINENO: checking for ld version" >&5
77177 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77178
77179     ldver=`$LD --version 2>/dev/null | head -1 | \
77180            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
77181
77182     glibcxx_gnu_ld_version=`echo $ldver | \
77183            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77184     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77185 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77186   fi
77187
77188   # Set --gc-sections.
77189   glibcxx_gcsections_min_ld=21602
77190   if test x"$with_gnu_ld" = x"yes" &&
77191         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77192
77193     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
77194     # NB: This flag only works reliably after 2.16.1. Configure tests
77195     # for this are difficult, so hard wire a value that should work.
77196
77197     # All these tests are for C++, but run with the "C" compiler driver.
77198     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
77199     ac_test_CFLAGS="${CFLAGS+set}"
77200     ac_save_CFLAGS="$CFLAGS"
77201     CFLAGS='-x c++ -Wl,--gc-sections'
77202
77203     # Check for -Wl,--gc-sections
77204     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77205 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77206     if test x$gcc_no_link = xyes; then
77207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77209    { (exit 1); exit 1; }; }
77210 fi
77211 cat >conftest.$ac_ext <<_ACEOF
77212 /* confdefs.h.  */
77213 _ACEOF
77214 cat confdefs.h >>conftest.$ac_ext
77215 cat >>conftest.$ac_ext <<_ACEOF
77216 /* end confdefs.h.  */
77217  int one(void) { return 1; }
77218      int two(void) { return 2; }
77219
77220 int
77221 main ()
77222 {
77223  two();
77224   ;
77225   return 0;
77226 }
77227 _ACEOF
77228 rm -f conftest.$ac_objext conftest$ac_exeext
77229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77230   (eval $ac_link) 2>conftest.er1
77231   ac_status=$?
77232   grep -v '^ *+' conftest.er1 >conftest.err
77233   rm -f conftest.er1
77234   cat conftest.err >&5
77235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77236   (exit $ac_status); } &&
77237          { ac_try='test -z "$ac_c_werror_flag"
77238                          || test ! -s conftest.err'
77239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77240   (eval $ac_try) 2>&5
77241   ac_status=$?
77242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77243   (exit $ac_status); }; } &&
77244          { ac_try='test -s conftest$ac_exeext'
77245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77246   (eval $ac_try) 2>&5
77247   ac_status=$?
77248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77249   (exit $ac_status); }; }; then
77250   ac_gcsections=yes
77251 else
77252   echo "$as_me: failed program was:" >&5
77253 sed 's/^/| /' conftest.$ac_ext >&5
77254
77255 ac_gcsections=no
77256 fi
77257 rm -f conftest.err conftest.$ac_objext \
77258       conftest$ac_exeext conftest.$ac_ext
77259     if test "$ac_gcsections" = "yes"; then
77260       rm -f conftest.c
77261       touch conftest.c
77262       if $CC -c conftest.c; then
77263         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77264            grep "Warning: gc-sections option ignored" > /dev/null; then
77265           ac_gcsections=no
77266         fi
77267       fi
77268       rm -f conftest.c conftest.o conftest
77269     fi
77270     if test "$ac_gcsections" = "yes"; then
77271       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77272     fi
77273     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77274 echo "${ECHO_T}$ac_gcsections" >&6
77275
77276     if test "$ac_test_CFLAGS" = set; then
77277       CFLAGS="$ac_save_CFLAGS"
77278     else
77279       # this is the suspicious part
77280       CFLAGS=''
77281     fi
77282   fi
77283
77284   # Set -z,relro.
77285   # Note this is only for shared objects.
77286   ac_ld_relro=no
77287   if test x"$with_gnu_ld" = x"yes"; then
77288     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77289 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77290     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77291     if test -n "$cxx_z_relo"; then
77292       OPT_LDFLAGS="-Wl,-z,relro"
77293       ac_ld_relro=yes
77294     fi
77295     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77296 echo "${ECHO_T}$ac_ld_relro" >&6
77297   fi
77298
77299   # Set linker optimization flags.
77300   if test x"$with_gnu_ld" = x"yes"; then
77301     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77302   fi
77303
77304
77305
77306
77307
77308
77309 echo "$as_me:$LINENO: checking for main in -lm" >&5
77310 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77311 if test "${ac_cv_lib_m_main+set}" = set; then
77312   echo $ECHO_N "(cached) $ECHO_C" >&6
77313 else
77314   ac_check_lib_save_LIBS=$LIBS
77315 LIBS="-lm  $LIBS"
77316 if test x$gcc_no_link = xyes; then
77317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77319    { (exit 1); exit 1; }; }
77320 fi
77321 cat >conftest.$ac_ext <<_ACEOF
77322 /* confdefs.h.  */
77323 _ACEOF
77324 cat confdefs.h >>conftest.$ac_ext
77325 cat >>conftest.$ac_ext <<_ACEOF
77326 /* end confdefs.h.  */
77327
77328
77329 int
77330 main ()
77331 {
77332 main ();
77333   ;
77334   return 0;
77335 }
77336 _ACEOF
77337 rm -f conftest.$ac_objext conftest$ac_exeext
77338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77339   (eval $ac_link) 2>conftest.er1
77340   ac_status=$?
77341   grep -v '^ *+' conftest.er1 >conftest.err
77342   rm -f conftest.er1
77343   cat conftest.err >&5
77344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77345   (exit $ac_status); } &&
77346          { ac_try='test -z "$ac_c_werror_flag"
77347                          || test ! -s conftest.err'
77348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77349   (eval $ac_try) 2>&5
77350   ac_status=$?
77351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77352   (exit $ac_status); }; } &&
77353          { ac_try='test -s conftest$ac_exeext'
77354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77355   (eval $ac_try) 2>&5
77356   ac_status=$?
77357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77358   (exit $ac_status); }; }; then
77359   ac_cv_lib_m_main=yes
77360 else
77361   echo "$as_me: failed program was:" >&5
77362 sed 's/^/| /' conftest.$ac_ext >&5
77363
77364 ac_cv_lib_m_main=no
77365 fi
77366 rm -f conftest.err conftest.$ac_objext \
77367       conftest$ac_exeext conftest.$ac_ext
77368 LIBS=$ac_check_lib_save_LIBS
77369 fi
77370 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77371 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77372 if test $ac_cv_lib_m_main = yes; then
77373   cat >>confdefs.h <<_ACEOF
77374 #define HAVE_LIBM 1
77375 _ACEOF
77376
77377   LIBS="-lm $LIBS"
77378
77379 fi
77380
77381
77382 for ac_func in copysignf
77383 do
77384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77385 echo "$as_me:$LINENO: checking for $ac_func" >&5
77386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77387 if eval "test \"\${$as_ac_var+set}\" = set"; then
77388   echo $ECHO_N "(cached) $ECHO_C" >&6
77389 else
77390   if test x$gcc_no_link = xyes; then
77391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77393    { (exit 1); exit 1; }; }
77394 fi
77395 cat >conftest.$ac_ext <<_ACEOF
77396 /* confdefs.h.  */
77397 _ACEOF
77398 cat confdefs.h >>conftest.$ac_ext
77399 cat >>conftest.$ac_ext <<_ACEOF
77400 /* end confdefs.h.  */
77401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77403 #define $ac_func innocuous_$ac_func
77404
77405 /* System header to define __stub macros and hopefully few prototypes,
77406     which can conflict with char $ac_func (); below.
77407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77408     <limits.h> exists even on freestanding compilers.  */
77409
77410 #ifdef __STDC__
77411 # include <limits.h>
77412 #else
77413 # include <assert.h>
77414 #endif
77415
77416 #undef $ac_func
77417
77418 /* Override any gcc2 internal prototype to avoid an error.  */
77419 #ifdef __cplusplus
77420 extern "C"
77421 {
77422 #endif
77423 /* We use char because int might match the return type of a gcc2
77424    builtin and then its argument prototype would still apply.  */
77425 char $ac_func ();
77426 /* The GNU C library defines this for functions which it implements
77427     to always fail with ENOSYS.  Some functions are actually named
77428     something starting with __ and the normal name is an alias.  */
77429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77430 choke me
77431 #else
77432 char (*f) () = $ac_func;
77433 #endif
77434 #ifdef __cplusplus
77435 }
77436 #endif
77437
77438 int
77439 main ()
77440 {
77441 return f != $ac_func;
77442   ;
77443   return 0;
77444 }
77445 _ACEOF
77446 rm -f conftest.$ac_objext conftest$ac_exeext
77447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77448   (eval $ac_link) 2>conftest.er1
77449   ac_status=$?
77450   grep -v '^ *+' conftest.er1 >conftest.err
77451   rm -f conftest.er1
77452   cat conftest.err >&5
77453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77454   (exit $ac_status); } &&
77455          { ac_try='test -z "$ac_c_werror_flag"
77456                          || test ! -s conftest.err'
77457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77458   (eval $ac_try) 2>&5
77459   ac_status=$?
77460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77461   (exit $ac_status); }; } &&
77462          { ac_try='test -s conftest$ac_exeext'
77463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77464   (eval $ac_try) 2>&5
77465   ac_status=$?
77466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77467   (exit $ac_status); }; }; then
77468   eval "$as_ac_var=yes"
77469 else
77470   echo "$as_me: failed program was:" >&5
77471 sed 's/^/| /' conftest.$ac_ext >&5
77472
77473 eval "$as_ac_var=no"
77474 fi
77475 rm -f conftest.err conftest.$ac_objext \
77476       conftest$ac_exeext conftest.$ac_ext
77477 fi
77478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77480 if test `eval echo '${'$as_ac_var'}'` = yes; then
77481   cat >>confdefs.h <<_ACEOF
77482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77483 _ACEOF
77484
77485 else
77486   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77487 fi
77488 done
77489
77490
77491
77492 for ac_func in __signbit
77493 do
77494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77495 echo "$as_me:$LINENO: checking for $ac_func" >&5
77496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77497 if eval "test \"\${$as_ac_var+set}\" = set"; then
77498   echo $ECHO_N "(cached) $ECHO_C" >&6
77499 else
77500   if test x$gcc_no_link = xyes; then
77501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77503    { (exit 1); exit 1; }; }
77504 fi
77505 cat >conftest.$ac_ext <<_ACEOF
77506 /* confdefs.h.  */
77507 _ACEOF
77508 cat confdefs.h >>conftest.$ac_ext
77509 cat >>conftest.$ac_ext <<_ACEOF
77510 /* end confdefs.h.  */
77511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77512    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77513 #define $ac_func innocuous_$ac_func
77514
77515 /* System header to define __stub macros and hopefully few prototypes,
77516     which can conflict with char $ac_func (); below.
77517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77518     <limits.h> exists even on freestanding compilers.  */
77519
77520 #ifdef __STDC__
77521 # include <limits.h>
77522 #else
77523 # include <assert.h>
77524 #endif
77525
77526 #undef $ac_func
77527
77528 /* Override any gcc2 internal prototype to avoid an error.  */
77529 #ifdef __cplusplus
77530 extern "C"
77531 {
77532 #endif
77533 /* We use char because int might match the return type of a gcc2
77534    builtin and then its argument prototype would still apply.  */
77535 char $ac_func ();
77536 /* The GNU C library defines this for functions which it implements
77537     to always fail with ENOSYS.  Some functions are actually named
77538     something starting with __ and the normal name is an alias.  */
77539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77540 choke me
77541 #else
77542 char (*f) () = $ac_func;
77543 #endif
77544 #ifdef __cplusplus
77545 }
77546 #endif
77547
77548 int
77549 main ()
77550 {
77551 return f != $ac_func;
77552   ;
77553   return 0;
77554 }
77555 _ACEOF
77556 rm -f conftest.$ac_objext conftest$ac_exeext
77557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77558   (eval $ac_link) 2>conftest.er1
77559   ac_status=$?
77560   grep -v '^ *+' conftest.er1 >conftest.err
77561   rm -f conftest.er1
77562   cat conftest.err >&5
77563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77564   (exit $ac_status); } &&
77565          { ac_try='test -z "$ac_c_werror_flag"
77566                          || test ! -s conftest.err'
77567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77568   (eval $ac_try) 2>&5
77569   ac_status=$?
77570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77571   (exit $ac_status); }; } &&
77572          { ac_try='test -s conftest$ac_exeext'
77573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77574   (eval $ac_try) 2>&5
77575   ac_status=$?
77576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77577   (exit $ac_status); }; }; then
77578   eval "$as_ac_var=yes"
77579 else
77580   echo "$as_me: failed program was:" >&5
77581 sed 's/^/| /' conftest.$ac_ext >&5
77582
77583 eval "$as_ac_var=no"
77584 fi
77585 rm -f conftest.err conftest.$ac_objext \
77586       conftest$ac_exeext conftest.$ac_ext
77587 fi
77588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77590 if test `eval echo '${'$as_ac_var'}'` = yes; then
77591   cat >>confdefs.h <<_ACEOF
77592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77593 _ACEOF
77594
77595 else
77596   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77597 fi
77598 done
77599
77600
77601
77602 for ac_func in __signbitf
77603 do
77604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77605 echo "$as_me:$LINENO: checking for $ac_func" >&5
77606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77607 if eval "test \"\${$as_ac_var+set}\" = set"; then
77608   echo $ECHO_N "(cached) $ECHO_C" >&6
77609 else
77610   if test x$gcc_no_link = xyes; then
77611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77613    { (exit 1); exit 1; }; }
77614 fi
77615 cat >conftest.$ac_ext <<_ACEOF
77616 /* confdefs.h.  */
77617 _ACEOF
77618 cat confdefs.h >>conftest.$ac_ext
77619 cat >>conftest.$ac_ext <<_ACEOF
77620 /* end confdefs.h.  */
77621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77622    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77623 #define $ac_func innocuous_$ac_func
77624
77625 /* System header to define __stub macros and hopefully few prototypes,
77626     which can conflict with char $ac_func (); below.
77627     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77628     <limits.h> exists even on freestanding compilers.  */
77629
77630 #ifdef __STDC__
77631 # include <limits.h>
77632 #else
77633 # include <assert.h>
77634 #endif
77635
77636 #undef $ac_func
77637
77638 /* Override any gcc2 internal prototype to avoid an error.  */
77639 #ifdef __cplusplus
77640 extern "C"
77641 {
77642 #endif
77643 /* We use char because int might match the return type of a gcc2
77644    builtin and then its argument prototype would still apply.  */
77645 char $ac_func ();
77646 /* The GNU C library defines this for functions which it implements
77647     to always fail with ENOSYS.  Some functions are actually named
77648     something starting with __ and the normal name is an alias.  */
77649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77650 choke me
77651 #else
77652 char (*f) () = $ac_func;
77653 #endif
77654 #ifdef __cplusplus
77655 }
77656 #endif
77657
77658 int
77659 main ()
77660 {
77661 return f != $ac_func;
77662   ;
77663   return 0;
77664 }
77665 _ACEOF
77666 rm -f conftest.$ac_objext conftest$ac_exeext
77667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77668   (eval $ac_link) 2>conftest.er1
77669   ac_status=$?
77670   grep -v '^ *+' conftest.er1 >conftest.err
77671   rm -f conftest.er1
77672   cat conftest.err >&5
77673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77674   (exit $ac_status); } &&
77675          { ac_try='test -z "$ac_c_werror_flag"
77676                          || test ! -s conftest.err'
77677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77678   (eval $ac_try) 2>&5
77679   ac_status=$?
77680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77681   (exit $ac_status); }; } &&
77682          { ac_try='test -s conftest$ac_exeext'
77683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77684   (eval $ac_try) 2>&5
77685   ac_status=$?
77686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77687   (exit $ac_status); }; }; then
77688   eval "$as_ac_var=yes"
77689 else
77690   echo "$as_me: failed program was:" >&5
77691 sed 's/^/| /' conftest.$ac_ext >&5
77692
77693 eval "$as_ac_var=no"
77694 fi
77695 rm -f conftest.err conftest.$ac_objext \
77696       conftest$ac_exeext conftest.$ac_ext
77697 fi
77698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77700 if test `eval echo '${'$as_ac_var'}'` = yes; then
77701   cat >>confdefs.h <<_ACEOF
77702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77703 _ACEOF
77704
77705 else
77706   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77707 fi
77708 done
77709
77710
77711           if test x$ac_cv_func_copysignl = x"yes"; then
77712
77713 for ac_func in __signbitl
77714 do
77715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77716 echo "$as_me:$LINENO: checking for $ac_func" >&5
77717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77718 if eval "test \"\${$as_ac_var+set}\" = set"; then
77719   echo $ECHO_N "(cached) $ECHO_C" >&6
77720 else
77721   if test x$gcc_no_link = xyes; then
77722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77724    { (exit 1); exit 1; }; }
77725 fi
77726 cat >conftest.$ac_ext <<_ACEOF
77727 /* confdefs.h.  */
77728 _ACEOF
77729 cat confdefs.h >>conftest.$ac_ext
77730 cat >>conftest.$ac_ext <<_ACEOF
77731 /* end confdefs.h.  */
77732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77733    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77734 #define $ac_func innocuous_$ac_func
77735
77736 /* System header to define __stub macros and hopefully few prototypes,
77737     which can conflict with char $ac_func (); below.
77738     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77739     <limits.h> exists even on freestanding compilers.  */
77740
77741 #ifdef __STDC__
77742 # include <limits.h>
77743 #else
77744 # include <assert.h>
77745 #endif
77746
77747 #undef $ac_func
77748
77749 /* Override any gcc2 internal prototype to avoid an error.  */
77750 #ifdef __cplusplus
77751 extern "C"
77752 {
77753 #endif
77754 /* We use char because int might match the return type of a gcc2
77755    builtin and then its argument prototype would still apply.  */
77756 char $ac_func ();
77757 /* The GNU C library defines this for functions which it implements
77758     to always fail with ENOSYS.  Some functions are actually named
77759     something starting with __ and the normal name is an alias.  */
77760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77761 choke me
77762 #else
77763 char (*f) () = $ac_func;
77764 #endif
77765 #ifdef __cplusplus
77766 }
77767 #endif
77768
77769 int
77770 main ()
77771 {
77772 return f != $ac_func;
77773   ;
77774   return 0;
77775 }
77776 _ACEOF
77777 rm -f conftest.$ac_objext conftest$ac_exeext
77778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77779   (eval $ac_link) 2>conftest.er1
77780   ac_status=$?
77781   grep -v '^ *+' conftest.er1 >conftest.err
77782   rm -f conftest.er1
77783   cat conftest.err >&5
77784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77785   (exit $ac_status); } &&
77786          { ac_try='test -z "$ac_c_werror_flag"
77787                          || test ! -s conftest.err'
77788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77789   (eval $ac_try) 2>&5
77790   ac_status=$?
77791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77792   (exit $ac_status); }; } &&
77793          { ac_try='test -s conftest$ac_exeext'
77794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77795   (eval $ac_try) 2>&5
77796   ac_status=$?
77797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77798   (exit $ac_status); }; }; then
77799   eval "$as_ac_var=yes"
77800 else
77801   echo "$as_me: failed program was:" >&5
77802 sed 's/^/| /' conftest.$ac_ext >&5
77803
77804 eval "$as_ac_var=no"
77805 fi
77806 rm -f conftest.err conftest.$ac_objext \
77807       conftest$ac_exeext conftest.$ac_ext
77808 fi
77809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77811 if test `eval echo '${'$as_ac_var'}'` = yes; then
77812   cat >>confdefs.h <<_ACEOF
77813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77814 _ACEOF
77815
77816 else
77817   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77818 fi
77819 done
77820
77821   fi
77822
77823   # Used in libmath/Makefile.am.
77824   if test -n "$LIBMATHOBJS"; then
77825     need_libmath=yes
77826   fi
77827
77828
77829
77830
77831   enable_iconv=no
77832   # Only continue checking if the ISO C99 headers exist and support is on.
77833   if test x"$enable_wchar_t" = xyes; then
77834
77835     # Use iconv for wchar_t to char conversions. As such, check for
77836     # X/Open Portability Guide, version 2 features (XPG2).
77837     if test "${ac_cv_header_iconv_h+set}" = set; then
77838   echo "$as_me:$LINENO: checking for iconv.h" >&5
77839 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77840 if test "${ac_cv_header_iconv_h+set}" = set; then
77841   echo $ECHO_N "(cached) $ECHO_C" >&6
77842 fi
77843 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77844 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77845 else
77846   # Is the header compilable?
77847 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77848 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77849 cat >conftest.$ac_ext <<_ACEOF
77850 /* confdefs.h.  */
77851 _ACEOF
77852 cat confdefs.h >>conftest.$ac_ext
77853 cat >>conftest.$ac_ext <<_ACEOF
77854 /* end confdefs.h.  */
77855 $ac_includes_default
77856 #include <iconv.h>
77857 _ACEOF
77858 rm -f conftest.$ac_objext
77859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77860   (eval $ac_compile) 2>conftest.er1
77861   ac_status=$?
77862   grep -v '^ *+' conftest.er1 >conftest.err
77863   rm -f conftest.er1
77864   cat conftest.err >&5
77865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77866   (exit $ac_status); } &&
77867          { ac_try='test -z "$ac_c_werror_flag"
77868                          || test ! -s conftest.err'
77869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77870   (eval $ac_try) 2>&5
77871   ac_status=$?
77872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77873   (exit $ac_status); }; } &&
77874          { ac_try='test -s conftest.$ac_objext'
77875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77876   (eval $ac_try) 2>&5
77877   ac_status=$?
77878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77879   (exit $ac_status); }; }; then
77880   ac_header_compiler=yes
77881 else
77882   echo "$as_me: failed program was:" >&5
77883 sed 's/^/| /' conftest.$ac_ext >&5
77884
77885 ac_header_compiler=no
77886 fi
77887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77889 echo "${ECHO_T}$ac_header_compiler" >&6
77890
77891 # Is the header present?
77892 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77893 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77894 cat >conftest.$ac_ext <<_ACEOF
77895 /* confdefs.h.  */
77896 _ACEOF
77897 cat confdefs.h >>conftest.$ac_ext
77898 cat >>conftest.$ac_ext <<_ACEOF
77899 /* end confdefs.h.  */
77900 #include <iconv.h>
77901 _ACEOF
77902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77903   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77904   ac_status=$?
77905   grep -v '^ *+' conftest.er1 >conftest.err
77906   rm -f conftest.er1
77907   cat conftest.err >&5
77908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77909   (exit $ac_status); } >/dev/null; then
77910   if test -s conftest.err; then
77911     ac_cpp_err=$ac_c_preproc_warn_flag
77912     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77913   else
77914     ac_cpp_err=
77915   fi
77916 else
77917   ac_cpp_err=yes
77918 fi
77919 if test -z "$ac_cpp_err"; then
77920   ac_header_preproc=yes
77921 else
77922   echo "$as_me: failed program was:" >&5
77923 sed 's/^/| /' conftest.$ac_ext >&5
77924
77925   ac_header_preproc=no
77926 fi
77927 rm -f conftest.err conftest.$ac_ext
77928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77929 echo "${ECHO_T}$ac_header_preproc" >&6
77930
77931 # So?  What about this header?
77932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77933   yes:no: )
77934     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77935 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77936     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77937 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77938     ac_header_preproc=yes
77939     ;;
77940   no:yes:* )
77941     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77942 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77943     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
77944 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
77945     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77946 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77947     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
77948 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
77949     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77950 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77951     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77952 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77953     (
77954       cat <<\_ASBOX
77955 ## ----------------------------------------- ##
77956 ## Report this to the package-unused lists.  ##
77957 ## ----------------------------------------- ##
77958 _ASBOX
77959     ) |
77960       sed "s/^/$as_me: WARNING:     /" >&2
77961     ;;
77962 esac
77963 echo "$as_me:$LINENO: checking for iconv.h" >&5
77964 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77965 if test "${ac_cv_header_iconv_h+set}" = set; then
77966   echo $ECHO_N "(cached) $ECHO_C" >&6
77967 else
77968   ac_cv_header_iconv_h=$ac_header_preproc
77969 fi
77970 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77971 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77972
77973 fi
77974 if test $ac_cv_header_iconv_h = yes; then
77975   ac_has_iconv_h=yes
77976 else
77977   ac_has_iconv_h=no
77978 fi
77979
77980
77981     if test "${ac_cv_header_langinfo_h+set}" = set; then
77982   echo "$as_me:$LINENO: checking for langinfo.h" >&5
77983 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77984 if test "${ac_cv_header_langinfo_h+set}" = set; then
77985   echo $ECHO_N "(cached) $ECHO_C" >&6
77986 fi
77987 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77988 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77989 else
77990   # Is the header compilable?
77991 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77992 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77993 cat >conftest.$ac_ext <<_ACEOF
77994 /* confdefs.h.  */
77995 _ACEOF
77996 cat confdefs.h >>conftest.$ac_ext
77997 cat >>conftest.$ac_ext <<_ACEOF
77998 /* end confdefs.h.  */
77999 $ac_includes_default
78000 #include <langinfo.h>
78001 _ACEOF
78002 rm -f conftest.$ac_objext
78003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78004   (eval $ac_compile) 2>conftest.er1
78005   ac_status=$?
78006   grep -v '^ *+' conftest.er1 >conftest.err
78007   rm -f conftest.er1
78008   cat conftest.err >&5
78009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78010   (exit $ac_status); } &&
78011          { ac_try='test -z "$ac_c_werror_flag"
78012                          || test ! -s conftest.err'
78013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78014   (eval $ac_try) 2>&5
78015   ac_status=$?
78016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78017   (exit $ac_status); }; } &&
78018          { ac_try='test -s conftest.$ac_objext'
78019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78020   (eval $ac_try) 2>&5
78021   ac_status=$?
78022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78023   (exit $ac_status); }; }; then
78024   ac_header_compiler=yes
78025 else
78026   echo "$as_me: failed program was:" >&5
78027 sed 's/^/| /' conftest.$ac_ext >&5
78028
78029 ac_header_compiler=no
78030 fi
78031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78032 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78033 echo "${ECHO_T}$ac_header_compiler" >&6
78034
78035 # Is the header present?
78036 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78037 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78038 cat >conftest.$ac_ext <<_ACEOF
78039 /* confdefs.h.  */
78040 _ACEOF
78041 cat confdefs.h >>conftest.$ac_ext
78042 cat >>conftest.$ac_ext <<_ACEOF
78043 /* end confdefs.h.  */
78044 #include <langinfo.h>
78045 _ACEOF
78046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78047   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78048   ac_status=$?
78049   grep -v '^ *+' conftest.er1 >conftest.err
78050   rm -f conftest.er1
78051   cat conftest.err >&5
78052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78053   (exit $ac_status); } >/dev/null; then
78054   if test -s conftest.err; then
78055     ac_cpp_err=$ac_c_preproc_warn_flag
78056     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78057   else
78058     ac_cpp_err=
78059   fi
78060 else
78061   ac_cpp_err=yes
78062 fi
78063 if test -z "$ac_cpp_err"; then
78064   ac_header_preproc=yes
78065 else
78066   echo "$as_me: failed program was:" >&5
78067 sed 's/^/| /' conftest.$ac_ext >&5
78068
78069   ac_header_preproc=no
78070 fi
78071 rm -f conftest.err conftest.$ac_ext
78072 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78073 echo "${ECHO_T}$ac_header_preproc" >&6
78074
78075 # So?  What about this header?
78076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78077   yes:no: )
78078     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78079 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78080     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78081 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78082     ac_header_preproc=yes
78083     ;;
78084   no:yes:* )
78085     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78086 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78087     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
78088 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
78089     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78090 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78091     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
78092 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
78093     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78094 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78095     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78096 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78097     (
78098       cat <<\_ASBOX
78099 ## ----------------------------------------- ##
78100 ## Report this to the package-unused lists.  ##
78101 ## ----------------------------------------- ##
78102 _ASBOX
78103     ) |
78104       sed "s/^/$as_me: WARNING:     /" >&2
78105     ;;
78106 esac
78107 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78108 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78109 if test "${ac_cv_header_langinfo_h+set}" = set; then
78110   echo $ECHO_N "(cached) $ECHO_C" >&6
78111 else
78112   ac_cv_header_langinfo_h=$ac_header_preproc
78113 fi
78114 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78115 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78116
78117 fi
78118 if test $ac_cv_header_langinfo_h = yes; then
78119   ac_has_langinfo_h=yes
78120 else
78121   ac_has_langinfo_h=no
78122 fi
78123
78124
78125
78126     # Check for existence of libiconv.a providing XPG2 wchar_t support.
78127     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78128 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78129 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78130   echo $ECHO_N "(cached) $ECHO_C" >&6
78131 else
78132   ac_check_lib_save_LIBS=$LIBS
78133 LIBS="-liconv  $LIBS"
78134 if test x$gcc_no_link = xyes; then
78135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78137    { (exit 1); exit 1; }; }
78138 fi
78139 cat >conftest.$ac_ext <<_ACEOF
78140 /* confdefs.h.  */
78141 _ACEOF
78142 cat confdefs.h >>conftest.$ac_ext
78143 cat >>conftest.$ac_ext <<_ACEOF
78144 /* end confdefs.h.  */
78145
78146 /* Override any gcc2 internal prototype to avoid an error.  */
78147 #ifdef __cplusplus
78148 extern "C"
78149 #endif
78150 /* We use char because int might match the return type of a gcc2
78151    builtin and then its argument prototype would still apply.  */
78152 char iconv ();
78153 int
78154 main ()
78155 {
78156 iconv ();
78157   ;
78158   return 0;
78159 }
78160 _ACEOF
78161 rm -f conftest.$ac_objext conftest$ac_exeext
78162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78163   (eval $ac_link) 2>conftest.er1
78164   ac_status=$?
78165   grep -v '^ *+' conftest.er1 >conftest.err
78166   rm -f conftest.er1
78167   cat conftest.err >&5
78168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78169   (exit $ac_status); } &&
78170          { ac_try='test -z "$ac_c_werror_flag"
78171                          || test ! -s conftest.err'
78172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78173   (eval $ac_try) 2>&5
78174   ac_status=$?
78175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78176   (exit $ac_status); }; } &&
78177          { ac_try='test -s conftest$ac_exeext'
78178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78179   (eval $ac_try) 2>&5
78180   ac_status=$?
78181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78182   (exit $ac_status); }; }; then
78183   ac_cv_lib_iconv_iconv=yes
78184 else
78185   echo "$as_me: failed program was:" >&5
78186 sed 's/^/| /' conftest.$ac_ext >&5
78187
78188 ac_cv_lib_iconv_iconv=no
78189 fi
78190 rm -f conftest.err conftest.$ac_objext \
78191       conftest$ac_exeext conftest.$ac_ext
78192 LIBS=$ac_check_lib_save_LIBS
78193 fi
78194 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78195 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78196 if test $ac_cv_lib_iconv_iconv = yes; then
78197   LIBICONV="-liconv"
78198 fi
78199
78200     ac_save_LIBS="$LIBS"
78201     LIBS="$LIBS $LIBICONV"
78202
78203
78204
78205
78206
78207
78208 for ac_func in iconv_open iconv_close iconv nl_langinfo
78209 do
78210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78211 echo "$as_me:$LINENO: checking for $ac_func" >&5
78212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78213 if eval "test \"\${$as_ac_var+set}\" = set"; then
78214   echo $ECHO_N "(cached) $ECHO_C" >&6
78215 else
78216   if test x$gcc_no_link = xyes; then
78217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78219    { (exit 1); exit 1; }; }
78220 fi
78221 cat >conftest.$ac_ext <<_ACEOF
78222 /* confdefs.h.  */
78223 _ACEOF
78224 cat confdefs.h >>conftest.$ac_ext
78225 cat >>conftest.$ac_ext <<_ACEOF
78226 /* end confdefs.h.  */
78227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78228    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78229 #define $ac_func innocuous_$ac_func
78230
78231 /* System header to define __stub macros and hopefully few prototypes,
78232     which can conflict with char $ac_func (); below.
78233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78234     <limits.h> exists even on freestanding compilers.  */
78235
78236 #ifdef __STDC__
78237 # include <limits.h>
78238 #else
78239 # include <assert.h>
78240 #endif
78241
78242 #undef $ac_func
78243
78244 /* Override any gcc2 internal prototype to avoid an error.  */
78245 #ifdef __cplusplus
78246 extern "C"
78247 {
78248 #endif
78249 /* We use char because int might match the return type of a gcc2
78250    builtin and then its argument prototype would still apply.  */
78251 char $ac_func ();
78252 /* The GNU C library defines this for functions which it implements
78253     to always fail with ENOSYS.  Some functions are actually named
78254     something starting with __ and the normal name is an alias.  */
78255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78256 choke me
78257 #else
78258 char (*f) () = $ac_func;
78259 #endif
78260 #ifdef __cplusplus
78261 }
78262 #endif
78263
78264 int
78265 main ()
78266 {
78267 return f != $ac_func;
78268   ;
78269   return 0;
78270 }
78271 _ACEOF
78272 rm -f conftest.$ac_objext conftest$ac_exeext
78273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78274   (eval $ac_link) 2>conftest.er1
78275   ac_status=$?
78276   grep -v '^ *+' conftest.er1 >conftest.err
78277   rm -f conftest.er1
78278   cat conftest.err >&5
78279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78280   (exit $ac_status); } &&
78281          { ac_try='test -z "$ac_c_werror_flag"
78282                          || test ! -s conftest.err'
78283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78284   (eval $ac_try) 2>&5
78285   ac_status=$?
78286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78287   (exit $ac_status); }; } &&
78288          { ac_try='test -s conftest$ac_exeext'
78289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78290   (eval $ac_try) 2>&5
78291   ac_status=$?
78292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78293   (exit $ac_status); }; }; then
78294   eval "$as_ac_var=yes"
78295 else
78296   echo "$as_me: failed program was:" >&5
78297 sed 's/^/| /' conftest.$ac_ext >&5
78298
78299 eval "$as_ac_var=no"
78300 fi
78301 rm -f conftest.err conftest.$ac_objext \
78302       conftest$ac_exeext conftest.$ac_ext
78303 fi
78304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78306 if test `eval echo '${'$as_ac_var'}'` = yes; then
78307   cat >>confdefs.h <<_ACEOF
78308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78309 _ACEOF
78310  ac_XPG2funcs=yes
78311 else
78312   ac_XPG2funcs=no
78313 fi
78314 done
78315
78316
78317     LIBS="$ac_save_LIBS"
78318
78319     if test x"$ac_has_iconv_h" = xyes &&
78320        test x"$ac_has_langinfo_h" = xyes &&
78321        test x"$ac_XPG2funcs" = xyes;
78322     then
78323
78324 cat >>confdefs.h <<\_ACEOF
78325 #define _GLIBCXX_USE_ICONV 1
78326 _ACEOF
78327
78328       enable_iconv=yes
78329     fi
78330   fi
78331   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78332 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78333   echo "$as_me:$LINENO: result: $enable_iconv" >&5
78334 echo "${ECHO_T}$enable_iconv" >&6
78335
78336     cat >>confdefs.h <<\_ACEOF
78337 #define HAVE_COPYSIGN 1
78338 _ACEOF
78339
78340     cat >>confdefs.h <<\_ACEOF
78341 #define HAVE_COPYSIGNF 1
78342 _ACEOF
78343
78344     cat >>confdefs.h <<\_ACEOF
78345 #define HAVE_FREXPF 1
78346 _ACEOF
78347
78348     cat >>confdefs.h <<\_ACEOF
78349 #define HAVE_HYPOT 1
78350 _ACEOF
78351
78352     case "$target" in
78353       *-hpux10*)
78354         cat >>confdefs.h <<\_ACEOF
78355 #define HAVE_FINITE 1
78356 _ACEOF
78357
78358         cat >>confdefs.h <<\_ACEOF
78359 #define HAVE_FINITEF 1
78360 _ACEOF
78361
78362         cat >>confdefs.h <<\_ACEOF
78363 #define HAVE_ISINF 1
78364 _ACEOF
78365
78366         cat >>confdefs.h <<\_ACEOF
78367 #define HAVE_ISINFF 1
78368 _ACEOF
78369
78370         cat >>confdefs.h <<\_ACEOF
78371 #define HAVE_ISNAN 1
78372 _ACEOF
78373
78374         cat >>confdefs.h <<\_ACEOF
78375 #define HAVE_ISNANF 1
78376 _ACEOF
78377
78378         ;;
78379     esac
78380     ;;
78381   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
78382
78383
78384
78385
78386
78387
78388
78389
78390
78391
78392
78393
78394
78395
78396
78397 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78398       machine/endian.h machine/param.h sys/machine.h sys/types.h \
78399       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
78400 do
78401 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78403   echo "$as_me:$LINENO: checking for $ac_header" >&5
78404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78406   echo $ECHO_N "(cached) $ECHO_C" >&6
78407 fi
78408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78410 else
78411   # Is the header compilable?
78412 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78413 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78414 cat >conftest.$ac_ext <<_ACEOF
78415 /* confdefs.h.  */
78416 _ACEOF
78417 cat confdefs.h >>conftest.$ac_ext
78418 cat >>conftest.$ac_ext <<_ACEOF
78419 /* end confdefs.h.  */
78420 $ac_includes_default
78421 #include <$ac_header>
78422 _ACEOF
78423 rm -f conftest.$ac_objext
78424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78425   (eval $ac_compile) 2>conftest.er1
78426   ac_status=$?
78427   grep -v '^ *+' conftest.er1 >conftest.err
78428   rm -f conftest.er1
78429   cat conftest.err >&5
78430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78431   (exit $ac_status); } &&
78432          { ac_try='test -z "$ac_c_werror_flag"
78433                          || test ! -s conftest.err'
78434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78435   (eval $ac_try) 2>&5
78436   ac_status=$?
78437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78438   (exit $ac_status); }; } &&
78439          { ac_try='test -s conftest.$ac_objext'
78440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78441   (eval $ac_try) 2>&5
78442   ac_status=$?
78443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78444   (exit $ac_status); }; }; then
78445   ac_header_compiler=yes
78446 else
78447   echo "$as_me: failed program was:" >&5
78448 sed 's/^/| /' conftest.$ac_ext >&5
78449
78450 ac_header_compiler=no
78451 fi
78452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78453 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78454 echo "${ECHO_T}$ac_header_compiler" >&6
78455
78456 # Is the header present?
78457 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78458 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78459 cat >conftest.$ac_ext <<_ACEOF
78460 /* confdefs.h.  */
78461 _ACEOF
78462 cat confdefs.h >>conftest.$ac_ext
78463 cat >>conftest.$ac_ext <<_ACEOF
78464 /* end confdefs.h.  */
78465 #include <$ac_header>
78466 _ACEOF
78467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78468   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78469   ac_status=$?
78470   grep -v '^ *+' conftest.er1 >conftest.err
78471   rm -f conftest.er1
78472   cat conftest.err >&5
78473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78474   (exit $ac_status); } >/dev/null; then
78475   if test -s conftest.err; then
78476     ac_cpp_err=$ac_c_preproc_warn_flag
78477     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78478   else
78479     ac_cpp_err=
78480   fi
78481 else
78482   ac_cpp_err=yes
78483 fi
78484 if test -z "$ac_cpp_err"; then
78485   ac_header_preproc=yes
78486 else
78487   echo "$as_me: failed program was:" >&5
78488 sed 's/^/| /' conftest.$ac_ext >&5
78489
78490   ac_header_preproc=no
78491 fi
78492 rm -f conftest.err conftest.$ac_ext
78493 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78494 echo "${ECHO_T}$ac_header_preproc" >&6
78495
78496 # So?  What about this header?
78497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78498   yes:no: )
78499     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78500 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78501     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78502 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78503     ac_header_preproc=yes
78504     ;;
78505   no:yes:* )
78506     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78507 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78508     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78509 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78510     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78511 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78512     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78513 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78514     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78515 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78516     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78517 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78518     (
78519       cat <<\_ASBOX
78520 ## ----------------------------------------- ##
78521 ## Report this to the package-unused lists.  ##
78522 ## ----------------------------------------- ##
78523 _ASBOX
78524     ) |
78525       sed "s/^/$as_me: WARNING:     /" >&2
78526     ;;
78527 esac
78528 echo "$as_me:$LINENO: checking for $ac_header" >&5
78529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78531   echo $ECHO_N "(cached) $ECHO_C" >&6
78532 else
78533   eval "$as_ac_Header=\$ac_header_preproc"
78534 fi
78535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78537
78538 fi
78539 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78540   cat >>confdefs.h <<_ACEOF
78541 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78542 _ACEOF
78543
78544 fi
78545
78546 done
78547
78548     SECTION_FLAGS='-ffunction-sections -fdata-sections'
78549
78550
78551   # All these tests are for C++; save the language and the compiler flags.
78552   # The CXXFLAGS thing is suspicious, but based on similar bits previously
78553   # found in GLIBCXX_CONFIGURE.
78554
78555
78556   ac_ext=cc
78557 ac_cpp='$CXXCPP $CPPFLAGS'
78558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78561
78562   ac_test_CXXFLAGS="${CXXFLAGS+set}"
78563   ac_save_CXXFLAGS="$CXXFLAGS"
78564
78565   # Check for maintainer-mode bits.
78566   if test x"$USE_MAINTAINER_MODE" = xno; then
78567     WERROR=''
78568   else
78569     WERROR='-Werror'
78570   fi
78571
78572   # Check for -ffunction-sections -fdata-sections
78573   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
78574 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
78575   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
78576   cat >conftest.$ac_ext <<_ACEOF
78577 /* confdefs.h.  */
78578 _ACEOF
78579 cat confdefs.h >>conftest.$ac_ext
78580 cat >>conftest.$ac_ext <<_ACEOF
78581 /* end confdefs.h.  */
78582
78583 int
78584 main ()
78585 {
78586 int foo;
78587   ;
78588   return 0;
78589 }
78590 _ACEOF
78591 rm -f conftest.$ac_objext
78592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78593   (eval $ac_compile) 2>conftest.er1
78594   ac_status=$?
78595   grep -v '^ *+' conftest.er1 >conftest.err
78596   rm -f conftest.er1
78597   cat conftest.err >&5
78598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78599   (exit $ac_status); } &&
78600          { ac_try='test -z "$ac_cxx_werror_flag"
78601                          || test ! -s conftest.err'
78602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78603   (eval $ac_try) 2>&5
78604   ac_status=$?
78605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78606   (exit $ac_status); }; } &&
78607          { ac_try='test -s conftest.$ac_objext'
78608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78609   (eval $ac_try) 2>&5
78610   ac_status=$?
78611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78612   (exit $ac_status); }; }; then
78613   ac_fdsections=yes
78614 else
78615   echo "$as_me: failed program was:" >&5
78616 sed 's/^/| /' conftest.$ac_ext >&5
78617
78618 ac_fdsections=no
78619 fi
78620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78621   if test "$ac_test_CXXFLAGS" = set; then
78622     CXXFLAGS="$ac_save_CXXFLAGS"
78623   else
78624     # this is the suspicious part
78625     CXXFLAGS=''
78626   fi
78627   if test x"$ac_fdsections" = x"yes"; then
78628     SECTION_FLAGS='-ffunction-sections -fdata-sections'
78629   fi
78630   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
78631 echo "${ECHO_T}$ac_fdsections" >&6
78632
78633   ac_ext=c
78634 ac_cpp='$CPP $CPPFLAGS'
78635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78638
78639
78640
78641
78642
78643   # If we're not using GNU ld, then there's no point in even trying these
78644   # tests.  Check for that first.  We should have already tested for gld
78645   # by now (in libtool), but require it now just to be safe...
78646   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78647   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78648
78649
78650
78651   # The name set by libtool depends on the version of libtool.  Shame on us
78652   # for depending on an impl detail, but c'est la vie.  Older versions used
78653   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78654   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78655   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
78656   # set (hence we're using an older libtool), then set it.
78657   if test x${with_gnu_ld+set} != xset; then
78658     if test x${ac_cv_prog_gnu_ld+set} != xset; then
78659       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
78660       with_gnu_ld=no
78661     else
78662       with_gnu_ld=$ac_cv_prog_gnu_ld
78663     fi
78664   fi
78665
78666   # Start by getting the version number.  I think the libtool test already
78667   # does some of this, but throws away the result.
78668   if test x"$with_gnu_ld" = x"yes"; then
78669     echo "$as_me:$LINENO: checking for ld version" >&5
78670 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78671
78672     ldver=`$LD --version 2>/dev/null | head -1 | \
78673            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
78674
78675     glibcxx_gnu_ld_version=`echo $ldver | \
78676            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78677     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78678 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78679   fi
78680
78681   # Set --gc-sections.
78682   glibcxx_gcsections_min_ld=21602
78683   if test x"$with_gnu_ld" = x"yes" &&
78684         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78685
78686     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
78687     # NB: This flag only works reliably after 2.16.1. Configure tests
78688     # for this are difficult, so hard wire a value that should work.
78689
78690     # All these tests are for C++, but run with the "C" compiler driver.
78691     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78692     ac_test_CFLAGS="${CFLAGS+set}"
78693     ac_save_CFLAGS="$CFLAGS"
78694     CFLAGS='-x c++ -Wl,--gc-sections'
78695
78696     # Check for -Wl,--gc-sections
78697     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78698 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78699     if test x$gcc_no_link = xyes; then
78700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78702    { (exit 1); exit 1; }; }
78703 fi
78704 cat >conftest.$ac_ext <<_ACEOF
78705 /* confdefs.h.  */
78706 _ACEOF
78707 cat confdefs.h >>conftest.$ac_ext
78708 cat >>conftest.$ac_ext <<_ACEOF
78709 /* end confdefs.h.  */
78710  int one(void) { return 1; }
78711      int two(void) { return 2; }
78712
78713 int
78714 main ()
78715 {
78716  two();
78717   ;
78718   return 0;
78719 }
78720 _ACEOF
78721 rm -f conftest.$ac_objext conftest$ac_exeext
78722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78723   (eval $ac_link) 2>conftest.er1
78724   ac_status=$?
78725   grep -v '^ *+' conftest.er1 >conftest.err
78726   rm -f conftest.er1
78727   cat conftest.err >&5
78728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78729   (exit $ac_status); } &&
78730          { ac_try='test -z "$ac_c_werror_flag"
78731                          || test ! -s conftest.err'
78732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78733   (eval $ac_try) 2>&5
78734   ac_status=$?
78735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78736   (exit $ac_status); }; } &&
78737          { ac_try='test -s conftest$ac_exeext'
78738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78739   (eval $ac_try) 2>&5
78740   ac_status=$?
78741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78742   (exit $ac_status); }; }; then
78743   ac_gcsections=yes
78744 else
78745   echo "$as_me: failed program was:" >&5
78746 sed 's/^/| /' conftest.$ac_ext >&5
78747
78748 ac_gcsections=no
78749 fi
78750 rm -f conftest.err conftest.$ac_objext \
78751       conftest$ac_exeext conftest.$ac_ext
78752     if test "$ac_gcsections" = "yes"; then
78753       rm -f conftest.c
78754       touch conftest.c
78755       if $CC -c conftest.c; then
78756         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78757            grep "Warning: gc-sections option ignored" > /dev/null; then
78758           ac_gcsections=no
78759         fi
78760       fi
78761       rm -f conftest.c conftest.o conftest
78762     fi
78763     if test "$ac_gcsections" = "yes"; then
78764       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78765     fi
78766     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78767 echo "${ECHO_T}$ac_gcsections" >&6
78768
78769     if test "$ac_test_CFLAGS" = set; then
78770       CFLAGS="$ac_save_CFLAGS"
78771     else
78772       # this is the suspicious part
78773       CFLAGS=''
78774     fi
78775   fi
78776
78777   # Set -z,relro.
78778   # Note this is only for shared objects.
78779   ac_ld_relro=no
78780   if test x"$with_gnu_ld" = x"yes"; then
78781     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78782 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78783     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78784     if test -n "$cxx_z_relo"; then
78785       OPT_LDFLAGS="-Wl,-z,relro"
78786       ac_ld_relro=yes
78787     fi
78788     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78789 echo "${ECHO_T}$ac_ld_relro" >&6
78790   fi
78791
78792   # Set linker optimization flags.
78793   if test x"$with_gnu_ld" = x"yes"; then
78794     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78795   fi
78796
78797
78798
78799
78800
78801   ac_test_CXXFLAGS="${CXXFLAGS+set}"
78802   ac_save_CXXFLAGS="$CXXFLAGS"
78803   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78804
78805     echo "$as_me:$LINENO: checking for sin in -lm" >&5
78806 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
78807 if test "${ac_cv_lib_m_sin+set}" = set; then
78808   echo $ECHO_N "(cached) $ECHO_C" >&6
78809 else
78810   ac_check_lib_save_LIBS=$LIBS
78811 LIBS="-lm  $LIBS"
78812 if test x$gcc_no_link = xyes; then
78813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78815    { (exit 1); exit 1; }; }
78816 fi
78817 cat >conftest.$ac_ext <<_ACEOF
78818 /* confdefs.h.  */
78819 _ACEOF
78820 cat confdefs.h >>conftest.$ac_ext
78821 cat >>conftest.$ac_ext <<_ACEOF
78822 /* end confdefs.h.  */
78823
78824 /* Override any gcc2 internal prototype to avoid an error.  */
78825 #ifdef __cplusplus
78826 extern "C"
78827 #endif
78828 /* We use char because int might match the return type of a gcc2
78829    builtin and then its argument prototype would still apply.  */
78830 char sin ();
78831 int
78832 main ()
78833 {
78834 sin ();
78835   ;
78836   return 0;
78837 }
78838 _ACEOF
78839 rm -f conftest.$ac_objext conftest$ac_exeext
78840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78841   (eval $ac_link) 2>conftest.er1
78842   ac_status=$?
78843   grep -v '^ *+' conftest.er1 >conftest.err
78844   rm -f conftest.er1
78845   cat conftest.err >&5
78846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78847   (exit $ac_status); } &&
78848          { ac_try='test -z "$ac_c_werror_flag"
78849                          || test ! -s conftest.err'
78850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78851   (eval $ac_try) 2>&5
78852   ac_status=$?
78853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78854   (exit $ac_status); }; } &&
78855          { ac_try='test -s conftest$ac_exeext'
78856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78857   (eval $ac_try) 2>&5
78858   ac_status=$?
78859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78860   (exit $ac_status); }; }; then
78861   ac_cv_lib_m_sin=yes
78862 else
78863   echo "$as_me: failed program was:" >&5
78864 sed 's/^/| /' conftest.$ac_ext >&5
78865
78866 ac_cv_lib_m_sin=no
78867 fi
78868 rm -f conftest.err conftest.$ac_objext \
78869       conftest$ac_exeext conftest.$ac_ext
78870 LIBS=$ac_check_lib_save_LIBS
78871 fi
78872 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
78873 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
78874 if test $ac_cv_lib_m_sin = yes; then
78875   libm="-lm"
78876 fi
78877
78878   ac_save_LIBS="$LIBS"
78879   LIBS="$LIBS $libm"
78880
78881
78882
78883   echo "$as_me:$LINENO: checking for isinf declaration" >&5
78884 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
78885   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
78886     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
78887   echo $ECHO_N "(cached) $ECHO_C" >&6
78888 else
78889
78890
78891
78892       ac_ext=cc
78893 ac_cpp='$CXXCPP $CPPFLAGS'
78894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78897
78898       cat >conftest.$ac_ext <<_ACEOF
78899 /* confdefs.h.  */
78900 _ACEOF
78901 cat confdefs.h >>conftest.$ac_ext
78902 cat >>conftest.$ac_ext <<_ACEOF
78903 /* end confdefs.h.  */
78904 #include <math.h>
78905                       #ifdef HAVE_IEEEFP_H
78906                       #include <ieeefp.h>
78907                       #endif
78908
78909 int
78910 main ()
78911 {
78912  isinf(0);
78913   ;
78914   return 0;
78915 }
78916 _ACEOF
78917 rm -f conftest.$ac_objext
78918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78919   (eval $ac_compile) 2>conftest.er1
78920   ac_status=$?
78921   grep -v '^ *+' conftest.er1 >conftest.err
78922   rm -f conftest.er1
78923   cat conftest.err >&5
78924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78925   (exit $ac_status); } &&
78926          { ac_try='test -z "$ac_cxx_werror_flag"
78927                          || test ! -s conftest.err'
78928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78929   (eval $ac_try) 2>&5
78930   ac_status=$?
78931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78932   (exit $ac_status); }; } &&
78933          { ac_try='test -s conftest.$ac_objext'
78934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78935   (eval $ac_try) 2>&5
78936   ac_status=$?
78937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78938   (exit $ac_status); }; }; then
78939   glibcxx_cv_func_isinf_use=yes
78940 else
78941   echo "$as_me: failed program was:" >&5
78942 sed 's/^/| /' conftest.$ac_ext >&5
78943
78944 glibcxx_cv_func_isinf_use=no
78945 fi
78946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78947       ac_ext=c
78948 ac_cpp='$CPP $CPPFLAGS'
78949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78952
78953
78954 fi
78955
78956   fi
78957   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
78958 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
78959
78960   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
78961
78962 for ac_func in isinf
78963 do
78964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78965 echo "$as_me:$LINENO: checking for $ac_func" >&5
78966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78967 if eval "test \"\${$as_ac_var+set}\" = set"; then
78968   echo $ECHO_N "(cached) $ECHO_C" >&6
78969 else
78970   if test x$gcc_no_link = xyes; then
78971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78973    { (exit 1); exit 1; }; }
78974 fi
78975 cat >conftest.$ac_ext <<_ACEOF
78976 /* confdefs.h.  */
78977 _ACEOF
78978 cat confdefs.h >>conftest.$ac_ext
78979 cat >>conftest.$ac_ext <<_ACEOF
78980 /* end confdefs.h.  */
78981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78983 #define $ac_func innocuous_$ac_func
78984
78985 /* System header to define __stub macros and hopefully few prototypes,
78986     which can conflict with char $ac_func (); below.
78987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78988     <limits.h> exists even on freestanding compilers.  */
78989
78990 #ifdef __STDC__
78991 # include <limits.h>
78992 #else
78993 # include <assert.h>
78994 #endif
78995
78996 #undef $ac_func
78997
78998 /* Override any gcc2 internal prototype to avoid an error.  */
78999 #ifdef __cplusplus
79000 extern "C"
79001 {
79002 #endif
79003 /* We use char because int might match the return type of a gcc2
79004    builtin and then its argument prototype would still apply.  */
79005 char $ac_func ();
79006 /* The GNU C library defines this for functions which it implements
79007     to always fail with ENOSYS.  Some functions are actually named
79008     something starting with __ and the normal name is an alias.  */
79009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79010 choke me
79011 #else
79012 char (*f) () = $ac_func;
79013 #endif
79014 #ifdef __cplusplus
79015 }
79016 #endif
79017
79018 int
79019 main ()
79020 {
79021 return f != $ac_func;
79022   ;
79023   return 0;
79024 }
79025 _ACEOF
79026 rm -f conftest.$ac_objext conftest$ac_exeext
79027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79028   (eval $ac_link) 2>conftest.er1
79029   ac_status=$?
79030   grep -v '^ *+' conftest.er1 >conftest.err
79031   rm -f conftest.er1
79032   cat conftest.err >&5
79033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79034   (exit $ac_status); } &&
79035          { ac_try='test -z "$ac_c_werror_flag"
79036                          || test ! -s conftest.err'
79037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79038   (eval $ac_try) 2>&5
79039   ac_status=$?
79040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79041   (exit $ac_status); }; } &&
79042          { ac_try='test -s conftest$ac_exeext'
79043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79044   (eval $ac_try) 2>&5
79045   ac_status=$?
79046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79047   (exit $ac_status); }; }; then
79048   eval "$as_ac_var=yes"
79049 else
79050   echo "$as_me: failed program was:" >&5
79051 sed 's/^/| /' conftest.$ac_ext >&5
79052
79053 eval "$as_ac_var=no"
79054 fi
79055 rm -f conftest.err conftest.$ac_objext \
79056       conftest$ac_exeext conftest.$ac_ext
79057 fi
79058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79060 if test `eval echo '${'$as_ac_var'}'` = yes; then
79061   cat >>confdefs.h <<_ACEOF
79062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79063 _ACEOF
79064
79065 fi
79066 done
79067
79068   else
79069
79070   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
79071 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
79072   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
79073     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
79074   echo $ECHO_N "(cached) $ECHO_C" >&6
79075 else
79076
79077
79078
79079       ac_ext=cc
79080 ac_cpp='$CXXCPP $CPPFLAGS'
79081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79084
79085       cat >conftest.$ac_ext <<_ACEOF
79086 /* confdefs.h.  */
79087 _ACEOF
79088 cat confdefs.h >>conftest.$ac_ext
79089 cat >>conftest.$ac_ext <<_ACEOF
79090 /* end confdefs.h.  */
79091 #include <math.h>
79092                       #ifdef HAVE_IEEEFP_H
79093                       #include <ieeefp.h>
79094                       #endif
79095
79096 int
79097 main ()
79098 {
79099  _isinf(0);
79100   ;
79101   return 0;
79102 }
79103 _ACEOF
79104 rm -f conftest.$ac_objext
79105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79106   (eval $ac_compile) 2>conftest.er1
79107   ac_status=$?
79108   grep -v '^ *+' conftest.er1 >conftest.err
79109   rm -f conftest.er1
79110   cat conftest.err >&5
79111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79112   (exit $ac_status); } &&
79113          { ac_try='test -z "$ac_cxx_werror_flag"
79114                          || test ! -s conftest.err'
79115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79116   (eval $ac_try) 2>&5
79117   ac_status=$?
79118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79119   (exit $ac_status); }; } &&
79120          { ac_try='test -s conftest.$ac_objext'
79121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79122   (eval $ac_try) 2>&5
79123   ac_status=$?
79124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79125   (exit $ac_status); }; }; then
79126   glibcxx_cv_func__isinf_use=yes
79127 else
79128   echo "$as_me: failed program was:" >&5
79129 sed 's/^/| /' conftest.$ac_ext >&5
79130
79131 glibcxx_cv_func__isinf_use=no
79132 fi
79133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79134       ac_ext=c
79135 ac_cpp='$CPP $CPPFLAGS'
79136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79139
79140
79141 fi
79142
79143   fi
79144   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
79145 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
79146
79147     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
79148
79149 for ac_func in _isinf
79150 do
79151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79152 echo "$as_me:$LINENO: checking for $ac_func" >&5
79153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79154 if eval "test \"\${$as_ac_var+set}\" = set"; then
79155   echo $ECHO_N "(cached) $ECHO_C" >&6
79156 else
79157   if test x$gcc_no_link = xyes; then
79158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79160    { (exit 1); exit 1; }; }
79161 fi
79162 cat >conftest.$ac_ext <<_ACEOF
79163 /* confdefs.h.  */
79164 _ACEOF
79165 cat confdefs.h >>conftest.$ac_ext
79166 cat >>conftest.$ac_ext <<_ACEOF
79167 /* end confdefs.h.  */
79168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79169    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79170 #define $ac_func innocuous_$ac_func
79171
79172 /* System header to define __stub macros and hopefully few prototypes,
79173     which can conflict with char $ac_func (); below.
79174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79175     <limits.h> exists even on freestanding compilers.  */
79176
79177 #ifdef __STDC__
79178 # include <limits.h>
79179 #else
79180 # include <assert.h>
79181 #endif
79182
79183 #undef $ac_func
79184
79185 /* Override any gcc2 internal prototype to avoid an error.  */
79186 #ifdef __cplusplus
79187 extern "C"
79188 {
79189 #endif
79190 /* We use char because int might match the return type of a gcc2
79191    builtin and then its argument prototype would still apply.  */
79192 char $ac_func ();
79193 /* The GNU C library defines this for functions which it implements
79194     to always fail with ENOSYS.  Some functions are actually named
79195     something starting with __ and the normal name is an alias.  */
79196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79197 choke me
79198 #else
79199 char (*f) () = $ac_func;
79200 #endif
79201 #ifdef __cplusplus
79202 }
79203 #endif
79204
79205 int
79206 main ()
79207 {
79208 return f != $ac_func;
79209   ;
79210   return 0;
79211 }
79212 _ACEOF
79213 rm -f conftest.$ac_objext conftest$ac_exeext
79214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79215   (eval $ac_link) 2>conftest.er1
79216   ac_status=$?
79217   grep -v '^ *+' conftest.er1 >conftest.err
79218   rm -f conftest.er1
79219   cat conftest.err >&5
79220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79221   (exit $ac_status); } &&
79222          { ac_try='test -z "$ac_c_werror_flag"
79223                          || test ! -s conftest.err'
79224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79225   (eval $ac_try) 2>&5
79226   ac_status=$?
79227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79228   (exit $ac_status); }; } &&
79229          { ac_try='test -s conftest$ac_exeext'
79230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79231   (eval $ac_try) 2>&5
79232   ac_status=$?
79233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79234   (exit $ac_status); }; }; then
79235   eval "$as_ac_var=yes"
79236 else
79237   echo "$as_me: failed program was:" >&5
79238 sed 's/^/| /' conftest.$ac_ext >&5
79239
79240 eval "$as_ac_var=no"
79241 fi
79242 rm -f conftest.err conftest.$ac_objext \
79243       conftest$ac_exeext conftest.$ac_ext
79244 fi
79245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79247 if test `eval echo '${'$as_ac_var'}'` = yes; then
79248   cat >>confdefs.h <<_ACEOF
79249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79250 _ACEOF
79251
79252 fi
79253 done
79254
79255     fi
79256   fi
79257
79258
79259
79260
79261
79262
79263   echo "$as_me:$LINENO: checking for isnan declaration" >&5
79264 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
79265   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
79266     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
79267   echo $ECHO_N "(cached) $ECHO_C" >&6
79268 else
79269
79270
79271
79272       ac_ext=cc
79273 ac_cpp='$CXXCPP $CPPFLAGS'
79274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79277
79278       cat >conftest.$ac_ext <<_ACEOF
79279 /* confdefs.h.  */
79280 _ACEOF
79281 cat confdefs.h >>conftest.$ac_ext
79282 cat >>conftest.$ac_ext <<_ACEOF
79283 /* end confdefs.h.  */
79284 #include <math.h>
79285                       #ifdef HAVE_IEEEFP_H
79286                       #include <ieeefp.h>
79287                       #endif
79288
79289 int
79290 main ()
79291 {
79292  isnan(0);
79293   ;
79294   return 0;
79295 }
79296 _ACEOF
79297 rm -f conftest.$ac_objext
79298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79299   (eval $ac_compile) 2>conftest.er1
79300   ac_status=$?
79301   grep -v '^ *+' conftest.er1 >conftest.err
79302   rm -f conftest.er1
79303   cat conftest.err >&5
79304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79305   (exit $ac_status); } &&
79306          { ac_try='test -z "$ac_cxx_werror_flag"
79307                          || test ! -s conftest.err'
79308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79309   (eval $ac_try) 2>&5
79310   ac_status=$?
79311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79312   (exit $ac_status); }; } &&
79313          { ac_try='test -s conftest.$ac_objext'
79314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79315   (eval $ac_try) 2>&5
79316   ac_status=$?
79317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79318   (exit $ac_status); }; }; then
79319   glibcxx_cv_func_isnan_use=yes
79320 else
79321   echo "$as_me: failed program was:" >&5
79322 sed 's/^/| /' conftest.$ac_ext >&5
79323
79324 glibcxx_cv_func_isnan_use=no
79325 fi
79326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79327       ac_ext=c
79328 ac_cpp='$CPP $CPPFLAGS'
79329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79332
79333
79334 fi
79335
79336   fi
79337   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
79338 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
79339
79340   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
79341
79342 for ac_func in isnan
79343 do
79344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79345 echo "$as_me:$LINENO: checking for $ac_func" >&5
79346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79347 if eval "test \"\${$as_ac_var+set}\" = set"; then
79348   echo $ECHO_N "(cached) $ECHO_C" >&6
79349 else
79350   if test x$gcc_no_link = xyes; then
79351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79353    { (exit 1); exit 1; }; }
79354 fi
79355 cat >conftest.$ac_ext <<_ACEOF
79356 /* confdefs.h.  */
79357 _ACEOF
79358 cat confdefs.h >>conftest.$ac_ext
79359 cat >>conftest.$ac_ext <<_ACEOF
79360 /* end confdefs.h.  */
79361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79363 #define $ac_func innocuous_$ac_func
79364
79365 /* System header to define __stub macros and hopefully few prototypes,
79366     which can conflict with char $ac_func (); below.
79367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79368     <limits.h> exists even on freestanding compilers.  */
79369
79370 #ifdef __STDC__
79371 # include <limits.h>
79372 #else
79373 # include <assert.h>
79374 #endif
79375
79376 #undef $ac_func
79377
79378 /* Override any gcc2 internal prototype to avoid an error.  */
79379 #ifdef __cplusplus
79380 extern "C"
79381 {
79382 #endif
79383 /* We use char because int might match the return type of a gcc2
79384    builtin and then its argument prototype would still apply.  */
79385 char $ac_func ();
79386 /* The GNU C library defines this for functions which it implements
79387     to always fail with ENOSYS.  Some functions are actually named
79388     something starting with __ and the normal name is an alias.  */
79389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79390 choke me
79391 #else
79392 char (*f) () = $ac_func;
79393 #endif
79394 #ifdef __cplusplus
79395 }
79396 #endif
79397
79398 int
79399 main ()
79400 {
79401 return f != $ac_func;
79402   ;
79403   return 0;
79404 }
79405 _ACEOF
79406 rm -f conftest.$ac_objext conftest$ac_exeext
79407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79408   (eval $ac_link) 2>conftest.er1
79409   ac_status=$?
79410   grep -v '^ *+' conftest.er1 >conftest.err
79411   rm -f conftest.er1
79412   cat conftest.err >&5
79413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79414   (exit $ac_status); } &&
79415          { ac_try='test -z "$ac_c_werror_flag"
79416                          || test ! -s conftest.err'
79417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79418   (eval $ac_try) 2>&5
79419   ac_status=$?
79420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79421   (exit $ac_status); }; } &&
79422          { ac_try='test -s conftest$ac_exeext'
79423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79424   (eval $ac_try) 2>&5
79425   ac_status=$?
79426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79427   (exit $ac_status); }; }; then
79428   eval "$as_ac_var=yes"
79429 else
79430   echo "$as_me: failed program was:" >&5
79431 sed 's/^/| /' conftest.$ac_ext >&5
79432
79433 eval "$as_ac_var=no"
79434 fi
79435 rm -f conftest.err conftest.$ac_objext \
79436       conftest$ac_exeext conftest.$ac_ext
79437 fi
79438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79440 if test `eval echo '${'$as_ac_var'}'` = yes; then
79441   cat >>confdefs.h <<_ACEOF
79442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79443 _ACEOF
79444
79445 fi
79446 done
79447
79448   else
79449
79450   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
79451 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
79452   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
79453     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
79454   echo $ECHO_N "(cached) $ECHO_C" >&6
79455 else
79456
79457
79458
79459       ac_ext=cc
79460 ac_cpp='$CXXCPP $CPPFLAGS'
79461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79464
79465       cat >conftest.$ac_ext <<_ACEOF
79466 /* confdefs.h.  */
79467 _ACEOF
79468 cat confdefs.h >>conftest.$ac_ext
79469 cat >>conftest.$ac_ext <<_ACEOF
79470 /* end confdefs.h.  */
79471 #include <math.h>
79472                       #ifdef HAVE_IEEEFP_H
79473                       #include <ieeefp.h>
79474                       #endif
79475
79476 int
79477 main ()
79478 {
79479  _isnan(0);
79480   ;
79481   return 0;
79482 }
79483 _ACEOF
79484 rm -f conftest.$ac_objext
79485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79486   (eval $ac_compile) 2>conftest.er1
79487   ac_status=$?
79488   grep -v '^ *+' conftest.er1 >conftest.err
79489   rm -f conftest.er1
79490   cat conftest.err >&5
79491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79492   (exit $ac_status); } &&
79493          { ac_try='test -z "$ac_cxx_werror_flag"
79494                          || test ! -s conftest.err'
79495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79496   (eval $ac_try) 2>&5
79497   ac_status=$?
79498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79499   (exit $ac_status); }; } &&
79500          { ac_try='test -s conftest.$ac_objext'
79501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79502   (eval $ac_try) 2>&5
79503   ac_status=$?
79504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79505   (exit $ac_status); }; }; then
79506   glibcxx_cv_func__isnan_use=yes
79507 else
79508   echo "$as_me: failed program was:" >&5
79509 sed 's/^/| /' conftest.$ac_ext >&5
79510
79511 glibcxx_cv_func__isnan_use=no
79512 fi
79513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79514       ac_ext=c
79515 ac_cpp='$CPP $CPPFLAGS'
79516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79519
79520
79521 fi
79522
79523   fi
79524   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
79525 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
79526
79527     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
79528
79529 for ac_func in _isnan
79530 do
79531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79532 echo "$as_me:$LINENO: checking for $ac_func" >&5
79533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79534 if eval "test \"\${$as_ac_var+set}\" = set"; then
79535   echo $ECHO_N "(cached) $ECHO_C" >&6
79536 else
79537   if test x$gcc_no_link = xyes; then
79538   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79540    { (exit 1); exit 1; }; }
79541 fi
79542 cat >conftest.$ac_ext <<_ACEOF
79543 /* confdefs.h.  */
79544 _ACEOF
79545 cat confdefs.h >>conftest.$ac_ext
79546 cat >>conftest.$ac_ext <<_ACEOF
79547 /* end confdefs.h.  */
79548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79549    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79550 #define $ac_func innocuous_$ac_func
79551
79552 /* System header to define __stub macros and hopefully few prototypes,
79553     which can conflict with char $ac_func (); below.
79554     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79555     <limits.h> exists even on freestanding compilers.  */
79556
79557 #ifdef __STDC__
79558 # include <limits.h>
79559 #else
79560 # include <assert.h>
79561 #endif
79562
79563 #undef $ac_func
79564
79565 /* Override any gcc2 internal prototype to avoid an error.  */
79566 #ifdef __cplusplus
79567 extern "C"
79568 {
79569 #endif
79570 /* We use char because int might match the return type of a gcc2
79571    builtin and then its argument prototype would still apply.  */
79572 char $ac_func ();
79573 /* The GNU C library defines this for functions which it implements
79574     to always fail with ENOSYS.  Some functions are actually named
79575     something starting with __ and the normal name is an alias.  */
79576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79577 choke me
79578 #else
79579 char (*f) () = $ac_func;
79580 #endif
79581 #ifdef __cplusplus
79582 }
79583 #endif
79584
79585 int
79586 main ()
79587 {
79588 return f != $ac_func;
79589   ;
79590   return 0;
79591 }
79592 _ACEOF
79593 rm -f conftest.$ac_objext conftest$ac_exeext
79594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79595   (eval $ac_link) 2>conftest.er1
79596   ac_status=$?
79597   grep -v '^ *+' conftest.er1 >conftest.err
79598   rm -f conftest.er1
79599   cat conftest.err >&5
79600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79601   (exit $ac_status); } &&
79602          { ac_try='test -z "$ac_c_werror_flag"
79603                          || test ! -s conftest.err'
79604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79605   (eval $ac_try) 2>&5
79606   ac_status=$?
79607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79608   (exit $ac_status); }; } &&
79609          { ac_try='test -s conftest$ac_exeext'
79610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79611   (eval $ac_try) 2>&5
79612   ac_status=$?
79613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79614   (exit $ac_status); }; }; then
79615   eval "$as_ac_var=yes"
79616 else
79617   echo "$as_me: failed program was:" >&5
79618 sed 's/^/| /' conftest.$ac_ext >&5
79619
79620 eval "$as_ac_var=no"
79621 fi
79622 rm -f conftest.err conftest.$ac_objext \
79623       conftest$ac_exeext conftest.$ac_ext
79624 fi
79625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79627 if test `eval echo '${'$as_ac_var'}'` = yes; then
79628   cat >>confdefs.h <<_ACEOF
79629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79630 _ACEOF
79631
79632 fi
79633 done
79634
79635     fi
79636   fi
79637
79638
79639
79640
79641
79642
79643   echo "$as_me:$LINENO: checking for finite declaration" >&5
79644 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
79645   if test x${glibcxx_cv_func_finite_use+set} != xset; then
79646     if test "${glibcxx_cv_func_finite_use+set}" = set; then
79647   echo $ECHO_N "(cached) $ECHO_C" >&6
79648 else
79649
79650
79651
79652       ac_ext=cc
79653 ac_cpp='$CXXCPP $CPPFLAGS'
79654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79657
79658       cat >conftest.$ac_ext <<_ACEOF
79659 /* confdefs.h.  */
79660 _ACEOF
79661 cat confdefs.h >>conftest.$ac_ext
79662 cat >>conftest.$ac_ext <<_ACEOF
79663 /* end confdefs.h.  */
79664 #include <math.h>
79665                       #ifdef HAVE_IEEEFP_H
79666                       #include <ieeefp.h>
79667                       #endif
79668
79669 int
79670 main ()
79671 {
79672  finite(0);
79673   ;
79674   return 0;
79675 }
79676 _ACEOF
79677 rm -f conftest.$ac_objext
79678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79679   (eval $ac_compile) 2>conftest.er1
79680   ac_status=$?
79681   grep -v '^ *+' conftest.er1 >conftest.err
79682   rm -f conftest.er1
79683   cat conftest.err >&5
79684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79685   (exit $ac_status); } &&
79686          { ac_try='test -z "$ac_cxx_werror_flag"
79687                          || test ! -s conftest.err'
79688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79689   (eval $ac_try) 2>&5
79690   ac_status=$?
79691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79692   (exit $ac_status); }; } &&
79693          { ac_try='test -s conftest.$ac_objext'
79694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79695   (eval $ac_try) 2>&5
79696   ac_status=$?
79697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79698   (exit $ac_status); }; }; then
79699   glibcxx_cv_func_finite_use=yes
79700 else
79701   echo "$as_me: failed program was:" >&5
79702 sed 's/^/| /' conftest.$ac_ext >&5
79703
79704 glibcxx_cv_func_finite_use=no
79705 fi
79706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79707       ac_ext=c
79708 ac_cpp='$CPP $CPPFLAGS'
79709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79712
79713
79714 fi
79715
79716   fi
79717   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
79718 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
79719
79720   if test x$glibcxx_cv_func_finite_use = x"yes"; then
79721
79722 for ac_func in finite
79723 do
79724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79725 echo "$as_me:$LINENO: checking for $ac_func" >&5
79726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79727 if eval "test \"\${$as_ac_var+set}\" = set"; then
79728   echo $ECHO_N "(cached) $ECHO_C" >&6
79729 else
79730   if test x$gcc_no_link = xyes; then
79731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79733    { (exit 1); exit 1; }; }
79734 fi
79735 cat >conftest.$ac_ext <<_ACEOF
79736 /* confdefs.h.  */
79737 _ACEOF
79738 cat confdefs.h >>conftest.$ac_ext
79739 cat >>conftest.$ac_ext <<_ACEOF
79740 /* end confdefs.h.  */
79741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79742    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79743 #define $ac_func innocuous_$ac_func
79744
79745 /* System header to define __stub macros and hopefully few prototypes,
79746     which can conflict with char $ac_func (); below.
79747     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79748     <limits.h> exists even on freestanding compilers.  */
79749
79750 #ifdef __STDC__
79751 # include <limits.h>
79752 #else
79753 # include <assert.h>
79754 #endif
79755
79756 #undef $ac_func
79757
79758 /* Override any gcc2 internal prototype to avoid an error.  */
79759 #ifdef __cplusplus
79760 extern "C"
79761 {
79762 #endif
79763 /* We use char because int might match the return type of a gcc2
79764    builtin and then its argument prototype would still apply.  */
79765 char $ac_func ();
79766 /* The GNU C library defines this for functions which it implements
79767     to always fail with ENOSYS.  Some functions are actually named
79768     something starting with __ and the normal name is an alias.  */
79769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79770 choke me
79771 #else
79772 char (*f) () = $ac_func;
79773 #endif
79774 #ifdef __cplusplus
79775 }
79776 #endif
79777
79778 int
79779 main ()
79780 {
79781 return f != $ac_func;
79782   ;
79783   return 0;
79784 }
79785 _ACEOF
79786 rm -f conftest.$ac_objext conftest$ac_exeext
79787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79788   (eval $ac_link) 2>conftest.er1
79789   ac_status=$?
79790   grep -v '^ *+' conftest.er1 >conftest.err
79791   rm -f conftest.er1
79792   cat conftest.err >&5
79793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79794   (exit $ac_status); } &&
79795          { ac_try='test -z "$ac_c_werror_flag"
79796                          || test ! -s conftest.err'
79797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79798   (eval $ac_try) 2>&5
79799   ac_status=$?
79800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79801   (exit $ac_status); }; } &&
79802          { ac_try='test -s conftest$ac_exeext'
79803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79804   (eval $ac_try) 2>&5
79805   ac_status=$?
79806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79807   (exit $ac_status); }; }; then
79808   eval "$as_ac_var=yes"
79809 else
79810   echo "$as_me: failed program was:" >&5
79811 sed 's/^/| /' conftest.$ac_ext >&5
79812
79813 eval "$as_ac_var=no"
79814 fi
79815 rm -f conftest.err conftest.$ac_objext \
79816       conftest$ac_exeext conftest.$ac_ext
79817 fi
79818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79820 if test `eval echo '${'$as_ac_var'}'` = yes; then
79821   cat >>confdefs.h <<_ACEOF
79822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79823 _ACEOF
79824
79825 fi
79826 done
79827
79828   else
79829
79830   echo "$as_me:$LINENO: checking for _finite declaration" >&5
79831 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
79832   if test x${glibcxx_cv_func__finite_use+set} != xset; then
79833     if test "${glibcxx_cv_func__finite_use+set}" = set; then
79834   echo $ECHO_N "(cached) $ECHO_C" >&6
79835 else
79836
79837
79838
79839       ac_ext=cc
79840 ac_cpp='$CXXCPP $CPPFLAGS'
79841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79844
79845       cat >conftest.$ac_ext <<_ACEOF
79846 /* confdefs.h.  */
79847 _ACEOF
79848 cat confdefs.h >>conftest.$ac_ext
79849 cat >>conftest.$ac_ext <<_ACEOF
79850 /* end confdefs.h.  */
79851 #include <math.h>
79852                       #ifdef HAVE_IEEEFP_H
79853                       #include <ieeefp.h>
79854                       #endif
79855
79856 int
79857 main ()
79858 {
79859  _finite(0);
79860   ;
79861   return 0;
79862 }
79863 _ACEOF
79864 rm -f conftest.$ac_objext
79865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79866   (eval $ac_compile) 2>conftest.er1
79867   ac_status=$?
79868   grep -v '^ *+' conftest.er1 >conftest.err
79869   rm -f conftest.er1
79870   cat conftest.err >&5
79871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79872   (exit $ac_status); } &&
79873          { ac_try='test -z "$ac_cxx_werror_flag"
79874                          || test ! -s conftest.err'
79875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79876   (eval $ac_try) 2>&5
79877   ac_status=$?
79878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79879   (exit $ac_status); }; } &&
79880          { ac_try='test -s conftest.$ac_objext'
79881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79882   (eval $ac_try) 2>&5
79883   ac_status=$?
79884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79885   (exit $ac_status); }; }; then
79886   glibcxx_cv_func__finite_use=yes
79887 else
79888   echo "$as_me: failed program was:" >&5
79889 sed 's/^/| /' conftest.$ac_ext >&5
79890
79891 glibcxx_cv_func__finite_use=no
79892 fi
79893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79894       ac_ext=c
79895 ac_cpp='$CPP $CPPFLAGS'
79896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79899
79900
79901 fi
79902
79903   fi
79904   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
79905 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
79906
79907     if test x$glibcxx_cv_func__finite_use = x"yes"; then
79908
79909 for ac_func in _finite
79910 do
79911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79912 echo "$as_me:$LINENO: checking for $ac_func" >&5
79913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79914 if eval "test \"\${$as_ac_var+set}\" = set"; then
79915   echo $ECHO_N "(cached) $ECHO_C" >&6
79916 else
79917   if test x$gcc_no_link = xyes; then
79918   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79920    { (exit 1); exit 1; }; }
79921 fi
79922 cat >conftest.$ac_ext <<_ACEOF
79923 /* confdefs.h.  */
79924 _ACEOF
79925 cat confdefs.h >>conftest.$ac_ext
79926 cat >>conftest.$ac_ext <<_ACEOF
79927 /* end confdefs.h.  */
79928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79929    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79930 #define $ac_func innocuous_$ac_func
79931
79932 /* System header to define __stub macros and hopefully few prototypes,
79933     which can conflict with char $ac_func (); below.
79934     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79935     <limits.h> exists even on freestanding compilers.  */
79936
79937 #ifdef __STDC__
79938 # include <limits.h>
79939 #else
79940 # include <assert.h>
79941 #endif
79942
79943 #undef $ac_func
79944
79945 /* Override any gcc2 internal prototype to avoid an error.  */
79946 #ifdef __cplusplus
79947 extern "C"
79948 {
79949 #endif
79950 /* We use char because int might match the return type of a gcc2
79951    builtin and then its argument prototype would still apply.  */
79952 char $ac_func ();
79953 /* The GNU C library defines this for functions which it implements
79954     to always fail with ENOSYS.  Some functions are actually named
79955     something starting with __ and the normal name is an alias.  */
79956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79957 choke me
79958 #else
79959 char (*f) () = $ac_func;
79960 #endif
79961 #ifdef __cplusplus
79962 }
79963 #endif
79964
79965 int
79966 main ()
79967 {
79968 return f != $ac_func;
79969   ;
79970   return 0;
79971 }
79972 _ACEOF
79973 rm -f conftest.$ac_objext conftest$ac_exeext
79974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79975   (eval $ac_link) 2>conftest.er1
79976   ac_status=$?
79977   grep -v '^ *+' conftest.er1 >conftest.err
79978   rm -f conftest.er1
79979   cat conftest.err >&5
79980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79981   (exit $ac_status); } &&
79982          { ac_try='test -z "$ac_c_werror_flag"
79983                          || test ! -s conftest.err'
79984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79985   (eval $ac_try) 2>&5
79986   ac_status=$?
79987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79988   (exit $ac_status); }; } &&
79989          { ac_try='test -s conftest$ac_exeext'
79990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79991   (eval $ac_try) 2>&5
79992   ac_status=$?
79993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79994   (exit $ac_status); }; }; then
79995   eval "$as_ac_var=yes"
79996 else
79997   echo "$as_me: failed program was:" >&5
79998 sed 's/^/| /' conftest.$ac_ext >&5
79999
80000 eval "$as_ac_var=no"
80001 fi
80002 rm -f conftest.err conftest.$ac_objext \
80003       conftest$ac_exeext conftest.$ac_ext
80004 fi
80005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80007 if test `eval echo '${'$as_ac_var'}'` = yes; then
80008   cat >>confdefs.h <<_ACEOF
80009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80010 _ACEOF
80011
80012 fi
80013 done
80014
80015     fi
80016   fi
80017
80018
80019
80020
80021
80022
80023   echo "$as_me:$LINENO: checking for copysign declaration" >&5
80024 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
80025   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
80026     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
80027   echo $ECHO_N "(cached) $ECHO_C" >&6
80028 else
80029
80030
80031
80032       ac_ext=cc
80033 ac_cpp='$CXXCPP $CPPFLAGS'
80034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80037
80038       cat >conftest.$ac_ext <<_ACEOF
80039 /* confdefs.h.  */
80040 _ACEOF
80041 cat confdefs.h >>conftest.$ac_ext
80042 cat >>conftest.$ac_ext <<_ACEOF
80043 /* end confdefs.h.  */
80044 #include <math.h>
80045 int
80046 main ()
80047 {
80048  copysign(0, 0);
80049   ;
80050   return 0;
80051 }
80052 _ACEOF
80053 rm -f conftest.$ac_objext
80054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80055   (eval $ac_compile) 2>conftest.er1
80056   ac_status=$?
80057   grep -v '^ *+' conftest.er1 >conftest.err
80058   rm -f conftest.er1
80059   cat conftest.err >&5
80060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80061   (exit $ac_status); } &&
80062          { ac_try='test -z "$ac_cxx_werror_flag"
80063                          || test ! -s conftest.err'
80064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80065   (eval $ac_try) 2>&5
80066   ac_status=$?
80067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80068   (exit $ac_status); }; } &&
80069          { ac_try='test -s conftest.$ac_objext'
80070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80071   (eval $ac_try) 2>&5
80072   ac_status=$?
80073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80074   (exit $ac_status); }; }; then
80075   glibcxx_cv_func_copysign_use=yes
80076 else
80077   echo "$as_me: failed program was:" >&5
80078 sed 's/^/| /' conftest.$ac_ext >&5
80079
80080 glibcxx_cv_func_copysign_use=no
80081 fi
80082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80083       ac_ext=c
80084 ac_cpp='$CPP $CPPFLAGS'
80085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80088
80089
80090 fi
80091
80092   fi
80093   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
80094 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
80095
80096   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
80097
80098 for ac_func in copysign
80099 do
80100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80101 echo "$as_me:$LINENO: checking for $ac_func" >&5
80102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80103 if eval "test \"\${$as_ac_var+set}\" = set"; then
80104   echo $ECHO_N "(cached) $ECHO_C" >&6
80105 else
80106   if test x$gcc_no_link = xyes; then
80107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80109    { (exit 1); exit 1; }; }
80110 fi
80111 cat >conftest.$ac_ext <<_ACEOF
80112 /* confdefs.h.  */
80113 _ACEOF
80114 cat confdefs.h >>conftest.$ac_ext
80115 cat >>conftest.$ac_ext <<_ACEOF
80116 /* end confdefs.h.  */
80117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80118    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80119 #define $ac_func innocuous_$ac_func
80120
80121 /* System header to define __stub macros and hopefully few prototypes,
80122     which can conflict with char $ac_func (); below.
80123     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80124     <limits.h> exists even on freestanding compilers.  */
80125
80126 #ifdef __STDC__
80127 # include <limits.h>
80128 #else
80129 # include <assert.h>
80130 #endif
80131
80132 #undef $ac_func
80133
80134 /* Override any gcc2 internal prototype to avoid an error.  */
80135 #ifdef __cplusplus
80136 extern "C"
80137 {
80138 #endif
80139 /* We use char because int might match the return type of a gcc2
80140    builtin and then its argument prototype would still apply.  */
80141 char $ac_func ();
80142 /* The GNU C library defines this for functions which it implements
80143     to always fail with ENOSYS.  Some functions are actually named
80144     something starting with __ and the normal name is an alias.  */
80145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80146 choke me
80147 #else
80148 char (*f) () = $ac_func;
80149 #endif
80150 #ifdef __cplusplus
80151 }
80152 #endif
80153
80154 int
80155 main ()
80156 {
80157 return f != $ac_func;
80158   ;
80159   return 0;
80160 }
80161 _ACEOF
80162 rm -f conftest.$ac_objext conftest$ac_exeext
80163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80164   (eval $ac_link) 2>conftest.er1
80165   ac_status=$?
80166   grep -v '^ *+' conftest.er1 >conftest.err
80167   rm -f conftest.er1
80168   cat conftest.err >&5
80169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80170   (exit $ac_status); } &&
80171          { ac_try='test -z "$ac_c_werror_flag"
80172                          || test ! -s conftest.err'
80173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80174   (eval $ac_try) 2>&5
80175   ac_status=$?
80176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80177   (exit $ac_status); }; } &&
80178          { ac_try='test -s conftest$ac_exeext'
80179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80180   (eval $ac_try) 2>&5
80181   ac_status=$?
80182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80183   (exit $ac_status); }; }; then
80184   eval "$as_ac_var=yes"
80185 else
80186   echo "$as_me: failed program was:" >&5
80187 sed 's/^/| /' conftest.$ac_ext >&5
80188
80189 eval "$as_ac_var=no"
80190 fi
80191 rm -f conftest.err conftest.$ac_objext \
80192       conftest$ac_exeext conftest.$ac_ext
80193 fi
80194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80196 if test `eval echo '${'$as_ac_var'}'` = yes; then
80197   cat >>confdefs.h <<_ACEOF
80198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80199 _ACEOF
80200
80201 fi
80202 done
80203
80204   else
80205
80206   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
80207 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
80208   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
80209     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
80210   echo $ECHO_N "(cached) $ECHO_C" >&6
80211 else
80212
80213
80214
80215       ac_ext=cc
80216 ac_cpp='$CXXCPP $CPPFLAGS'
80217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80220
80221       cat >conftest.$ac_ext <<_ACEOF
80222 /* confdefs.h.  */
80223 _ACEOF
80224 cat confdefs.h >>conftest.$ac_ext
80225 cat >>conftest.$ac_ext <<_ACEOF
80226 /* end confdefs.h.  */
80227 #include <math.h>
80228 int
80229 main ()
80230 {
80231  _copysign(0, 0);
80232   ;
80233   return 0;
80234 }
80235 _ACEOF
80236 rm -f conftest.$ac_objext
80237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80238   (eval $ac_compile) 2>conftest.er1
80239   ac_status=$?
80240   grep -v '^ *+' conftest.er1 >conftest.err
80241   rm -f conftest.er1
80242   cat conftest.err >&5
80243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80244   (exit $ac_status); } &&
80245          { ac_try='test -z "$ac_cxx_werror_flag"
80246                          || test ! -s conftest.err'
80247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80248   (eval $ac_try) 2>&5
80249   ac_status=$?
80250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80251   (exit $ac_status); }; } &&
80252          { ac_try='test -s conftest.$ac_objext'
80253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80254   (eval $ac_try) 2>&5
80255   ac_status=$?
80256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80257   (exit $ac_status); }; }; then
80258   glibcxx_cv_func__copysign_use=yes
80259 else
80260   echo "$as_me: failed program was:" >&5
80261 sed 's/^/| /' conftest.$ac_ext >&5
80262
80263 glibcxx_cv_func__copysign_use=no
80264 fi
80265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80266       ac_ext=c
80267 ac_cpp='$CPP $CPPFLAGS'
80268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80271
80272
80273 fi
80274
80275   fi
80276   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
80277 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
80278
80279     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
80280
80281 for ac_func in _copysign
80282 do
80283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80284 echo "$as_me:$LINENO: checking for $ac_func" >&5
80285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80286 if eval "test \"\${$as_ac_var+set}\" = set"; then
80287   echo $ECHO_N "(cached) $ECHO_C" >&6
80288 else
80289   if test x$gcc_no_link = xyes; then
80290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80292    { (exit 1); exit 1; }; }
80293 fi
80294 cat >conftest.$ac_ext <<_ACEOF
80295 /* confdefs.h.  */
80296 _ACEOF
80297 cat confdefs.h >>conftest.$ac_ext
80298 cat >>conftest.$ac_ext <<_ACEOF
80299 /* end confdefs.h.  */
80300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80301    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80302 #define $ac_func innocuous_$ac_func
80303
80304 /* System header to define __stub macros and hopefully few prototypes,
80305     which can conflict with char $ac_func (); below.
80306     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80307     <limits.h> exists even on freestanding compilers.  */
80308
80309 #ifdef __STDC__
80310 # include <limits.h>
80311 #else
80312 # include <assert.h>
80313 #endif
80314
80315 #undef $ac_func
80316
80317 /* Override any gcc2 internal prototype to avoid an error.  */
80318 #ifdef __cplusplus
80319 extern "C"
80320 {
80321 #endif
80322 /* We use char because int might match the return type of a gcc2
80323    builtin and then its argument prototype would still apply.  */
80324 char $ac_func ();
80325 /* The GNU C library defines this for functions which it implements
80326     to always fail with ENOSYS.  Some functions are actually named
80327     something starting with __ and the normal name is an alias.  */
80328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80329 choke me
80330 #else
80331 char (*f) () = $ac_func;
80332 #endif
80333 #ifdef __cplusplus
80334 }
80335 #endif
80336
80337 int
80338 main ()
80339 {
80340 return f != $ac_func;
80341   ;
80342   return 0;
80343 }
80344 _ACEOF
80345 rm -f conftest.$ac_objext conftest$ac_exeext
80346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80347   (eval $ac_link) 2>conftest.er1
80348   ac_status=$?
80349   grep -v '^ *+' conftest.er1 >conftest.err
80350   rm -f conftest.er1
80351   cat conftest.err >&5
80352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80353   (exit $ac_status); } &&
80354          { ac_try='test -z "$ac_c_werror_flag"
80355                          || test ! -s conftest.err'
80356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80357   (eval $ac_try) 2>&5
80358   ac_status=$?
80359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80360   (exit $ac_status); }; } &&
80361          { ac_try='test -s conftest$ac_exeext'
80362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80363   (eval $ac_try) 2>&5
80364   ac_status=$?
80365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80366   (exit $ac_status); }; }; then
80367   eval "$as_ac_var=yes"
80368 else
80369   echo "$as_me: failed program was:" >&5
80370 sed 's/^/| /' conftest.$ac_ext >&5
80371
80372 eval "$as_ac_var=no"
80373 fi
80374 rm -f conftest.err conftest.$ac_objext \
80375       conftest$ac_exeext conftest.$ac_ext
80376 fi
80377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80379 if test `eval echo '${'$as_ac_var'}'` = yes; then
80380   cat >>confdefs.h <<_ACEOF
80381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80382 _ACEOF
80383
80384 fi
80385 done
80386
80387     fi
80388   fi
80389
80390
80391
80392
80393
80394
80395   echo "$as_me:$LINENO: checking for sincos declaration" >&5
80396 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
80397   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
80398     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
80399   echo $ECHO_N "(cached) $ECHO_C" >&6
80400 else
80401
80402
80403
80404       ac_ext=cc
80405 ac_cpp='$CXXCPP $CPPFLAGS'
80406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80409
80410       cat >conftest.$ac_ext <<_ACEOF
80411 /* confdefs.h.  */
80412 _ACEOF
80413 cat confdefs.h >>conftest.$ac_ext
80414 cat >>conftest.$ac_ext <<_ACEOF
80415 /* end confdefs.h.  */
80416 #include <math.h>
80417 int
80418 main ()
80419 {
80420  sincos(0, 0, 0);
80421   ;
80422   return 0;
80423 }
80424 _ACEOF
80425 rm -f conftest.$ac_objext
80426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80427   (eval $ac_compile) 2>conftest.er1
80428   ac_status=$?
80429   grep -v '^ *+' conftest.er1 >conftest.err
80430   rm -f conftest.er1
80431   cat conftest.err >&5
80432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80433   (exit $ac_status); } &&
80434          { ac_try='test -z "$ac_cxx_werror_flag"
80435                          || test ! -s conftest.err'
80436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80437   (eval $ac_try) 2>&5
80438   ac_status=$?
80439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80440   (exit $ac_status); }; } &&
80441          { ac_try='test -s conftest.$ac_objext'
80442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80443   (eval $ac_try) 2>&5
80444   ac_status=$?
80445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80446   (exit $ac_status); }; }; then
80447   glibcxx_cv_func_sincos_use=yes
80448 else
80449   echo "$as_me: failed program was:" >&5
80450 sed 's/^/| /' conftest.$ac_ext >&5
80451
80452 glibcxx_cv_func_sincos_use=no
80453 fi
80454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80455       ac_ext=c
80456 ac_cpp='$CPP $CPPFLAGS'
80457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80460
80461
80462 fi
80463
80464   fi
80465   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
80466 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
80467
80468   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
80469
80470 for ac_func in sincos
80471 do
80472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80473 echo "$as_me:$LINENO: checking for $ac_func" >&5
80474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80475 if eval "test \"\${$as_ac_var+set}\" = set"; then
80476   echo $ECHO_N "(cached) $ECHO_C" >&6
80477 else
80478   if test x$gcc_no_link = xyes; then
80479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80481    { (exit 1); exit 1; }; }
80482 fi
80483 cat >conftest.$ac_ext <<_ACEOF
80484 /* confdefs.h.  */
80485 _ACEOF
80486 cat confdefs.h >>conftest.$ac_ext
80487 cat >>conftest.$ac_ext <<_ACEOF
80488 /* end confdefs.h.  */
80489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80491 #define $ac_func innocuous_$ac_func
80492
80493 /* System header to define __stub macros and hopefully few prototypes,
80494     which can conflict with char $ac_func (); below.
80495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80496     <limits.h> exists even on freestanding compilers.  */
80497
80498 #ifdef __STDC__
80499 # include <limits.h>
80500 #else
80501 # include <assert.h>
80502 #endif
80503
80504 #undef $ac_func
80505
80506 /* Override any gcc2 internal prototype to avoid an error.  */
80507 #ifdef __cplusplus
80508 extern "C"
80509 {
80510 #endif
80511 /* We use char because int might match the return type of a gcc2
80512    builtin and then its argument prototype would still apply.  */
80513 char $ac_func ();
80514 /* The GNU C library defines this for functions which it implements
80515     to always fail with ENOSYS.  Some functions are actually named
80516     something starting with __ and the normal name is an alias.  */
80517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80518 choke me
80519 #else
80520 char (*f) () = $ac_func;
80521 #endif
80522 #ifdef __cplusplus
80523 }
80524 #endif
80525
80526 int
80527 main ()
80528 {
80529 return f != $ac_func;
80530   ;
80531   return 0;
80532 }
80533 _ACEOF
80534 rm -f conftest.$ac_objext conftest$ac_exeext
80535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80536   (eval $ac_link) 2>conftest.er1
80537   ac_status=$?
80538   grep -v '^ *+' conftest.er1 >conftest.err
80539   rm -f conftest.er1
80540   cat conftest.err >&5
80541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80542   (exit $ac_status); } &&
80543          { ac_try='test -z "$ac_c_werror_flag"
80544                          || test ! -s conftest.err'
80545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80546   (eval $ac_try) 2>&5
80547   ac_status=$?
80548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80549   (exit $ac_status); }; } &&
80550          { ac_try='test -s conftest$ac_exeext'
80551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80552   (eval $ac_try) 2>&5
80553   ac_status=$?
80554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80555   (exit $ac_status); }; }; then
80556   eval "$as_ac_var=yes"
80557 else
80558   echo "$as_me: failed program was:" >&5
80559 sed 's/^/| /' conftest.$ac_ext >&5
80560
80561 eval "$as_ac_var=no"
80562 fi
80563 rm -f conftest.err conftest.$ac_objext \
80564       conftest$ac_exeext conftest.$ac_ext
80565 fi
80566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80568 if test `eval echo '${'$as_ac_var'}'` = yes; then
80569   cat >>confdefs.h <<_ACEOF
80570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80571 _ACEOF
80572
80573 fi
80574 done
80575
80576   else
80577
80578   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
80579 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
80580   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
80581     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
80582   echo $ECHO_N "(cached) $ECHO_C" >&6
80583 else
80584
80585
80586
80587       ac_ext=cc
80588 ac_cpp='$CXXCPP $CPPFLAGS'
80589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80592
80593       cat >conftest.$ac_ext <<_ACEOF
80594 /* confdefs.h.  */
80595 _ACEOF
80596 cat confdefs.h >>conftest.$ac_ext
80597 cat >>conftest.$ac_ext <<_ACEOF
80598 /* end confdefs.h.  */
80599 #include <math.h>
80600 int
80601 main ()
80602 {
80603  _sincos(0, 0, 0);
80604   ;
80605   return 0;
80606 }
80607 _ACEOF
80608 rm -f conftest.$ac_objext
80609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80610   (eval $ac_compile) 2>conftest.er1
80611   ac_status=$?
80612   grep -v '^ *+' conftest.er1 >conftest.err
80613   rm -f conftest.er1
80614   cat conftest.err >&5
80615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80616   (exit $ac_status); } &&
80617          { ac_try='test -z "$ac_cxx_werror_flag"
80618                          || test ! -s conftest.err'
80619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80620   (eval $ac_try) 2>&5
80621   ac_status=$?
80622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80623   (exit $ac_status); }; } &&
80624          { ac_try='test -s conftest.$ac_objext'
80625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80626   (eval $ac_try) 2>&5
80627   ac_status=$?
80628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80629   (exit $ac_status); }; }; then
80630   glibcxx_cv_func__sincos_use=yes
80631 else
80632   echo "$as_me: failed program was:" >&5
80633 sed 's/^/| /' conftest.$ac_ext >&5
80634
80635 glibcxx_cv_func__sincos_use=no
80636 fi
80637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80638       ac_ext=c
80639 ac_cpp='$CPP $CPPFLAGS'
80640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80643
80644
80645 fi
80646
80647   fi
80648   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
80649 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
80650
80651     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
80652
80653 for ac_func in _sincos
80654 do
80655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80656 echo "$as_me:$LINENO: checking for $ac_func" >&5
80657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80658 if eval "test \"\${$as_ac_var+set}\" = set"; then
80659   echo $ECHO_N "(cached) $ECHO_C" >&6
80660 else
80661   if test x$gcc_no_link = xyes; then
80662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80664    { (exit 1); exit 1; }; }
80665 fi
80666 cat >conftest.$ac_ext <<_ACEOF
80667 /* confdefs.h.  */
80668 _ACEOF
80669 cat confdefs.h >>conftest.$ac_ext
80670 cat >>conftest.$ac_ext <<_ACEOF
80671 /* end confdefs.h.  */
80672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80674 #define $ac_func innocuous_$ac_func
80675
80676 /* System header to define __stub macros and hopefully few prototypes,
80677     which can conflict with char $ac_func (); below.
80678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80679     <limits.h> exists even on freestanding compilers.  */
80680
80681 #ifdef __STDC__
80682 # include <limits.h>
80683 #else
80684 # include <assert.h>
80685 #endif
80686
80687 #undef $ac_func
80688
80689 /* Override any gcc2 internal prototype to avoid an error.  */
80690 #ifdef __cplusplus
80691 extern "C"
80692 {
80693 #endif
80694 /* We use char because int might match the return type of a gcc2
80695    builtin and then its argument prototype would still apply.  */
80696 char $ac_func ();
80697 /* The GNU C library defines this for functions which it implements
80698     to always fail with ENOSYS.  Some functions are actually named
80699     something starting with __ and the normal name is an alias.  */
80700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80701 choke me
80702 #else
80703 char (*f) () = $ac_func;
80704 #endif
80705 #ifdef __cplusplus
80706 }
80707 #endif
80708
80709 int
80710 main ()
80711 {
80712 return f != $ac_func;
80713   ;
80714   return 0;
80715 }
80716 _ACEOF
80717 rm -f conftest.$ac_objext conftest$ac_exeext
80718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80719   (eval $ac_link) 2>conftest.er1
80720   ac_status=$?
80721   grep -v '^ *+' conftest.er1 >conftest.err
80722   rm -f conftest.er1
80723   cat conftest.err >&5
80724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80725   (exit $ac_status); } &&
80726          { ac_try='test -z "$ac_c_werror_flag"
80727                          || test ! -s conftest.err'
80728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80729   (eval $ac_try) 2>&5
80730   ac_status=$?
80731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80732   (exit $ac_status); }; } &&
80733          { ac_try='test -s conftest$ac_exeext'
80734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80735   (eval $ac_try) 2>&5
80736   ac_status=$?
80737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80738   (exit $ac_status); }; }; then
80739   eval "$as_ac_var=yes"
80740 else
80741   echo "$as_me: failed program was:" >&5
80742 sed 's/^/| /' conftest.$ac_ext >&5
80743
80744 eval "$as_ac_var=no"
80745 fi
80746 rm -f conftest.err conftest.$ac_objext \
80747       conftest$ac_exeext conftest.$ac_ext
80748 fi
80749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80751 if test `eval echo '${'$as_ac_var'}'` = yes; then
80752   cat >>confdefs.h <<_ACEOF
80753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80754 _ACEOF
80755
80756 fi
80757 done
80758
80759     fi
80760   fi
80761
80762
80763
80764
80765
80766
80767   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
80768 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
80769   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
80770     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
80771   echo $ECHO_N "(cached) $ECHO_C" >&6
80772 else
80773
80774
80775
80776       ac_ext=cc
80777 ac_cpp='$CXXCPP $CPPFLAGS'
80778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80781
80782       cat >conftest.$ac_ext <<_ACEOF
80783 /* confdefs.h.  */
80784 _ACEOF
80785 cat confdefs.h >>conftest.$ac_ext
80786 cat >>conftest.$ac_ext <<_ACEOF
80787 /* end confdefs.h.  */
80788 #include <math.h>
80789                       #ifdef HAVE_IEEEFP_H
80790                       #include <ieeefp.h>
80791                       #endif
80792
80793 int
80794 main ()
80795 {
80796  fpclass(0);
80797   ;
80798   return 0;
80799 }
80800 _ACEOF
80801 rm -f conftest.$ac_objext
80802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80803   (eval $ac_compile) 2>conftest.er1
80804   ac_status=$?
80805   grep -v '^ *+' conftest.er1 >conftest.err
80806   rm -f conftest.er1
80807   cat conftest.err >&5
80808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80809   (exit $ac_status); } &&
80810          { ac_try='test -z "$ac_cxx_werror_flag"
80811                          || test ! -s conftest.err'
80812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80813   (eval $ac_try) 2>&5
80814   ac_status=$?
80815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80816   (exit $ac_status); }; } &&
80817          { ac_try='test -s conftest.$ac_objext'
80818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80819   (eval $ac_try) 2>&5
80820   ac_status=$?
80821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80822   (exit $ac_status); }; }; then
80823   glibcxx_cv_func_fpclass_use=yes
80824 else
80825   echo "$as_me: failed program was:" >&5
80826 sed 's/^/| /' conftest.$ac_ext >&5
80827
80828 glibcxx_cv_func_fpclass_use=no
80829 fi
80830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80831       ac_ext=c
80832 ac_cpp='$CPP $CPPFLAGS'
80833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80836
80837
80838 fi
80839
80840   fi
80841   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
80842 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
80843
80844   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
80845
80846 for ac_func in fpclass
80847 do
80848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80849 echo "$as_me:$LINENO: checking for $ac_func" >&5
80850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80851 if eval "test \"\${$as_ac_var+set}\" = set"; then
80852   echo $ECHO_N "(cached) $ECHO_C" >&6
80853 else
80854   if test x$gcc_no_link = xyes; then
80855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80857    { (exit 1); exit 1; }; }
80858 fi
80859 cat >conftest.$ac_ext <<_ACEOF
80860 /* confdefs.h.  */
80861 _ACEOF
80862 cat confdefs.h >>conftest.$ac_ext
80863 cat >>conftest.$ac_ext <<_ACEOF
80864 /* end confdefs.h.  */
80865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80867 #define $ac_func innocuous_$ac_func
80868
80869 /* System header to define __stub macros and hopefully few prototypes,
80870     which can conflict with char $ac_func (); below.
80871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80872     <limits.h> exists even on freestanding compilers.  */
80873
80874 #ifdef __STDC__
80875 # include <limits.h>
80876 #else
80877 # include <assert.h>
80878 #endif
80879
80880 #undef $ac_func
80881
80882 /* Override any gcc2 internal prototype to avoid an error.  */
80883 #ifdef __cplusplus
80884 extern "C"
80885 {
80886 #endif
80887 /* We use char because int might match the return type of a gcc2
80888    builtin and then its argument prototype would still apply.  */
80889 char $ac_func ();
80890 /* The GNU C library defines this for functions which it implements
80891     to always fail with ENOSYS.  Some functions are actually named
80892     something starting with __ and the normal name is an alias.  */
80893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80894 choke me
80895 #else
80896 char (*f) () = $ac_func;
80897 #endif
80898 #ifdef __cplusplus
80899 }
80900 #endif
80901
80902 int
80903 main ()
80904 {
80905 return f != $ac_func;
80906   ;
80907   return 0;
80908 }
80909 _ACEOF
80910 rm -f conftest.$ac_objext conftest$ac_exeext
80911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80912   (eval $ac_link) 2>conftest.er1
80913   ac_status=$?
80914   grep -v '^ *+' conftest.er1 >conftest.err
80915   rm -f conftest.er1
80916   cat conftest.err >&5
80917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80918   (exit $ac_status); } &&
80919          { ac_try='test -z "$ac_c_werror_flag"
80920                          || test ! -s conftest.err'
80921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80922   (eval $ac_try) 2>&5
80923   ac_status=$?
80924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80925   (exit $ac_status); }; } &&
80926          { ac_try='test -s conftest$ac_exeext'
80927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80928   (eval $ac_try) 2>&5
80929   ac_status=$?
80930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80931   (exit $ac_status); }; }; then
80932   eval "$as_ac_var=yes"
80933 else
80934   echo "$as_me: failed program was:" >&5
80935 sed 's/^/| /' conftest.$ac_ext >&5
80936
80937 eval "$as_ac_var=no"
80938 fi
80939 rm -f conftest.err conftest.$ac_objext \
80940       conftest$ac_exeext conftest.$ac_ext
80941 fi
80942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80944 if test `eval echo '${'$as_ac_var'}'` = yes; then
80945   cat >>confdefs.h <<_ACEOF
80946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80947 _ACEOF
80948
80949 fi
80950 done
80951
80952   else
80953
80954   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
80955 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
80956   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
80957     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
80958   echo $ECHO_N "(cached) $ECHO_C" >&6
80959 else
80960
80961
80962
80963       ac_ext=cc
80964 ac_cpp='$CXXCPP $CPPFLAGS'
80965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80968
80969       cat >conftest.$ac_ext <<_ACEOF
80970 /* confdefs.h.  */
80971 _ACEOF
80972 cat confdefs.h >>conftest.$ac_ext
80973 cat >>conftest.$ac_ext <<_ACEOF
80974 /* end confdefs.h.  */
80975 #include <math.h>
80976                       #ifdef HAVE_IEEEFP_H
80977                       #include <ieeefp.h>
80978                       #endif
80979
80980 int
80981 main ()
80982 {
80983  _fpclass(0);
80984   ;
80985   return 0;
80986 }
80987 _ACEOF
80988 rm -f conftest.$ac_objext
80989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80990   (eval $ac_compile) 2>conftest.er1
80991   ac_status=$?
80992   grep -v '^ *+' conftest.er1 >conftest.err
80993   rm -f conftest.er1
80994   cat conftest.err >&5
80995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80996   (exit $ac_status); } &&
80997          { ac_try='test -z "$ac_cxx_werror_flag"
80998                          || test ! -s conftest.err'
80999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81000   (eval $ac_try) 2>&5
81001   ac_status=$?
81002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81003   (exit $ac_status); }; } &&
81004          { ac_try='test -s conftest.$ac_objext'
81005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81006   (eval $ac_try) 2>&5
81007   ac_status=$?
81008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81009   (exit $ac_status); }; }; then
81010   glibcxx_cv_func__fpclass_use=yes
81011 else
81012   echo "$as_me: failed program was:" >&5
81013 sed 's/^/| /' conftest.$ac_ext >&5
81014
81015 glibcxx_cv_func__fpclass_use=no
81016 fi
81017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81018       ac_ext=c
81019 ac_cpp='$CPP $CPPFLAGS'
81020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81023
81024
81025 fi
81026
81027   fi
81028   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
81029 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
81030
81031     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
81032
81033 for ac_func in _fpclass
81034 do
81035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81036 echo "$as_me:$LINENO: checking for $ac_func" >&5
81037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81038 if eval "test \"\${$as_ac_var+set}\" = set"; then
81039   echo $ECHO_N "(cached) $ECHO_C" >&6
81040 else
81041   if test x$gcc_no_link = xyes; then
81042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81044    { (exit 1); exit 1; }; }
81045 fi
81046 cat >conftest.$ac_ext <<_ACEOF
81047 /* confdefs.h.  */
81048 _ACEOF
81049 cat confdefs.h >>conftest.$ac_ext
81050 cat >>conftest.$ac_ext <<_ACEOF
81051 /* end confdefs.h.  */
81052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81054 #define $ac_func innocuous_$ac_func
81055
81056 /* System header to define __stub macros and hopefully few prototypes,
81057     which can conflict with char $ac_func (); below.
81058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81059     <limits.h> exists even on freestanding compilers.  */
81060
81061 #ifdef __STDC__
81062 # include <limits.h>
81063 #else
81064 # include <assert.h>
81065 #endif
81066
81067 #undef $ac_func
81068
81069 /* Override any gcc2 internal prototype to avoid an error.  */
81070 #ifdef __cplusplus
81071 extern "C"
81072 {
81073 #endif
81074 /* We use char because int might match the return type of a gcc2
81075    builtin and then its argument prototype would still apply.  */
81076 char $ac_func ();
81077 /* The GNU C library defines this for functions which it implements
81078     to always fail with ENOSYS.  Some functions are actually named
81079     something starting with __ and the normal name is an alias.  */
81080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81081 choke me
81082 #else
81083 char (*f) () = $ac_func;
81084 #endif
81085 #ifdef __cplusplus
81086 }
81087 #endif
81088
81089 int
81090 main ()
81091 {
81092 return f != $ac_func;
81093   ;
81094   return 0;
81095 }
81096 _ACEOF
81097 rm -f conftest.$ac_objext conftest$ac_exeext
81098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81099   (eval $ac_link) 2>conftest.er1
81100   ac_status=$?
81101   grep -v '^ *+' conftest.er1 >conftest.err
81102   rm -f conftest.er1
81103   cat conftest.err >&5
81104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81105   (exit $ac_status); } &&
81106          { ac_try='test -z "$ac_c_werror_flag"
81107                          || test ! -s conftest.err'
81108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81109   (eval $ac_try) 2>&5
81110   ac_status=$?
81111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81112   (exit $ac_status); }; } &&
81113          { ac_try='test -s conftest$ac_exeext'
81114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81115   (eval $ac_try) 2>&5
81116   ac_status=$?
81117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81118   (exit $ac_status); }; }; then
81119   eval "$as_ac_var=yes"
81120 else
81121   echo "$as_me: failed program was:" >&5
81122 sed 's/^/| /' conftest.$ac_ext >&5
81123
81124 eval "$as_ac_var=no"
81125 fi
81126 rm -f conftest.err conftest.$ac_objext \
81127       conftest$ac_exeext conftest.$ac_ext
81128 fi
81129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81131 if test `eval echo '${'$as_ac_var'}'` = yes; then
81132   cat >>confdefs.h <<_ACEOF
81133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81134 _ACEOF
81135
81136 fi
81137 done
81138
81139     fi
81140   fi
81141
81142
81143
81144
81145
81146
81147   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
81148 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
81149   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
81150     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
81151   echo $ECHO_N "(cached) $ECHO_C" >&6
81152 else
81153
81154
81155
81156       ac_ext=cc
81157 ac_cpp='$CXXCPP $CPPFLAGS'
81158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81161
81162       cat >conftest.$ac_ext <<_ACEOF
81163 /* confdefs.h.  */
81164 _ACEOF
81165 cat confdefs.h >>conftest.$ac_ext
81166 cat >>conftest.$ac_ext <<_ACEOF
81167 /* end confdefs.h.  */
81168 #include <math.h>
81169                       #ifdef HAVE_IEEEFP_H
81170                       #include <ieeefp.h>
81171                       #endif
81172
81173 int
81174 main ()
81175 {
81176  qfpclass(0);
81177   ;
81178   return 0;
81179 }
81180 _ACEOF
81181 rm -f conftest.$ac_objext
81182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81183   (eval $ac_compile) 2>conftest.er1
81184   ac_status=$?
81185   grep -v '^ *+' conftest.er1 >conftest.err
81186   rm -f conftest.er1
81187   cat conftest.err >&5
81188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81189   (exit $ac_status); } &&
81190          { ac_try='test -z "$ac_cxx_werror_flag"
81191                          || test ! -s conftest.err'
81192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81193   (eval $ac_try) 2>&5
81194   ac_status=$?
81195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81196   (exit $ac_status); }; } &&
81197          { ac_try='test -s conftest.$ac_objext'
81198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81199   (eval $ac_try) 2>&5
81200   ac_status=$?
81201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81202   (exit $ac_status); }; }; then
81203   glibcxx_cv_func_qfpclass_use=yes
81204 else
81205   echo "$as_me: failed program was:" >&5
81206 sed 's/^/| /' conftest.$ac_ext >&5
81207
81208 glibcxx_cv_func_qfpclass_use=no
81209 fi
81210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81211       ac_ext=c
81212 ac_cpp='$CPP $CPPFLAGS'
81213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81216
81217
81218 fi
81219
81220   fi
81221   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
81222 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
81223
81224   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
81225
81226 for ac_func in qfpclass
81227 do
81228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81229 echo "$as_me:$LINENO: checking for $ac_func" >&5
81230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81231 if eval "test \"\${$as_ac_var+set}\" = set"; then
81232   echo $ECHO_N "(cached) $ECHO_C" >&6
81233 else
81234   if test x$gcc_no_link = xyes; then
81235   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81237    { (exit 1); exit 1; }; }
81238 fi
81239 cat >conftest.$ac_ext <<_ACEOF
81240 /* confdefs.h.  */
81241 _ACEOF
81242 cat confdefs.h >>conftest.$ac_ext
81243 cat >>conftest.$ac_ext <<_ACEOF
81244 /* end confdefs.h.  */
81245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81246    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81247 #define $ac_func innocuous_$ac_func
81248
81249 /* System header to define __stub macros and hopefully few prototypes,
81250     which can conflict with char $ac_func (); below.
81251     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81252     <limits.h> exists even on freestanding compilers.  */
81253
81254 #ifdef __STDC__
81255 # include <limits.h>
81256 #else
81257 # include <assert.h>
81258 #endif
81259
81260 #undef $ac_func
81261
81262 /* Override any gcc2 internal prototype to avoid an error.  */
81263 #ifdef __cplusplus
81264 extern "C"
81265 {
81266 #endif
81267 /* We use char because int might match the return type of a gcc2
81268    builtin and then its argument prototype would still apply.  */
81269 char $ac_func ();
81270 /* The GNU C library defines this for functions which it implements
81271     to always fail with ENOSYS.  Some functions are actually named
81272     something starting with __ and the normal name is an alias.  */
81273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81274 choke me
81275 #else
81276 char (*f) () = $ac_func;
81277 #endif
81278 #ifdef __cplusplus
81279 }
81280 #endif
81281
81282 int
81283 main ()
81284 {
81285 return f != $ac_func;
81286   ;
81287   return 0;
81288 }
81289 _ACEOF
81290 rm -f conftest.$ac_objext conftest$ac_exeext
81291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81292   (eval $ac_link) 2>conftest.er1
81293   ac_status=$?
81294   grep -v '^ *+' conftest.er1 >conftest.err
81295   rm -f conftest.er1
81296   cat conftest.err >&5
81297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81298   (exit $ac_status); } &&
81299          { ac_try='test -z "$ac_c_werror_flag"
81300                          || test ! -s conftest.err'
81301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81302   (eval $ac_try) 2>&5
81303   ac_status=$?
81304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81305   (exit $ac_status); }; } &&
81306          { ac_try='test -s conftest$ac_exeext'
81307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81308   (eval $ac_try) 2>&5
81309   ac_status=$?
81310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81311   (exit $ac_status); }; }; then
81312   eval "$as_ac_var=yes"
81313 else
81314   echo "$as_me: failed program was:" >&5
81315 sed 's/^/| /' conftest.$ac_ext >&5
81316
81317 eval "$as_ac_var=no"
81318 fi
81319 rm -f conftest.err conftest.$ac_objext \
81320       conftest$ac_exeext conftest.$ac_ext
81321 fi
81322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81324 if test `eval echo '${'$as_ac_var'}'` = yes; then
81325   cat >>confdefs.h <<_ACEOF
81326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81327 _ACEOF
81328
81329 fi
81330 done
81331
81332   else
81333
81334   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
81335 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
81336   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
81337     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
81338   echo $ECHO_N "(cached) $ECHO_C" >&6
81339 else
81340
81341
81342
81343       ac_ext=cc
81344 ac_cpp='$CXXCPP $CPPFLAGS'
81345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81348
81349       cat >conftest.$ac_ext <<_ACEOF
81350 /* confdefs.h.  */
81351 _ACEOF
81352 cat confdefs.h >>conftest.$ac_ext
81353 cat >>conftest.$ac_ext <<_ACEOF
81354 /* end confdefs.h.  */
81355 #include <math.h>
81356                       #ifdef HAVE_IEEEFP_H
81357                       #include <ieeefp.h>
81358                       #endif
81359
81360 int
81361 main ()
81362 {
81363  _qfpclass(0);
81364   ;
81365   return 0;
81366 }
81367 _ACEOF
81368 rm -f conftest.$ac_objext
81369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81370   (eval $ac_compile) 2>conftest.er1
81371   ac_status=$?
81372   grep -v '^ *+' conftest.er1 >conftest.err
81373   rm -f conftest.er1
81374   cat conftest.err >&5
81375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81376   (exit $ac_status); } &&
81377          { ac_try='test -z "$ac_cxx_werror_flag"
81378                          || test ! -s conftest.err'
81379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81380   (eval $ac_try) 2>&5
81381   ac_status=$?
81382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81383   (exit $ac_status); }; } &&
81384          { ac_try='test -s conftest.$ac_objext'
81385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81386   (eval $ac_try) 2>&5
81387   ac_status=$?
81388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81389   (exit $ac_status); }; }; then
81390   glibcxx_cv_func__qfpclass_use=yes
81391 else
81392   echo "$as_me: failed program was:" >&5
81393 sed 's/^/| /' conftest.$ac_ext >&5
81394
81395 glibcxx_cv_func__qfpclass_use=no
81396 fi
81397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81398       ac_ext=c
81399 ac_cpp='$CPP $CPPFLAGS'
81400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81403
81404
81405 fi
81406
81407   fi
81408   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
81409 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
81410
81411     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
81412
81413 for ac_func in _qfpclass
81414 do
81415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81416 echo "$as_me:$LINENO: checking for $ac_func" >&5
81417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81418 if eval "test \"\${$as_ac_var+set}\" = set"; then
81419   echo $ECHO_N "(cached) $ECHO_C" >&6
81420 else
81421   if test x$gcc_no_link = xyes; then
81422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81424    { (exit 1); exit 1; }; }
81425 fi
81426 cat >conftest.$ac_ext <<_ACEOF
81427 /* confdefs.h.  */
81428 _ACEOF
81429 cat confdefs.h >>conftest.$ac_ext
81430 cat >>conftest.$ac_ext <<_ACEOF
81431 /* end confdefs.h.  */
81432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81434 #define $ac_func innocuous_$ac_func
81435
81436 /* System header to define __stub macros and hopefully few prototypes,
81437     which can conflict with char $ac_func (); below.
81438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81439     <limits.h> exists even on freestanding compilers.  */
81440
81441 #ifdef __STDC__
81442 # include <limits.h>
81443 #else
81444 # include <assert.h>
81445 #endif
81446
81447 #undef $ac_func
81448
81449 /* Override any gcc2 internal prototype to avoid an error.  */
81450 #ifdef __cplusplus
81451 extern "C"
81452 {
81453 #endif
81454 /* We use char because int might match the return type of a gcc2
81455    builtin and then its argument prototype would still apply.  */
81456 char $ac_func ();
81457 /* The GNU C library defines this for functions which it implements
81458     to always fail with ENOSYS.  Some functions are actually named
81459     something starting with __ and the normal name is an alias.  */
81460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81461 choke me
81462 #else
81463 char (*f) () = $ac_func;
81464 #endif
81465 #ifdef __cplusplus
81466 }
81467 #endif
81468
81469 int
81470 main ()
81471 {
81472 return f != $ac_func;
81473   ;
81474   return 0;
81475 }
81476 _ACEOF
81477 rm -f conftest.$ac_objext conftest$ac_exeext
81478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81479   (eval $ac_link) 2>conftest.er1
81480   ac_status=$?
81481   grep -v '^ *+' conftest.er1 >conftest.err
81482   rm -f conftest.er1
81483   cat conftest.err >&5
81484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81485   (exit $ac_status); } &&
81486          { ac_try='test -z "$ac_c_werror_flag"
81487                          || test ! -s conftest.err'
81488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81489   (eval $ac_try) 2>&5
81490   ac_status=$?
81491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81492   (exit $ac_status); }; } &&
81493          { ac_try='test -s conftest$ac_exeext'
81494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81495   (eval $ac_try) 2>&5
81496   ac_status=$?
81497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81498   (exit $ac_status); }; }; then
81499   eval "$as_ac_var=yes"
81500 else
81501   echo "$as_me: failed program was:" >&5
81502 sed 's/^/| /' conftest.$ac_ext >&5
81503
81504 eval "$as_ac_var=no"
81505 fi
81506 rm -f conftest.err conftest.$ac_objext \
81507       conftest$ac_exeext conftest.$ac_ext
81508 fi
81509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81511 if test `eval echo '${'$as_ac_var'}'` = yes; then
81512   cat >>confdefs.h <<_ACEOF
81513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81514 _ACEOF
81515
81516 fi
81517 done
81518
81519     fi
81520   fi
81521
81522
81523
81524
81525
81526
81527   echo "$as_me:$LINENO: checking for hypot declaration" >&5
81528 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
81529   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
81530     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
81531   echo $ECHO_N "(cached) $ECHO_C" >&6
81532 else
81533
81534
81535
81536       ac_ext=cc
81537 ac_cpp='$CXXCPP $CPPFLAGS'
81538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81541
81542       cat >conftest.$ac_ext <<_ACEOF
81543 /* confdefs.h.  */
81544 _ACEOF
81545 cat confdefs.h >>conftest.$ac_ext
81546 cat >>conftest.$ac_ext <<_ACEOF
81547 /* end confdefs.h.  */
81548 #include <math.h>
81549 int
81550 main ()
81551 {
81552  hypot(0, 0);
81553   ;
81554   return 0;
81555 }
81556 _ACEOF
81557 rm -f conftest.$ac_objext
81558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81559   (eval $ac_compile) 2>conftest.er1
81560   ac_status=$?
81561   grep -v '^ *+' conftest.er1 >conftest.err
81562   rm -f conftest.er1
81563   cat conftest.err >&5
81564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81565   (exit $ac_status); } &&
81566          { ac_try='test -z "$ac_cxx_werror_flag"
81567                          || test ! -s conftest.err'
81568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81569   (eval $ac_try) 2>&5
81570   ac_status=$?
81571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81572   (exit $ac_status); }; } &&
81573          { ac_try='test -s conftest.$ac_objext'
81574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81575   (eval $ac_try) 2>&5
81576   ac_status=$?
81577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81578   (exit $ac_status); }; }; then
81579   glibcxx_cv_func_hypot_use=yes
81580 else
81581   echo "$as_me: failed program was:" >&5
81582 sed 's/^/| /' conftest.$ac_ext >&5
81583
81584 glibcxx_cv_func_hypot_use=no
81585 fi
81586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81587       ac_ext=c
81588 ac_cpp='$CPP $CPPFLAGS'
81589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81592
81593
81594 fi
81595
81596   fi
81597   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
81598 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
81599
81600   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
81601
81602 for ac_func in hypot
81603 do
81604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81605 echo "$as_me:$LINENO: checking for $ac_func" >&5
81606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81607 if eval "test \"\${$as_ac_var+set}\" = set"; then
81608   echo $ECHO_N "(cached) $ECHO_C" >&6
81609 else
81610   if test x$gcc_no_link = xyes; then
81611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81613    { (exit 1); exit 1; }; }
81614 fi
81615 cat >conftest.$ac_ext <<_ACEOF
81616 /* confdefs.h.  */
81617 _ACEOF
81618 cat confdefs.h >>conftest.$ac_ext
81619 cat >>conftest.$ac_ext <<_ACEOF
81620 /* end confdefs.h.  */
81621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81622    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81623 #define $ac_func innocuous_$ac_func
81624
81625 /* System header to define __stub macros and hopefully few prototypes,
81626     which can conflict with char $ac_func (); below.
81627     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81628     <limits.h> exists even on freestanding compilers.  */
81629
81630 #ifdef __STDC__
81631 # include <limits.h>
81632 #else
81633 # include <assert.h>
81634 #endif
81635
81636 #undef $ac_func
81637
81638 /* Override any gcc2 internal prototype to avoid an error.  */
81639 #ifdef __cplusplus
81640 extern "C"
81641 {
81642 #endif
81643 /* We use char because int might match the return type of a gcc2
81644    builtin and then its argument prototype would still apply.  */
81645 char $ac_func ();
81646 /* The GNU C library defines this for functions which it implements
81647     to always fail with ENOSYS.  Some functions are actually named
81648     something starting with __ and the normal name is an alias.  */
81649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81650 choke me
81651 #else
81652 char (*f) () = $ac_func;
81653 #endif
81654 #ifdef __cplusplus
81655 }
81656 #endif
81657
81658 int
81659 main ()
81660 {
81661 return f != $ac_func;
81662   ;
81663   return 0;
81664 }
81665 _ACEOF
81666 rm -f conftest.$ac_objext conftest$ac_exeext
81667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81668   (eval $ac_link) 2>conftest.er1
81669   ac_status=$?
81670   grep -v '^ *+' conftest.er1 >conftest.err
81671   rm -f conftest.er1
81672   cat conftest.err >&5
81673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81674   (exit $ac_status); } &&
81675          { ac_try='test -z "$ac_c_werror_flag"
81676                          || test ! -s conftest.err'
81677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81678   (eval $ac_try) 2>&5
81679   ac_status=$?
81680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81681   (exit $ac_status); }; } &&
81682          { ac_try='test -s conftest$ac_exeext'
81683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81684   (eval $ac_try) 2>&5
81685   ac_status=$?
81686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81687   (exit $ac_status); }; }; then
81688   eval "$as_ac_var=yes"
81689 else
81690   echo "$as_me: failed program was:" >&5
81691 sed 's/^/| /' conftest.$ac_ext >&5
81692
81693 eval "$as_ac_var=no"
81694 fi
81695 rm -f conftest.err conftest.$ac_objext \
81696       conftest$ac_exeext conftest.$ac_ext
81697 fi
81698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81700 if test `eval echo '${'$as_ac_var'}'` = yes; then
81701   cat >>confdefs.h <<_ACEOF
81702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81703 _ACEOF
81704
81705 fi
81706 done
81707
81708   else
81709
81710   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
81711 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
81712   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
81713     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
81714   echo $ECHO_N "(cached) $ECHO_C" >&6
81715 else
81716
81717
81718
81719       ac_ext=cc
81720 ac_cpp='$CXXCPP $CPPFLAGS'
81721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81724
81725       cat >conftest.$ac_ext <<_ACEOF
81726 /* confdefs.h.  */
81727 _ACEOF
81728 cat confdefs.h >>conftest.$ac_ext
81729 cat >>conftest.$ac_ext <<_ACEOF
81730 /* end confdefs.h.  */
81731 #include <math.h>
81732 int
81733 main ()
81734 {
81735  _hypot(0, 0);
81736   ;
81737   return 0;
81738 }
81739 _ACEOF
81740 rm -f conftest.$ac_objext
81741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81742   (eval $ac_compile) 2>conftest.er1
81743   ac_status=$?
81744   grep -v '^ *+' conftest.er1 >conftest.err
81745   rm -f conftest.er1
81746   cat conftest.err >&5
81747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81748   (exit $ac_status); } &&
81749          { ac_try='test -z "$ac_cxx_werror_flag"
81750                          || test ! -s conftest.err'
81751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81752   (eval $ac_try) 2>&5
81753   ac_status=$?
81754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81755   (exit $ac_status); }; } &&
81756          { ac_try='test -s conftest.$ac_objext'
81757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81758   (eval $ac_try) 2>&5
81759   ac_status=$?
81760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81761   (exit $ac_status); }; }; then
81762   glibcxx_cv_func__hypot_use=yes
81763 else
81764   echo "$as_me: failed program was:" >&5
81765 sed 's/^/| /' conftest.$ac_ext >&5
81766
81767 glibcxx_cv_func__hypot_use=no
81768 fi
81769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81770       ac_ext=c
81771 ac_cpp='$CPP $CPPFLAGS'
81772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81775
81776
81777 fi
81778
81779   fi
81780   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
81781 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
81782
81783     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
81784
81785 for ac_func in _hypot
81786 do
81787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81788 echo "$as_me:$LINENO: checking for $ac_func" >&5
81789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81790 if eval "test \"\${$as_ac_var+set}\" = set"; then
81791   echo $ECHO_N "(cached) $ECHO_C" >&6
81792 else
81793   if test x$gcc_no_link = xyes; then
81794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81796    { (exit 1); exit 1; }; }
81797 fi
81798 cat >conftest.$ac_ext <<_ACEOF
81799 /* confdefs.h.  */
81800 _ACEOF
81801 cat confdefs.h >>conftest.$ac_ext
81802 cat >>conftest.$ac_ext <<_ACEOF
81803 /* end confdefs.h.  */
81804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81806 #define $ac_func innocuous_$ac_func
81807
81808 /* System header to define __stub macros and hopefully few prototypes,
81809     which can conflict with char $ac_func (); below.
81810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81811     <limits.h> exists even on freestanding compilers.  */
81812
81813 #ifdef __STDC__
81814 # include <limits.h>
81815 #else
81816 # include <assert.h>
81817 #endif
81818
81819 #undef $ac_func
81820
81821 /* Override any gcc2 internal prototype to avoid an error.  */
81822 #ifdef __cplusplus
81823 extern "C"
81824 {
81825 #endif
81826 /* We use char because int might match the return type of a gcc2
81827    builtin and then its argument prototype would still apply.  */
81828 char $ac_func ();
81829 /* The GNU C library defines this for functions which it implements
81830     to always fail with ENOSYS.  Some functions are actually named
81831     something starting with __ and the normal name is an alias.  */
81832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81833 choke me
81834 #else
81835 char (*f) () = $ac_func;
81836 #endif
81837 #ifdef __cplusplus
81838 }
81839 #endif
81840
81841 int
81842 main ()
81843 {
81844 return f != $ac_func;
81845   ;
81846   return 0;
81847 }
81848 _ACEOF
81849 rm -f conftest.$ac_objext conftest$ac_exeext
81850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81851   (eval $ac_link) 2>conftest.er1
81852   ac_status=$?
81853   grep -v '^ *+' conftest.er1 >conftest.err
81854   rm -f conftest.er1
81855   cat conftest.err >&5
81856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81857   (exit $ac_status); } &&
81858          { ac_try='test -z "$ac_c_werror_flag"
81859                          || test ! -s conftest.err'
81860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81861   (eval $ac_try) 2>&5
81862   ac_status=$?
81863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81864   (exit $ac_status); }; } &&
81865          { ac_try='test -s conftest$ac_exeext'
81866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81867   (eval $ac_try) 2>&5
81868   ac_status=$?
81869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81870   (exit $ac_status); }; }; then
81871   eval "$as_ac_var=yes"
81872 else
81873   echo "$as_me: failed program was:" >&5
81874 sed 's/^/| /' conftest.$ac_ext >&5
81875
81876 eval "$as_ac_var=no"
81877 fi
81878 rm -f conftest.err conftest.$ac_objext \
81879       conftest$ac_exeext conftest.$ac_ext
81880 fi
81881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81883 if test `eval echo '${'$as_ac_var'}'` = yes; then
81884   cat >>confdefs.h <<_ACEOF
81885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81886 _ACEOF
81887
81888 fi
81889 done
81890
81891     fi
81892   fi
81893
81894
81895
81896
81897
81898
81899     echo "$as_me:$LINENO: checking for float trig functions" >&5
81900 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
81901   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
81902   echo $ECHO_N "(cached) $ECHO_C" >&6
81903 else
81904
81905
81906
81907     ac_ext=cc
81908 ac_cpp='$CXXCPP $CPPFLAGS'
81909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81912
81913     cat >conftest.$ac_ext <<_ACEOF
81914 /* confdefs.h.  */
81915 _ACEOF
81916 cat confdefs.h >>conftest.$ac_ext
81917 cat >>conftest.$ac_ext <<_ACEOF
81918 /* end confdefs.h.  */
81919 #include <math.h>
81920 int
81921 main ()
81922 {
81923 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
81924   ;
81925   return 0;
81926 }
81927 _ACEOF
81928 rm -f conftest.$ac_objext
81929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81930   (eval $ac_compile) 2>conftest.er1
81931   ac_status=$?
81932   grep -v '^ *+' conftest.er1 >conftest.err
81933   rm -f conftest.er1
81934   cat conftest.err >&5
81935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81936   (exit $ac_status); } &&
81937          { ac_try='test -z "$ac_cxx_werror_flag"
81938                          || test ! -s conftest.err'
81939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81940   (eval $ac_try) 2>&5
81941   ac_status=$?
81942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81943   (exit $ac_status); }; } &&
81944          { ac_try='test -s conftest.$ac_objext'
81945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81946   (eval $ac_try) 2>&5
81947   ac_status=$?
81948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81949   (exit $ac_status); }; }; then
81950   glibcxx_cv_func_float_trig_use=yes
81951 else
81952   echo "$as_me: failed program was:" >&5
81953 sed 's/^/| /' conftest.$ac_ext >&5
81954
81955 glibcxx_cv_func_float_trig_use=no
81956 fi
81957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81958     ac_ext=c
81959 ac_cpp='$CPP $CPPFLAGS'
81960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81963
81964 fi
81965
81966   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
81967 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
81968   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
81969
81970
81971
81972
81973
81974
81975
81976
81977
81978 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
81979 do
81980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81981 echo "$as_me:$LINENO: checking for $ac_func" >&5
81982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81983 if eval "test \"\${$as_ac_var+set}\" = set"; then
81984   echo $ECHO_N "(cached) $ECHO_C" >&6
81985 else
81986   if test x$gcc_no_link = xyes; then
81987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81989    { (exit 1); exit 1; }; }
81990 fi
81991 cat >conftest.$ac_ext <<_ACEOF
81992 /* confdefs.h.  */
81993 _ACEOF
81994 cat confdefs.h >>conftest.$ac_ext
81995 cat >>conftest.$ac_ext <<_ACEOF
81996 /* end confdefs.h.  */
81997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81998    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81999 #define $ac_func innocuous_$ac_func
82000
82001 /* System header to define __stub macros and hopefully few prototypes,
82002     which can conflict with char $ac_func (); below.
82003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82004     <limits.h> exists even on freestanding compilers.  */
82005
82006 #ifdef __STDC__
82007 # include <limits.h>
82008 #else
82009 # include <assert.h>
82010 #endif
82011
82012 #undef $ac_func
82013
82014 /* Override any gcc2 internal prototype to avoid an error.  */
82015 #ifdef __cplusplus
82016 extern "C"
82017 {
82018 #endif
82019 /* We use char because int might match the return type of a gcc2
82020    builtin and then its argument prototype would still apply.  */
82021 char $ac_func ();
82022 /* The GNU C library defines this for functions which it implements
82023     to always fail with ENOSYS.  Some functions are actually named
82024     something starting with __ and the normal name is an alias.  */
82025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82026 choke me
82027 #else
82028 char (*f) () = $ac_func;
82029 #endif
82030 #ifdef __cplusplus
82031 }
82032 #endif
82033
82034 int
82035 main ()
82036 {
82037 return f != $ac_func;
82038   ;
82039   return 0;
82040 }
82041 _ACEOF
82042 rm -f conftest.$ac_objext conftest$ac_exeext
82043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82044   (eval $ac_link) 2>conftest.er1
82045   ac_status=$?
82046   grep -v '^ *+' conftest.er1 >conftest.err
82047   rm -f conftest.er1
82048   cat conftest.err >&5
82049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82050   (exit $ac_status); } &&
82051          { ac_try='test -z "$ac_c_werror_flag"
82052                          || test ! -s conftest.err'
82053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82054   (eval $ac_try) 2>&5
82055   ac_status=$?
82056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82057   (exit $ac_status); }; } &&
82058          { ac_try='test -s conftest$ac_exeext'
82059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82060   (eval $ac_try) 2>&5
82061   ac_status=$?
82062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82063   (exit $ac_status); }; }; then
82064   eval "$as_ac_var=yes"
82065 else
82066   echo "$as_me: failed program was:" >&5
82067 sed 's/^/| /' conftest.$ac_ext >&5
82068
82069 eval "$as_ac_var=no"
82070 fi
82071 rm -f conftest.err conftest.$ac_objext \
82072       conftest$ac_exeext conftest.$ac_ext
82073 fi
82074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82076 if test `eval echo '${'$as_ac_var'}'` = yes; then
82077   cat >>confdefs.h <<_ACEOF
82078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82079 _ACEOF
82080
82081 fi
82082 done
82083
82084   else
82085     echo "$as_me:$LINENO: checking for _float trig functions" >&5
82086 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
82087     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
82088   echo $ECHO_N "(cached) $ECHO_C" >&6
82089 else
82090
82091
82092
82093       ac_ext=cc
82094 ac_cpp='$CXXCPP $CPPFLAGS'
82095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82098
82099       cat >conftest.$ac_ext <<_ACEOF
82100 /* confdefs.h.  */
82101 _ACEOF
82102 cat confdefs.h >>conftest.$ac_ext
82103 cat >>conftest.$ac_ext <<_ACEOF
82104 /* end confdefs.h.  */
82105 #include <math.h>
82106 int
82107 main ()
82108 {
82109 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
82110   ;
82111   return 0;
82112 }
82113 _ACEOF
82114 rm -f conftest.$ac_objext
82115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82116   (eval $ac_compile) 2>conftest.er1
82117   ac_status=$?
82118   grep -v '^ *+' conftest.er1 >conftest.err
82119   rm -f conftest.er1
82120   cat conftest.err >&5
82121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82122   (exit $ac_status); } &&
82123          { ac_try='test -z "$ac_cxx_werror_flag"
82124                          || test ! -s conftest.err'
82125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82126   (eval $ac_try) 2>&5
82127   ac_status=$?
82128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82129   (exit $ac_status); }; } &&
82130          { ac_try='test -s conftest.$ac_objext'
82131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82132   (eval $ac_try) 2>&5
82133   ac_status=$?
82134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82135   (exit $ac_status); }; }; then
82136   glibcxx_cv_func__float_trig_use=yes
82137 else
82138   echo "$as_me: failed program was:" >&5
82139 sed 's/^/| /' conftest.$ac_ext >&5
82140
82141 glibcxx_cv_func__float_trig_use=no
82142 fi
82143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82144       ac_ext=c
82145 ac_cpp='$CPP $CPPFLAGS'
82146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82149
82150 fi
82151
82152     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
82153 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
82154     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
82155
82156
82157
82158
82159
82160
82161
82162
82163
82164 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
82165 do
82166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82167 echo "$as_me:$LINENO: checking for $ac_func" >&5
82168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82169 if eval "test \"\${$as_ac_var+set}\" = set"; then
82170   echo $ECHO_N "(cached) $ECHO_C" >&6
82171 else
82172   if test x$gcc_no_link = xyes; then
82173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82175    { (exit 1); exit 1; }; }
82176 fi
82177 cat >conftest.$ac_ext <<_ACEOF
82178 /* confdefs.h.  */
82179 _ACEOF
82180 cat confdefs.h >>conftest.$ac_ext
82181 cat >>conftest.$ac_ext <<_ACEOF
82182 /* end confdefs.h.  */
82183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82185 #define $ac_func innocuous_$ac_func
82186
82187 /* System header to define __stub macros and hopefully few prototypes,
82188     which can conflict with char $ac_func (); below.
82189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82190     <limits.h> exists even on freestanding compilers.  */
82191
82192 #ifdef __STDC__
82193 # include <limits.h>
82194 #else
82195 # include <assert.h>
82196 #endif
82197
82198 #undef $ac_func
82199
82200 /* Override any gcc2 internal prototype to avoid an error.  */
82201 #ifdef __cplusplus
82202 extern "C"
82203 {
82204 #endif
82205 /* We use char because int might match the return type of a gcc2
82206    builtin and then its argument prototype would still apply.  */
82207 char $ac_func ();
82208 /* The GNU C library defines this for functions which it implements
82209     to always fail with ENOSYS.  Some functions are actually named
82210     something starting with __ and the normal name is an alias.  */
82211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82212 choke me
82213 #else
82214 char (*f) () = $ac_func;
82215 #endif
82216 #ifdef __cplusplus
82217 }
82218 #endif
82219
82220 int
82221 main ()
82222 {
82223 return f != $ac_func;
82224   ;
82225   return 0;
82226 }
82227 _ACEOF
82228 rm -f conftest.$ac_objext conftest$ac_exeext
82229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82230   (eval $ac_link) 2>conftest.er1
82231   ac_status=$?
82232   grep -v '^ *+' conftest.er1 >conftest.err
82233   rm -f conftest.er1
82234   cat conftest.err >&5
82235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82236   (exit $ac_status); } &&
82237          { ac_try='test -z "$ac_c_werror_flag"
82238                          || test ! -s conftest.err'
82239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82240   (eval $ac_try) 2>&5
82241   ac_status=$?
82242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82243   (exit $ac_status); }; } &&
82244          { ac_try='test -s conftest$ac_exeext'
82245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82246   (eval $ac_try) 2>&5
82247   ac_status=$?
82248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82249   (exit $ac_status); }; }; then
82250   eval "$as_ac_var=yes"
82251 else
82252   echo "$as_me: failed program was:" >&5
82253 sed 's/^/| /' conftest.$ac_ext >&5
82254
82255 eval "$as_ac_var=no"
82256 fi
82257 rm -f conftest.err conftest.$ac_objext \
82258       conftest$ac_exeext conftest.$ac_ext
82259 fi
82260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82262 if test `eval echo '${'$as_ac_var'}'` = yes; then
82263   cat >>confdefs.h <<_ACEOF
82264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82265 _ACEOF
82266
82267 fi
82268 done
82269
82270     fi
82271   fi
82272
82273
82274
82275
82276
82277
82278
82279
82280
82281
82282
82283
82284
82285
82286     echo "$as_me:$LINENO: checking for float round functions" >&5
82287 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
82288   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
82289   echo $ECHO_N "(cached) $ECHO_C" >&6
82290 else
82291
82292
82293
82294     ac_ext=cc
82295 ac_cpp='$CXXCPP $CPPFLAGS'
82296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82299
82300     cat >conftest.$ac_ext <<_ACEOF
82301 /* confdefs.h.  */
82302 _ACEOF
82303 cat confdefs.h >>conftest.$ac_ext
82304 cat >>conftest.$ac_ext <<_ACEOF
82305 /* end confdefs.h.  */
82306 #include <math.h>
82307 int
82308 main ()
82309 {
82310 ceilf (0); floorf (0);
82311   ;
82312   return 0;
82313 }
82314 _ACEOF
82315 rm -f conftest.$ac_objext
82316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82317   (eval $ac_compile) 2>conftest.er1
82318   ac_status=$?
82319   grep -v '^ *+' conftest.er1 >conftest.err
82320   rm -f conftest.er1
82321   cat conftest.err >&5
82322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82323   (exit $ac_status); } &&
82324          { ac_try='test -z "$ac_cxx_werror_flag"
82325                          || test ! -s conftest.err'
82326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82327   (eval $ac_try) 2>&5
82328   ac_status=$?
82329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82330   (exit $ac_status); }; } &&
82331          { ac_try='test -s conftest.$ac_objext'
82332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82333   (eval $ac_try) 2>&5
82334   ac_status=$?
82335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82336   (exit $ac_status); }; }; then
82337   glibcxx_cv_func_float_round_use=yes
82338 else
82339   echo "$as_me: failed program was:" >&5
82340 sed 's/^/| /' conftest.$ac_ext >&5
82341
82342 glibcxx_cv_func_float_round_use=no
82343 fi
82344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82345     ac_ext=c
82346 ac_cpp='$CPP $CPPFLAGS'
82347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82350
82351 fi
82352
82353   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
82354 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
82355   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
82356
82357
82358 for ac_func in ceilf floorf
82359 do
82360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82361 echo "$as_me:$LINENO: checking for $ac_func" >&5
82362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82363 if eval "test \"\${$as_ac_var+set}\" = set"; then
82364   echo $ECHO_N "(cached) $ECHO_C" >&6
82365 else
82366   if test x$gcc_no_link = xyes; then
82367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82369    { (exit 1); exit 1; }; }
82370 fi
82371 cat >conftest.$ac_ext <<_ACEOF
82372 /* confdefs.h.  */
82373 _ACEOF
82374 cat confdefs.h >>conftest.$ac_ext
82375 cat >>conftest.$ac_ext <<_ACEOF
82376 /* end confdefs.h.  */
82377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82378    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82379 #define $ac_func innocuous_$ac_func
82380
82381 /* System header to define __stub macros and hopefully few prototypes,
82382     which can conflict with char $ac_func (); below.
82383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82384     <limits.h> exists even on freestanding compilers.  */
82385
82386 #ifdef __STDC__
82387 # include <limits.h>
82388 #else
82389 # include <assert.h>
82390 #endif
82391
82392 #undef $ac_func
82393
82394 /* Override any gcc2 internal prototype to avoid an error.  */
82395 #ifdef __cplusplus
82396 extern "C"
82397 {
82398 #endif
82399 /* We use char because int might match the return type of a gcc2
82400    builtin and then its argument prototype would still apply.  */
82401 char $ac_func ();
82402 /* The GNU C library defines this for functions which it implements
82403     to always fail with ENOSYS.  Some functions are actually named
82404     something starting with __ and the normal name is an alias.  */
82405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82406 choke me
82407 #else
82408 char (*f) () = $ac_func;
82409 #endif
82410 #ifdef __cplusplus
82411 }
82412 #endif
82413
82414 int
82415 main ()
82416 {
82417 return f != $ac_func;
82418   ;
82419   return 0;
82420 }
82421 _ACEOF
82422 rm -f conftest.$ac_objext conftest$ac_exeext
82423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82424   (eval $ac_link) 2>conftest.er1
82425   ac_status=$?
82426   grep -v '^ *+' conftest.er1 >conftest.err
82427   rm -f conftest.er1
82428   cat conftest.err >&5
82429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82430   (exit $ac_status); } &&
82431          { ac_try='test -z "$ac_c_werror_flag"
82432                          || test ! -s conftest.err'
82433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82434   (eval $ac_try) 2>&5
82435   ac_status=$?
82436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82437   (exit $ac_status); }; } &&
82438          { ac_try='test -s conftest$ac_exeext'
82439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82440   (eval $ac_try) 2>&5
82441   ac_status=$?
82442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82443   (exit $ac_status); }; }; then
82444   eval "$as_ac_var=yes"
82445 else
82446   echo "$as_me: failed program was:" >&5
82447 sed 's/^/| /' conftest.$ac_ext >&5
82448
82449 eval "$as_ac_var=no"
82450 fi
82451 rm -f conftest.err conftest.$ac_objext \
82452       conftest$ac_exeext conftest.$ac_ext
82453 fi
82454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82456 if test `eval echo '${'$as_ac_var'}'` = yes; then
82457   cat >>confdefs.h <<_ACEOF
82458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82459 _ACEOF
82460
82461 fi
82462 done
82463
82464   else
82465     echo "$as_me:$LINENO: checking for _float round functions" >&5
82466 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
82467     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
82468   echo $ECHO_N "(cached) $ECHO_C" >&6
82469 else
82470
82471
82472
82473       ac_ext=cc
82474 ac_cpp='$CXXCPP $CPPFLAGS'
82475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82478
82479       cat >conftest.$ac_ext <<_ACEOF
82480 /* confdefs.h.  */
82481 _ACEOF
82482 cat confdefs.h >>conftest.$ac_ext
82483 cat >>conftest.$ac_ext <<_ACEOF
82484 /* end confdefs.h.  */
82485 #include <math.h>
82486 int
82487 main ()
82488 {
82489 _ceilf (0); _floorf (0);
82490   ;
82491   return 0;
82492 }
82493 _ACEOF
82494 rm -f conftest.$ac_objext
82495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82496   (eval $ac_compile) 2>conftest.er1
82497   ac_status=$?
82498   grep -v '^ *+' conftest.er1 >conftest.err
82499   rm -f conftest.er1
82500   cat conftest.err >&5
82501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82502   (exit $ac_status); } &&
82503          { ac_try='test -z "$ac_cxx_werror_flag"
82504                          || test ! -s conftest.err'
82505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82506   (eval $ac_try) 2>&5
82507   ac_status=$?
82508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82509   (exit $ac_status); }; } &&
82510          { ac_try='test -s conftest.$ac_objext'
82511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82512   (eval $ac_try) 2>&5
82513   ac_status=$?
82514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82515   (exit $ac_status); }; }; then
82516   glibcxx_cv_func__float_round_use=yes
82517 else
82518   echo "$as_me: failed program was:" >&5
82519 sed 's/^/| /' conftest.$ac_ext >&5
82520
82521 glibcxx_cv_func__float_round_use=no
82522 fi
82523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82524       ac_ext=c
82525 ac_cpp='$CPP $CPPFLAGS'
82526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82529
82530 fi
82531
82532     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
82533 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
82534     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
82535
82536
82537 for ac_func in _ceilf _floorf
82538 do
82539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82540 echo "$as_me:$LINENO: checking for $ac_func" >&5
82541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82542 if eval "test \"\${$as_ac_var+set}\" = set"; then
82543   echo $ECHO_N "(cached) $ECHO_C" >&6
82544 else
82545   if test x$gcc_no_link = xyes; then
82546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82548    { (exit 1); exit 1; }; }
82549 fi
82550 cat >conftest.$ac_ext <<_ACEOF
82551 /* confdefs.h.  */
82552 _ACEOF
82553 cat confdefs.h >>conftest.$ac_ext
82554 cat >>conftest.$ac_ext <<_ACEOF
82555 /* end confdefs.h.  */
82556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82557    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82558 #define $ac_func innocuous_$ac_func
82559
82560 /* System header to define __stub macros and hopefully few prototypes,
82561     which can conflict with char $ac_func (); below.
82562     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82563     <limits.h> exists even on freestanding compilers.  */
82564
82565 #ifdef __STDC__
82566 # include <limits.h>
82567 #else
82568 # include <assert.h>
82569 #endif
82570
82571 #undef $ac_func
82572
82573 /* Override any gcc2 internal prototype to avoid an error.  */
82574 #ifdef __cplusplus
82575 extern "C"
82576 {
82577 #endif
82578 /* We use char because int might match the return type of a gcc2
82579    builtin and then its argument prototype would still apply.  */
82580 char $ac_func ();
82581 /* The GNU C library defines this for functions which it implements
82582     to always fail with ENOSYS.  Some functions are actually named
82583     something starting with __ and the normal name is an alias.  */
82584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82585 choke me
82586 #else
82587 char (*f) () = $ac_func;
82588 #endif
82589 #ifdef __cplusplus
82590 }
82591 #endif
82592
82593 int
82594 main ()
82595 {
82596 return f != $ac_func;
82597   ;
82598   return 0;
82599 }
82600 _ACEOF
82601 rm -f conftest.$ac_objext conftest$ac_exeext
82602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82603   (eval $ac_link) 2>conftest.er1
82604   ac_status=$?
82605   grep -v '^ *+' conftest.er1 >conftest.err
82606   rm -f conftest.er1
82607   cat conftest.err >&5
82608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82609   (exit $ac_status); } &&
82610          { ac_try='test -z "$ac_c_werror_flag"
82611                          || test ! -s conftest.err'
82612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82613   (eval $ac_try) 2>&5
82614   ac_status=$?
82615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82616   (exit $ac_status); }; } &&
82617          { ac_try='test -s conftest$ac_exeext'
82618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82619   (eval $ac_try) 2>&5
82620   ac_status=$?
82621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82622   (exit $ac_status); }; }; then
82623   eval "$as_ac_var=yes"
82624 else
82625   echo "$as_me: failed program was:" >&5
82626 sed 's/^/| /' conftest.$ac_ext >&5
82627
82628 eval "$as_ac_var=no"
82629 fi
82630 rm -f conftest.err conftest.$ac_objext \
82631       conftest$ac_exeext conftest.$ac_ext
82632 fi
82633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82635 if test `eval echo '${'$as_ac_var'}'` = yes; then
82636   cat >>confdefs.h <<_ACEOF
82637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82638 _ACEOF
82639
82640 fi
82641 done
82642
82643     fi
82644   fi
82645
82646
82647
82648
82649
82650
82651
82652
82653   echo "$as_me:$LINENO: checking for expf declaration" >&5
82654 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
82655   if test x${glibcxx_cv_func_expf_use+set} != xset; then
82656     if test "${glibcxx_cv_func_expf_use+set}" = set; then
82657   echo $ECHO_N "(cached) $ECHO_C" >&6
82658 else
82659
82660
82661
82662       ac_ext=cc
82663 ac_cpp='$CXXCPP $CPPFLAGS'
82664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82667
82668       cat >conftest.$ac_ext <<_ACEOF
82669 /* confdefs.h.  */
82670 _ACEOF
82671 cat confdefs.h >>conftest.$ac_ext
82672 cat >>conftest.$ac_ext <<_ACEOF
82673 /* end confdefs.h.  */
82674 #include <math.h>
82675                       #ifdef HAVE_IEEEFP_H
82676                       #include <ieeefp.h>
82677                       #endif
82678
82679 int
82680 main ()
82681 {
82682  expf(0);
82683   ;
82684   return 0;
82685 }
82686 _ACEOF
82687 rm -f conftest.$ac_objext
82688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82689   (eval $ac_compile) 2>conftest.er1
82690   ac_status=$?
82691   grep -v '^ *+' conftest.er1 >conftest.err
82692   rm -f conftest.er1
82693   cat conftest.err >&5
82694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82695   (exit $ac_status); } &&
82696          { ac_try='test -z "$ac_cxx_werror_flag"
82697                          || test ! -s conftest.err'
82698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82699   (eval $ac_try) 2>&5
82700   ac_status=$?
82701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82702   (exit $ac_status); }; } &&
82703          { ac_try='test -s conftest.$ac_objext'
82704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82705   (eval $ac_try) 2>&5
82706   ac_status=$?
82707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82708   (exit $ac_status); }; }; then
82709   glibcxx_cv_func_expf_use=yes
82710 else
82711   echo "$as_me: failed program was:" >&5
82712 sed 's/^/| /' conftest.$ac_ext >&5
82713
82714 glibcxx_cv_func_expf_use=no
82715 fi
82716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82717       ac_ext=c
82718 ac_cpp='$CPP $CPPFLAGS'
82719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82722
82723
82724 fi
82725
82726   fi
82727   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
82728 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
82729
82730   if test x$glibcxx_cv_func_expf_use = x"yes"; then
82731
82732 for ac_func in expf
82733 do
82734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82735 echo "$as_me:$LINENO: checking for $ac_func" >&5
82736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82737 if eval "test \"\${$as_ac_var+set}\" = set"; then
82738   echo $ECHO_N "(cached) $ECHO_C" >&6
82739 else
82740   if test x$gcc_no_link = xyes; then
82741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82743    { (exit 1); exit 1; }; }
82744 fi
82745 cat >conftest.$ac_ext <<_ACEOF
82746 /* confdefs.h.  */
82747 _ACEOF
82748 cat confdefs.h >>conftest.$ac_ext
82749 cat >>conftest.$ac_ext <<_ACEOF
82750 /* end confdefs.h.  */
82751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82752    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82753 #define $ac_func innocuous_$ac_func
82754
82755 /* System header to define __stub macros and hopefully few prototypes,
82756     which can conflict with char $ac_func (); below.
82757     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82758     <limits.h> exists even on freestanding compilers.  */
82759
82760 #ifdef __STDC__
82761 # include <limits.h>
82762 #else
82763 # include <assert.h>
82764 #endif
82765
82766 #undef $ac_func
82767
82768 /* Override any gcc2 internal prototype to avoid an error.  */
82769 #ifdef __cplusplus
82770 extern "C"
82771 {
82772 #endif
82773 /* We use char because int might match the return type of a gcc2
82774    builtin and then its argument prototype would still apply.  */
82775 char $ac_func ();
82776 /* The GNU C library defines this for functions which it implements
82777     to always fail with ENOSYS.  Some functions are actually named
82778     something starting with __ and the normal name is an alias.  */
82779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82780 choke me
82781 #else
82782 char (*f) () = $ac_func;
82783 #endif
82784 #ifdef __cplusplus
82785 }
82786 #endif
82787
82788 int
82789 main ()
82790 {
82791 return f != $ac_func;
82792   ;
82793   return 0;
82794 }
82795 _ACEOF
82796 rm -f conftest.$ac_objext conftest$ac_exeext
82797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82798   (eval $ac_link) 2>conftest.er1
82799   ac_status=$?
82800   grep -v '^ *+' conftest.er1 >conftest.err
82801   rm -f conftest.er1
82802   cat conftest.err >&5
82803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82804   (exit $ac_status); } &&
82805          { ac_try='test -z "$ac_c_werror_flag"
82806                          || test ! -s conftest.err'
82807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82808   (eval $ac_try) 2>&5
82809   ac_status=$?
82810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82811   (exit $ac_status); }; } &&
82812          { ac_try='test -s conftest$ac_exeext'
82813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82814   (eval $ac_try) 2>&5
82815   ac_status=$?
82816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82817   (exit $ac_status); }; }; then
82818   eval "$as_ac_var=yes"
82819 else
82820   echo "$as_me: failed program was:" >&5
82821 sed 's/^/| /' conftest.$ac_ext >&5
82822
82823 eval "$as_ac_var=no"
82824 fi
82825 rm -f conftest.err conftest.$ac_objext \
82826       conftest$ac_exeext conftest.$ac_ext
82827 fi
82828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82830 if test `eval echo '${'$as_ac_var'}'` = yes; then
82831   cat >>confdefs.h <<_ACEOF
82832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82833 _ACEOF
82834
82835 fi
82836 done
82837
82838   else
82839
82840   echo "$as_me:$LINENO: checking for _expf declaration" >&5
82841 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
82842   if test x${glibcxx_cv_func__expf_use+set} != xset; then
82843     if test "${glibcxx_cv_func__expf_use+set}" = set; then
82844   echo $ECHO_N "(cached) $ECHO_C" >&6
82845 else
82846
82847
82848
82849       ac_ext=cc
82850 ac_cpp='$CXXCPP $CPPFLAGS'
82851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82854
82855       cat >conftest.$ac_ext <<_ACEOF
82856 /* confdefs.h.  */
82857 _ACEOF
82858 cat confdefs.h >>conftest.$ac_ext
82859 cat >>conftest.$ac_ext <<_ACEOF
82860 /* end confdefs.h.  */
82861 #include <math.h>
82862                       #ifdef HAVE_IEEEFP_H
82863                       #include <ieeefp.h>
82864                       #endif
82865
82866 int
82867 main ()
82868 {
82869  _expf(0);
82870   ;
82871   return 0;
82872 }
82873 _ACEOF
82874 rm -f conftest.$ac_objext
82875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82876   (eval $ac_compile) 2>conftest.er1
82877   ac_status=$?
82878   grep -v '^ *+' conftest.er1 >conftest.err
82879   rm -f conftest.er1
82880   cat conftest.err >&5
82881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82882   (exit $ac_status); } &&
82883          { ac_try='test -z "$ac_cxx_werror_flag"
82884                          || test ! -s conftest.err'
82885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82886   (eval $ac_try) 2>&5
82887   ac_status=$?
82888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82889   (exit $ac_status); }; } &&
82890          { ac_try='test -s conftest.$ac_objext'
82891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82892   (eval $ac_try) 2>&5
82893   ac_status=$?
82894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82895   (exit $ac_status); }; }; then
82896   glibcxx_cv_func__expf_use=yes
82897 else
82898   echo "$as_me: failed program was:" >&5
82899 sed 's/^/| /' conftest.$ac_ext >&5
82900
82901 glibcxx_cv_func__expf_use=no
82902 fi
82903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82904       ac_ext=c
82905 ac_cpp='$CPP $CPPFLAGS'
82906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82909
82910
82911 fi
82912
82913   fi
82914   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
82915 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
82916
82917     if test x$glibcxx_cv_func__expf_use = x"yes"; then
82918
82919 for ac_func in _expf
82920 do
82921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82922 echo "$as_me:$LINENO: checking for $ac_func" >&5
82923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82924 if eval "test \"\${$as_ac_var+set}\" = set"; then
82925   echo $ECHO_N "(cached) $ECHO_C" >&6
82926 else
82927   if test x$gcc_no_link = xyes; then
82928   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82930    { (exit 1); exit 1; }; }
82931 fi
82932 cat >conftest.$ac_ext <<_ACEOF
82933 /* confdefs.h.  */
82934 _ACEOF
82935 cat confdefs.h >>conftest.$ac_ext
82936 cat >>conftest.$ac_ext <<_ACEOF
82937 /* end confdefs.h.  */
82938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82939    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82940 #define $ac_func innocuous_$ac_func
82941
82942 /* System header to define __stub macros and hopefully few prototypes,
82943     which can conflict with char $ac_func (); below.
82944     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82945     <limits.h> exists even on freestanding compilers.  */
82946
82947 #ifdef __STDC__
82948 # include <limits.h>
82949 #else
82950 # include <assert.h>
82951 #endif
82952
82953 #undef $ac_func
82954
82955 /* Override any gcc2 internal prototype to avoid an error.  */
82956 #ifdef __cplusplus
82957 extern "C"
82958 {
82959 #endif
82960 /* We use char because int might match the return type of a gcc2
82961    builtin and then its argument prototype would still apply.  */
82962 char $ac_func ();
82963 /* The GNU C library defines this for functions which it implements
82964     to always fail with ENOSYS.  Some functions are actually named
82965     something starting with __ and the normal name is an alias.  */
82966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82967 choke me
82968 #else
82969 char (*f) () = $ac_func;
82970 #endif
82971 #ifdef __cplusplus
82972 }
82973 #endif
82974
82975 int
82976 main ()
82977 {
82978 return f != $ac_func;
82979   ;
82980   return 0;
82981 }
82982 _ACEOF
82983 rm -f conftest.$ac_objext conftest$ac_exeext
82984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82985   (eval $ac_link) 2>conftest.er1
82986   ac_status=$?
82987   grep -v '^ *+' conftest.er1 >conftest.err
82988   rm -f conftest.er1
82989   cat conftest.err >&5
82990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82991   (exit $ac_status); } &&
82992          { ac_try='test -z "$ac_c_werror_flag"
82993                          || test ! -s conftest.err'
82994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82995   (eval $ac_try) 2>&5
82996   ac_status=$?
82997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82998   (exit $ac_status); }; } &&
82999          { ac_try='test -s conftest$ac_exeext'
83000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83001   (eval $ac_try) 2>&5
83002   ac_status=$?
83003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83004   (exit $ac_status); }; }; then
83005   eval "$as_ac_var=yes"
83006 else
83007   echo "$as_me: failed program was:" >&5
83008 sed 's/^/| /' conftest.$ac_ext >&5
83009
83010 eval "$as_ac_var=no"
83011 fi
83012 rm -f conftest.err conftest.$ac_objext \
83013       conftest$ac_exeext conftest.$ac_ext
83014 fi
83015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83017 if test `eval echo '${'$as_ac_var'}'` = yes; then
83018   cat >>confdefs.h <<_ACEOF
83019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83020 _ACEOF
83021
83022 fi
83023 done
83024
83025     fi
83026   fi
83027
83028
83029
83030
83031
83032
83033   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
83034 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
83035   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
83036     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
83037   echo $ECHO_N "(cached) $ECHO_C" >&6
83038 else
83039
83040
83041
83042       ac_ext=cc
83043 ac_cpp='$CXXCPP $CPPFLAGS'
83044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83047
83048       cat >conftest.$ac_ext <<_ACEOF
83049 /* confdefs.h.  */
83050 _ACEOF
83051 cat confdefs.h >>conftest.$ac_ext
83052 cat >>conftest.$ac_ext <<_ACEOF
83053 /* end confdefs.h.  */
83054 #include <math.h>
83055                       #ifdef HAVE_IEEEFP_H
83056                       #include <ieeefp.h>
83057                       #endif
83058
83059 int
83060 main ()
83061 {
83062  isnanf(0);
83063   ;
83064   return 0;
83065 }
83066 _ACEOF
83067 rm -f conftest.$ac_objext
83068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83069   (eval $ac_compile) 2>conftest.er1
83070   ac_status=$?
83071   grep -v '^ *+' conftest.er1 >conftest.err
83072   rm -f conftest.er1
83073   cat conftest.err >&5
83074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83075   (exit $ac_status); } &&
83076          { ac_try='test -z "$ac_cxx_werror_flag"
83077                          || test ! -s conftest.err'
83078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83079   (eval $ac_try) 2>&5
83080   ac_status=$?
83081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83082   (exit $ac_status); }; } &&
83083          { ac_try='test -s conftest.$ac_objext'
83084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83085   (eval $ac_try) 2>&5
83086   ac_status=$?
83087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83088   (exit $ac_status); }; }; then
83089   glibcxx_cv_func_isnanf_use=yes
83090 else
83091   echo "$as_me: failed program was:" >&5
83092 sed 's/^/| /' conftest.$ac_ext >&5
83093
83094 glibcxx_cv_func_isnanf_use=no
83095 fi
83096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83097       ac_ext=c
83098 ac_cpp='$CPP $CPPFLAGS'
83099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83102
83103
83104 fi
83105
83106   fi
83107   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
83108 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
83109
83110   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
83111
83112 for ac_func in isnanf
83113 do
83114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83115 echo "$as_me:$LINENO: checking for $ac_func" >&5
83116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83117 if eval "test \"\${$as_ac_var+set}\" = set"; then
83118   echo $ECHO_N "(cached) $ECHO_C" >&6
83119 else
83120   if test x$gcc_no_link = xyes; then
83121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83123    { (exit 1); exit 1; }; }
83124 fi
83125 cat >conftest.$ac_ext <<_ACEOF
83126 /* confdefs.h.  */
83127 _ACEOF
83128 cat confdefs.h >>conftest.$ac_ext
83129 cat >>conftest.$ac_ext <<_ACEOF
83130 /* end confdefs.h.  */
83131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83133 #define $ac_func innocuous_$ac_func
83134
83135 /* System header to define __stub macros and hopefully few prototypes,
83136     which can conflict with char $ac_func (); below.
83137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83138     <limits.h> exists even on freestanding compilers.  */
83139
83140 #ifdef __STDC__
83141 # include <limits.h>
83142 #else
83143 # include <assert.h>
83144 #endif
83145
83146 #undef $ac_func
83147
83148 /* Override any gcc2 internal prototype to avoid an error.  */
83149 #ifdef __cplusplus
83150 extern "C"
83151 {
83152 #endif
83153 /* We use char because int might match the return type of a gcc2
83154    builtin and then its argument prototype would still apply.  */
83155 char $ac_func ();
83156 /* The GNU C library defines this for functions which it implements
83157     to always fail with ENOSYS.  Some functions are actually named
83158     something starting with __ and the normal name is an alias.  */
83159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83160 choke me
83161 #else
83162 char (*f) () = $ac_func;
83163 #endif
83164 #ifdef __cplusplus
83165 }
83166 #endif
83167
83168 int
83169 main ()
83170 {
83171 return f != $ac_func;
83172   ;
83173   return 0;
83174 }
83175 _ACEOF
83176 rm -f conftest.$ac_objext conftest$ac_exeext
83177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83178   (eval $ac_link) 2>conftest.er1
83179   ac_status=$?
83180   grep -v '^ *+' conftest.er1 >conftest.err
83181   rm -f conftest.er1
83182   cat conftest.err >&5
83183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83184   (exit $ac_status); } &&
83185          { ac_try='test -z "$ac_c_werror_flag"
83186                          || test ! -s conftest.err'
83187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83188   (eval $ac_try) 2>&5
83189   ac_status=$?
83190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83191   (exit $ac_status); }; } &&
83192          { ac_try='test -s conftest$ac_exeext'
83193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83194   (eval $ac_try) 2>&5
83195   ac_status=$?
83196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83197   (exit $ac_status); }; }; then
83198   eval "$as_ac_var=yes"
83199 else
83200   echo "$as_me: failed program was:" >&5
83201 sed 's/^/| /' conftest.$ac_ext >&5
83202
83203 eval "$as_ac_var=no"
83204 fi
83205 rm -f conftest.err conftest.$ac_objext \
83206       conftest$ac_exeext conftest.$ac_ext
83207 fi
83208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83210 if test `eval echo '${'$as_ac_var'}'` = yes; then
83211   cat >>confdefs.h <<_ACEOF
83212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83213 _ACEOF
83214
83215 fi
83216 done
83217
83218   else
83219
83220   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
83221 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
83222   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
83223     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
83224   echo $ECHO_N "(cached) $ECHO_C" >&6
83225 else
83226
83227
83228
83229       ac_ext=cc
83230 ac_cpp='$CXXCPP $CPPFLAGS'
83231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83234
83235       cat >conftest.$ac_ext <<_ACEOF
83236 /* confdefs.h.  */
83237 _ACEOF
83238 cat confdefs.h >>conftest.$ac_ext
83239 cat >>conftest.$ac_ext <<_ACEOF
83240 /* end confdefs.h.  */
83241 #include <math.h>
83242                       #ifdef HAVE_IEEEFP_H
83243                       #include <ieeefp.h>
83244                       #endif
83245
83246 int
83247 main ()
83248 {
83249  _isnanf(0);
83250   ;
83251   return 0;
83252 }
83253 _ACEOF
83254 rm -f conftest.$ac_objext
83255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83256   (eval $ac_compile) 2>conftest.er1
83257   ac_status=$?
83258   grep -v '^ *+' conftest.er1 >conftest.err
83259   rm -f conftest.er1
83260   cat conftest.err >&5
83261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83262   (exit $ac_status); } &&
83263          { ac_try='test -z "$ac_cxx_werror_flag"
83264                          || test ! -s conftest.err'
83265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83266   (eval $ac_try) 2>&5
83267   ac_status=$?
83268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83269   (exit $ac_status); }; } &&
83270          { ac_try='test -s conftest.$ac_objext'
83271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83272   (eval $ac_try) 2>&5
83273   ac_status=$?
83274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83275   (exit $ac_status); }; }; then
83276   glibcxx_cv_func__isnanf_use=yes
83277 else
83278   echo "$as_me: failed program was:" >&5
83279 sed 's/^/| /' conftest.$ac_ext >&5
83280
83281 glibcxx_cv_func__isnanf_use=no
83282 fi
83283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83284       ac_ext=c
83285 ac_cpp='$CPP $CPPFLAGS'
83286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83289
83290
83291 fi
83292
83293   fi
83294   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
83295 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
83296
83297     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
83298
83299 for ac_func in _isnanf
83300 do
83301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83302 echo "$as_me:$LINENO: checking for $ac_func" >&5
83303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83304 if eval "test \"\${$as_ac_var+set}\" = set"; then
83305   echo $ECHO_N "(cached) $ECHO_C" >&6
83306 else
83307   if test x$gcc_no_link = xyes; then
83308   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83310    { (exit 1); exit 1; }; }
83311 fi
83312 cat >conftest.$ac_ext <<_ACEOF
83313 /* confdefs.h.  */
83314 _ACEOF
83315 cat confdefs.h >>conftest.$ac_ext
83316 cat >>conftest.$ac_ext <<_ACEOF
83317 /* end confdefs.h.  */
83318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83319    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83320 #define $ac_func innocuous_$ac_func
83321
83322 /* System header to define __stub macros and hopefully few prototypes,
83323     which can conflict with char $ac_func (); below.
83324     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83325     <limits.h> exists even on freestanding compilers.  */
83326
83327 #ifdef __STDC__
83328 # include <limits.h>
83329 #else
83330 # include <assert.h>
83331 #endif
83332
83333 #undef $ac_func
83334
83335 /* Override any gcc2 internal prototype to avoid an error.  */
83336 #ifdef __cplusplus
83337 extern "C"
83338 {
83339 #endif
83340 /* We use char because int might match the return type of a gcc2
83341    builtin and then its argument prototype would still apply.  */
83342 char $ac_func ();
83343 /* The GNU C library defines this for functions which it implements
83344     to always fail with ENOSYS.  Some functions are actually named
83345     something starting with __ and the normal name is an alias.  */
83346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83347 choke me
83348 #else
83349 char (*f) () = $ac_func;
83350 #endif
83351 #ifdef __cplusplus
83352 }
83353 #endif
83354
83355 int
83356 main ()
83357 {
83358 return f != $ac_func;
83359   ;
83360   return 0;
83361 }
83362 _ACEOF
83363 rm -f conftest.$ac_objext conftest$ac_exeext
83364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83365   (eval $ac_link) 2>conftest.er1
83366   ac_status=$?
83367   grep -v '^ *+' conftest.er1 >conftest.err
83368   rm -f conftest.er1
83369   cat conftest.err >&5
83370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83371   (exit $ac_status); } &&
83372          { ac_try='test -z "$ac_c_werror_flag"
83373                          || test ! -s conftest.err'
83374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83375   (eval $ac_try) 2>&5
83376   ac_status=$?
83377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83378   (exit $ac_status); }; } &&
83379          { ac_try='test -s conftest$ac_exeext'
83380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83381   (eval $ac_try) 2>&5
83382   ac_status=$?
83383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83384   (exit $ac_status); }; }; then
83385   eval "$as_ac_var=yes"
83386 else
83387   echo "$as_me: failed program was:" >&5
83388 sed 's/^/| /' conftest.$ac_ext >&5
83389
83390 eval "$as_ac_var=no"
83391 fi
83392 rm -f conftest.err conftest.$ac_objext \
83393       conftest$ac_exeext conftest.$ac_ext
83394 fi
83395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83397 if test `eval echo '${'$as_ac_var'}'` = yes; then
83398   cat >>confdefs.h <<_ACEOF
83399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83400 _ACEOF
83401
83402 fi
83403 done
83404
83405     fi
83406   fi
83407
83408
83409
83410
83411
83412
83413   echo "$as_me:$LINENO: checking for isinff declaration" >&5
83414 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
83415   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
83416     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
83417   echo $ECHO_N "(cached) $ECHO_C" >&6
83418 else
83419
83420
83421
83422       ac_ext=cc
83423 ac_cpp='$CXXCPP $CPPFLAGS'
83424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83427
83428       cat >conftest.$ac_ext <<_ACEOF
83429 /* confdefs.h.  */
83430 _ACEOF
83431 cat confdefs.h >>conftest.$ac_ext
83432 cat >>conftest.$ac_ext <<_ACEOF
83433 /* end confdefs.h.  */
83434 #include <math.h>
83435                       #ifdef HAVE_IEEEFP_H
83436                       #include <ieeefp.h>
83437                       #endif
83438
83439 int
83440 main ()
83441 {
83442  isinff(0);
83443   ;
83444   return 0;
83445 }
83446 _ACEOF
83447 rm -f conftest.$ac_objext
83448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83449   (eval $ac_compile) 2>conftest.er1
83450   ac_status=$?
83451   grep -v '^ *+' conftest.er1 >conftest.err
83452   rm -f conftest.er1
83453   cat conftest.err >&5
83454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83455   (exit $ac_status); } &&
83456          { ac_try='test -z "$ac_cxx_werror_flag"
83457                          || test ! -s conftest.err'
83458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83459   (eval $ac_try) 2>&5
83460   ac_status=$?
83461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83462   (exit $ac_status); }; } &&
83463          { ac_try='test -s conftest.$ac_objext'
83464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83465   (eval $ac_try) 2>&5
83466   ac_status=$?
83467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83468   (exit $ac_status); }; }; then
83469   glibcxx_cv_func_isinff_use=yes
83470 else
83471   echo "$as_me: failed program was:" >&5
83472 sed 's/^/| /' conftest.$ac_ext >&5
83473
83474 glibcxx_cv_func_isinff_use=no
83475 fi
83476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83477       ac_ext=c
83478 ac_cpp='$CPP $CPPFLAGS'
83479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83482
83483
83484 fi
83485
83486   fi
83487   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
83488 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
83489
83490   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
83491
83492 for ac_func in isinff
83493 do
83494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83495 echo "$as_me:$LINENO: checking for $ac_func" >&5
83496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83497 if eval "test \"\${$as_ac_var+set}\" = set"; then
83498   echo $ECHO_N "(cached) $ECHO_C" >&6
83499 else
83500   if test x$gcc_no_link = xyes; then
83501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83503    { (exit 1); exit 1; }; }
83504 fi
83505 cat >conftest.$ac_ext <<_ACEOF
83506 /* confdefs.h.  */
83507 _ACEOF
83508 cat confdefs.h >>conftest.$ac_ext
83509 cat >>conftest.$ac_ext <<_ACEOF
83510 /* end confdefs.h.  */
83511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83512    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83513 #define $ac_func innocuous_$ac_func
83514
83515 /* System header to define __stub macros and hopefully few prototypes,
83516     which can conflict with char $ac_func (); below.
83517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83518     <limits.h> exists even on freestanding compilers.  */
83519
83520 #ifdef __STDC__
83521 # include <limits.h>
83522 #else
83523 # include <assert.h>
83524 #endif
83525
83526 #undef $ac_func
83527
83528 /* Override any gcc2 internal prototype to avoid an error.  */
83529 #ifdef __cplusplus
83530 extern "C"
83531 {
83532 #endif
83533 /* We use char because int might match the return type of a gcc2
83534    builtin and then its argument prototype would still apply.  */
83535 char $ac_func ();
83536 /* The GNU C library defines this for functions which it implements
83537     to always fail with ENOSYS.  Some functions are actually named
83538     something starting with __ and the normal name is an alias.  */
83539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83540 choke me
83541 #else
83542 char (*f) () = $ac_func;
83543 #endif
83544 #ifdef __cplusplus
83545 }
83546 #endif
83547
83548 int
83549 main ()
83550 {
83551 return f != $ac_func;
83552   ;
83553   return 0;
83554 }
83555 _ACEOF
83556 rm -f conftest.$ac_objext conftest$ac_exeext
83557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83558   (eval $ac_link) 2>conftest.er1
83559   ac_status=$?
83560   grep -v '^ *+' conftest.er1 >conftest.err
83561   rm -f conftest.er1
83562   cat conftest.err >&5
83563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83564   (exit $ac_status); } &&
83565          { ac_try='test -z "$ac_c_werror_flag"
83566                          || test ! -s conftest.err'
83567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83568   (eval $ac_try) 2>&5
83569   ac_status=$?
83570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83571   (exit $ac_status); }; } &&
83572          { ac_try='test -s conftest$ac_exeext'
83573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83574   (eval $ac_try) 2>&5
83575   ac_status=$?
83576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83577   (exit $ac_status); }; }; then
83578   eval "$as_ac_var=yes"
83579 else
83580   echo "$as_me: failed program was:" >&5
83581 sed 's/^/| /' conftest.$ac_ext >&5
83582
83583 eval "$as_ac_var=no"
83584 fi
83585 rm -f conftest.err conftest.$ac_objext \
83586       conftest$ac_exeext conftest.$ac_ext
83587 fi
83588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83590 if test `eval echo '${'$as_ac_var'}'` = yes; then
83591   cat >>confdefs.h <<_ACEOF
83592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83593 _ACEOF
83594
83595 fi
83596 done
83597
83598   else
83599
83600   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
83601 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
83602   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
83603     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
83604   echo $ECHO_N "(cached) $ECHO_C" >&6
83605 else
83606
83607
83608
83609       ac_ext=cc
83610 ac_cpp='$CXXCPP $CPPFLAGS'
83611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83614
83615       cat >conftest.$ac_ext <<_ACEOF
83616 /* confdefs.h.  */
83617 _ACEOF
83618 cat confdefs.h >>conftest.$ac_ext
83619 cat >>conftest.$ac_ext <<_ACEOF
83620 /* end confdefs.h.  */
83621 #include <math.h>
83622                       #ifdef HAVE_IEEEFP_H
83623                       #include <ieeefp.h>
83624                       #endif
83625
83626 int
83627 main ()
83628 {
83629  _isinff(0);
83630   ;
83631   return 0;
83632 }
83633 _ACEOF
83634 rm -f conftest.$ac_objext
83635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83636   (eval $ac_compile) 2>conftest.er1
83637   ac_status=$?
83638   grep -v '^ *+' conftest.er1 >conftest.err
83639   rm -f conftest.er1
83640   cat conftest.err >&5
83641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83642   (exit $ac_status); } &&
83643          { ac_try='test -z "$ac_cxx_werror_flag"
83644                          || test ! -s conftest.err'
83645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83646   (eval $ac_try) 2>&5
83647   ac_status=$?
83648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83649   (exit $ac_status); }; } &&
83650          { ac_try='test -s conftest.$ac_objext'
83651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83652   (eval $ac_try) 2>&5
83653   ac_status=$?
83654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83655   (exit $ac_status); }; }; then
83656   glibcxx_cv_func__isinff_use=yes
83657 else
83658   echo "$as_me: failed program was:" >&5
83659 sed 's/^/| /' conftest.$ac_ext >&5
83660
83661 glibcxx_cv_func__isinff_use=no
83662 fi
83663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83664       ac_ext=c
83665 ac_cpp='$CPP $CPPFLAGS'
83666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83669
83670
83671 fi
83672
83673   fi
83674   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
83675 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
83676
83677     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
83678
83679 for ac_func in _isinff
83680 do
83681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83682 echo "$as_me:$LINENO: checking for $ac_func" >&5
83683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83684 if eval "test \"\${$as_ac_var+set}\" = set"; then
83685   echo $ECHO_N "(cached) $ECHO_C" >&6
83686 else
83687   if test x$gcc_no_link = xyes; then
83688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83690    { (exit 1); exit 1; }; }
83691 fi
83692 cat >conftest.$ac_ext <<_ACEOF
83693 /* confdefs.h.  */
83694 _ACEOF
83695 cat confdefs.h >>conftest.$ac_ext
83696 cat >>conftest.$ac_ext <<_ACEOF
83697 /* end confdefs.h.  */
83698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83699    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83700 #define $ac_func innocuous_$ac_func
83701
83702 /* System header to define __stub macros and hopefully few prototypes,
83703     which can conflict with char $ac_func (); below.
83704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83705     <limits.h> exists even on freestanding compilers.  */
83706
83707 #ifdef __STDC__
83708 # include <limits.h>
83709 #else
83710 # include <assert.h>
83711 #endif
83712
83713 #undef $ac_func
83714
83715 /* Override any gcc2 internal prototype to avoid an error.  */
83716 #ifdef __cplusplus
83717 extern "C"
83718 {
83719 #endif
83720 /* We use char because int might match the return type of a gcc2
83721    builtin and then its argument prototype would still apply.  */
83722 char $ac_func ();
83723 /* The GNU C library defines this for functions which it implements
83724     to always fail with ENOSYS.  Some functions are actually named
83725     something starting with __ and the normal name is an alias.  */
83726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83727 choke me
83728 #else
83729 char (*f) () = $ac_func;
83730 #endif
83731 #ifdef __cplusplus
83732 }
83733 #endif
83734
83735 int
83736 main ()
83737 {
83738 return f != $ac_func;
83739   ;
83740   return 0;
83741 }
83742 _ACEOF
83743 rm -f conftest.$ac_objext conftest$ac_exeext
83744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83745   (eval $ac_link) 2>conftest.er1
83746   ac_status=$?
83747   grep -v '^ *+' conftest.er1 >conftest.err
83748   rm -f conftest.er1
83749   cat conftest.err >&5
83750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83751   (exit $ac_status); } &&
83752          { ac_try='test -z "$ac_c_werror_flag"
83753                          || test ! -s conftest.err'
83754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83755   (eval $ac_try) 2>&5
83756   ac_status=$?
83757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83758   (exit $ac_status); }; } &&
83759          { ac_try='test -s conftest$ac_exeext'
83760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83761   (eval $ac_try) 2>&5
83762   ac_status=$?
83763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83764   (exit $ac_status); }; }; then
83765   eval "$as_ac_var=yes"
83766 else
83767   echo "$as_me: failed program was:" >&5
83768 sed 's/^/| /' conftest.$ac_ext >&5
83769
83770 eval "$as_ac_var=no"
83771 fi
83772 rm -f conftest.err conftest.$ac_objext \
83773       conftest$ac_exeext conftest.$ac_ext
83774 fi
83775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83777 if test `eval echo '${'$as_ac_var'}'` = yes; then
83778   cat >>confdefs.h <<_ACEOF
83779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83780 _ACEOF
83781
83782 fi
83783 done
83784
83785     fi
83786   fi
83787
83788
83789
83790
83791
83792
83793   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
83794 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
83795   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
83796     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
83797   echo $ECHO_N "(cached) $ECHO_C" >&6
83798 else
83799
83800
83801
83802       ac_ext=cc
83803 ac_cpp='$CXXCPP $CPPFLAGS'
83804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83807
83808       cat >conftest.$ac_ext <<_ACEOF
83809 /* confdefs.h.  */
83810 _ACEOF
83811 cat confdefs.h >>conftest.$ac_ext
83812 cat >>conftest.$ac_ext <<_ACEOF
83813 /* end confdefs.h.  */
83814 #include <math.h>
83815 int
83816 main ()
83817 {
83818  atan2f(0, 0);
83819   ;
83820   return 0;
83821 }
83822 _ACEOF
83823 rm -f conftest.$ac_objext
83824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83825   (eval $ac_compile) 2>conftest.er1
83826   ac_status=$?
83827   grep -v '^ *+' conftest.er1 >conftest.err
83828   rm -f conftest.er1
83829   cat conftest.err >&5
83830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83831   (exit $ac_status); } &&
83832          { ac_try='test -z "$ac_cxx_werror_flag"
83833                          || test ! -s conftest.err'
83834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83835   (eval $ac_try) 2>&5
83836   ac_status=$?
83837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83838   (exit $ac_status); }; } &&
83839          { ac_try='test -s conftest.$ac_objext'
83840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83841   (eval $ac_try) 2>&5
83842   ac_status=$?
83843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83844   (exit $ac_status); }; }; then
83845   glibcxx_cv_func_atan2f_use=yes
83846 else
83847   echo "$as_me: failed program was:" >&5
83848 sed 's/^/| /' conftest.$ac_ext >&5
83849
83850 glibcxx_cv_func_atan2f_use=no
83851 fi
83852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83853       ac_ext=c
83854 ac_cpp='$CPP $CPPFLAGS'
83855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83858
83859
83860 fi
83861
83862   fi
83863   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
83864 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
83865
83866   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
83867
83868 for ac_func in atan2f
83869 do
83870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83871 echo "$as_me:$LINENO: checking for $ac_func" >&5
83872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83873 if eval "test \"\${$as_ac_var+set}\" = set"; then
83874   echo $ECHO_N "(cached) $ECHO_C" >&6
83875 else
83876   if test x$gcc_no_link = xyes; then
83877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83879    { (exit 1); exit 1; }; }
83880 fi
83881 cat >conftest.$ac_ext <<_ACEOF
83882 /* confdefs.h.  */
83883 _ACEOF
83884 cat confdefs.h >>conftest.$ac_ext
83885 cat >>conftest.$ac_ext <<_ACEOF
83886 /* end confdefs.h.  */
83887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83889 #define $ac_func innocuous_$ac_func
83890
83891 /* System header to define __stub macros and hopefully few prototypes,
83892     which can conflict with char $ac_func (); below.
83893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83894     <limits.h> exists even on freestanding compilers.  */
83895
83896 #ifdef __STDC__
83897 # include <limits.h>
83898 #else
83899 # include <assert.h>
83900 #endif
83901
83902 #undef $ac_func
83903
83904 /* Override any gcc2 internal prototype to avoid an error.  */
83905 #ifdef __cplusplus
83906 extern "C"
83907 {
83908 #endif
83909 /* We use char because int might match the return type of a gcc2
83910    builtin and then its argument prototype would still apply.  */
83911 char $ac_func ();
83912 /* The GNU C library defines this for functions which it implements
83913     to always fail with ENOSYS.  Some functions are actually named
83914     something starting with __ and the normal name is an alias.  */
83915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83916 choke me
83917 #else
83918 char (*f) () = $ac_func;
83919 #endif
83920 #ifdef __cplusplus
83921 }
83922 #endif
83923
83924 int
83925 main ()
83926 {
83927 return f != $ac_func;
83928   ;
83929   return 0;
83930 }
83931 _ACEOF
83932 rm -f conftest.$ac_objext conftest$ac_exeext
83933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83934   (eval $ac_link) 2>conftest.er1
83935   ac_status=$?
83936   grep -v '^ *+' conftest.er1 >conftest.err
83937   rm -f conftest.er1
83938   cat conftest.err >&5
83939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83940   (exit $ac_status); } &&
83941          { ac_try='test -z "$ac_c_werror_flag"
83942                          || test ! -s conftest.err'
83943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83944   (eval $ac_try) 2>&5
83945   ac_status=$?
83946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83947   (exit $ac_status); }; } &&
83948          { ac_try='test -s conftest$ac_exeext'
83949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83950   (eval $ac_try) 2>&5
83951   ac_status=$?
83952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83953   (exit $ac_status); }; }; then
83954   eval "$as_ac_var=yes"
83955 else
83956   echo "$as_me: failed program was:" >&5
83957 sed 's/^/| /' conftest.$ac_ext >&5
83958
83959 eval "$as_ac_var=no"
83960 fi
83961 rm -f conftest.err conftest.$ac_objext \
83962       conftest$ac_exeext conftest.$ac_ext
83963 fi
83964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83966 if test `eval echo '${'$as_ac_var'}'` = yes; then
83967   cat >>confdefs.h <<_ACEOF
83968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83969 _ACEOF
83970
83971 fi
83972 done
83973
83974   else
83975
83976   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
83977 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
83978   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
83979     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
83980   echo $ECHO_N "(cached) $ECHO_C" >&6
83981 else
83982
83983
83984
83985       ac_ext=cc
83986 ac_cpp='$CXXCPP $CPPFLAGS'
83987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83990
83991       cat >conftest.$ac_ext <<_ACEOF
83992 /* confdefs.h.  */
83993 _ACEOF
83994 cat confdefs.h >>conftest.$ac_ext
83995 cat >>conftest.$ac_ext <<_ACEOF
83996 /* end confdefs.h.  */
83997 #include <math.h>
83998 int
83999 main ()
84000 {
84001  _atan2f(0, 0);
84002   ;
84003   return 0;
84004 }
84005 _ACEOF
84006 rm -f conftest.$ac_objext
84007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84008   (eval $ac_compile) 2>conftest.er1
84009   ac_status=$?
84010   grep -v '^ *+' conftest.er1 >conftest.err
84011   rm -f conftest.er1
84012   cat conftest.err >&5
84013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84014   (exit $ac_status); } &&
84015          { ac_try='test -z "$ac_cxx_werror_flag"
84016                          || test ! -s conftest.err'
84017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84018   (eval $ac_try) 2>&5
84019   ac_status=$?
84020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84021   (exit $ac_status); }; } &&
84022          { ac_try='test -s conftest.$ac_objext'
84023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84024   (eval $ac_try) 2>&5
84025   ac_status=$?
84026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84027   (exit $ac_status); }; }; then
84028   glibcxx_cv_func__atan2f_use=yes
84029 else
84030   echo "$as_me: failed program was:" >&5
84031 sed 's/^/| /' conftest.$ac_ext >&5
84032
84033 glibcxx_cv_func__atan2f_use=no
84034 fi
84035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84036       ac_ext=c
84037 ac_cpp='$CPP $CPPFLAGS'
84038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84041
84042
84043 fi
84044
84045   fi
84046   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
84047 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
84048
84049     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
84050
84051 for ac_func in _atan2f
84052 do
84053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84054 echo "$as_me:$LINENO: checking for $ac_func" >&5
84055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84056 if eval "test \"\${$as_ac_var+set}\" = set"; then
84057   echo $ECHO_N "(cached) $ECHO_C" >&6
84058 else
84059   if test x$gcc_no_link = xyes; then
84060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84062    { (exit 1); exit 1; }; }
84063 fi
84064 cat >conftest.$ac_ext <<_ACEOF
84065 /* confdefs.h.  */
84066 _ACEOF
84067 cat confdefs.h >>conftest.$ac_ext
84068 cat >>conftest.$ac_ext <<_ACEOF
84069 /* end confdefs.h.  */
84070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84071    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84072 #define $ac_func innocuous_$ac_func
84073
84074 /* System header to define __stub macros and hopefully few prototypes,
84075     which can conflict with char $ac_func (); below.
84076     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84077     <limits.h> exists even on freestanding compilers.  */
84078
84079 #ifdef __STDC__
84080 # include <limits.h>
84081 #else
84082 # include <assert.h>
84083 #endif
84084
84085 #undef $ac_func
84086
84087 /* Override any gcc2 internal prototype to avoid an error.  */
84088 #ifdef __cplusplus
84089 extern "C"
84090 {
84091 #endif
84092 /* We use char because int might match the return type of a gcc2
84093    builtin and then its argument prototype would still apply.  */
84094 char $ac_func ();
84095 /* The GNU C library defines this for functions which it implements
84096     to always fail with ENOSYS.  Some functions are actually named
84097     something starting with __ and the normal name is an alias.  */
84098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84099 choke me
84100 #else
84101 char (*f) () = $ac_func;
84102 #endif
84103 #ifdef __cplusplus
84104 }
84105 #endif
84106
84107 int
84108 main ()
84109 {
84110 return f != $ac_func;
84111   ;
84112   return 0;
84113 }
84114 _ACEOF
84115 rm -f conftest.$ac_objext conftest$ac_exeext
84116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84117   (eval $ac_link) 2>conftest.er1
84118   ac_status=$?
84119   grep -v '^ *+' conftest.er1 >conftest.err
84120   rm -f conftest.er1
84121   cat conftest.err >&5
84122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84123   (exit $ac_status); } &&
84124          { ac_try='test -z "$ac_c_werror_flag"
84125                          || test ! -s conftest.err'
84126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84127   (eval $ac_try) 2>&5
84128   ac_status=$?
84129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84130   (exit $ac_status); }; } &&
84131          { ac_try='test -s conftest$ac_exeext'
84132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84133   (eval $ac_try) 2>&5
84134   ac_status=$?
84135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84136   (exit $ac_status); }; }; then
84137   eval "$as_ac_var=yes"
84138 else
84139   echo "$as_me: failed program was:" >&5
84140 sed 's/^/| /' conftest.$ac_ext >&5
84141
84142 eval "$as_ac_var=no"
84143 fi
84144 rm -f conftest.err conftest.$ac_objext \
84145       conftest$ac_exeext conftest.$ac_ext
84146 fi
84147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84149 if test `eval echo '${'$as_ac_var'}'` = yes; then
84150   cat >>confdefs.h <<_ACEOF
84151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84152 _ACEOF
84153
84154 fi
84155 done
84156
84157     fi
84158   fi
84159
84160
84161
84162
84163
84164
84165   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
84166 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
84167   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
84168     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
84169   echo $ECHO_N "(cached) $ECHO_C" >&6
84170 else
84171
84172
84173
84174       ac_ext=cc
84175 ac_cpp='$CXXCPP $CPPFLAGS'
84176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84179
84180       cat >conftest.$ac_ext <<_ACEOF
84181 /* confdefs.h.  */
84182 _ACEOF
84183 cat confdefs.h >>conftest.$ac_ext
84184 cat >>conftest.$ac_ext <<_ACEOF
84185 /* end confdefs.h.  */
84186 #include <math.h>
84187                       #ifdef HAVE_IEEEFP_H
84188                       #include <ieeefp.h>
84189                       #endif
84190
84191 int
84192 main ()
84193 {
84194  fabsf(0);
84195   ;
84196   return 0;
84197 }
84198 _ACEOF
84199 rm -f conftest.$ac_objext
84200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84201   (eval $ac_compile) 2>conftest.er1
84202   ac_status=$?
84203   grep -v '^ *+' conftest.er1 >conftest.err
84204   rm -f conftest.er1
84205   cat conftest.err >&5
84206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84207   (exit $ac_status); } &&
84208          { ac_try='test -z "$ac_cxx_werror_flag"
84209                          || test ! -s conftest.err'
84210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84211   (eval $ac_try) 2>&5
84212   ac_status=$?
84213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84214   (exit $ac_status); }; } &&
84215          { ac_try='test -s conftest.$ac_objext'
84216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84217   (eval $ac_try) 2>&5
84218   ac_status=$?
84219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84220   (exit $ac_status); }; }; then
84221   glibcxx_cv_func_fabsf_use=yes
84222 else
84223   echo "$as_me: failed program was:" >&5
84224 sed 's/^/| /' conftest.$ac_ext >&5
84225
84226 glibcxx_cv_func_fabsf_use=no
84227 fi
84228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84229       ac_ext=c
84230 ac_cpp='$CPP $CPPFLAGS'
84231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84234
84235
84236 fi
84237
84238   fi
84239   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
84240 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
84241
84242   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
84243
84244 for ac_func in fabsf
84245 do
84246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84247 echo "$as_me:$LINENO: checking for $ac_func" >&5
84248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84249 if eval "test \"\${$as_ac_var+set}\" = set"; then
84250   echo $ECHO_N "(cached) $ECHO_C" >&6
84251 else
84252   if test x$gcc_no_link = xyes; then
84253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84255    { (exit 1); exit 1; }; }
84256 fi
84257 cat >conftest.$ac_ext <<_ACEOF
84258 /* confdefs.h.  */
84259 _ACEOF
84260 cat confdefs.h >>conftest.$ac_ext
84261 cat >>conftest.$ac_ext <<_ACEOF
84262 /* end confdefs.h.  */
84263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84264    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84265 #define $ac_func innocuous_$ac_func
84266
84267 /* System header to define __stub macros and hopefully few prototypes,
84268     which can conflict with char $ac_func (); below.
84269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84270     <limits.h> exists even on freestanding compilers.  */
84271
84272 #ifdef __STDC__
84273 # include <limits.h>
84274 #else
84275 # include <assert.h>
84276 #endif
84277
84278 #undef $ac_func
84279
84280 /* Override any gcc2 internal prototype to avoid an error.  */
84281 #ifdef __cplusplus
84282 extern "C"
84283 {
84284 #endif
84285 /* We use char because int might match the return type of a gcc2
84286    builtin and then its argument prototype would still apply.  */
84287 char $ac_func ();
84288 /* The GNU C library defines this for functions which it implements
84289     to always fail with ENOSYS.  Some functions are actually named
84290     something starting with __ and the normal name is an alias.  */
84291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84292 choke me
84293 #else
84294 char (*f) () = $ac_func;
84295 #endif
84296 #ifdef __cplusplus
84297 }
84298 #endif
84299
84300 int
84301 main ()
84302 {
84303 return f != $ac_func;
84304   ;
84305   return 0;
84306 }
84307 _ACEOF
84308 rm -f conftest.$ac_objext conftest$ac_exeext
84309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84310   (eval $ac_link) 2>conftest.er1
84311   ac_status=$?
84312   grep -v '^ *+' conftest.er1 >conftest.err
84313   rm -f conftest.er1
84314   cat conftest.err >&5
84315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84316   (exit $ac_status); } &&
84317          { ac_try='test -z "$ac_c_werror_flag"
84318                          || test ! -s conftest.err'
84319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84320   (eval $ac_try) 2>&5
84321   ac_status=$?
84322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84323   (exit $ac_status); }; } &&
84324          { ac_try='test -s conftest$ac_exeext'
84325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84326   (eval $ac_try) 2>&5
84327   ac_status=$?
84328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84329   (exit $ac_status); }; }; then
84330   eval "$as_ac_var=yes"
84331 else
84332   echo "$as_me: failed program was:" >&5
84333 sed 's/^/| /' conftest.$ac_ext >&5
84334
84335 eval "$as_ac_var=no"
84336 fi
84337 rm -f conftest.err conftest.$ac_objext \
84338       conftest$ac_exeext conftest.$ac_ext
84339 fi
84340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84342 if test `eval echo '${'$as_ac_var'}'` = yes; then
84343   cat >>confdefs.h <<_ACEOF
84344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84345 _ACEOF
84346
84347 fi
84348 done
84349
84350   else
84351
84352   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
84353 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
84354   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
84355     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
84356   echo $ECHO_N "(cached) $ECHO_C" >&6
84357 else
84358
84359
84360
84361       ac_ext=cc
84362 ac_cpp='$CXXCPP $CPPFLAGS'
84363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84366
84367       cat >conftest.$ac_ext <<_ACEOF
84368 /* confdefs.h.  */
84369 _ACEOF
84370 cat confdefs.h >>conftest.$ac_ext
84371 cat >>conftest.$ac_ext <<_ACEOF
84372 /* end confdefs.h.  */
84373 #include <math.h>
84374                       #ifdef HAVE_IEEEFP_H
84375                       #include <ieeefp.h>
84376                       #endif
84377
84378 int
84379 main ()
84380 {
84381  _fabsf(0);
84382   ;
84383   return 0;
84384 }
84385 _ACEOF
84386 rm -f conftest.$ac_objext
84387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84388   (eval $ac_compile) 2>conftest.er1
84389   ac_status=$?
84390   grep -v '^ *+' conftest.er1 >conftest.err
84391   rm -f conftest.er1
84392   cat conftest.err >&5
84393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84394   (exit $ac_status); } &&
84395          { ac_try='test -z "$ac_cxx_werror_flag"
84396                          || test ! -s conftest.err'
84397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84398   (eval $ac_try) 2>&5
84399   ac_status=$?
84400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84401   (exit $ac_status); }; } &&
84402          { ac_try='test -s conftest.$ac_objext'
84403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84404   (eval $ac_try) 2>&5
84405   ac_status=$?
84406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84407   (exit $ac_status); }; }; then
84408   glibcxx_cv_func__fabsf_use=yes
84409 else
84410   echo "$as_me: failed program was:" >&5
84411 sed 's/^/| /' conftest.$ac_ext >&5
84412
84413 glibcxx_cv_func__fabsf_use=no
84414 fi
84415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84416       ac_ext=c
84417 ac_cpp='$CPP $CPPFLAGS'
84418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84421
84422
84423 fi
84424
84425   fi
84426   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
84427 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
84428
84429     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
84430
84431 for ac_func in _fabsf
84432 do
84433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84434 echo "$as_me:$LINENO: checking for $ac_func" >&5
84435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84436 if eval "test \"\${$as_ac_var+set}\" = set"; then
84437   echo $ECHO_N "(cached) $ECHO_C" >&6
84438 else
84439   if test x$gcc_no_link = xyes; then
84440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84442    { (exit 1); exit 1; }; }
84443 fi
84444 cat >conftest.$ac_ext <<_ACEOF
84445 /* confdefs.h.  */
84446 _ACEOF
84447 cat confdefs.h >>conftest.$ac_ext
84448 cat >>conftest.$ac_ext <<_ACEOF
84449 /* end confdefs.h.  */
84450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84452 #define $ac_func innocuous_$ac_func
84453
84454 /* System header to define __stub macros and hopefully few prototypes,
84455     which can conflict with char $ac_func (); below.
84456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84457     <limits.h> exists even on freestanding compilers.  */
84458
84459 #ifdef __STDC__
84460 # include <limits.h>
84461 #else
84462 # include <assert.h>
84463 #endif
84464
84465 #undef $ac_func
84466
84467 /* Override any gcc2 internal prototype to avoid an error.  */
84468 #ifdef __cplusplus
84469 extern "C"
84470 {
84471 #endif
84472 /* We use char because int might match the return type of a gcc2
84473    builtin and then its argument prototype would still apply.  */
84474 char $ac_func ();
84475 /* The GNU C library defines this for functions which it implements
84476     to always fail with ENOSYS.  Some functions are actually named
84477     something starting with __ and the normal name is an alias.  */
84478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84479 choke me
84480 #else
84481 char (*f) () = $ac_func;
84482 #endif
84483 #ifdef __cplusplus
84484 }
84485 #endif
84486
84487 int
84488 main ()
84489 {
84490 return f != $ac_func;
84491   ;
84492   return 0;
84493 }
84494 _ACEOF
84495 rm -f conftest.$ac_objext conftest$ac_exeext
84496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84497   (eval $ac_link) 2>conftest.er1
84498   ac_status=$?
84499   grep -v '^ *+' conftest.er1 >conftest.err
84500   rm -f conftest.er1
84501   cat conftest.err >&5
84502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84503   (exit $ac_status); } &&
84504          { ac_try='test -z "$ac_c_werror_flag"
84505                          || test ! -s conftest.err'
84506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84507   (eval $ac_try) 2>&5
84508   ac_status=$?
84509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84510   (exit $ac_status); }; } &&
84511          { ac_try='test -s conftest$ac_exeext'
84512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84513   (eval $ac_try) 2>&5
84514   ac_status=$?
84515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84516   (exit $ac_status); }; }; then
84517   eval "$as_ac_var=yes"
84518 else
84519   echo "$as_me: failed program was:" >&5
84520 sed 's/^/| /' conftest.$ac_ext >&5
84521
84522 eval "$as_ac_var=no"
84523 fi
84524 rm -f conftest.err conftest.$ac_objext \
84525       conftest$ac_exeext conftest.$ac_ext
84526 fi
84527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84529 if test `eval echo '${'$as_ac_var'}'` = yes; then
84530   cat >>confdefs.h <<_ACEOF
84531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84532 _ACEOF
84533
84534 fi
84535 done
84536
84537     fi
84538   fi
84539
84540
84541
84542
84543
84544
84545   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
84546 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
84547   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
84548     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
84549   echo $ECHO_N "(cached) $ECHO_C" >&6
84550 else
84551
84552
84553
84554       ac_ext=cc
84555 ac_cpp='$CXXCPP $CPPFLAGS'
84556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84559
84560       cat >conftest.$ac_ext <<_ACEOF
84561 /* confdefs.h.  */
84562 _ACEOF
84563 cat confdefs.h >>conftest.$ac_ext
84564 cat >>conftest.$ac_ext <<_ACEOF
84565 /* end confdefs.h.  */
84566 #include <math.h>
84567 int
84568 main ()
84569 {
84570  fmodf(0, 0);
84571   ;
84572   return 0;
84573 }
84574 _ACEOF
84575 rm -f conftest.$ac_objext
84576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84577   (eval $ac_compile) 2>conftest.er1
84578   ac_status=$?
84579   grep -v '^ *+' conftest.er1 >conftest.err
84580   rm -f conftest.er1
84581   cat conftest.err >&5
84582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84583   (exit $ac_status); } &&
84584          { ac_try='test -z "$ac_cxx_werror_flag"
84585                          || test ! -s conftest.err'
84586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84587   (eval $ac_try) 2>&5
84588   ac_status=$?
84589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84590   (exit $ac_status); }; } &&
84591          { ac_try='test -s conftest.$ac_objext'
84592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84593   (eval $ac_try) 2>&5
84594   ac_status=$?
84595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84596   (exit $ac_status); }; }; then
84597   glibcxx_cv_func_fmodf_use=yes
84598 else
84599   echo "$as_me: failed program was:" >&5
84600 sed 's/^/| /' conftest.$ac_ext >&5
84601
84602 glibcxx_cv_func_fmodf_use=no
84603 fi
84604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84605       ac_ext=c
84606 ac_cpp='$CPP $CPPFLAGS'
84607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84610
84611
84612 fi
84613
84614   fi
84615   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
84616 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
84617
84618   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
84619
84620 for ac_func in fmodf
84621 do
84622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84623 echo "$as_me:$LINENO: checking for $ac_func" >&5
84624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84625 if eval "test \"\${$as_ac_var+set}\" = set"; then
84626   echo $ECHO_N "(cached) $ECHO_C" >&6
84627 else
84628   if test x$gcc_no_link = xyes; then
84629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84631    { (exit 1); exit 1; }; }
84632 fi
84633 cat >conftest.$ac_ext <<_ACEOF
84634 /* confdefs.h.  */
84635 _ACEOF
84636 cat confdefs.h >>conftest.$ac_ext
84637 cat >>conftest.$ac_ext <<_ACEOF
84638 /* end confdefs.h.  */
84639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84641 #define $ac_func innocuous_$ac_func
84642
84643 /* System header to define __stub macros and hopefully few prototypes,
84644     which can conflict with char $ac_func (); below.
84645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84646     <limits.h> exists even on freestanding compilers.  */
84647
84648 #ifdef __STDC__
84649 # include <limits.h>
84650 #else
84651 # include <assert.h>
84652 #endif
84653
84654 #undef $ac_func
84655
84656 /* Override any gcc2 internal prototype to avoid an error.  */
84657 #ifdef __cplusplus
84658 extern "C"
84659 {
84660 #endif
84661 /* We use char because int might match the return type of a gcc2
84662    builtin and then its argument prototype would still apply.  */
84663 char $ac_func ();
84664 /* The GNU C library defines this for functions which it implements
84665     to always fail with ENOSYS.  Some functions are actually named
84666     something starting with __ and the normal name is an alias.  */
84667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84668 choke me
84669 #else
84670 char (*f) () = $ac_func;
84671 #endif
84672 #ifdef __cplusplus
84673 }
84674 #endif
84675
84676 int
84677 main ()
84678 {
84679 return f != $ac_func;
84680   ;
84681   return 0;
84682 }
84683 _ACEOF
84684 rm -f conftest.$ac_objext conftest$ac_exeext
84685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84686   (eval $ac_link) 2>conftest.er1
84687   ac_status=$?
84688   grep -v '^ *+' conftest.er1 >conftest.err
84689   rm -f conftest.er1
84690   cat conftest.err >&5
84691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84692   (exit $ac_status); } &&
84693          { ac_try='test -z "$ac_c_werror_flag"
84694                          || test ! -s conftest.err'
84695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84696   (eval $ac_try) 2>&5
84697   ac_status=$?
84698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84699   (exit $ac_status); }; } &&
84700          { ac_try='test -s conftest$ac_exeext'
84701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84702   (eval $ac_try) 2>&5
84703   ac_status=$?
84704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84705   (exit $ac_status); }; }; then
84706   eval "$as_ac_var=yes"
84707 else
84708   echo "$as_me: failed program was:" >&5
84709 sed 's/^/| /' conftest.$ac_ext >&5
84710
84711 eval "$as_ac_var=no"
84712 fi
84713 rm -f conftest.err conftest.$ac_objext \
84714       conftest$ac_exeext conftest.$ac_ext
84715 fi
84716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84718 if test `eval echo '${'$as_ac_var'}'` = yes; then
84719   cat >>confdefs.h <<_ACEOF
84720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84721 _ACEOF
84722
84723 fi
84724 done
84725
84726   else
84727
84728   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
84729 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
84730   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
84731     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
84732   echo $ECHO_N "(cached) $ECHO_C" >&6
84733 else
84734
84735
84736
84737       ac_ext=cc
84738 ac_cpp='$CXXCPP $CPPFLAGS'
84739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84742
84743       cat >conftest.$ac_ext <<_ACEOF
84744 /* confdefs.h.  */
84745 _ACEOF
84746 cat confdefs.h >>conftest.$ac_ext
84747 cat >>conftest.$ac_ext <<_ACEOF
84748 /* end confdefs.h.  */
84749 #include <math.h>
84750 int
84751 main ()
84752 {
84753  _fmodf(0, 0);
84754   ;
84755   return 0;
84756 }
84757 _ACEOF
84758 rm -f conftest.$ac_objext
84759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84760   (eval $ac_compile) 2>conftest.er1
84761   ac_status=$?
84762   grep -v '^ *+' conftest.er1 >conftest.err
84763   rm -f conftest.er1
84764   cat conftest.err >&5
84765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84766   (exit $ac_status); } &&
84767          { ac_try='test -z "$ac_cxx_werror_flag"
84768                          || test ! -s conftest.err'
84769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84770   (eval $ac_try) 2>&5
84771   ac_status=$?
84772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84773   (exit $ac_status); }; } &&
84774          { ac_try='test -s conftest.$ac_objext'
84775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84776   (eval $ac_try) 2>&5
84777   ac_status=$?
84778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84779   (exit $ac_status); }; }; then
84780   glibcxx_cv_func__fmodf_use=yes
84781 else
84782   echo "$as_me: failed program was:" >&5
84783 sed 's/^/| /' conftest.$ac_ext >&5
84784
84785 glibcxx_cv_func__fmodf_use=no
84786 fi
84787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84788       ac_ext=c
84789 ac_cpp='$CPP $CPPFLAGS'
84790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84793
84794
84795 fi
84796
84797   fi
84798   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
84799 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
84800
84801     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
84802
84803 for ac_func in _fmodf
84804 do
84805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84806 echo "$as_me:$LINENO: checking for $ac_func" >&5
84807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84808 if eval "test \"\${$as_ac_var+set}\" = set"; then
84809   echo $ECHO_N "(cached) $ECHO_C" >&6
84810 else
84811   if test x$gcc_no_link = xyes; then
84812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84814    { (exit 1); exit 1; }; }
84815 fi
84816 cat >conftest.$ac_ext <<_ACEOF
84817 /* confdefs.h.  */
84818 _ACEOF
84819 cat confdefs.h >>conftest.$ac_ext
84820 cat >>conftest.$ac_ext <<_ACEOF
84821 /* end confdefs.h.  */
84822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84823    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84824 #define $ac_func innocuous_$ac_func
84825
84826 /* System header to define __stub macros and hopefully few prototypes,
84827     which can conflict with char $ac_func (); below.
84828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84829     <limits.h> exists even on freestanding compilers.  */
84830
84831 #ifdef __STDC__
84832 # include <limits.h>
84833 #else
84834 # include <assert.h>
84835 #endif
84836
84837 #undef $ac_func
84838
84839 /* Override any gcc2 internal prototype to avoid an error.  */
84840 #ifdef __cplusplus
84841 extern "C"
84842 {
84843 #endif
84844 /* We use char because int might match the return type of a gcc2
84845    builtin and then its argument prototype would still apply.  */
84846 char $ac_func ();
84847 /* The GNU C library defines this for functions which it implements
84848     to always fail with ENOSYS.  Some functions are actually named
84849     something starting with __ and the normal name is an alias.  */
84850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84851 choke me
84852 #else
84853 char (*f) () = $ac_func;
84854 #endif
84855 #ifdef __cplusplus
84856 }
84857 #endif
84858
84859 int
84860 main ()
84861 {
84862 return f != $ac_func;
84863   ;
84864   return 0;
84865 }
84866 _ACEOF
84867 rm -f conftest.$ac_objext conftest$ac_exeext
84868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84869   (eval $ac_link) 2>conftest.er1
84870   ac_status=$?
84871   grep -v '^ *+' conftest.er1 >conftest.err
84872   rm -f conftest.er1
84873   cat conftest.err >&5
84874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84875   (exit $ac_status); } &&
84876          { ac_try='test -z "$ac_c_werror_flag"
84877                          || test ! -s conftest.err'
84878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84879   (eval $ac_try) 2>&5
84880   ac_status=$?
84881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84882   (exit $ac_status); }; } &&
84883          { ac_try='test -s conftest$ac_exeext'
84884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84885   (eval $ac_try) 2>&5
84886   ac_status=$?
84887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84888   (exit $ac_status); }; }; then
84889   eval "$as_ac_var=yes"
84890 else
84891   echo "$as_me: failed program was:" >&5
84892 sed 's/^/| /' conftest.$ac_ext >&5
84893
84894 eval "$as_ac_var=no"
84895 fi
84896 rm -f conftest.err conftest.$ac_objext \
84897       conftest$ac_exeext conftest.$ac_ext
84898 fi
84899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84901 if test `eval echo '${'$as_ac_var'}'` = yes; then
84902   cat >>confdefs.h <<_ACEOF
84903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84904 _ACEOF
84905
84906 fi
84907 done
84908
84909     fi
84910   fi
84911
84912
84913
84914
84915
84916
84917   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
84918 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
84919   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
84920     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
84921   echo $ECHO_N "(cached) $ECHO_C" >&6
84922 else
84923
84924
84925
84926       ac_ext=cc
84927 ac_cpp='$CXXCPP $CPPFLAGS'
84928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84931
84932       cat >conftest.$ac_ext <<_ACEOF
84933 /* confdefs.h.  */
84934 _ACEOF
84935 cat confdefs.h >>conftest.$ac_ext
84936 cat >>conftest.$ac_ext <<_ACEOF
84937 /* end confdefs.h.  */
84938 #include <math.h>
84939 int
84940 main ()
84941 {
84942  frexpf(0, 0);
84943   ;
84944   return 0;
84945 }
84946 _ACEOF
84947 rm -f conftest.$ac_objext
84948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84949   (eval $ac_compile) 2>conftest.er1
84950   ac_status=$?
84951   grep -v '^ *+' conftest.er1 >conftest.err
84952   rm -f conftest.er1
84953   cat conftest.err >&5
84954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84955   (exit $ac_status); } &&
84956          { ac_try='test -z "$ac_cxx_werror_flag"
84957                          || test ! -s conftest.err'
84958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84959   (eval $ac_try) 2>&5
84960   ac_status=$?
84961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84962   (exit $ac_status); }; } &&
84963          { ac_try='test -s conftest.$ac_objext'
84964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84965   (eval $ac_try) 2>&5
84966   ac_status=$?
84967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84968   (exit $ac_status); }; }; then
84969   glibcxx_cv_func_frexpf_use=yes
84970 else
84971   echo "$as_me: failed program was:" >&5
84972 sed 's/^/| /' conftest.$ac_ext >&5
84973
84974 glibcxx_cv_func_frexpf_use=no
84975 fi
84976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84977       ac_ext=c
84978 ac_cpp='$CPP $CPPFLAGS'
84979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84982
84983
84984 fi
84985
84986   fi
84987   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
84988 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
84989
84990   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
84991
84992 for ac_func in frexpf
84993 do
84994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84995 echo "$as_me:$LINENO: checking for $ac_func" >&5
84996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84997 if eval "test \"\${$as_ac_var+set}\" = set"; then
84998   echo $ECHO_N "(cached) $ECHO_C" >&6
84999 else
85000   if test x$gcc_no_link = xyes; then
85001   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85003    { (exit 1); exit 1; }; }
85004 fi
85005 cat >conftest.$ac_ext <<_ACEOF
85006 /* confdefs.h.  */
85007 _ACEOF
85008 cat confdefs.h >>conftest.$ac_ext
85009 cat >>conftest.$ac_ext <<_ACEOF
85010 /* end confdefs.h.  */
85011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85012    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85013 #define $ac_func innocuous_$ac_func
85014
85015 /* System header to define __stub macros and hopefully few prototypes,
85016     which can conflict with char $ac_func (); below.
85017     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85018     <limits.h> exists even on freestanding compilers.  */
85019
85020 #ifdef __STDC__
85021 # include <limits.h>
85022 #else
85023 # include <assert.h>
85024 #endif
85025
85026 #undef $ac_func
85027
85028 /* Override any gcc2 internal prototype to avoid an error.  */
85029 #ifdef __cplusplus
85030 extern "C"
85031 {
85032 #endif
85033 /* We use char because int might match the return type of a gcc2
85034    builtin and then its argument prototype would still apply.  */
85035 char $ac_func ();
85036 /* The GNU C library defines this for functions which it implements
85037     to always fail with ENOSYS.  Some functions are actually named
85038     something starting with __ and the normal name is an alias.  */
85039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85040 choke me
85041 #else
85042 char (*f) () = $ac_func;
85043 #endif
85044 #ifdef __cplusplus
85045 }
85046 #endif
85047
85048 int
85049 main ()
85050 {
85051 return f != $ac_func;
85052   ;
85053   return 0;
85054 }
85055 _ACEOF
85056 rm -f conftest.$ac_objext conftest$ac_exeext
85057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85058   (eval $ac_link) 2>conftest.er1
85059   ac_status=$?
85060   grep -v '^ *+' conftest.er1 >conftest.err
85061   rm -f conftest.er1
85062   cat conftest.err >&5
85063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85064   (exit $ac_status); } &&
85065          { ac_try='test -z "$ac_c_werror_flag"
85066                          || test ! -s conftest.err'
85067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85068   (eval $ac_try) 2>&5
85069   ac_status=$?
85070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85071   (exit $ac_status); }; } &&
85072          { ac_try='test -s conftest$ac_exeext'
85073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85074   (eval $ac_try) 2>&5
85075   ac_status=$?
85076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85077   (exit $ac_status); }; }; then
85078   eval "$as_ac_var=yes"
85079 else
85080   echo "$as_me: failed program was:" >&5
85081 sed 's/^/| /' conftest.$ac_ext >&5
85082
85083 eval "$as_ac_var=no"
85084 fi
85085 rm -f conftest.err conftest.$ac_objext \
85086       conftest$ac_exeext conftest.$ac_ext
85087 fi
85088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85090 if test `eval echo '${'$as_ac_var'}'` = yes; then
85091   cat >>confdefs.h <<_ACEOF
85092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85093 _ACEOF
85094
85095 fi
85096 done
85097
85098   else
85099
85100   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
85101 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
85102   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
85103     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
85104   echo $ECHO_N "(cached) $ECHO_C" >&6
85105 else
85106
85107
85108
85109       ac_ext=cc
85110 ac_cpp='$CXXCPP $CPPFLAGS'
85111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85114
85115       cat >conftest.$ac_ext <<_ACEOF
85116 /* confdefs.h.  */
85117 _ACEOF
85118 cat confdefs.h >>conftest.$ac_ext
85119 cat >>conftest.$ac_ext <<_ACEOF
85120 /* end confdefs.h.  */
85121 #include <math.h>
85122 int
85123 main ()
85124 {
85125  _frexpf(0, 0);
85126   ;
85127   return 0;
85128 }
85129 _ACEOF
85130 rm -f conftest.$ac_objext
85131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85132   (eval $ac_compile) 2>conftest.er1
85133   ac_status=$?
85134   grep -v '^ *+' conftest.er1 >conftest.err
85135   rm -f conftest.er1
85136   cat conftest.err >&5
85137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85138   (exit $ac_status); } &&
85139          { ac_try='test -z "$ac_cxx_werror_flag"
85140                          || test ! -s conftest.err'
85141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85142   (eval $ac_try) 2>&5
85143   ac_status=$?
85144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85145   (exit $ac_status); }; } &&
85146          { ac_try='test -s conftest.$ac_objext'
85147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85148   (eval $ac_try) 2>&5
85149   ac_status=$?
85150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85151   (exit $ac_status); }; }; then
85152   glibcxx_cv_func__frexpf_use=yes
85153 else
85154   echo "$as_me: failed program was:" >&5
85155 sed 's/^/| /' conftest.$ac_ext >&5
85156
85157 glibcxx_cv_func__frexpf_use=no
85158 fi
85159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85160       ac_ext=c
85161 ac_cpp='$CPP $CPPFLAGS'
85162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85165
85166
85167 fi
85168
85169   fi
85170   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
85171 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
85172
85173     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
85174
85175 for ac_func in _frexpf
85176 do
85177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85178 echo "$as_me:$LINENO: checking for $ac_func" >&5
85179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85180 if eval "test \"\${$as_ac_var+set}\" = set"; then
85181   echo $ECHO_N "(cached) $ECHO_C" >&6
85182 else
85183   if test x$gcc_no_link = xyes; then
85184   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85186    { (exit 1); exit 1; }; }
85187 fi
85188 cat >conftest.$ac_ext <<_ACEOF
85189 /* confdefs.h.  */
85190 _ACEOF
85191 cat confdefs.h >>conftest.$ac_ext
85192 cat >>conftest.$ac_ext <<_ACEOF
85193 /* end confdefs.h.  */
85194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85195    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85196 #define $ac_func innocuous_$ac_func
85197
85198 /* System header to define __stub macros and hopefully few prototypes,
85199     which can conflict with char $ac_func (); below.
85200     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85201     <limits.h> exists even on freestanding compilers.  */
85202
85203 #ifdef __STDC__
85204 # include <limits.h>
85205 #else
85206 # include <assert.h>
85207 #endif
85208
85209 #undef $ac_func
85210
85211 /* Override any gcc2 internal prototype to avoid an error.  */
85212 #ifdef __cplusplus
85213 extern "C"
85214 {
85215 #endif
85216 /* We use char because int might match the return type of a gcc2
85217    builtin and then its argument prototype would still apply.  */
85218 char $ac_func ();
85219 /* The GNU C library defines this for functions which it implements
85220     to always fail with ENOSYS.  Some functions are actually named
85221     something starting with __ and the normal name is an alias.  */
85222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85223 choke me
85224 #else
85225 char (*f) () = $ac_func;
85226 #endif
85227 #ifdef __cplusplus
85228 }
85229 #endif
85230
85231 int
85232 main ()
85233 {
85234 return f != $ac_func;
85235   ;
85236   return 0;
85237 }
85238 _ACEOF
85239 rm -f conftest.$ac_objext conftest$ac_exeext
85240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85241   (eval $ac_link) 2>conftest.er1
85242   ac_status=$?
85243   grep -v '^ *+' conftest.er1 >conftest.err
85244   rm -f conftest.er1
85245   cat conftest.err >&5
85246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85247   (exit $ac_status); } &&
85248          { ac_try='test -z "$ac_c_werror_flag"
85249                          || test ! -s conftest.err'
85250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85251   (eval $ac_try) 2>&5
85252   ac_status=$?
85253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85254   (exit $ac_status); }; } &&
85255          { ac_try='test -s conftest$ac_exeext'
85256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85257   (eval $ac_try) 2>&5
85258   ac_status=$?
85259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85260   (exit $ac_status); }; }; then
85261   eval "$as_ac_var=yes"
85262 else
85263   echo "$as_me: failed program was:" >&5
85264 sed 's/^/| /' conftest.$ac_ext >&5
85265
85266 eval "$as_ac_var=no"
85267 fi
85268 rm -f conftest.err conftest.$ac_objext \
85269       conftest$ac_exeext conftest.$ac_ext
85270 fi
85271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85273 if test `eval echo '${'$as_ac_var'}'` = yes; then
85274   cat >>confdefs.h <<_ACEOF
85275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85276 _ACEOF
85277
85278 fi
85279 done
85280
85281     fi
85282   fi
85283
85284
85285
85286
85287
85288
85289   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
85290 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
85291   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
85292     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
85293   echo $ECHO_N "(cached) $ECHO_C" >&6
85294 else
85295
85296
85297
85298       ac_ext=cc
85299 ac_cpp='$CXXCPP $CPPFLAGS'
85300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85303
85304       cat >conftest.$ac_ext <<_ACEOF
85305 /* confdefs.h.  */
85306 _ACEOF
85307 cat confdefs.h >>conftest.$ac_ext
85308 cat >>conftest.$ac_ext <<_ACEOF
85309 /* end confdefs.h.  */
85310 #include <math.h>
85311 int
85312 main ()
85313 {
85314  hypotf(0, 0);
85315   ;
85316   return 0;
85317 }
85318 _ACEOF
85319 rm -f conftest.$ac_objext
85320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85321   (eval $ac_compile) 2>conftest.er1
85322   ac_status=$?
85323   grep -v '^ *+' conftest.er1 >conftest.err
85324   rm -f conftest.er1
85325   cat conftest.err >&5
85326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85327   (exit $ac_status); } &&
85328          { ac_try='test -z "$ac_cxx_werror_flag"
85329                          || test ! -s conftest.err'
85330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85331   (eval $ac_try) 2>&5
85332   ac_status=$?
85333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85334   (exit $ac_status); }; } &&
85335          { ac_try='test -s conftest.$ac_objext'
85336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85337   (eval $ac_try) 2>&5
85338   ac_status=$?
85339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85340   (exit $ac_status); }; }; then
85341   glibcxx_cv_func_hypotf_use=yes
85342 else
85343   echo "$as_me: failed program was:" >&5
85344 sed 's/^/| /' conftest.$ac_ext >&5
85345
85346 glibcxx_cv_func_hypotf_use=no
85347 fi
85348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85349       ac_ext=c
85350 ac_cpp='$CPP $CPPFLAGS'
85351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85354
85355
85356 fi
85357
85358   fi
85359   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
85360 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
85361
85362   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
85363
85364 for ac_func in hypotf
85365 do
85366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85367 echo "$as_me:$LINENO: checking for $ac_func" >&5
85368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85369 if eval "test \"\${$as_ac_var+set}\" = set"; then
85370   echo $ECHO_N "(cached) $ECHO_C" >&6
85371 else
85372   if test x$gcc_no_link = xyes; then
85373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85375    { (exit 1); exit 1; }; }
85376 fi
85377 cat >conftest.$ac_ext <<_ACEOF
85378 /* confdefs.h.  */
85379 _ACEOF
85380 cat confdefs.h >>conftest.$ac_ext
85381 cat >>conftest.$ac_ext <<_ACEOF
85382 /* end confdefs.h.  */
85383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85384    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85385 #define $ac_func innocuous_$ac_func
85386
85387 /* System header to define __stub macros and hopefully few prototypes,
85388     which can conflict with char $ac_func (); below.
85389     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85390     <limits.h> exists even on freestanding compilers.  */
85391
85392 #ifdef __STDC__
85393 # include <limits.h>
85394 #else
85395 # include <assert.h>
85396 #endif
85397
85398 #undef $ac_func
85399
85400 /* Override any gcc2 internal prototype to avoid an error.  */
85401 #ifdef __cplusplus
85402 extern "C"
85403 {
85404 #endif
85405 /* We use char because int might match the return type of a gcc2
85406    builtin and then its argument prototype would still apply.  */
85407 char $ac_func ();
85408 /* The GNU C library defines this for functions which it implements
85409     to always fail with ENOSYS.  Some functions are actually named
85410     something starting with __ and the normal name is an alias.  */
85411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85412 choke me
85413 #else
85414 char (*f) () = $ac_func;
85415 #endif
85416 #ifdef __cplusplus
85417 }
85418 #endif
85419
85420 int
85421 main ()
85422 {
85423 return f != $ac_func;
85424   ;
85425   return 0;
85426 }
85427 _ACEOF
85428 rm -f conftest.$ac_objext conftest$ac_exeext
85429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85430   (eval $ac_link) 2>conftest.er1
85431   ac_status=$?
85432   grep -v '^ *+' conftest.er1 >conftest.err
85433   rm -f conftest.er1
85434   cat conftest.err >&5
85435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85436   (exit $ac_status); } &&
85437          { ac_try='test -z "$ac_c_werror_flag"
85438                          || test ! -s conftest.err'
85439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85440   (eval $ac_try) 2>&5
85441   ac_status=$?
85442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85443   (exit $ac_status); }; } &&
85444          { ac_try='test -s conftest$ac_exeext'
85445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85446   (eval $ac_try) 2>&5
85447   ac_status=$?
85448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85449   (exit $ac_status); }; }; then
85450   eval "$as_ac_var=yes"
85451 else
85452   echo "$as_me: failed program was:" >&5
85453 sed 's/^/| /' conftest.$ac_ext >&5
85454
85455 eval "$as_ac_var=no"
85456 fi
85457 rm -f conftest.err conftest.$ac_objext \
85458       conftest$ac_exeext conftest.$ac_ext
85459 fi
85460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85462 if test `eval echo '${'$as_ac_var'}'` = yes; then
85463   cat >>confdefs.h <<_ACEOF
85464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85465 _ACEOF
85466
85467 fi
85468 done
85469
85470   else
85471
85472   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
85473 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
85474   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
85475     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
85476   echo $ECHO_N "(cached) $ECHO_C" >&6
85477 else
85478
85479
85480
85481       ac_ext=cc
85482 ac_cpp='$CXXCPP $CPPFLAGS'
85483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85486
85487       cat >conftest.$ac_ext <<_ACEOF
85488 /* confdefs.h.  */
85489 _ACEOF
85490 cat confdefs.h >>conftest.$ac_ext
85491 cat >>conftest.$ac_ext <<_ACEOF
85492 /* end confdefs.h.  */
85493 #include <math.h>
85494 int
85495 main ()
85496 {
85497  _hypotf(0, 0);
85498   ;
85499   return 0;
85500 }
85501 _ACEOF
85502 rm -f conftest.$ac_objext
85503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85504   (eval $ac_compile) 2>conftest.er1
85505   ac_status=$?
85506   grep -v '^ *+' conftest.er1 >conftest.err
85507   rm -f conftest.er1
85508   cat conftest.err >&5
85509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85510   (exit $ac_status); } &&
85511          { ac_try='test -z "$ac_cxx_werror_flag"
85512                          || test ! -s conftest.err'
85513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85514   (eval $ac_try) 2>&5
85515   ac_status=$?
85516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85517   (exit $ac_status); }; } &&
85518          { ac_try='test -s conftest.$ac_objext'
85519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85520   (eval $ac_try) 2>&5
85521   ac_status=$?
85522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85523   (exit $ac_status); }; }; then
85524   glibcxx_cv_func__hypotf_use=yes
85525 else
85526   echo "$as_me: failed program was:" >&5
85527 sed 's/^/| /' conftest.$ac_ext >&5
85528
85529 glibcxx_cv_func__hypotf_use=no
85530 fi
85531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85532       ac_ext=c
85533 ac_cpp='$CPP $CPPFLAGS'
85534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85537
85538
85539 fi
85540
85541   fi
85542   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
85543 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
85544
85545     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
85546
85547 for ac_func in _hypotf
85548 do
85549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85550 echo "$as_me:$LINENO: checking for $ac_func" >&5
85551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85552 if eval "test \"\${$as_ac_var+set}\" = set"; then
85553   echo $ECHO_N "(cached) $ECHO_C" >&6
85554 else
85555   if test x$gcc_no_link = xyes; then
85556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85558    { (exit 1); exit 1; }; }
85559 fi
85560 cat >conftest.$ac_ext <<_ACEOF
85561 /* confdefs.h.  */
85562 _ACEOF
85563 cat confdefs.h >>conftest.$ac_ext
85564 cat >>conftest.$ac_ext <<_ACEOF
85565 /* end confdefs.h.  */
85566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85567    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85568 #define $ac_func innocuous_$ac_func
85569
85570 /* System header to define __stub macros and hopefully few prototypes,
85571     which can conflict with char $ac_func (); below.
85572     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85573     <limits.h> exists even on freestanding compilers.  */
85574
85575 #ifdef __STDC__
85576 # include <limits.h>
85577 #else
85578 # include <assert.h>
85579 #endif
85580
85581 #undef $ac_func
85582
85583 /* Override any gcc2 internal prototype to avoid an error.  */
85584 #ifdef __cplusplus
85585 extern "C"
85586 {
85587 #endif
85588 /* We use char because int might match the return type of a gcc2
85589    builtin and then its argument prototype would still apply.  */
85590 char $ac_func ();
85591 /* The GNU C library defines this for functions which it implements
85592     to always fail with ENOSYS.  Some functions are actually named
85593     something starting with __ and the normal name is an alias.  */
85594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85595 choke me
85596 #else
85597 char (*f) () = $ac_func;
85598 #endif
85599 #ifdef __cplusplus
85600 }
85601 #endif
85602
85603 int
85604 main ()
85605 {
85606 return f != $ac_func;
85607   ;
85608   return 0;
85609 }
85610 _ACEOF
85611 rm -f conftest.$ac_objext conftest$ac_exeext
85612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85613   (eval $ac_link) 2>conftest.er1
85614   ac_status=$?
85615   grep -v '^ *+' conftest.er1 >conftest.err
85616   rm -f conftest.er1
85617   cat conftest.err >&5
85618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85619   (exit $ac_status); } &&
85620          { ac_try='test -z "$ac_c_werror_flag"
85621                          || test ! -s conftest.err'
85622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85623   (eval $ac_try) 2>&5
85624   ac_status=$?
85625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85626   (exit $ac_status); }; } &&
85627          { ac_try='test -s conftest$ac_exeext'
85628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85629   (eval $ac_try) 2>&5
85630   ac_status=$?
85631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85632   (exit $ac_status); }; }; then
85633   eval "$as_ac_var=yes"
85634 else
85635   echo "$as_me: failed program was:" >&5
85636 sed 's/^/| /' conftest.$ac_ext >&5
85637
85638 eval "$as_ac_var=no"
85639 fi
85640 rm -f conftest.err conftest.$ac_objext \
85641       conftest$ac_exeext conftest.$ac_ext
85642 fi
85643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85645 if test `eval echo '${'$as_ac_var'}'` = yes; then
85646   cat >>confdefs.h <<_ACEOF
85647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85648 _ACEOF
85649
85650 fi
85651 done
85652
85653     fi
85654   fi
85655
85656
85657
85658
85659
85660
85661   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
85662 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
85663   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
85664     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
85665   echo $ECHO_N "(cached) $ECHO_C" >&6
85666 else
85667
85668
85669
85670       ac_ext=cc
85671 ac_cpp='$CXXCPP $CPPFLAGS'
85672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85675
85676       cat >conftest.$ac_ext <<_ACEOF
85677 /* confdefs.h.  */
85678 _ACEOF
85679 cat confdefs.h >>conftest.$ac_ext
85680 cat >>conftest.$ac_ext <<_ACEOF
85681 /* end confdefs.h.  */
85682 #include <math.h>
85683 int
85684 main ()
85685 {
85686  ldexpf(0, 0);
85687   ;
85688   return 0;
85689 }
85690 _ACEOF
85691 rm -f conftest.$ac_objext
85692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85693   (eval $ac_compile) 2>conftest.er1
85694   ac_status=$?
85695   grep -v '^ *+' conftest.er1 >conftest.err
85696   rm -f conftest.er1
85697   cat conftest.err >&5
85698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85699   (exit $ac_status); } &&
85700          { ac_try='test -z "$ac_cxx_werror_flag"
85701                          || test ! -s conftest.err'
85702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85703   (eval $ac_try) 2>&5
85704   ac_status=$?
85705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85706   (exit $ac_status); }; } &&
85707          { ac_try='test -s conftest.$ac_objext'
85708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85709   (eval $ac_try) 2>&5
85710   ac_status=$?
85711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85712   (exit $ac_status); }; }; then
85713   glibcxx_cv_func_ldexpf_use=yes
85714 else
85715   echo "$as_me: failed program was:" >&5
85716 sed 's/^/| /' conftest.$ac_ext >&5
85717
85718 glibcxx_cv_func_ldexpf_use=no
85719 fi
85720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85721       ac_ext=c
85722 ac_cpp='$CPP $CPPFLAGS'
85723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85726
85727
85728 fi
85729
85730   fi
85731   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
85732 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
85733
85734   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
85735
85736 for ac_func in ldexpf
85737 do
85738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85739 echo "$as_me:$LINENO: checking for $ac_func" >&5
85740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85741 if eval "test \"\${$as_ac_var+set}\" = set"; then
85742   echo $ECHO_N "(cached) $ECHO_C" >&6
85743 else
85744   if test x$gcc_no_link = xyes; then
85745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85747    { (exit 1); exit 1; }; }
85748 fi
85749 cat >conftest.$ac_ext <<_ACEOF
85750 /* confdefs.h.  */
85751 _ACEOF
85752 cat confdefs.h >>conftest.$ac_ext
85753 cat >>conftest.$ac_ext <<_ACEOF
85754 /* end confdefs.h.  */
85755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85757 #define $ac_func innocuous_$ac_func
85758
85759 /* System header to define __stub macros and hopefully few prototypes,
85760     which can conflict with char $ac_func (); below.
85761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85762     <limits.h> exists even on freestanding compilers.  */
85763
85764 #ifdef __STDC__
85765 # include <limits.h>
85766 #else
85767 # include <assert.h>
85768 #endif
85769
85770 #undef $ac_func
85771
85772 /* Override any gcc2 internal prototype to avoid an error.  */
85773 #ifdef __cplusplus
85774 extern "C"
85775 {
85776 #endif
85777 /* We use char because int might match the return type of a gcc2
85778    builtin and then its argument prototype would still apply.  */
85779 char $ac_func ();
85780 /* The GNU C library defines this for functions which it implements
85781     to always fail with ENOSYS.  Some functions are actually named
85782     something starting with __ and the normal name is an alias.  */
85783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85784 choke me
85785 #else
85786 char (*f) () = $ac_func;
85787 #endif
85788 #ifdef __cplusplus
85789 }
85790 #endif
85791
85792 int
85793 main ()
85794 {
85795 return f != $ac_func;
85796   ;
85797   return 0;
85798 }
85799 _ACEOF
85800 rm -f conftest.$ac_objext conftest$ac_exeext
85801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85802   (eval $ac_link) 2>conftest.er1
85803   ac_status=$?
85804   grep -v '^ *+' conftest.er1 >conftest.err
85805   rm -f conftest.er1
85806   cat conftest.err >&5
85807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85808   (exit $ac_status); } &&
85809          { ac_try='test -z "$ac_c_werror_flag"
85810                          || test ! -s conftest.err'
85811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85812   (eval $ac_try) 2>&5
85813   ac_status=$?
85814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85815   (exit $ac_status); }; } &&
85816          { ac_try='test -s conftest$ac_exeext'
85817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85818   (eval $ac_try) 2>&5
85819   ac_status=$?
85820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85821   (exit $ac_status); }; }; then
85822   eval "$as_ac_var=yes"
85823 else
85824   echo "$as_me: failed program was:" >&5
85825 sed 's/^/| /' conftest.$ac_ext >&5
85826
85827 eval "$as_ac_var=no"
85828 fi
85829 rm -f conftest.err conftest.$ac_objext \
85830       conftest$ac_exeext conftest.$ac_ext
85831 fi
85832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85834 if test `eval echo '${'$as_ac_var'}'` = yes; then
85835   cat >>confdefs.h <<_ACEOF
85836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85837 _ACEOF
85838
85839 fi
85840 done
85841
85842   else
85843
85844   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
85845 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
85846   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
85847     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
85848   echo $ECHO_N "(cached) $ECHO_C" >&6
85849 else
85850
85851
85852
85853       ac_ext=cc
85854 ac_cpp='$CXXCPP $CPPFLAGS'
85855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85858
85859       cat >conftest.$ac_ext <<_ACEOF
85860 /* confdefs.h.  */
85861 _ACEOF
85862 cat confdefs.h >>conftest.$ac_ext
85863 cat >>conftest.$ac_ext <<_ACEOF
85864 /* end confdefs.h.  */
85865 #include <math.h>
85866 int
85867 main ()
85868 {
85869  _ldexpf(0, 0);
85870   ;
85871   return 0;
85872 }
85873 _ACEOF
85874 rm -f conftest.$ac_objext
85875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85876   (eval $ac_compile) 2>conftest.er1
85877   ac_status=$?
85878   grep -v '^ *+' conftest.er1 >conftest.err
85879   rm -f conftest.er1
85880   cat conftest.err >&5
85881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85882   (exit $ac_status); } &&
85883          { ac_try='test -z "$ac_cxx_werror_flag"
85884                          || test ! -s conftest.err'
85885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85886   (eval $ac_try) 2>&5
85887   ac_status=$?
85888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85889   (exit $ac_status); }; } &&
85890          { ac_try='test -s conftest.$ac_objext'
85891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85892   (eval $ac_try) 2>&5
85893   ac_status=$?
85894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85895   (exit $ac_status); }; }; then
85896   glibcxx_cv_func__ldexpf_use=yes
85897 else
85898   echo "$as_me: failed program was:" >&5
85899 sed 's/^/| /' conftest.$ac_ext >&5
85900
85901 glibcxx_cv_func__ldexpf_use=no
85902 fi
85903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85904       ac_ext=c
85905 ac_cpp='$CPP $CPPFLAGS'
85906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85909
85910
85911 fi
85912
85913   fi
85914   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
85915 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
85916
85917     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
85918
85919 for ac_func in _ldexpf
85920 do
85921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85922 echo "$as_me:$LINENO: checking for $ac_func" >&5
85923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85924 if eval "test \"\${$as_ac_var+set}\" = set"; then
85925   echo $ECHO_N "(cached) $ECHO_C" >&6
85926 else
85927   if test x$gcc_no_link = xyes; then
85928   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85930    { (exit 1); exit 1; }; }
85931 fi
85932 cat >conftest.$ac_ext <<_ACEOF
85933 /* confdefs.h.  */
85934 _ACEOF
85935 cat confdefs.h >>conftest.$ac_ext
85936 cat >>conftest.$ac_ext <<_ACEOF
85937 /* end confdefs.h.  */
85938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85939    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85940 #define $ac_func innocuous_$ac_func
85941
85942 /* System header to define __stub macros and hopefully few prototypes,
85943     which can conflict with char $ac_func (); below.
85944     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85945     <limits.h> exists even on freestanding compilers.  */
85946
85947 #ifdef __STDC__
85948 # include <limits.h>
85949 #else
85950 # include <assert.h>
85951 #endif
85952
85953 #undef $ac_func
85954
85955 /* Override any gcc2 internal prototype to avoid an error.  */
85956 #ifdef __cplusplus
85957 extern "C"
85958 {
85959 #endif
85960 /* We use char because int might match the return type of a gcc2
85961    builtin and then its argument prototype would still apply.  */
85962 char $ac_func ();
85963 /* The GNU C library defines this for functions which it implements
85964     to always fail with ENOSYS.  Some functions are actually named
85965     something starting with __ and the normal name is an alias.  */
85966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85967 choke me
85968 #else
85969 char (*f) () = $ac_func;
85970 #endif
85971 #ifdef __cplusplus
85972 }
85973 #endif
85974
85975 int
85976 main ()
85977 {
85978 return f != $ac_func;
85979   ;
85980   return 0;
85981 }
85982 _ACEOF
85983 rm -f conftest.$ac_objext conftest$ac_exeext
85984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85985   (eval $ac_link) 2>conftest.er1
85986   ac_status=$?
85987   grep -v '^ *+' conftest.er1 >conftest.err
85988   rm -f conftest.er1
85989   cat conftest.err >&5
85990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85991   (exit $ac_status); } &&
85992          { ac_try='test -z "$ac_c_werror_flag"
85993                          || test ! -s conftest.err'
85994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85995   (eval $ac_try) 2>&5
85996   ac_status=$?
85997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85998   (exit $ac_status); }; } &&
85999          { ac_try='test -s conftest$ac_exeext'
86000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86001   (eval $ac_try) 2>&5
86002   ac_status=$?
86003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86004   (exit $ac_status); }; }; then
86005   eval "$as_ac_var=yes"
86006 else
86007   echo "$as_me: failed program was:" >&5
86008 sed 's/^/| /' conftest.$ac_ext >&5
86009
86010 eval "$as_ac_var=no"
86011 fi
86012 rm -f conftest.err conftest.$ac_objext \
86013       conftest$ac_exeext conftest.$ac_ext
86014 fi
86015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86017 if test `eval echo '${'$as_ac_var'}'` = yes; then
86018   cat >>confdefs.h <<_ACEOF
86019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86020 _ACEOF
86021
86022 fi
86023 done
86024
86025     fi
86026   fi
86027
86028
86029
86030
86031
86032
86033   echo "$as_me:$LINENO: checking for logf declaration" >&5
86034 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
86035   if test x${glibcxx_cv_func_logf_use+set} != xset; then
86036     if test "${glibcxx_cv_func_logf_use+set}" = set; then
86037   echo $ECHO_N "(cached) $ECHO_C" >&6
86038 else
86039
86040
86041
86042       ac_ext=cc
86043 ac_cpp='$CXXCPP $CPPFLAGS'
86044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86047
86048       cat >conftest.$ac_ext <<_ACEOF
86049 /* confdefs.h.  */
86050 _ACEOF
86051 cat confdefs.h >>conftest.$ac_ext
86052 cat >>conftest.$ac_ext <<_ACEOF
86053 /* end confdefs.h.  */
86054 #include <math.h>
86055                       #ifdef HAVE_IEEEFP_H
86056                       #include <ieeefp.h>
86057                       #endif
86058
86059 int
86060 main ()
86061 {
86062  logf(0);
86063   ;
86064   return 0;
86065 }
86066 _ACEOF
86067 rm -f conftest.$ac_objext
86068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86069   (eval $ac_compile) 2>conftest.er1
86070   ac_status=$?
86071   grep -v '^ *+' conftest.er1 >conftest.err
86072   rm -f conftest.er1
86073   cat conftest.err >&5
86074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86075   (exit $ac_status); } &&
86076          { ac_try='test -z "$ac_cxx_werror_flag"
86077                          || test ! -s conftest.err'
86078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86079   (eval $ac_try) 2>&5
86080   ac_status=$?
86081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86082   (exit $ac_status); }; } &&
86083          { ac_try='test -s conftest.$ac_objext'
86084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86085   (eval $ac_try) 2>&5
86086   ac_status=$?
86087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86088   (exit $ac_status); }; }; then
86089   glibcxx_cv_func_logf_use=yes
86090 else
86091   echo "$as_me: failed program was:" >&5
86092 sed 's/^/| /' conftest.$ac_ext >&5
86093
86094 glibcxx_cv_func_logf_use=no
86095 fi
86096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86097       ac_ext=c
86098 ac_cpp='$CPP $CPPFLAGS'
86099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86102
86103
86104 fi
86105
86106   fi
86107   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
86108 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
86109
86110   if test x$glibcxx_cv_func_logf_use = x"yes"; then
86111
86112 for ac_func in logf
86113 do
86114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86115 echo "$as_me:$LINENO: checking for $ac_func" >&5
86116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86117 if eval "test \"\${$as_ac_var+set}\" = set"; then
86118   echo $ECHO_N "(cached) $ECHO_C" >&6
86119 else
86120   if test x$gcc_no_link = xyes; then
86121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86123    { (exit 1); exit 1; }; }
86124 fi
86125 cat >conftest.$ac_ext <<_ACEOF
86126 /* confdefs.h.  */
86127 _ACEOF
86128 cat confdefs.h >>conftest.$ac_ext
86129 cat >>conftest.$ac_ext <<_ACEOF
86130 /* end confdefs.h.  */
86131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86133 #define $ac_func innocuous_$ac_func
86134
86135 /* System header to define __stub macros and hopefully few prototypes,
86136     which can conflict with char $ac_func (); below.
86137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86138     <limits.h> exists even on freestanding compilers.  */
86139
86140 #ifdef __STDC__
86141 # include <limits.h>
86142 #else
86143 # include <assert.h>
86144 #endif
86145
86146 #undef $ac_func
86147
86148 /* Override any gcc2 internal prototype to avoid an error.  */
86149 #ifdef __cplusplus
86150 extern "C"
86151 {
86152 #endif
86153 /* We use char because int might match the return type of a gcc2
86154    builtin and then its argument prototype would still apply.  */
86155 char $ac_func ();
86156 /* The GNU C library defines this for functions which it implements
86157     to always fail with ENOSYS.  Some functions are actually named
86158     something starting with __ and the normal name is an alias.  */
86159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86160 choke me
86161 #else
86162 char (*f) () = $ac_func;
86163 #endif
86164 #ifdef __cplusplus
86165 }
86166 #endif
86167
86168 int
86169 main ()
86170 {
86171 return f != $ac_func;
86172   ;
86173   return 0;
86174 }
86175 _ACEOF
86176 rm -f conftest.$ac_objext conftest$ac_exeext
86177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86178   (eval $ac_link) 2>conftest.er1
86179   ac_status=$?
86180   grep -v '^ *+' conftest.er1 >conftest.err
86181   rm -f conftest.er1
86182   cat conftest.err >&5
86183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86184   (exit $ac_status); } &&
86185          { ac_try='test -z "$ac_c_werror_flag"
86186                          || test ! -s conftest.err'
86187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86188   (eval $ac_try) 2>&5
86189   ac_status=$?
86190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86191   (exit $ac_status); }; } &&
86192          { ac_try='test -s conftest$ac_exeext'
86193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86194   (eval $ac_try) 2>&5
86195   ac_status=$?
86196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86197   (exit $ac_status); }; }; then
86198   eval "$as_ac_var=yes"
86199 else
86200   echo "$as_me: failed program was:" >&5
86201 sed 's/^/| /' conftest.$ac_ext >&5
86202
86203 eval "$as_ac_var=no"
86204 fi
86205 rm -f conftest.err conftest.$ac_objext \
86206       conftest$ac_exeext conftest.$ac_ext
86207 fi
86208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86210 if test `eval echo '${'$as_ac_var'}'` = yes; then
86211   cat >>confdefs.h <<_ACEOF
86212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86213 _ACEOF
86214
86215 fi
86216 done
86217
86218   else
86219
86220   echo "$as_me:$LINENO: checking for _logf declaration" >&5
86221 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
86222   if test x${glibcxx_cv_func__logf_use+set} != xset; then
86223     if test "${glibcxx_cv_func__logf_use+set}" = set; then
86224   echo $ECHO_N "(cached) $ECHO_C" >&6
86225 else
86226
86227
86228
86229       ac_ext=cc
86230 ac_cpp='$CXXCPP $CPPFLAGS'
86231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86234
86235       cat >conftest.$ac_ext <<_ACEOF
86236 /* confdefs.h.  */
86237 _ACEOF
86238 cat confdefs.h >>conftest.$ac_ext
86239 cat >>conftest.$ac_ext <<_ACEOF
86240 /* end confdefs.h.  */
86241 #include <math.h>
86242                       #ifdef HAVE_IEEEFP_H
86243                       #include <ieeefp.h>
86244                       #endif
86245
86246 int
86247 main ()
86248 {
86249  _logf(0);
86250   ;
86251   return 0;
86252 }
86253 _ACEOF
86254 rm -f conftest.$ac_objext
86255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86256   (eval $ac_compile) 2>conftest.er1
86257   ac_status=$?
86258   grep -v '^ *+' conftest.er1 >conftest.err
86259   rm -f conftest.er1
86260   cat conftest.err >&5
86261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86262   (exit $ac_status); } &&
86263          { ac_try='test -z "$ac_cxx_werror_flag"
86264                          || test ! -s conftest.err'
86265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86266   (eval $ac_try) 2>&5
86267   ac_status=$?
86268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86269   (exit $ac_status); }; } &&
86270          { ac_try='test -s conftest.$ac_objext'
86271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86272   (eval $ac_try) 2>&5
86273   ac_status=$?
86274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86275   (exit $ac_status); }; }; then
86276   glibcxx_cv_func__logf_use=yes
86277 else
86278   echo "$as_me: failed program was:" >&5
86279 sed 's/^/| /' conftest.$ac_ext >&5
86280
86281 glibcxx_cv_func__logf_use=no
86282 fi
86283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86284       ac_ext=c
86285 ac_cpp='$CPP $CPPFLAGS'
86286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86289
86290
86291 fi
86292
86293   fi
86294   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
86295 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
86296
86297     if test x$glibcxx_cv_func__logf_use = x"yes"; then
86298
86299 for ac_func in _logf
86300 do
86301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86302 echo "$as_me:$LINENO: checking for $ac_func" >&5
86303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86304 if eval "test \"\${$as_ac_var+set}\" = set"; then
86305   echo $ECHO_N "(cached) $ECHO_C" >&6
86306 else
86307   if test x$gcc_no_link = xyes; then
86308   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86310    { (exit 1); exit 1; }; }
86311 fi
86312 cat >conftest.$ac_ext <<_ACEOF
86313 /* confdefs.h.  */
86314 _ACEOF
86315 cat confdefs.h >>conftest.$ac_ext
86316 cat >>conftest.$ac_ext <<_ACEOF
86317 /* end confdefs.h.  */
86318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86319    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86320 #define $ac_func innocuous_$ac_func
86321
86322 /* System header to define __stub macros and hopefully few prototypes,
86323     which can conflict with char $ac_func (); below.
86324     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86325     <limits.h> exists even on freestanding compilers.  */
86326
86327 #ifdef __STDC__
86328 # include <limits.h>
86329 #else
86330 # include <assert.h>
86331 #endif
86332
86333 #undef $ac_func
86334
86335 /* Override any gcc2 internal prototype to avoid an error.  */
86336 #ifdef __cplusplus
86337 extern "C"
86338 {
86339 #endif
86340 /* We use char because int might match the return type of a gcc2
86341    builtin and then its argument prototype would still apply.  */
86342 char $ac_func ();
86343 /* The GNU C library defines this for functions which it implements
86344     to always fail with ENOSYS.  Some functions are actually named
86345     something starting with __ and the normal name is an alias.  */
86346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86347 choke me
86348 #else
86349 char (*f) () = $ac_func;
86350 #endif
86351 #ifdef __cplusplus
86352 }
86353 #endif
86354
86355 int
86356 main ()
86357 {
86358 return f != $ac_func;
86359   ;
86360   return 0;
86361 }
86362 _ACEOF
86363 rm -f conftest.$ac_objext conftest$ac_exeext
86364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86365   (eval $ac_link) 2>conftest.er1
86366   ac_status=$?
86367   grep -v '^ *+' conftest.er1 >conftest.err
86368   rm -f conftest.er1
86369   cat conftest.err >&5
86370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86371   (exit $ac_status); } &&
86372          { ac_try='test -z "$ac_c_werror_flag"
86373                          || test ! -s conftest.err'
86374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86375   (eval $ac_try) 2>&5
86376   ac_status=$?
86377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86378   (exit $ac_status); }; } &&
86379          { ac_try='test -s conftest$ac_exeext'
86380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86381   (eval $ac_try) 2>&5
86382   ac_status=$?
86383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86384   (exit $ac_status); }; }; then
86385   eval "$as_ac_var=yes"
86386 else
86387   echo "$as_me: failed program was:" >&5
86388 sed 's/^/| /' conftest.$ac_ext >&5
86389
86390 eval "$as_ac_var=no"
86391 fi
86392 rm -f conftest.err conftest.$ac_objext \
86393       conftest$ac_exeext conftest.$ac_ext
86394 fi
86395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86397 if test `eval echo '${'$as_ac_var'}'` = yes; then
86398   cat >>confdefs.h <<_ACEOF
86399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86400 _ACEOF
86401
86402 fi
86403 done
86404
86405     fi
86406   fi
86407
86408
86409
86410
86411
86412
86413   echo "$as_me:$LINENO: checking for log10f declaration" >&5
86414 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
86415   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
86416     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
86417   echo $ECHO_N "(cached) $ECHO_C" >&6
86418 else
86419
86420
86421
86422       ac_ext=cc
86423 ac_cpp='$CXXCPP $CPPFLAGS'
86424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86427
86428       cat >conftest.$ac_ext <<_ACEOF
86429 /* confdefs.h.  */
86430 _ACEOF
86431 cat confdefs.h >>conftest.$ac_ext
86432 cat >>conftest.$ac_ext <<_ACEOF
86433 /* end confdefs.h.  */
86434 #include <math.h>
86435                       #ifdef HAVE_IEEEFP_H
86436                       #include <ieeefp.h>
86437                       #endif
86438
86439 int
86440 main ()
86441 {
86442  log10f(0);
86443   ;
86444   return 0;
86445 }
86446 _ACEOF
86447 rm -f conftest.$ac_objext
86448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86449   (eval $ac_compile) 2>conftest.er1
86450   ac_status=$?
86451   grep -v '^ *+' conftest.er1 >conftest.err
86452   rm -f conftest.er1
86453   cat conftest.err >&5
86454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86455   (exit $ac_status); } &&
86456          { ac_try='test -z "$ac_cxx_werror_flag"
86457                          || test ! -s conftest.err'
86458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86459   (eval $ac_try) 2>&5
86460   ac_status=$?
86461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86462   (exit $ac_status); }; } &&
86463          { ac_try='test -s conftest.$ac_objext'
86464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86465   (eval $ac_try) 2>&5
86466   ac_status=$?
86467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86468   (exit $ac_status); }; }; then
86469   glibcxx_cv_func_log10f_use=yes
86470 else
86471   echo "$as_me: failed program was:" >&5
86472 sed 's/^/| /' conftest.$ac_ext >&5
86473
86474 glibcxx_cv_func_log10f_use=no
86475 fi
86476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86477       ac_ext=c
86478 ac_cpp='$CPP $CPPFLAGS'
86479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86482
86483
86484 fi
86485
86486   fi
86487   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
86488 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
86489
86490   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
86491
86492 for ac_func in log10f
86493 do
86494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86495 echo "$as_me:$LINENO: checking for $ac_func" >&5
86496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86497 if eval "test \"\${$as_ac_var+set}\" = set"; then
86498   echo $ECHO_N "(cached) $ECHO_C" >&6
86499 else
86500   if test x$gcc_no_link = xyes; then
86501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86503    { (exit 1); exit 1; }; }
86504 fi
86505 cat >conftest.$ac_ext <<_ACEOF
86506 /* confdefs.h.  */
86507 _ACEOF
86508 cat confdefs.h >>conftest.$ac_ext
86509 cat >>conftest.$ac_ext <<_ACEOF
86510 /* end confdefs.h.  */
86511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86512    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86513 #define $ac_func innocuous_$ac_func
86514
86515 /* System header to define __stub macros and hopefully few prototypes,
86516     which can conflict with char $ac_func (); below.
86517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86518     <limits.h> exists even on freestanding compilers.  */
86519
86520 #ifdef __STDC__
86521 # include <limits.h>
86522 #else
86523 # include <assert.h>
86524 #endif
86525
86526 #undef $ac_func
86527
86528 /* Override any gcc2 internal prototype to avoid an error.  */
86529 #ifdef __cplusplus
86530 extern "C"
86531 {
86532 #endif
86533 /* We use char because int might match the return type of a gcc2
86534    builtin and then its argument prototype would still apply.  */
86535 char $ac_func ();
86536 /* The GNU C library defines this for functions which it implements
86537     to always fail with ENOSYS.  Some functions are actually named
86538     something starting with __ and the normal name is an alias.  */
86539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86540 choke me
86541 #else
86542 char (*f) () = $ac_func;
86543 #endif
86544 #ifdef __cplusplus
86545 }
86546 #endif
86547
86548 int
86549 main ()
86550 {
86551 return f != $ac_func;
86552   ;
86553   return 0;
86554 }
86555 _ACEOF
86556 rm -f conftest.$ac_objext conftest$ac_exeext
86557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86558   (eval $ac_link) 2>conftest.er1
86559   ac_status=$?
86560   grep -v '^ *+' conftest.er1 >conftest.err
86561   rm -f conftest.er1
86562   cat conftest.err >&5
86563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86564   (exit $ac_status); } &&
86565          { ac_try='test -z "$ac_c_werror_flag"
86566                          || test ! -s conftest.err'
86567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86568   (eval $ac_try) 2>&5
86569   ac_status=$?
86570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86571   (exit $ac_status); }; } &&
86572          { ac_try='test -s conftest$ac_exeext'
86573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86574   (eval $ac_try) 2>&5
86575   ac_status=$?
86576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86577   (exit $ac_status); }; }; then
86578   eval "$as_ac_var=yes"
86579 else
86580   echo "$as_me: failed program was:" >&5
86581 sed 's/^/| /' conftest.$ac_ext >&5
86582
86583 eval "$as_ac_var=no"
86584 fi
86585 rm -f conftest.err conftest.$ac_objext \
86586       conftest$ac_exeext conftest.$ac_ext
86587 fi
86588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86590 if test `eval echo '${'$as_ac_var'}'` = yes; then
86591   cat >>confdefs.h <<_ACEOF
86592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86593 _ACEOF
86594
86595 fi
86596 done
86597
86598   else
86599
86600   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
86601 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
86602   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
86603     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
86604   echo $ECHO_N "(cached) $ECHO_C" >&6
86605 else
86606
86607
86608
86609       ac_ext=cc
86610 ac_cpp='$CXXCPP $CPPFLAGS'
86611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86614
86615       cat >conftest.$ac_ext <<_ACEOF
86616 /* confdefs.h.  */
86617 _ACEOF
86618 cat confdefs.h >>conftest.$ac_ext
86619 cat >>conftest.$ac_ext <<_ACEOF
86620 /* end confdefs.h.  */
86621 #include <math.h>
86622                       #ifdef HAVE_IEEEFP_H
86623                       #include <ieeefp.h>
86624                       #endif
86625
86626 int
86627 main ()
86628 {
86629  _log10f(0);
86630   ;
86631   return 0;
86632 }
86633 _ACEOF
86634 rm -f conftest.$ac_objext
86635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86636   (eval $ac_compile) 2>conftest.er1
86637   ac_status=$?
86638   grep -v '^ *+' conftest.er1 >conftest.err
86639   rm -f conftest.er1
86640   cat conftest.err >&5
86641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86642   (exit $ac_status); } &&
86643          { ac_try='test -z "$ac_cxx_werror_flag"
86644                          || test ! -s conftest.err'
86645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86646   (eval $ac_try) 2>&5
86647   ac_status=$?
86648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86649   (exit $ac_status); }; } &&
86650          { ac_try='test -s conftest.$ac_objext'
86651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86652   (eval $ac_try) 2>&5
86653   ac_status=$?
86654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86655   (exit $ac_status); }; }; then
86656   glibcxx_cv_func__log10f_use=yes
86657 else
86658   echo "$as_me: failed program was:" >&5
86659 sed 's/^/| /' conftest.$ac_ext >&5
86660
86661 glibcxx_cv_func__log10f_use=no
86662 fi
86663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86664       ac_ext=c
86665 ac_cpp='$CPP $CPPFLAGS'
86666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86669
86670
86671 fi
86672
86673   fi
86674   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
86675 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
86676
86677     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
86678
86679 for ac_func in _log10f
86680 do
86681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86682 echo "$as_me:$LINENO: checking for $ac_func" >&5
86683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86684 if eval "test \"\${$as_ac_var+set}\" = set"; then
86685   echo $ECHO_N "(cached) $ECHO_C" >&6
86686 else
86687   if test x$gcc_no_link = xyes; then
86688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86690    { (exit 1); exit 1; }; }
86691 fi
86692 cat >conftest.$ac_ext <<_ACEOF
86693 /* confdefs.h.  */
86694 _ACEOF
86695 cat confdefs.h >>conftest.$ac_ext
86696 cat >>conftest.$ac_ext <<_ACEOF
86697 /* end confdefs.h.  */
86698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86699    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86700 #define $ac_func innocuous_$ac_func
86701
86702 /* System header to define __stub macros and hopefully few prototypes,
86703     which can conflict with char $ac_func (); below.
86704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86705     <limits.h> exists even on freestanding compilers.  */
86706
86707 #ifdef __STDC__
86708 # include <limits.h>
86709 #else
86710 # include <assert.h>
86711 #endif
86712
86713 #undef $ac_func
86714
86715 /* Override any gcc2 internal prototype to avoid an error.  */
86716 #ifdef __cplusplus
86717 extern "C"
86718 {
86719 #endif
86720 /* We use char because int might match the return type of a gcc2
86721    builtin and then its argument prototype would still apply.  */
86722 char $ac_func ();
86723 /* The GNU C library defines this for functions which it implements
86724     to always fail with ENOSYS.  Some functions are actually named
86725     something starting with __ and the normal name is an alias.  */
86726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86727 choke me
86728 #else
86729 char (*f) () = $ac_func;
86730 #endif
86731 #ifdef __cplusplus
86732 }
86733 #endif
86734
86735 int
86736 main ()
86737 {
86738 return f != $ac_func;
86739   ;
86740   return 0;
86741 }
86742 _ACEOF
86743 rm -f conftest.$ac_objext conftest$ac_exeext
86744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86745   (eval $ac_link) 2>conftest.er1
86746   ac_status=$?
86747   grep -v '^ *+' conftest.er1 >conftest.err
86748   rm -f conftest.er1
86749   cat conftest.err >&5
86750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86751   (exit $ac_status); } &&
86752          { ac_try='test -z "$ac_c_werror_flag"
86753                          || test ! -s conftest.err'
86754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86755   (eval $ac_try) 2>&5
86756   ac_status=$?
86757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86758   (exit $ac_status); }; } &&
86759          { ac_try='test -s conftest$ac_exeext'
86760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86761   (eval $ac_try) 2>&5
86762   ac_status=$?
86763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86764   (exit $ac_status); }; }; then
86765   eval "$as_ac_var=yes"
86766 else
86767   echo "$as_me: failed program was:" >&5
86768 sed 's/^/| /' conftest.$ac_ext >&5
86769
86770 eval "$as_ac_var=no"
86771 fi
86772 rm -f conftest.err conftest.$ac_objext \
86773       conftest$ac_exeext conftest.$ac_ext
86774 fi
86775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86777 if test `eval echo '${'$as_ac_var'}'` = yes; then
86778   cat >>confdefs.h <<_ACEOF
86779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86780 _ACEOF
86781
86782 fi
86783 done
86784
86785     fi
86786   fi
86787
86788
86789
86790
86791
86792
86793   echo "$as_me:$LINENO: checking for modff declaration" >&5
86794 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
86795   if test x${glibcxx_cv_func_modff_use+set} != xset; then
86796     if test "${glibcxx_cv_func_modff_use+set}" = set; then
86797   echo $ECHO_N "(cached) $ECHO_C" >&6
86798 else
86799
86800
86801
86802       ac_ext=cc
86803 ac_cpp='$CXXCPP $CPPFLAGS'
86804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86807
86808       cat >conftest.$ac_ext <<_ACEOF
86809 /* confdefs.h.  */
86810 _ACEOF
86811 cat confdefs.h >>conftest.$ac_ext
86812 cat >>conftest.$ac_ext <<_ACEOF
86813 /* end confdefs.h.  */
86814 #include <math.h>
86815 int
86816 main ()
86817 {
86818  modff(0, 0);
86819   ;
86820   return 0;
86821 }
86822 _ACEOF
86823 rm -f conftest.$ac_objext
86824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86825   (eval $ac_compile) 2>conftest.er1
86826   ac_status=$?
86827   grep -v '^ *+' conftest.er1 >conftest.err
86828   rm -f conftest.er1
86829   cat conftest.err >&5
86830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86831   (exit $ac_status); } &&
86832          { ac_try='test -z "$ac_cxx_werror_flag"
86833                          || test ! -s conftest.err'
86834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86835   (eval $ac_try) 2>&5
86836   ac_status=$?
86837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86838   (exit $ac_status); }; } &&
86839          { ac_try='test -s conftest.$ac_objext'
86840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86841   (eval $ac_try) 2>&5
86842   ac_status=$?
86843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86844   (exit $ac_status); }; }; then
86845   glibcxx_cv_func_modff_use=yes
86846 else
86847   echo "$as_me: failed program was:" >&5
86848 sed 's/^/| /' conftest.$ac_ext >&5
86849
86850 glibcxx_cv_func_modff_use=no
86851 fi
86852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86853       ac_ext=c
86854 ac_cpp='$CPP $CPPFLAGS'
86855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86858
86859
86860 fi
86861
86862   fi
86863   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
86864 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
86865
86866   if test x$glibcxx_cv_func_modff_use = x"yes"; then
86867
86868 for ac_func in modff
86869 do
86870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86871 echo "$as_me:$LINENO: checking for $ac_func" >&5
86872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86873 if eval "test \"\${$as_ac_var+set}\" = set"; then
86874   echo $ECHO_N "(cached) $ECHO_C" >&6
86875 else
86876   if test x$gcc_no_link = xyes; then
86877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86879    { (exit 1); exit 1; }; }
86880 fi
86881 cat >conftest.$ac_ext <<_ACEOF
86882 /* confdefs.h.  */
86883 _ACEOF
86884 cat confdefs.h >>conftest.$ac_ext
86885 cat >>conftest.$ac_ext <<_ACEOF
86886 /* end confdefs.h.  */
86887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86889 #define $ac_func innocuous_$ac_func
86890
86891 /* System header to define __stub macros and hopefully few prototypes,
86892     which can conflict with char $ac_func (); below.
86893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86894     <limits.h> exists even on freestanding compilers.  */
86895
86896 #ifdef __STDC__
86897 # include <limits.h>
86898 #else
86899 # include <assert.h>
86900 #endif
86901
86902 #undef $ac_func
86903
86904 /* Override any gcc2 internal prototype to avoid an error.  */
86905 #ifdef __cplusplus
86906 extern "C"
86907 {
86908 #endif
86909 /* We use char because int might match the return type of a gcc2
86910    builtin and then its argument prototype would still apply.  */
86911 char $ac_func ();
86912 /* The GNU C library defines this for functions which it implements
86913     to always fail with ENOSYS.  Some functions are actually named
86914     something starting with __ and the normal name is an alias.  */
86915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86916 choke me
86917 #else
86918 char (*f) () = $ac_func;
86919 #endif
86920 #ifdef __cplusplus
86921 }
86922 #endif
86923
86924 int
86925 main ()
86926 {
86927 return f != $ac_func;
86928   ;
86929   return 0;
86930 }
86931 _ACEOF
86932 rm -f conftest.$ac_objext conftest$ac_exeext
86933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86934   (eval $ac_link) 2>conftest.er1
86935   ac_status=$?
86936   grep -v '^ *+' conftest.er1 >conftest.err
86937   rm -f conftest.er1
86938   cat conftest.err >&5
86939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86940   (exit $ac_status); } &&
86941          { ac_try='test -z "$ac_c_werror_flag"
86942                          || test ! -s conftest.err'
86943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86944   (eval $ac_try) 2>&5
86945   ac_status=$?
86946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86947   (exit $ac_status); }; } &&
86948          { ac_try='test -s conftest$ac_exeext'
86949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86950   (eval $ac_try) 2>&5
86951   ac_status=$?
86952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86953   (exit $ac_status); }; }; then
86954   eval "$as_ac_var=yes"
86955 else
86956   echo "$as_me: failed program was:" >&5
86957 sed 's/^/| /' conftest.$ac_ext >&5
86958
86959 eval "$as_ac_var=no"
86960 fi
86961 rm -f conftest.err conftest.$ac_objext \
86962       conftest$ac_exeext conftest.$ac_ext
86963 fi
86964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86966 if test `eval echo '${'$as_ac_var'}'` = yes; then
86967   cat >>confdefs.h <<_ACEOF
86968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86969 _ACEOF
86970
86971 fi
86972 done
86973
86974   else
86975
86976   echo "$as_me:$LINENO: checking for _modff declaration" >&5
86977 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
86978   if test x${glibcxx_cv_func__modff_use+set} != xset; then
86979     if test "${glibcxx_cv_func__modff_use+set}" = set; then
86980   echo $ECHO_N "(cached) $ECHO_C" >&6
86981 else
86982
86983
86984
86985       ac_ext=cc
86986 ac_cpp='$CXXCPP $CPPFLAGS'
86987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86990
86991       cat >conftest.$ac_ext <<_ACEOF
86992 /* confdefs.h.  */
86993 _ACEOF
86994 cat confdefs.h >>conftest.$ac_ext
86995 cat >>conftest.$ac_ext <<_ACEOF
86996 /* end confdefs.h.  */
86997 #include <math.h>
86998 int
86999 main ()
87000 {
87001  _modff(0, 0);
87002   ;
87003   return 0;
87004 }
87005 _ACEOF
87006 rm -f conftest.$ac_objext
87007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87008   (eval $ac_compile) 2>conftest.er1
87009   ac_status=$?
87010   grep -v '^ *+' conftest.er1 >conftest.err
87011   rm -f conftest.er1
87012   cat conftest.err >&5
87013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87014   (exit $ac_status); } &&
87015          { ac_try='test -z "$ac_cxx_werror_flag"
87016                          || test ! -s conftest.err'
87017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87018   (eval $ac_try) 2>&5
87019   ac_status=$?
87020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87021   (exit $ac_status); }; } &&
87022          { ac_try='test -s conftest.$ac_objext'
87023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87024   (eval $ac_try) 2>&5
87025   ac_status=$?
87026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87027   (exit $ac_status); }; }; then
87028   glibcxx_cv_func__modff_use=yes
87029 else
87030   echo "$as_me: failed program was:" >&5
87031 sed 's/^/| /' conftest.$ac_ext >&5
87032
87033 glibcxx_cv_func__modff_use=no
87034 fi
87035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87036       ac_ext=c
87037 ac_cpp='$CPP $CPPFLAGS'
87038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87041
87042
87043 fi
87044
87045   fi
87046   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
87047 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
87048
87049     if test x$glibcxx_cv_func__modff_use = x"yes"; then
87050
87051 for ac_func in _modff
87052 do
87053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87054 echo "$as_me:$LINENO: checking for $ac_func" >&5
87055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87056 if eval "test \"\${$as_ac_var+set}\" = set"; then
87057   echo $ECHO_N "(cached) $ECHO_C" >&6
87058 else
87059   if test x$gcc_no_link = xyes; then
87060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87062    { (exit 1); exit 1; }; }
87063 fi
87064 cat >conftest.$ac_ext <<_ACEOF
87065 /* confdefs.h.  */
87066 _ACEOF
87067 cat confdefs.h >>conftest.$ac_ext
87068 cat >>conftest.$ac_ext <<_ACEOF
87069 /* end confdefs.h.  */
87070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87071    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87072 #define $ac_func innocuous_$ac_func
87073
87074 /* System header to define __stub macros and hopefully few prototypes,
87075     which can conflict with char $ac_func (); below.
87076     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87077     <limits.h> exists even on freestanding compilers.  */
87078
87079 #ifdef __STDC__
87080 # include <limits.h>
87081 #else
87082 # include <assert.h>
87083 #endif
87084
87085 #undef $ac_func
87086
87087 /* Override any gcc2 internal prototype to avoid an error.  */
87088 #ifdef __cplusplus
87089 extern "C"
87090 {
87091 #endif
87092 /* We use char because int might match the return type of a gcc2
87093    builtin and then its argument prototype would still apply.  */
87094 char $ac_func ();
87095 /* The GNU C library defines this for functions which it implements
87096     to always fail with ENOSYS.  Some functions are actually named
87097     something starting with __ and the normal name is an alias.  */
87098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87099 choke me
87100 #else
87101 char (*f) () = $ac_func;
87102 #endif
87103 #ifdef __cplusplus
87104 }
87105 #endif
87106
87107 int
87108 main ()
87109 {
87110 return f != $ac_func;
87111   ;
87112   return 0;
87113 }
87114 _ACEOF
87115 rm -f conftest.$ac_objext conftest$ac_exeext
87116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87117   (eval $ac_link) 2>conftest.er1
87118   ac_status=$?
87119   grep -v '^ *+' conftest.er1 >conftest.err
87120   rm -f conftest.er1
87121   cat conftest.err >&5
87122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87123   (exit $ac_status); } &&
87124          { ac_try='test -z "$ac_c_werror_flag"
87125                          || test ! -s conftest.err'
87126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87127   (eval $ac_try) 2>&5
87128   ac_status=$?
87129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87130   (exit $ac_status); }; } &&
87131          { ac_try='test -s conftest$ac_exeext'
87132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87133   (eval $ac_try) 2>&5
87134   ac_status=$?
87135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87136   (exit $ac_status); }; }; then
87137   eval "$as_ac_var=yes"
87138 else
87139   echo "$as_me: failed program was:" >&5
87140 sed 's/^/| /' conftest.$ac_ext >&5
87141
87142 eval "$as_ac_var=no"
87143 fi
87144 rm -f conftest.err conftest.$ac_objext \
87145       conftest$ac_exeext conftest.$ac_ext
87146 fi
87147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87149 if test `eval echo '${'$as_ac_var'}'` = yes; then
87150   cat >>confdefs.h <<_ACEOF
87151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87152 _ACEOF
87153
87154 fi
87155 done
87156
87157     fi
87158   fi
87159
87160
87161
87162
87163
87164
87165   echo "$as_me:$LINENO: checking for modf declaration" >&5
87166 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
87167   if test x${glibcxx_cv_func_modf_use+set} != xset; then
87168     if test "${glibcxx_cv_func_modf_use+set}" = set; then
87169   echo $ECHO_N "(cached) $ECHO_C" >&6
87170 else
87171
87172
87173
87174       ac_ext=cc
87175 ac_cpp='$CXXCPP $CPPFLAGS'
87176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87179
87180       cat >conftest.$ac_ext <<_ACEOF
87181 /* confdefs.h.  */
87182 _ACEOF
87183 cat confdefs.h >>conftest.$ac_ext
87184 cat >>conftest.$ac_ext <<_ACEOF
87185 /* end confdefs.h.  */
87186 #include <math.h>
87187 int
87188 main ()
87189 {
87190  modf(0, 0);
87191   ;
87192   return 0;
87193 }
87194 _ACEOF
87195 rm -f conftest.$ac_objext
87196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87197   (eval $ac_compile) 2>conftest.er1
87198   ac_status=$?
87199   grep -v '^ *+' conftest.er1 >conftest.err
87200   rm -f conftest.er1
87201   cat conftest.err >&5
87202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87203   (exit $ac_status); } &&
87204          { ac_try='test -z "$ac_cxx_werror_flag"
87205                          || test ! -s conftest.err'
87206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87207   (eval $ac_try) 2>&5
87208   ac_status=$?
87209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87210   (exit $ac_status); }; } &&
87211          { ac_try='test -s conftest.$ac_objext'
87212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87213   (eval $ac_try) 2>&5
87214   ac_status=$?
87215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87216   (exit $ac_status); }; }; then
87217   glibcxx_cv_func_modf_use=yes
87218 else
87219   echo "$as_me: failed program was:" >&5
87220 sed 's/^/| /' conftest.$ac_ext >&5
87221
87222 glibcxx_cv_func_modf_use=no
87223 fi
87224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87225       ac_ext=c
87226 ac_cpp='$CPP $CPPFLAGS'
87227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87230
87231
87232 fi
87233
87234   fi
87235   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
87236 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
87237
87238   if test x$glibcxx_cv_func_modf_use = x"yes"; then
87239
87240 for ac_func in modf
87241 do
87242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87243 echo "$as_me:$LINENO: checking for $ac_func" >&5
87244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87245 if eval "test \"\${$as_ac_var+set}\" = set"; then
87246   echo $ECHO_N "(cached) $ECHO_C" >&6
87247 else
87248   if test x$gcc_no_link = xyes; then
87249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87251    { (exit 1); exit 1; }; }
87252 fi
87253 cat >conftest.$ac_ext <<_ACEOF
87254 /* confdefs.h.  */
87255 _ACEOF
87256 cat confdefs.h >>conftest.$ac_ext
87257 cat >>conftest.$ac_ext <<_ACEOF
87258 /* end confdefs.h.  */
87259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87260    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87261 #define $ac_func innocuous_$ac_func
87262
87263 /* System header to define __stub macros and hopefully few prototypes,
87264     which can conflict with char $ac_func (); below.
87265     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87266     <limits.h> exists even on freestanding compilers.  */
87267
87268 #ifdef __STDC__
87269 # include <limits.h>
87270 #else
87271 # include <assert.h>
87272 #endif
87273
87274 #undef $ac_func
87275
87276 /* Override any gcc2 internal prototype to avoid an error.  */
87277 #ifdef __cplusplus
87278 extern "C"
87279 {
87280 #endif
87281 /* We use char because int might match the return type of a gcc2
87282    builtin and then its argument prototype would still apply.  */
87283 char $ac_func ();
87284 /* The GNU C library defines this for functions which it implements
87285     to always fail with ENOSYS.  Some functions are actually named
87286     something starting with __ and the normal name is an alias.  */
87287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87288 choke me
87289 #else
87290 char (*f) () = $ac_func;
87291 #endif
87292 #ifdef __cplusplus
87293 }
87294 #endif
87295
87296 int
87297 main ()
87298 {
87299 return f != $ac_func;
87300   ;
87301   return 0;
87302 }
87303 _ACEOF
87304 rm -f conftest.$ac_objext conftest$ac_exeext
87305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87306   (eval $ac_link) 2>conftest.er1
87307   ac_status=$?
87308   grep -v '^ *+' conftest.er1 >conftest.err
87309   rm -f conftest.er1
87310   cat conftest.err >&5
87311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87312   (exit $ac_status); } &&
87313          { ac_try='test -z "$ac_c_werror_flag"
87314                          || test ! -s conftest.err'
87315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87316   (eval $ac_try) 2>&5
87317   ac_status=$?
87318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87319   (exit $ac_status); }; } &&
87320          { ac_try='test -s conftest$ac_exeext'
87321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87322   (eval $ac_try) 2>&5
87323   ac_status=$?
87324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87325   (exit $ac_status); }; }; then
87326   eval "$as_ac_var=yes"
87327 else
87328   echo "$as_me: failed program was:" >&5
87329 sed 's/^/| /' conftest.$ac_ext >&5
87330
87331 eval "$as_ac_var=no"
87332 fi
87333 rm -f conftest.err conftest.$ac_objext \
87334       conftest$ac_exeext conftest.$ac_ext
87335 fi
87336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87338 if test `eval echo '${'$as_ac_var'}'` = yes; then
87339   cat >>confdefs.h <<_ACEOF
87340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87341 _ACEOF
87342
87343 fi
87344 done
87345
87346   else
87347
87348   echo "$as_me:$LINENO: checking for _modf declaration" >&5
87349 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
87350   if test x${glibcxx_cv_func__modf_use+set} != xset; then
87351     if test "${glibcxx_cv_func__modf_use+set}" = set; then
87352   echo $ECHO_N "(cached) $ECHO_C" >&6
87353 else
87354
87355
87356
87357       ac_ext=cc
87358 ac_cpp='$CXXCPP $CPPFLAGS'
87359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87362
87363       cat >conftest.$ac_ext <<_ACEOF
87364 /* confdefs.h.  */
87365 _ACEOF
87366 cat confdefs.h >>conftest.$ac_ext
87367 cat >>conftest.$ac_ext <<_ACEOF
87368 /* end confdefs.h.  */
87369 #include <math.h>
87370 int
87371 main ()
87372 {
87373  _modf(0, 0);
87374   ;
87375   return 0;
87376 }
87377 _ACEOF
87378 rm -f conftest.$ac_objext
87379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87380   (eval $ac_compile) 2>conftest.er1
87381   ac_status=$?
87382   grep -v '^ *+' conftest.er1 >conftest.err
87383   rm -f conftest.er1
87384   cat conftest.err >&5
87385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87386   (exit $ac_status); } &&
87387          { ac_try='test -z "$ac_cxx_werror_flag"
87388                          || test ! -s conftest.err'
87389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87390   (eval $ac_try) 2>&5
87391   ac_status=$?
87392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87393   (exit $ac_status); }; } &&
87394          { ac_try='test -s conftest.$ac_objext'
87395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87396   (eval $ac_try) 2>&5
87397   ac_status=$?
87398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87399   (exit $ac_status); }; }; then
87400   glibcxx_cv_func__modf_use=yes
87401 else
87402   echo "$as_me: failed program was:" >&5
87403 sed 's/^/| /' conftest.$ac_ext >&5
87404
87405 glibcxx_cv_func__modf_use=no
87406 fi
87407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87408       ac_ext=c
87409 ac_cpp='$CPP $CPPFLAGS'
87410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87413
87414
87415 fi
87416
87417   fi
87418   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
87419 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
87420
87421     if test x$glibcxx_cv_func__modf_use = x"yes"; then
87422
87423 for ac_func in _modf
87424 do
87425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87426 echo "$as_me:$LINENO: checking for $ac_func" >&5
87427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87428 if eval "test \"\${$as_ac_var+set}\" = set"; then
87429   echo $ECHO_N "(cached) $ECHO_C" >&6
87430 else
87431   if test x$gcc_no_link = xyes; then
87432   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87434    { (exit 1); exit 1; }; }
87435 fi
87436 cat >conftest.$ac_ext <<_ACEOF
87437 /* confdefs.h.  */
87438 _ACEOF
87439 cat confdefs.h >>conftest.$ac_ext
87440 cat >>conftest.$ac_ext <<_ACEOF
87441 /* end confdefs.h.  */
87442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87443    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87444 #define $ac_func innocuous_$ac_func
87445
87446 /* System header to define __stub macros and hopefully few prototypes,
87447     which can conflict with char $ac_func (); below.
87448     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87449     <limits.h> exists even on freestanding compilers.  */
87450
87451 #ifdef __STDC__
87452 # include <limits.h>
87453 #else
87454 # include <assert.h>
87455 #endif
87456
87457 #undef $ac_func
87458
87459 /* Override any gcc2 internal prototype to avoid an error.  */
87460 #ifdef __cplusplus
87461 extern "C"
87462 {
87463 #endif
87464 /* We use char because int might match the return type of a gcc2
87465    builtin and then its argument prototype would still apply.  */
87466 char $ac_func ();
87467 /* The GNU C library defines this for functions which it implements
87468     to always fail with ENOSYS.  Some functions are actually named
87469     something starting with __ and the normal name is an alias.  */
87470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87471 choke me
87472 #else
87473 char (*f) () = $ac_func;
87474 #endif
87475 #ifdef __cplusplus
87476 }
87477 #endif
87478
87479 int
87480 main ()
87481 {
87482 return f != $ac_func;
87483   ;
87484   return 0;
87485 }
87486 _ACEOF
87487 rm -f conftest.$ac_objext conftest$ac_exeext
87488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87489   (eval $ac_link) 2>conftest.er1
87490   ac_status=$?
87491   grep -v '^ *+' conftest.er1 >conftest.err
87492   rm -f conftest.er1
87493   cat conftest.err >&5
87494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87495   (exit $ac_status); } &&
87496          { ac_try='test -z "$ac_c_werror_flag"
87497                          || test ! -s conftest.err'
87498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87499   (eval $ac_try) 2>&5
87500   ac_status=$?
87501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87502   (exit $ac_status); }; } &&
87503          { ac_try='test -s conftest$ac_exeext'
87504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87505   (eval $ac_try) 2>&5
87506   ac_status=$?
87507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87508   (exit $ac_status); }; }; then
87509   eval "$as_ac_var=yes"
87510 else
87511   echo "$as_me: failed program was:" >&5
87512 sed 's/^/| /' conftest.$ac_ext >&5
87513
87514 eval "$as_ac_var=no"
87515 fi
87516 rm -f conftest.err conftest.$ac_objext \
87517       conftest$ac_exeext conftest.$ac_ext
87518 fi
87519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87521 if test `eval echo '${'$as_ac_var'}'` = yes; then
87522   cat >>confdefs.h <<_ACEOF
87523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87524 _ACEOF
87525
87526 fi
87527 done
87528
87529     fi
87530   fi
87531
87532
87533
87534
87535
87536
87537   echo "$as_me:$LINENO: checking for powf declaration" >&5
87538 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
87539   if test x${glibcxx_cv_func_powf_use+set} != xset; then
87540     if test "${glibcxx_cv_func_powf_use+set}" = set; then
87541   echo $ECHO_N "(cached) $ECHO_C" >&6
87542 else
87543
87544
87545
87546       ac_ext=cc
87547 ac_cpp='$CXXCPP $CPPFLAGS'
87548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87551
87552       cat >conftest.$ac_ext <<_ACEOF
87553 /* confdefs.h.  */
87554 _ACEOF
87555 cat confdefs.h >>conftest.$ac_ext
87556 cat >>conftest.$ac_ext <<_ACEOF
87557 /* end confdefs.h.  */
87558 #include <math.h>
87559 int
87560 main ()
87561 {
87562  powf(0, 0);
87563   ;
87564   return 0;
87565 }
87566 _ACEOF
87567 rm -f conftest.$ac_objext
87568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87569   (eval $ac_compile) 2>conftest.er1
87570   ac_status=$?
87571   grep -v '^ *+' conftest.er1 >conftest.err
87572   rm -f conftest.er1
87573   cat conftest.err >&5
87574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87575   (exit $ac_status); } &&
87576          { ac_try='test -z "$ac_cxx_werror_flag"
87577                          || test ! -s conftest.err'
87578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87579   (eval $ac_try) 2>&5
87580   ac_status=$?
87581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87582   (exit $ac_status); }; } &&
87583          { ac_try='test -s conftest.$ac_objext'
87584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87585   (eval $ac_try) 2>&5
87586   ac_status=$?
87587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87588   (exit $ac_status); }; }; then
87589   glibcxx_cv_func_powf_use=yes
87590 else
87591   echo "$as_me: failed program was:" >&5
87592 sed 's/^/| /' conftest.$ac_ext >&5
87593
87594 glibcxx_cv_func_powf_use=no
87595 fi
87596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87597       ac_ext=c
87598 ac_cpp='$CPP $CPPFLAGS'
87599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87602
87603
87604 fi
87605
87606   fi
87607   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
87608 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
87609
87610   if test x$glibcxx_cv_func_powf_use = x"yes"; then
87611
87612 for ac_func in powf
87613 do
87614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87615 echo "$as_me:$LINENO: checking for $ac_func" >&5
87616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87617 if eval "test \"\${$as_ac_var+set}\" = set"; then
87618   echo $ECHO_N "(cached) $ECHO_C" >&6
87619 else
87620   if test x$gcc_no_link = xyes; then
87621   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87623    { (exit 1); exit 1; }; }
87624 fi
87625 cat >conftest.$ac_ext <<_ACEOF
87626 /* confdefs.h.  */
87627 _ACEOF
87628 cat confdefs.h >>conftest.$ac_ext
87629 cat >>conftest.$ac_ext <<_ACEOF
87630 /* end confdefs.h.  */
87631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87632    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87633 #define $ac_func innocuous_$ac_func
87634
87635 /* System header to define __stub macros and hopefully few prototypes,
87636     which can conflict with char $ac_func (); below.
87637     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87638     <limits.h> exists even on freestanding compilers.  */
87639
87640 #ifdef __STDC__
87641 # include <limits.h>
87642 #else
87643 # include <assert.h>
87644 #endif
87645
87646 #undef $ac_func
87647
87648 /* Override any gcc2 internal prototype to avoid an error.  */
87649 #ifdef __cplusplus
87650 extern "C"
87651 {
87652 #endif
87653 /* We use char because int might match the return type of a gcc2
87654    builtin and then its argument prototype would still apply.  */
87655 char $ac_func ();
87656 /* The GNU C library defines this for functions which it implements
87657     to always fail with ENOSYS.  Some functions are actually named
87658     something starting with __ and the normal name is an alias.  */
87659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87660 choke me
87661 #else
87662 char (*f) () = $ac_func;
87663 #endif
87664 #ifdef __cplusplus
87665 }
87666 #endif
87667
87668 int
87669 main ()
87670 {
87671 return f != $ac_func;
87672   ;
87673   return 0;
87674 }
87675 _ACEOF
87676 rm -f conftest.$ac_objext conftest$ac_exeext
87677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87678   (eval $ac_link) 2>conftest.er1
87679   ac_status=$?
87680   grep -v '^ *+' conftest.er1 >conftest.err
87681   rm -f conftest.er1
87682   cat conftest.err >&5
87683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87684   (exit $ac_status); } &&
87685          { ac_try='test -z "$ac_c_werror_flag"
87686                          || test ! -s conftest.err'
87687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87688   (eval $ac_try) 2>&5
87689   ac_status=$?
87690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87691   (exit $ac_status); }; } &&
87692          { ac_try='test -s conftest$ac_exeext'
87693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87694   (eval $ac_try) 2>&5
87695   ac_status=$?
87696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87697   (exit $ac_status); }; }; then
87698   eval "$as_ac_var=yes"
87699 else
87700   echo "$as_me: failed program was:" >&5
87701 sed 's/^/| /' conftest.$ac_ext >&5
87702
87703 eval "$as_ac_var=no"
87704 fi
87705 rm -f conftest.err conftest.$ac_objext \
87706       conftest$ac_exeext conftest.$ac_ext
87707 fi
87708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87710 if test `eval echo '${'$as_ac_var'}'` = yes; then
87711   cat >>confdefs.h <<_ACEOF
87712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87713 _ACEOF
87714
87715 fi
87716 done
87717
87718   else
87719
87720   echo "$as_me:$LINENO: checking for _powf declaration" >&5
87721 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
87722   if test x${glibcxx_cv_func__powf_use+set} != xset; then
87723     if test "${glibcxx_cv_func__powf_use+set}" = set; then
87724   echo $ECHO_N "(cached) $ECHO_C" >&6
87725 else
87726
87727
87728
87729       ac_ext=cc
87730 ac_cpp='$CXXCPP $CPPFLAGS'
87731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87734
87735       cat >conftest.$ac_ext <<_ACEOF
87736 /* confdefs.h.  */
87737 _ACEOF
87738 cat confdefs.h >>conftest.$ac_ext
87739 cat >>conftest.$ac_ext <<_ACEOF
87740 /* end confdefs.h.  */
87741 #include <math.h>
87742 int
87743 main ()
87744 {
87745  _powf(0, 0);
87746   ;
87747   return 0;
87748 }
87749 _ACEOF
87750 rm -f conftest.$ac_objext
87751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87752   (eval $ac_compile) 2>conftest.er1
87753   ac_status=$?
87754   grep -v '^ *+' conftest.er1 >conftest.err
87755   rm -f conftest.er1
87756   cat conftest.err >&5
87757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87758   (exit $ac_status); } &&
87759          { ac_try='test -z "$ac_cxx_werror_flag"
87760                          || test ! -s conftest.err'
87761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87762   (eval $ac_try) 2>&5
87763   ac_status=$?
87764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87765   (exit $ac_status); }; } &&
87766          { ac_try='test -s conftest.$ac_objext'
87767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87768   (eval $ac_try) 2>&5
87769   ac_status=$?
87770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87771   (exit $ac_status); }; }; then
87772   glibcxx_cv_func__powf_use=yes
87773 else
87774   echo "$as_me: failed program was:" >&5
87775 sed 's/^/| /' conftest.$ac_ext >&5
87776
87777 glibcxx_cv_func__powf_use=no
87778 fi
87779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87780       ac_ext=c
87781 ac_cpp='$CPP $CPPFLAGS'
87782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87785
87786
87787 fi
87788
87789   fi
87790   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
87791 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
87792
87793     if test x$glibcxx_cv_func__powf_use = x"yes"; then
87794
87795 for ac_func in _powf
87796 do
87797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87798 echo "$as_me:$LINENO: checking for $ac_func" >&5
87799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87800 if eval "test \"\${$as_ac_var+set}\" = set"; then
87801   echo $ECHO_N "(cached) $ECHO_C" >&6
87802 else
87803   if test x$gcc_no_link = xyes; then
87804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87806    { (exit 1); exit 1; }; }
87807 fi
87808 cat >conftest.$ac_ext <<_ACEOF
87809 /* confdefs.h.  */
87810 _ACEOF
87811 cat confdefs.h >>conftest.$ac_ext
87812 cat >>conftest.$ac_ext <<_ACEOF
87813 /* end confdefs.h.  */
87814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87816 #define $ac_func innocuous_$ac_func
87817
87818 /* System header to define __stub macros and hopefully few prototypes,
87819     which can conflict with char $ac_func (); below.
87820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87821     <limits.h> exists even on freestanding compilers.  */
87822
87823 #ifdef __STDC__
87824 # include <limits.h>
87825 #else
87826 # include <assert.h>
87827 #endif
87828
87829 #undef $ac_func
87830
87831 /* Override any gcc2 internal prototype to avoid an error.  */
87832 #ifdef __cplusplus
87833 extern "C"
87834 {
87835 #endif
87836 /* We use char because int might match the return type of a gcc2
87837    builtin and then its argument prototype would still apply.  */
87838 char $ac_func ();
87839 /* The GNU C library defines this for functions which it implements
87840     to always fail with ENOSYS.  Some functions are actually named
87841     something starting with __ and the normal name is an alias.  */
87842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87843 choke me
87844 #else
87845 char (*f) () = $ac_func;
87846 #endif
87847 #ifdef __cplusplus
87848 }
87849 #endif
87850
87851 int
87852 main ()
87853 {
87854 return f != $ac_func;
87855   ;
87856   return 0;
87857 }
87858 _ACEOF
87859 rm -f conftest.$ac_objext conftest$ac_exeext
87860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87861   (eval $ac_link) 2>conftest.er1
87862   ac_status=$?
87863   grep -v '^ *+' conftest.er1 >conftest.err
87864   rm -f conftest.er1
87865   cat conftest.err >&5
87866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87867   (exit $ac_status); } &&
87868          { ac_try='test -z "$ac_c_werror_flag"
87869                          || test ! -s conftest.err'
87870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87871   (eval $ac_try) 2>&5
87872   ac_status=$?
87873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87874   (exit $ac_status); }; } &&
87875          { ac_try='test -s conftest$ac_exeext'
87876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87877   (eval $ac_try) 2>&5
87878   ac_status=$?
87879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87880   (exit $ac_status); }; }; then
87881   eval "$as_ac_var=yes"
87882 else
87883   echo "$as_me: failed program was:" >&5
87884 sed 's/^/| /' conftest.$ac_ext >&5
87885
87886 eval "$as_ac_var=no"
87887 fi
87888 rm -f conftest.err conftest.$ac_objext \
87889       conftest$ac_exeext conftest.$ac_ext
87890 fi
87891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87893 if test `eval echo '${'$as_ac_var'}'` = yes; then
87894   cat >>confdefs.h <<_ACEOF
87895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87896 _ACEOF
87897
87898 fi
87899 done
87900
87901     fi
87902   fi
87903
87904
87905
87906
87907
87908
87909   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
87910 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
87911   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
87912     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
87913   echo $ECHO_N "(cached) $ECHO_C" >&6
87914 else
87915
87916
87917
87918       ac_ext=cc
87919 ac_cpp='$CXXCPP $CPPFLAGS'
87920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87923
87924       cat >conftest.$ac_ext <<_ACEOF
87925 /* confdefs.h.  */
87926 _ACEOF
87927 cat confdefs.h >>conftest.$ac_ext
87928 cat >>conftest.$ac_ext <<_ACEOF
87929 /* end confdefs.h.  */
87930 #include <math.h>
87931                       #ifdef HAVE_IEEEFP_H
87932                       #include <ieeefp.h>
87933                       #endif
87934
87935 int
87936 main ()
87937 {
87938  sqrtf(0);
87939   ;
87940   return 0;
87941 }
87942 _ACEOF
87943 rm -f conftest.$ac_objext
87944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87945   (eval $ac_compile) 2>conftest.er1
87946   ac_status=$?
87947   grep -v '^ *+' conftest.er1 >conftest.err
87948   rm -f conftest.er1
87949   cat conftest.err >&5
87950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87951   (exit $ac_status); } &&
87952          { ac_try='test -z "$ac_cxx_werror_flag"
87953                          || test ! -s conftest.err'
87954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87955   (eval $ac_try) 2>&5
87956   ac_status=$?
87957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87958   (exit $ac_status); }; } &&
87959          { ac_try='test -s conftest.$ac_objext'
87960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87961   (eval $ac_try) 2>&5
87962   ac_status=$?
87963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87964   (exit $ac_status); }; }; then
87965   glibcxx_cv_func_sqrtf_use=yes
87966 else
87967   echo "$as_me: failed program was:" >&5
87968 sed 's/^/| /' conftest.$ac_ext >&5
87969
87970 glibcxx_cv_func_sqrtf_use=no
87971 fi
87972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87973       ac_ext=c
87974 ac_cpp='$CPP $CPPFLAGS'
87975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87978
87979
87980 fi
87981
87982   fi
87983   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
87984 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
87985
87986   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
87987
87988 for ac_func in sqrtf
87989 do
87990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87991 echo "$as_me:$LINENO: checking for $ac_func" >&5
87992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87993 if eval "test \"\${$as_ac_var+set}\" = set"; then
87994   echo $ECHO_N "(cached) $ECHO_C" >&6
87995 else
87996   if test x$gcc_no_link = xyes; then
87997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87999    { (exit 1); exit 1; }; }
88000 fi
88001 cat >conftest.$ac_ext <<_ACEOF
88002 /* confdefs.h.  */
88003 _ACEOF
88004 cat confdefs.h >>conftest.$ac_ext
88005 cat >>conftest.$ac_ext <<_ACEOF
88006 /* end confdefs.h.  */
88007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88008    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88009 #define $ac_func innocuous_$ac_func
88010
88011 /* System header to define __stub macros and hopefully few prototypes,
88012     which can conflict with char $ac_func (); below.
88013     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88014     <limits.h> exists even on freestanding compilers.  */
88015
88016 #ifdef __STDC__
88017 # include <limits.h>
88018 #else
88019 # include <assert.h>
88020 #endif
88021
88022 #undef $ac_func
88023
88024 /* Override any gcc2 internal prototype to avoid an error.  */
88025 #ifdef __cplusplus
88026 extern "C"
88027 {
88028 #endif
88029 /* We use char because int might match the return type of a gcc2
88030    builtin and then its argument prototype would still apply.  */
88031 char $ac_func ();
88032 /* The GNU C library defines this for functions which it implements
88033     to always fail with ENOSYS.  Some functions are actually named
88034     something starting with __ and the normal name is an alias.  */
88035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88036 choke me
88037 #else
88038 char (*f) () = $ac_func;
88039 #endif
88040 #ifdef __cplusplus
88041 }
88042 #endif
88043
88044 int
88045 main ()
88046 {
88047 return f != $ac_func;
88048   ;
88049   return 0;
88050 }
88051 _ACEOF
88052 rm -f conftest.$ac_objext conftest$ac_exeext
88053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88054   (eval $ac_link) 2>conftest.er1
88055   ac_status=$?
88056   grep -v '^ *+' conftest.er1 >conftest.err
88057   rm -f conftest.er1
88058   cat conftest.err >&5
88059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88060   (exit $ac_status); } &&
88061          { ac_try='test -z "$ac_c_werror_flag"
88062                          || test ! -s conftest.err'
88063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88064   (eval $ac_try) 2>&5
88065   ac_status=$?
88066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88067   (exit $ac_status); }; } &&
88068          { ac_try='test -s conftest$ac_exeext'
88069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88070   (eval $ac_try) 2>&5
88071   ac_status=$?
88072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88073   (exit $ac_status); }; }; then
88074   eval "$as_ac_var=yes"
88075 else
88076   echo "$as_me: failed program was:" >&5
88077 sed 's/^/| /' conftest.$ac_ext >&5
88078
88079 eval "$as_ac_var=no"
88080 fi
88081 rm -f conftest.err conftest.$ac_objext \
88082       conftest$ac_exeext conftest.$ac_ext
88083 fi
88084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88086 if test `eval echo '${'$as_ac_var'}'` = yes; then
88087   cat >>confdefs.h <<_ACEOF
88088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88089 _ACEOF
88090
88091 fi
88092 done
88093
88094   else
88095
88096   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
88097 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
88098   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
88099     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
88100   echo $ECHO_N "(cached) $ECHO_C" >&6
88101 else
88102
88103
88104
88105       ac_ext=cc
88106 ac_cpp='$CXXCPP $CPPFLAGS'
88107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88110
88111       cat >conftest.$ac_ext <<_ACEOF
88112 /* confdefs.h.  */
88113 _ACEOF
88114 cat confdefs.h >>conftest.$ac_ext
88115 cat >>conftest.$ac_ext <<_ACEOF
88116 /* end confdefs.h.  */
88117 #include <math.h>
88118                       #ifdef HAVE_IEEEFP_H
88119                       #include <ieeefp.h>
88120                       #endif
88121
88122 int
88123 main ()
88124 {
88125  _sqrtf(0);
88126   ;
88127   return 0;
88128 }
88129 _ACEOF
88130 rm -f conftest.$ac_objext
88131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88132   (eval $ac_compile) 2>conftest.er1
88133   ac_status=$?
88134   grep -v '^ *+' conftest.er1 >conftest.err
88135   rm -f conftest.er1
88136   cat conftest.err >&5
88137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88138   (exit $ac_status); } &&
88139          { ac_try='test -z "$ac_cxx_werror_flag"
88140                          || test ! -s conftest.err'
88141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88142   (eval $ac_try) 2>&5
88143   ac_status=$?
88144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88145   (exit $ac_status); }; } &&
88146          { ac_try='test -s conftest.$ac_objext'
88147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88148   (eval $ac_try) 2>&5
88149   ac_status=$?
88150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88151   (exit $ac_status); }; }; then
88152   glibcxx_cv_func__sqrtf_use=yes
88153 else
88154   echo "$as_me: failed program was:" >&5
88155 sed 's/^/| /' conftest.$ac_ext >&5
88156
88157 glibcxx_cv_func__sqrtf_use=no
88158 fi
88159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88160       ac_ext=c
88161 ac_cpp='$CPP $CPPFLAGS'
88162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88165
88166
88167 fi
88168
88169   fi
88170   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
88171 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
88172
88173     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
88174
88175 for ac_func in _sqrtf
88176 do
88177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88178 echo "$as_me:$LINENO: checking for $ac_func" >&5
88179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88180 if eval "test \"\${$as_ac_var+set}\" = set"; then
88181   echo $ECHO_N "(cached) $ECHO_C" >&6
88182 else
88183   if test x$gcc_no_link = xyes; then
88184   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88186    { (exit 1); exit 1; }; }
88187 fi
88188 cat >conftest.$ac_ext <<_ACEOF
88189 /* confdefs.h.  */
88190 _ACEOF
88191 cat confdefs.h >>conftest.$ac_ext
88192 cat >>conftest.$ac_ext <<_ACEOF
88193 /* end confdefs.h.  */
88194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88195    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88196 #define $ac_func innocuous_$ac_func
88197
88198 /* System header to define __stub macros and hopefully few prototypes,
88199     which can conflict with char $ac_func (); below.
88200     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88201     <limits.h> exists even on freestanding compilers.  */
88202
88203 #ifdef __STDC__
88204 # include <limits.h>
88205 #else
88206 # include <assert.h>
88207 #endif
88208
88209 #undef $ac_func
88210
88211 /* Override any gcc2 internal prototype to avoid an error.  */
88212 #ifdef __cplusplus
88213 extern "C"
88214 {
88215 #endif
88216 /* We use char because int might match the return type of a gcc2
88217    builtin and then its argument prototype would still apply.  */
88218 char $ac_func ();
88219 /* The GNU C library defines this for functions which it implements
88220     to always fail with ENOSYS.  Some functions are actually named
88221     something starting with __ and the normal name is an alias.  */
88222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88223 choke me
88224 #else
88225 char (*f) () = $ac_func;
88226 #endif
88227 #ifdef __cplusplus
88228 }
88229 #endif
88230
88231 int
88232 main ()
88233 {
88234 return f != $ac_func;
88235   ;
88236   return 0;
88237 }
88238 _ACEOF
88239 rm -f conftest.$ac_objext conftest$ac_exeext
88240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88241   (eval $ac_link) 2>conftest.er1
88242   ac_status=$?
88243   grep -v '^ *+' conftest.er1 >conftest.err
88244   rm -f conftest.er1
88245   cat conftest.err >&5
88246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88247   (exit $ac_status); } &&
88248          { ac_try='test -z "$ac_c_werror_flag"
88249                          || test ! -s conftest.err'
88250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88251   (eval $ac_try) 2>&5
88252   ac_status=$?
88253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88254   (exit $ac_status); }; } &&
88255          { ac_try='test -s conftest$ac_exeext'
88256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88257   (eval $ac_try) 2>&5
88258   ac_status=$?
88259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88260   (exit $ac_status); }; }; then
88261   eval "$as_ac_var=yes"
88262 else
88263   echo "$as_me: failed program was:" >&5
88264 sed 's/^/| /' conftest.$ac_ext >&5
88265
88266 eval "$as_ac_var=no"
88267 fi
88268 rm -f conftest.err conftest.$ac_objext \
88269       conftest$ac_exeext conftest.$ac_ext
88270 fi
88271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88273 if test `eval echo '${'$as_ac_var'}'` = yes; then
88274   cat >>confdefs.h <<_ACEOF
88275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88276 _ACEOF
88277
88278 fi
88279 done
88280
88281     fi
88282   fi
88283
88284
88285
88286
88287
88288
88289   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
88290 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
88291   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
88292     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
88293   echo $ECHO_N "(cached) $ECHO_C" >&6
88294 else
88295
88296
88297
88298       ac_ext=cc
88299 ac_cpp='$CXXCPP $CPPFLAGS'
88300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88303
88304       cat >conftest.$ac_ext <<_ACEOF
88305 /* confdefs.h.  */
88306 _ACEOF
88307 cat confdefs.h >>conftest.$ac_ext
88308 cat >>conftest.$ac_ext <<_ACEOF
88309 /* end confdefs.h.  */
88310 #include <math.h>
88311 int
88312 main ()
88313 {
88314  sincosf(0, 0, 0);
88315   ;
88316   return 0;
88317 }
88318 _ACEOF
88319 rm -f conftest.$ac_objext
88320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88321   (eval $ac_compile) 2>conftest.er1
88322   ac_status=$?
88323   grep -v '^ *+' conftest.er1 >conftest.err
88324   rm -f conftest.er1
88325   cat conftest.err >&5
88326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88327   (exit $ac_status); } &&
88328          { ac_try='test -z "$ac_cxx_werror_flag"
88329                          || test ! -s conftest.err'
88330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88331   (eval $ac_try) 2>&5
88332   ac_status=$?
88333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88334   (exit $ac_status); }; } &&
88335          { ac_try='test -s conftest.$ac_objext'
88336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88337   (eval $ac_try) 2>&5
88338   ac_status=$?
88339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88340   (exit $ac_status); }; }; then
88341   glibcxx_cv_func_sincosf_use=yes
88342 else
88343   echo "$as_me: failed program was:" >&5
88344 sed 's/^/| /' conftest.$ac_ext >&5
88345
88346 glibcxx_cv_func_sincosf_use=no
88347 fi
88348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88349       ac_ext=c
88350 ac_cpp='$CPP $CPPFLAGS'
88351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88354
88355
88356 fi
88357
88358   fi
88359   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
88360 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
88361
88362   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
88363
88364 for ac_func in sincosf
88365 do
88366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88367 echo "$as_me:$LINENO: checking for $ac_func" >&5
88368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88369 if eval "test \"\${$as_ac_var+set}\" = set"; then
88370   echo $ECHO_N "(cached) $ECHO_C" >&6
88371 else
88372   if test x$gcc_no_link = xyes; then
88373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88375    { (exit 1); exit 1; }; }
88376 fi
88377 cat >conftest.$ac_ext <<_ACEOF
88378 /* confdefs.h.  */
88379 _ACEOF
88380 cat confdefs.h >>conftest.$ac_ext
88381 cat >>conftest.$ac_ext <<_ACEOF
88382 /* end confdefs.h.  */
88383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88384    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88385 #define $ac_func innocuous_$ac_func
88386
88387 /* System header to define __stub macros and hopefully few prototypes,
88388     which can conflict with char $ac_func (); below.
88389     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88390     <limits.h> exists even on freestanding compilers.  */
88391
88392 #ifdef __STDC__
88393 # include <limits.h>
88394 #else
88395 # include <assert.h>
88396 #endif
88397
88398 #undef $ac_func
88399
88400 /* Override any gcc2 internal prototype to avoid an error.  */
88401 #ifdef __cplusplus
88402 extern "C"
88403 {
88404 #endif
88405 /* We use char because int might match the return type of a gcc2
88406    builtin and then its argument prototype would still apply.  */
88407 char $ac_func ();
88408 /* The GNU C library defines this for functions which it implements
88409     to always fail with ENOSYS.  Some functions are actually named
88410     something starting with __ and the normal name is an alias.  */
88411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88412 choke me
88413 #else
88414 char (*f) () = $ac_func;
88415 #endif
88416 #ifdef __cplusplus
88417 }
88418 #endif
88419
88420 int
88421 main ()
88422 {
88423 return f != $ac_func;
88424   ;
88425   return 0;
88426 }
88427 _ACEOF
88428 rm -f conftest.$ac_objext conftest$ac_exeext
88429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88430   (eval $ac_link) 2>conftest.er1
88431   ac_status=$?
88432   grep -v '^ *+' conftest.er1 >conftest.err
88433   rm -f conftest.er1
88434   cat conftest.err >&5
88435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88436   (exit $ac_status); } &&
88437          { ac_try='test -z "$ac_c_werror_flag"
88438                          || test ! -s conftest.err'
88439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88440   (eval $ac_try) 2>&5
88441   ac_status=$?
88442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88443   (exit $ac_status); }; } &&
88444          { ac_try='test -s conftest$ac_exeext'
88445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88446   (eval $ac_try) 2>&5
88447   ac_status=$?
88448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88449   (exit $ac_status); }; }; then
88450   eval "$as_ac_var=yes"
88451 else
88452   echo "$as_me: failed program was:" >&5
88453 sed 's/^/| /' conftest.$ac_ext >&5
88454
88455 eval "$as_ac_var=no"
88456 fi
88457 rm -f conftest.err conftest.$ac_objext \
88458       conftest$ac_exeext conftest.$ac_ext
88459 fi
88460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88462 if test `eval echo '${'$as_ac_var'}'` = yes; then
88463   cat >>confdefs.h <<_ACEOF
88464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88465 _ACEOF
88466
88467 fi
88468 done
88469
88470   else
88471
88472   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
88473 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
88474   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
88475     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
88476   echo $ECHO_N "(cached) $ECHO_C" >&6
88477 else
88478
88479
88480
88481       ac_ext=cc
88482 ac_cpp='$CXXCPP $CPPFLAGS'
88483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88486
88487       cat >conftest.$ac_ext <<_ACEOF
88488 /* confdefs.h.  */
88489 _ACEOF
88490 cat confdefs.h >>conftest.$ac_ext
88491 cat >>conftest.$ac_ext <<_ACEOF
88492 /* end confdefs.h.  */
88493 #include <math.h>
88494 int
88495 main ()
88496 {
88497  _sincosf(0, 0, 0);
88498   ;
88499   return 0;
88500 }
88501 _ACEOF
88502 rm -f conftest.$ac_objext
88503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88504   (eval $ac_compile) 2>conftest.er1
88505   ac_status=$?
88506   grep -v '^ *+' conftest.er1 >conftest.err
88507   rm -f conftest.er1
88508   cat conftest.err >&5
88509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88510   (exit $ac_status); } &&
88511          { ac_try='test -z "$ac_cxx_werror_flag"
88512                          || test ! -s conftest.err'
88513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88514   (eval $ac_try) 2>&5
88515   ac_status=$?
88516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88517   (exit $ac_status); }; } &&
88518          { ac_try='test -s conftest.$ac_objext'
88519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88520   (eval $ac_try) 2>&5
88521   ac_status=$?
88522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88523   (exit $ac_status); }; }; then
88524   glibcxx_cv_func__sincosf_use=yes
88525 else
88526   echo "$as_me: failed program was:" >&5
88527 sed 's/^/| /' conftest.$ac_ext >&5
88528
88529 glibcxx_cv_func__sincosf_use=no
88530 fi
88531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88532       ac_ext=c
88533 ac_cpp='$CPP $CPPFLAGS'
88534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88537
88538
88539 fi
88540
88541   fi
88542   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
88543 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
88544
88545     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
88546
88547 for ac_func in _sincosf
88548 do
88549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88550 echo "$as_me:$LINENO: checking for $ac_func" >&5
88551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88552 if eval "test \"\${$as_ac_var+set}\" = set"; then
88553   echo $ECHO_N "(cached) $ECHO_C" >&6
88554 else
88555   if test x$gcc_no_link = xyes; then
88556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88558    { (exit 1); exit 1; }; }
88559 fi
88560 cat >conftest.$ac_ext <<_ACEOF
88561 /* confdefs.h.  */
88562 _ACEOF
88563 cat confdefs.h >>conftest.$ac_ext
88564 cat >>conftest.$ac_ext <<_ACEOF
88565 /* end confdefs.h.  */
88566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88567    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88568 #define $ac_func innocuous_$ac_func
88569
88570 /* System header to define __stub macros and hopefully few prototypes,
88571     which can conflict with char $ac_func (); below.
88572     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88573     <limits.h> exists even on freestanding compilers.  */
88574
88575 #ifdef __STDC__
88576 # include <limits.h>
88577 #else
88578 # include <assert.h>
88579 #endif
88580
88581 #undef $ac_func
88582
88583 /* Override any gcc2 internal prototype to avoid an error.  */
88584 #ifdef __cplusplus
88585 extern "C"
88586 {
88587 #endif
88588 /* We use char because int might match the return type of a gcc2
88589    builtin and then its argument prototype would still apply.  */
88590 char $ac_func ();
88591 /* The GNU C library defines this for functions which it implements
88592     to always fail with ENOSYS.  Some functions are actually named
88593     something starting with __ and the normal name is an alias.  */
88594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88595 choke me
88596 #else
88597 char (*f) () = $ac_func;
88598 #endif
88599 #ifdef __cplusplus
88600 }
88601 #endif
88602
88603 int
88604 main ()
88605 {
88606 return f != $ac_func;
88607   ;
88608   return 0;
88609 }
88610 _ACEOF
88611 rm -f conftest.$ac_objext conftest$ac_exeext
88612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88613   (eval $ac_link) 2>conftest.er1
88614   ac_status=$?
88615   grep -v '^ *+' conftest.er1 >conftest.err
88616   rm -f conftest.er1
88617   cat conftest.err >&5
88618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88619   (exit $ac_status); } &&
88620          { ac_try='test -z "$ac_c_werror_flag"
88621                          || test ! -s conftest.err'
88622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88623   (eval $ac_try) 2>&5
88624   ac_status=$?
88625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88626   (exit $ac_status); }; } &&
88627          { ac_try='test -s conftest$ac_exeext'
88628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88629   (eval $ac_try) 2>&5
88630   ac_status=$?
88631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88632   (exit $ac_status); }; }; then
88633   eval "$as_ac_var=yes"
88634 else
88635   echo "$as_me: failed program was:" >&5
88636 sed 's/^/| /' conftest.$ac_ext >&5
88637
88638 eval "$as_ac_var=no"
88639 fi
88640 rm -f conftest.err conftest.$ac_objext \
88641       conftest$ac_exeext conftest.$ac_ext
88642 fi
88643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88645 if test `eval echo '${'$as_ac_var'}'` = yes; then
88646   cat >>confdefs.h <<_ACEOF
88647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88648 _ACEOF
88649
88650 fi
88651 done
88652
88653     fi
88654   fi
88655
88656
88657
88658
88659
88660
88661   echo "$as_me:$LINENO: checking for finitef declaration" >&5
88662 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
88663   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
88664     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
88665   echo $ECHO_N "(cached) $ECHO_C" >&6
88666 else
88667
88668
88669
88670       ac_ext=cc
88671 ac_cpp='$CXXCPP $CPPFLAGS'
88672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88675
88676       cat >conftest.$ac_ext <<_ACEOF
88677 /* confdefs.h.  */
88678 _ACEOF
88679 cat confdefs.h >>conftest.$ac_ext
88680 cat >>conftest.$ac_ext <<_ACEOF
88681 /* end confdefs.h.  */
88682 #include <math.h>
88683                       #ifdef HAVE_IEEEFP_H
88684                       #include <ieeefp.h>
88685                       #endif
88686
88687 int
88688 main ()
88689 {
88690  finitef(0);
88691   ;
88692   return 0;
88693 }
88694 _ACEOF
88695 rm -f conftest.$ac_objext
88696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88697   (eval $ac_compile) 2>conftest.er1
88698   ac_status=$?
88699   grep -v '^ *+' conftest.er1 >conftest.err
88700   rm -f conftest.er1
88701   cat conftest.err >&5
88702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88703   (exit $ac_status); } &&
88704          { ac_try='test -z "$ac_cxx_werror_flag"
88705                          || test ! -s conftest.err'
88706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88707   (eval $ac_try) 2>&5
88708   ac_status=$?
88709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88710   (exit $ac_status); }; } &&
88711          { ac_try='test -s conftest.$ac_objext'
88712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88713   (eval $ac_try) 2>&5
88714   ac_status=$?
88715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88716   (exit $ac_status); }; }; then
88717   glibcxx_cv_func_finitef_use=yes
88718 else
88719   echo "$as_me: failed program was:" >&5
88720 sed 's/^/| /' conftest.$ac_ext >&5
88721
88722 glibcxx_cv_func_finitef_use=no
88723 fi
88724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88725       ac_ext=c
88726 ac_cpp='$CPP $CPPFLAGS'
88727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88730
88731
88732 fi
88733
88734   fi
88735   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
88736 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
88737
88738   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
88739
88740 for ac_func in finitef
88741 do
88742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88743 echo "$as_me:$LINENO: checking for $ac_func" >&5
88744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88745 if eval "test \"\${$as_ac_var+set}\" = set"; then
88746   echo $ECHO_N "(cached) $ECHO_C" >&6
88747 else
88748   if test x$gcc_no_link = xyes; then
88749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88751    { (exit 1); exit 1; }; }
88752 fi
88753 cat >conftest.$ac_ext <<_ACEOF
88754 /* confdefs.h.  */
88755 _ACEOF
88756 cat confdefs.h >>conftest.$ac_ext
88757 cat >>conftest.$ac_ext <<_ACEOF
88758 /* end confdefs.h.  */
88759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88761 #define $ac_func innocuous_$ac_func
88762
88763 /* System header to define __stub macros and hopefully few prototypes,
88764     which can conflict with char $ac_func (); below.
88765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88766     <limits.h> exists even on freestanding compilers.  */
88767
88768 #ifdef __STDC__
88769 # include <limits.h>
88770 #else
88771 # include <assert.h>
88772 #endif
88773
88774 #undef $ac_func
88775
88776 /* Override any gcc2 internal prototype to avoid an error.  */
88777 #ifdef __cplusplus
88778 extern "C"
88779 {
88780 #endif
88781 /* We use char because int might match the return type of a gcc2
88782    builtin and then its argument prototype would still apply.  */
88783 char $ac_func ();
88784 /* The GNU C library defines this for functions which it implements
88785     to always fail with ENOSYS.  Some functions are actually named
88786     something starting with __ and the normal name is an alias.  */
88787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88788 choke me
88789 #else
88790 char (*f) () = $ac_func;
88791 #endif
88792 #ifdef __cplusplus
88793 }
88794 #endif
88795
88796 int
88797 main ()
88798 {
88799 return f != $ac_func;
88800   ;
88801   return 0;
88802 }
88803 _ACEOF
88804 rm -f conftest.$ac_objext conftest$ac_exeext
88805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88806   (eval $ac_link) 2>conftest.er1
88807   ac_status=$?
88808   grep -v '^ *+' conftest.er1 >conftest.err
88809   rm -f conftest.er1
88810   cat conftest.err >&5
88811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88812   (exit $ac_status); } &&
88813          { ac_try='test -z "$ac_c_werror_flag"
88814                          || test ! -s conftest.err'
88815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88816   (eval $ac_try) 2>&5
88817   ac_status=$?
88818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88819   (exit $ac_status); }; } &&
88820          { ac_try='test -s conftest$ac_exeext'
88821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88822   (eval $ac_try) 2>&5
88823   ac_status=$?
88824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88825   (exit $ac_status); }; }; then
88826   eval "$as_ac_var=yes"
88827 else
88828   echo "$as_me: failed program was:" >&5
88829 sed 's/^/| /' conftest.$ac_ext >&5
88830
88831 eval "$as_ac_var=no"
88832 fi
88833 rm -f conftest.err conftest.$ac_objext \
88834       conftest$ac_exeext conftest.$ac_ext
88835 fi
88836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88838 if test `eval echo '${'$as_ac_var'}'` = yes; then
88839   cat >>confdefs.h <<_ACEOF
88840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88841 _ACEOF
88842
88843 fi
88844 done
88845
88846   else
88847
88848   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
88849 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
88850   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
88851     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
88852   echo $ECHO_N "(cached) $ECHO_C" >&6
88853 else
88854
88855
88856
88857       ac_ext=cc
88858 ac_cpp='$CXXCPP $CPPFLAGS'
88859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88862
88863       cat >conftest.$ac_ext <<_ACEOF
88864 /* confdefs.h.  */
88865 _ACEOF
88866 cat confdefs.h >>conftest.$ac_ext
88867 cat >>conftest.$ac_ext <<_ACEOF
88868 /* end confdefs.h.  */
88869 #include <math.h>
88870                       #ifdef HAVE_IEEEFP_H
88871                       #include <ieeefp.h>
88872                       #endif
88873
88874 int
88875 main ()
88876 {
88877  _finitef(0);
88878   ;
88879   return 0;
88880 }
88881 _ACEOF
88882 rm -f conftest.$ac_objext
88883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88884   (eval $ac_compile) 2>conftest.er1
88885   ac_status=$?
88886   grep -v '^ *+' conftest.er1 >conftest.err
88887   rm -f conftest.er1
88888   cat conftest.err >&5
88889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88890   (exit $ac_status); } &&
88891          { ac_try='test -z "$ac_cxx_werror_flag"
88892                          || test ! -s conftest.err'
88893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88894   (eval $ac_try) 2>&5
88895   ac_status=$?
88896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88897   (exit $ac_status); }; } &&
88898          { ac_try='test -s conftest.$ac_objext'
88899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88900   (eval $ac_try) 2>&5
88901   ac_status=$?
88902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88903   (exit $ac_status); }; }; then
88904   glibcxx_cv_func__finitef_use=yes
88905 else
88906   echo "$as_me: failed program was:" >&5
88907 sed 's/^/| /' conftest.$ac_ext >&5
88908
88909 glibcxx_cv_func__finitef_use=no
88910 fi
88911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88912       ac_ext=c
88913 ac_cpp='$CPP $CPPFLAGS'
88914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88917
88918
88919 fi
88920
88921   fi
88922   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
88923 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
88924
88925     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
88926
88927 for ac_func in _finitef
88928 do
88929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88930 echo "$as_me:$LINENO: checking for $ac_func" >&5
88931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88932 if eval "test \"\${$as_ac_var+set}\" = set"; then
88933   echo $ECHO_N "(cached) $ECHO_C" >&6
88934 else
88935   if test x$gcc_no_link = xyes; then
88936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88938    { (exit 1); exit 1; }; }
88939 fi
88940 cat >conftest.$ac_ext <<_ACEOF
88941 /* confdefs.h.  */
88942 _ACEOF
88943 cat confdefs.h >>conftest.$ac_ext
88944 cat >>conftest.$ac_ext <<_ACEOF
88945 /* end confdefs.h.  */
88946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88948 #define $ac_func innocuous_$ac_func
88949
88950 /* System header to define __stub macros and hopefully few prototypes,
88951     which can conflict with char $ac_func (); below.
88952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88953     <limits.h> exists even on freestanding compilers.  */
88954
88955 #ifdef __STDC__
88956 # include <limits.h>
88957 #else
88958 # include <assert.h>
88959 #endif
88960
88961 #undef $ac_func
88962
88963 /* Override any gcc2 internal prototype to avoid an error.  */
88964 #ifdef __cplusplus
88965 extern "C"
88966 {
88967 #endif
88968 /* We use char because int might match the return type of a gcc2
88969    builtin and then its argument prototype would still apply.  */
88970 char $ac_func ();
88971 /* The GNU C library defines this for functions which it implements
88972     to always fail with ENOSYS.  Some functions are actually named
88973     something starting with __ and the normal name is an alias.  */
88974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88975 choke me
88976 #else
88977 char (*f) () = $ac_func;
88978 #endif
88979 #ifdef __cplusplus
88980 }
88981 #endif
88982
88983 int
88984 main ()
88985 {
88986 return f != $ac_func;
88987   ;
88988   return 0;
88989 }
88990 _ACEOF
88991 rm -f conftest.$ac_objext conftest$ac_exeext
88992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88993   (eval $ac_link) 2>conftest.er1
88994   ac_status=$?
88995   grep -v '^ *+' conftest.er1 >conftest.err
88996   rm -f conftest.er1
88997   cat conftest.err >&5
88998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88999   (exit $ac_status); } &&
89000          { ac_try='test -z "$ac_c_werror_flag"
89001                          || test ! -s conftest.err'
89002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89003   (eval $ac_try) 2>&5
89004   ac_status=$?
89005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89006   (exit $ac_status); }; } &&
89007          { ac_try='test -s conftest$ac_exeext'
89008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89009   (eval $ac_try) 2>&5
89010   ac_status=$?
89011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89012   (exit $ac_status); }; }; then
89013   eval "$as_ac_var=yes"
89014 else
89015   echo "$as_me: failed program was:" >&5
89016 sed 's/^/| /' conftest.$ac_ext >&5
89017
89018 eval "$as_ac_var=no"
89019 fi
89020 rm -f conftest.err conftest.$ac_objext \
89021       conftest$ac_exeext conftest.$ac_ext
89022 fi
89023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89025 if test `eval echo '${'$as_ac_var'}'` = yes; then
89026   cat >>confdefs.h <<_ACEOF
89027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89028 _ACEOF
89029
89030 fi
89031 done
89032
89033     fi
89034   fi
89035
89036
89037
89038
89039
89040
89041     echo "$as_me:$LINENO: checking for long double trig functions" >&5
89042 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
89043   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
89044   echo $ECHO_N "(cached) $ECHO_C" >&6
89045 else
89046
89047
89048
89049     ac_ext=cc
89050 ac_cpp='$CXXCPP $CPPFLAGS'
89051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89054
89055     cat >conftest.$ac_ext <<_ACEOF
89056 /* confdefs.h.  */
89057 _ACEOF
89058 cat confdefs.h >>conftest.$ac_ext
89059 cat >>conftest.$ac_ext <<_ACEOF
89060 /* end confdefs.h.  */
89061 #include <math.h>
89062 int
89063 main ()
89064 {
89065 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
89066   ;
89067   return 0;
89068 }
89069 _ACEOF
89070 rm -f conftest.$ac_objext
89071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89072   (eval $ac_compile) 2>conftest.er1
89073   ac_status=$?
89074   grep -v '^ *+' conftest.er1 >conftest.err
89075   rm -f conftest.er1
89076   cat conftest.err >&5
89077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89078   (exit $ac_status); } &&
89079          { ac_try='test -z "$ac_cxx_werror_flag"
89080                          || test ! -s conftest.err'
89081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89082   (eval $ac_try) 2>&5
89083   ac_status=$?
89084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89085   (exit $ac_status); }; } &&
89086          { ac_try='test -s conftest.$ac_objext'
89087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89088   (eval $ac_try) 2>&5
89089   ac_status=$?
89090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89091   (exit $ac_status); }; }; then
89092   glibcxx_cv_func_long_double_trig_use=yes
89093 else
89094   echo "$as_me: failed program was:" >&5
89095 sed 's/^/| /' conftest.$ac_ext >&5
89096
89097 glibcxx_cv_func_long_double_trig_use=no
89098 fi
89099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89100     ac_ext=c
89101 ac_cpp='$CPP $CPPFLAGS'
89102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89105
89106 fi
89107
89108   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
89109 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
89110   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
89111
89112
89113
89114
89115
89116
89117
89118
89119
89120 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
89121 do
89122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89123 echo "$as_me:$LINENO: checking for $ac_func" >&5
89124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89125 if eval "test \"\${$as_ac_var+set}\" = set"; then
89126   echo $ECHO_N "(cached) $ECHO_C" >&6
89127 else
89128   if test x$gcc_no_link = xyes; then
89129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89131    { (exit 1); exit 1; }; }
89132 fi
89133 cat >conftest.$ac_ext <<_ACEOF
89134 /* confdefs.h.  */
89135 _ACEOF
89136 cat confdefs.h >>conftest.$ac_ext
89137 cat >>conftest.$ac_ext <<_ACEOF
89138 /* end confdefs.h.  */
89139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89140    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89141 #define $ac_func innocuous_$ac_func
89142
89143 /* System header to define __stub macros and hopefully few prototypes,
89144     which can conflict with char $ac_func (); below.
89145     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89146     <limits.h> exists even on freestanding compilers.  */
89147
89148 #ifdef __STDC__
89149 # include <limits.h>
89150 #else
89151 # include <assert.h>
89152 #endif
89153
89154 #undef $ac_func
89155
89156 /* Override any gcc2 internal prototype to avoid an error.  */
89157 #ifdef __cplusplus
89158 extern "C"
89159 {
89160 #endif
89161 /* We use char because int might match the return type of a gcc2
89162    builtin and then its argument prototype would still apply.  */
89163 char $ac_func ();
89164 /* The GNU C library defines this for functions which it implements
89165     to always fail with ENOSYS.  Some functions are actually named
89166     something starting with __ and the normal name is an alias.  */
89167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89168 choke me
89169 #else
89170 char (*f) () = $ac_func;
89171 #endif
89172 #ifdef __cplusplus
89173 }
89174 #endif
89175
89176 int
89177 main ()
89178 {
89179 return f != $ac_func;
89180   ;
89181   return 0;
89182 }
89183 _ACEOF
89184 rm -f conftest.$ac_objext conftest$ac_exeext
89185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89186   (eval $ac_link) 2>conftest.er1
89187   ac_status=$?
89188   grep -v '^ *+' conftest.er1 >conftest.err
89189   rm -f conftest.er1
89190   cat conftest.err >&5
89191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89192   (exit $ac_status); } &&
89193          { ac_try='test -z "$ac_c_werror_flag"
89194                          || test ! -s conftest.err'
89195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89196   (eval $ac_try) 2>&5
89197   ac_status=$?
89198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89199   (exit $ac_status); }; } &&
89200          { ac_try='test -s conftest$ac_exeext'
89201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89202   (eval $ac_try) 2>&5
89203   ac_status=$?
89204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89205   (exit $ac_status); }; }; then
89206   eval "$as_ac_var=yes"
89207 else
89208   echo "$as_me: failed program was:" >&5
89209 sed 's/^/| /' conftest.$ac_ext >&5
89210
89211 eval "$as_ac_var=no"
89212 fi
89213 rm -f conftest.err conftest.$ac_objext \
89214       conftest$ac_exeext conftest.$ac_ext
89215 fi
89216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89218 if test `eval echo '${'$as_ac_var'}'` = yes; then
89219   cat >>confdefs.h <<_ACEOF
89220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89221 _ACEOF
89222
89223 fi
89224 done
89225
89226   else
89227     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
89228 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
89229     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
89230   echo $ECHO_N "(cached) $ECHO_C" >&6
89231 else
89232
89233
89234
89235       ac_ext=cc
89236 ac_cpp='$CXXCPP $CPPFLAGS'
89237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89240
89241       cat >conftest.$ac_ext <<_ACEOF
89242 /* confdefs.h.  */
89243 _ACEOF
89244 cat confdefs.h >>conftest.$ac_ext
89245 cat >>conftest.$ac_ext <<_ACEOF
89246 /* end confdefs.h.  */
89247 #include <math.h>
89248 int
89249 main ()
89250 {
89251 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
89252   ;
89253   return 0;
89254 }
89255 _ACEOF
89256 rm -f conftest.$ac_objext
89257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89258   (eval $ac_compile) 2>conftest.er1
89259   ac_status=$?
89260   grep -v '^ *+' conftest.er1 >conftest.err
89261   rm -f conftest.er1
89262   cat conftest.err >&5
89263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89264   (exit $ac_status); } &&
89265          { ac_try='test -z "$ac_cxx_werror_flag"
89266                          || test ! -s conftest.err'
89267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89268   (eval $ac_try) 2>&5
89269   ac_status=$?
89270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89271   (exit $ac_status); }; } &&
89272          { ac_try='test -s conftest.$ac_objext'
89273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89274   (eval $ac_try) 2>&5
89275   ac_status=$?
89276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89277   (exit $ac_status); }; }; then
89278   glibcxx_cv_func__long_double_trig_use=yes
89279 else
89280   echo "$as_me: failed program was:" >&5
89281 sed 's/^/| /' conftest.$ac_ext >&5
89282
89283 glibcxx_cv_func__long_double_trig_use=no
89284 fi
89285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89286       ac_ext=c
89287 ac_cpp='$CPP $CPPFLAGS'
89288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89291
89292 fi
89293
89294     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
89295 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
89296     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
89297
89298
89299
89300
89301
89302
89303
89304
89305
89306 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
89307 do
89308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89309 echo "$as_me:$LINENO: checking for $ac_func" >&5
89310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89311 if eval "test \"\${$as_ac_var+set}\" = set"; then
89312   echo $ECHO_N "(cached) $ECHO_C" >&6
89313 else
89314   if test x$gcc_no_link = xyes; then
89315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89317    { (exit 1); exit 1; }; }
89318 fi
89319 cat >conftest.$ac_ext <<_ACEOF
89320 /* confdefs.h.  */
89321 _ACEOF
89322 cat confdefs.h >>conftest.$ac_ext
89323 cat >>conftest.$ac_ext <<_ACEOF
89324 /* end confdefs.h.  */
89325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89327 #define $ac_func innocuous_$ac_func
89328
89329 /* System header to define __stub macros and hopefully few prototypes,
89330     which can conflict with char $ac_func (); below.
89331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89332     <limits.h> exists even on freestanding compilers.  */
89333
89334 #ifdef __STDC__
89335 # include <limits.h>
89336 #else
89337 # include <assert.h>
89338 #endif
89339
89340 #undef $ac_func
89341
89342 /* Override any gcc2 internal prototype to avoid an error.  */
89343 #ifdef __cplusplus
89344 extern "C"
89345 {
89346 #endif
89347 /* We use char because int might match the return type of a gcc2
89348    builtin and then its argument prototype would still apply.  */
89349 char $ac_func ();
89350 /* The GNU C library defines this for functions which it implements
89351     to always fail with ENOSYS.  Some functions are actually named
89352     something starting with __ and the normal name is an alias.  */
89353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89354 choke me
89355 #else
89356 char (*f) () = $ac_func;
89357 #endif
89358 #ifdef __cplusplus
89359 }
89360 #endif
89361
89362 int
89363 main ()
89364 {
89365 return f != $ac_func;
89366   ;
89367   return 0;
89368 }
89369 _ACEOF
89370 rm -f conftest.$ac_objext conftest$ac_exeext
89371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89372   (eval $ac_link) 2>conftest.er1
89373   ac_status=$?
89374   grep -v '^ *+' conftest.er1 >conftest.err
89375   rm -f conftest.er1
89376   cat conftest.err >&5
89377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89378   (exit $ac_status); } &&
89379          { ac_try='test -z "$ac_c_werror_flag"
89380                          || test ! -s conftest.err'
89381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89382   (eval $ac_try) 2>&5
89383   ac_status=$?
89384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89385   (exit $ac_status); }; } &&
89386          { ac_try='test -s conftest$ac_exeext'
89387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89388   (eval $ac_try) 2>&5
89389   ac_status=$?
89390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89391   (exit $ac_status); }; }; then
89392   eval "$as_ac_var=yes"
89393 else
89394   echo "$as_me: failed program was:" >&5
89395 sed 's/^/| /' conftest.$ac_ext >&5
89396
89397 eval "$as_ac_var=no"
89398 fi
89399 rm -f conftest.err conftest.$ac_objext \
89400       conftest$ac_exeext conftest.$ac_ext
89401 fi
89402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89404 if test `eval echo '${'$as_ac_var'}'` = yes; then
89405   cat >>confdefs.h <<_ACEOF
89406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89407 _ACEOF
89408
89409 fi
89410 done
89411
89412     fi
89413   fi
89414
89415
89416
89417
89418
89419
89420
89421
89422
89423
89424
89425
89426
89427
89428     echo "$as_me:$LINENO: checking for long double round functions" >&5
89429 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
89430   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
89431   echo $ECHO_N "(cached) $ECHO_C" >&6
89432 else
89433
89434
89435
89436     ac_ext=cc
89437 ac_cpp='$CXXCPP $CPPFLAGS'
89438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89441
89442     cat >conftest.$ac_ext <<_ACEOF
89443 /* confdefs.h.  */
89444 _ACEOF
89445 cat confdefs.h >>conftest.$ac_ext
89446 cat >>conftest.$ac_ext <<_ACEOF
89447 /* end confdefs.h.  */
89448 #include <math.h>
89449 int
89450 main ()
89451 {
89452 ceill (0); floorl (0);
89453   ;
89454   return 0;
89455 }
89456 _ACEOF
89457 rm -f conftest.$ac_objext
89458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89459   (eval $ac_compile) 2>conftest.er1
89460   ac_status=$?
89461   grep -v '^ *+' conftest.er1 >conftest.err
89462   rm -f conftest.er1
89463   cat conftest.err >&5
89464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89465   (exit $ac_status); } &&
89466          { ac_try='test -z "$ac_cxx_werror_flag"
89467                          || test ! -s conftest.err'
89468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89469   (eval $ac_try) 2>&5
89470   ac_status=$?
89471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89472   (exit $ac_status); }; } &&
89473          { ac_try='test -s conftest.$ac_objext'
89474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89475   (eval $ac_try) 2>&5
89476   ac_status=$?
89477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89478   (exit $ac_status); }; }; then
89479   glibcxx_cv_func_long_double_round_use=yes
89480 else
89481   echo "$as_me: failed program was:" >&5
89482 sed 's/^/| /' conftest.$ac_ext >&5
89483
89484 glibcxx_cv_func_long_double_round_use=no
89485 fi
89486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89487     ac_ext=c
89488 ac_cpp='$CPP $CPPFLAGS'
89489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89492
89493 fi
89494
89495   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
89496 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
89497   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
89498
89499
89500 for ac_func in ceill floorl
89501 do
89502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89503 echo "$as_me:$LINENO: checking for $ac_func" >&5
89504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89505 if eval "test \"\${$as_ac_var+set}\" = set"; then
89506   echo $ECHO_N "(cached) $ECHO_C" >&6
89507 else
89508   if test x$gcc_no_link = xyes; then
89509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89511    { (exit 1); exit 1; }; }
89512 fi
89513 cat >conftest.$ac_ext <<_ACEOF
89514 /* confdefs.h.  */
89515 _ACEOF
89516 cat confdefs.h >>conftest.$ac_ext
89517 cat >>conftest.$ac_ext <<_ACEOF
89518 /* end confdefs.h.  */
89519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89520    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89521 #define $ac_func innocuous_$ac_func
89522
89523 /* System header to define __stub macros and hopefully few prototypes,
89524     which can conflict with char $ac_func (); below.
89525     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89526     <limits.h> exists even on freestanding compilers.  */
89527
89528 #ifdef __STDC__
89529 # include <limits.h>
89530 #else
89531 # include <assert.h>
89532 #endif
89533
89534 #undef $ac_func
89535
89536 /* Override any gcc2 internal prototype to avoid an error.  */
89537 #ifdef __cplusplus
89538 extern "C"
89539 {
89540 #endif
89541 /* We use char because int might match the return type of a gcc2
89542    builtin and then its argument prototype would still apply.  */
89543 char $ac_func ();
89544 /* The GNU C library defines this for functions which it implements
89545     to always fail with ENOSYS.  Some functions are actually named
89546     something starting with __ and the normal name is an alias.  */
89547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89548 choke me
89549 #else
89550 char (*f) () = $ac_func;
89551 #endif
89552 #ifdef __cplusplus
89553 }
89554 #endif
89555
89556 int
89557 main ()
89558 {
89559 return f != $ac_func;
89560   ;
89561   return 0;
89562 }
89563 _ACEOF
89564 rm -f conftest.$ac_objext conftest$ac_exeext
89565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89566   (eval $ac_link) 2>conftest.er1
89567   ac_status=$?
89568   grep -v '^ *+' conftest.er1 >conftest.err
89569   rm -f conftest.er1
89570   cat conftest.err >&5
89571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89572   (exit $ac_status); } &&
89573          { ac_try='test -z "$ac_c_werror_flag"
89574                          || test ! -s conftest.err'
89575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89576   (eval $ac_try) 2>&5
89577   ac_status=$?
89578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89579   (exit $ac_status); }; } &&
89580          { ac_try='test -s conftest$ac_exeext'
89581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89582   (eval $ac_try) 2>&5
89583   ac_status=$?
89584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89585   (exit $ac_status); }; }; then
89586   eval "$as_ac_var=yes"
89587 else
89588   echo "$as_me: failed program was:" >&5
89589 sed 's/^/| /' conftest.$ac_ext >&5
89590
89591 eval "$as_ac_var=no"
89592 fi
89593 rm -f conftest.err conftest.$ac_objext \
89594       conftest$ac_exeext conftest.$ac_ext
89595 fi
89596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89598 if test `eval echo '${'$as_ac_var'}'` = yes; then
89599   cat >>confdefs.h <<_ACEOF
89600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89601 _ACEOF
89602
89603 fi
89604 done
89605
89606   else
89607     echo "$as_me:$LINENO: checking for _long double round functions" >&5
89608 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
89609     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
89610   echo $ECHO_N "(cached) $ECHO_C" >&6
89611 else
89612
89613
89614
89615       ac_ext=cc
89616 ac_cpp='$CXXCPP $CPPFLAGS'
89617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89620
89621       cat >conftest.$ac_ext <<_ACEOF
89622 /* confdefs.h.  */
89623 _ACEOF
89624 cat confdefs.h >>conftest.$ac_ext
89625 cat >>conftest.$ac_ext <<_ACEOF
89626 /* end confdefs.h.  */
89627 #include <math.h>
89628 int
89629 main ()
89630 {
89631 _ceill (0); _floorl (0);
89632   ;
89633   return 0;
89634 }
89635 _ACEOF
89636 rm -f conftest.$ac_objext
89637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89638   (eval $ac_compile) 2>conftest.er1
89639   ac_status=$?
89640   grep -v '^ *+' conftest.er1 >conftest.err
89641   rm -f conftest.er1
89642   cat conftest.err >&5
89643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89644   (exit $ac_status); } &&
89645          { ac_try='test -z "$ac_cxx_werror_flag"
89646                          || test ! -s conftest.err'
89647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89648   (eval $ac_try) 2>&5
89649   ac_status=$?
89650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89651   (exit $ac_status); }; } &&
89652          { ac_try='test -s conftest.$ac_objext'
89653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89654   (eval $ac_try) 2>&5
89655   ac_status=$?
89656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89657   (exit $ac_status); }; }; then
89658   glibcxx_cv_func__long_double_round_use=yes
89659 else
89660   echo "$as_me: failed program was:" >&5
89661 sed 's/^/| /' conftest.$ac_ext >&5
89662
89663 glibcxx_cv_func__long_double_round_use=no
89664 fi
89665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89666       ac_ext=c
89667 ac_cpp='$CPP $CPPFLAGS'
89668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89671
89672 fi
89673
89674     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
89675 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
89676     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
89677
89678
89679 for ac_func in _ceill _floorl
89680 do
89681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89682 echo "$as_me:$LINENO: checking for $ac_func" >&5
89683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89684 if eval "test \"\${$as_ac_var+set}\" = set"; then
89685   echo $ECHO_N "(cached) $ECHO_C" >&6
89686 else
89687   if test x$gcc_no_link = xyes; then
89688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89690    { (exit 1); exit 1; }; }
89691 fi
89692 cat >conftest.$ac_ext <<_ACEOF
89693 /* confdefs.h.  */
89694 _ACEOF
89695 cat confdefs.h >>conftest.$ac_ext
89696 cat >>conftest.$ac_ext <<_ACEOF
89697 /* end confdefs.h.  */
89698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89699    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89700 #define $ac_func innocuous_$ac_func
89701
89702 /* System header to define __stub macros and hopefully few prototypes,
89703     which can conflict with char $ac_func (); below.
89704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89705     <limits.h> exists even on freestanding compilers.  */
89706
89707 #ifdef __STDC__
89708 # include <limits.h>
89709 #else
89710 # include <assert.h>
89711 #endif
89712
89713 #undef $ac_func
89714
89715 /* Override any gcc2 internal prototype to avoid an error.  */
89716 #ifdef __cplusplus
89717 extern "C"
89718 {
89719 #endif
89720 /* We use char because int might match the return type of a gcc2
89721    builtin and then its argument prototype would still apply.  */
89722 char $ac_func ();
89723 /* The GNU C library defines this for functions which it implements
89724     to always fail with ENOSYS.  Some functions are actually named
89725     something starting with __ and the normal name is an alias.  */
89726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89727 choke me
89728 #else
89729 char (*f) () = $ac_func;
89730 #endif
89731 #ifdef __cplusplus
89732 }
89733 #endif
89734
89735 int
89736 main ()
89737 {
89738 return f != $ac_func;
89739   ;
89740   return 0;
89741 }
89742 _ACEOF
89743 rm -f conftest.$ac_objext conftest$ac_exeext
89744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89745   (eval $ac_link) 2>conftest.er1
89746   ac_status=$?
89747   grep -v '^ *+' conftest.er1 >conftest.err
89748   rm -f conftest.er1
89749   cat conftest.err >&5
89750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89751   (exit $ac_status); } &&
89752          { ac_try='test -z "$ac_c_werror_flag"
89753                          || test ! -s conftest.err'
89754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89755   (eval $ac_try) 2>&5
89756   ac_status=$?
89757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89758   (exit $ac_status); }; } &&
89759          { ac_try='test -s conftest$ac_exeext'
89760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89761   (eval $ac_try) 2>&5
89762   ac_status=$?
89763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89764   (exit $ac_status); }; }; then
89765   eval "$as_ac_var=yes"
89766 else
89767   echo "$as_me: failed program was:" >&5
89768 sed 's/^/| /' conftest.$ac_ext >&5
89769
89770 eval "$as_ac_var=no"
89771 fi
89772 rm -f conftest.err conftest.$ac_objext \
89773       conftest$ac_exeext conftest.$ac_ext
89774 fi
89775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89777 if test `eval echo '${'$as_ac_var'}'` = yes; then
89778   cat >>confdefs.h <<_ACEOF
89779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89780 _ACEOF
89781
89782 fi
89783 done
89784
89785     fi
89786   fi
89787
89788
89789
89790
89791
89792
89793
89794
89795   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
89796 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
89797   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
89798     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
89799   echo $ECHO_N "(cached) $ECHO_C" >&6
89800 else
89801
89802
89803
89804       ac_ext=cc
89805 ac_cpp='$CXXCPP $CPPFLAGS'
89806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89809
89810       cat >conftest.$ac_ext <<_ACEOF
89811 /* confdefs.h.  */
89812 _ACEOF
89813 cat confdefs.h >>conftest.$ac_ext
89814 cat >>conftest.$ac_ext <<_ACEOF
89815 /* end confdefs.h.  */
89816 #include <math.h>
89817                       #ifdef HAVE_IEEEFP_H
89818                       #include <ieeefp.h>
89819                       #endif
89820
89821 int
89822 main ()
89823 {
89824  isnanl(0);
89825   ;
89826   return 0;
89827 }
89828 _ACEOF
89829 rm -f conftest.$ac_objext
89830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89831   (eval $ac_compile) 2>conftest.er1
89832   ac_status=$?
89833   grep -v '^ *+' conftest.er1 >conftest.err
89834   rm -f conftest.er1
89835   cat conftest.err >&5
89836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89837   (exit $ac_status); } &&
89838          { ac_try='test -z "$ac_cxx_werror_flag"
89839                          || test ! -s conftest.err'
89840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89841   (eval $ac_try) 2>&5
89842   ac_status=$?
89843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89844   (exit $ac_status); }; } &&
89845          { ac_try='test -s conftest.$ac_objext'
89846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89847   (eval $ac_try) 2>&5
89848   ac_status=$?
89849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89850   (exit $ac_status); }; }; then
89851   glibcxx_cv_func_isnanl_use=yes
89852 else
89853   echo "$as_me: failed program was:" >&5
89854 sed 's/^/| /' conftest.$ac_ext >&5
89855
89856 glibcxx_cv_func_isnanl_use=no
89857 fi
89858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89859       ac_ext=c
89860 ac_cpp='$CPP $CPPFLAGS'
89861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89864
89865
89866 fi
89867
89868   fi
89869   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
89870 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
89871
89872   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
89873
89874 for ac_func in isnanl
89875 do
89876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89877 echo "$as_me:$LINENO: checking for $ac_func" >&5
89878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89879 if eval "test \"\${$as_ac_var+set}\" = set"; then
89880   echo $ECHO_N "(cached) $ECHO_C" >&6
89881 else
89882   if test x$gcc_no_link = xyes; then
89883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89885    { (exit 1); exit 1; }; }
89886 fi
89887 cat >conftest.$ac_ext <<_ACEOF
89888 /* confdefs.h.  */
89889 _ACEOF
89890 cat confdefs.h >>conftest.$ac_ext
89891 cat >>conftest.$ac_ext <<_ACEOF
89892 /* end confdefs.h.  */
89893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89894    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89895 #define $ac_func innocuous_$ac_func
89896
89897 /* System header to define __stub macros and hopefully few prototypes,
89898     which can conflict with char $ac_func (); below.
89899     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89900     <limits.h> exists even on freestanding compilers.  */
89901
89902 #ifdef __STDC__
89903 # include <limits.h>
89904 #else
89905 # include <assert.h>
89906 #endif
89907
89908 #undef $ac_func
89909
89910 /* Override any gcc2 internal prototype to avoid an error.  */
89911 #ifdef __cplusplus
89912 extern "C"
89913 {
89914 #endif
89915 /* We use char because int might match the return type of a gcc2
89916    builtin and then its argument prototype would still apply.  */
89917 char $ac_func ();
89918 /* The GNU C library defines this for functions which it implements
89919     to always fail with ENOSYS.  Some functions are actually named
89920     something starting with __ and the normal name is an alias.  */
89921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89922 choke me
89923 #else
89924 char (*f) () = $ac_func;
89925 #endif
89926 #ifdef __cplusplus
89927 }
89928 #endif
89929
89930 int
89931 main ()
89932 {
89933 return f != $ac_func;
89934   ;
89935   return 0;
89936 }
89937 _ACEOF
89938 rm -f conftest.$ac_objext conftest$ac_exeext
89939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89940   (eval $ac_link) 2>conftest.er1
89941   ac_status=$?
89942   grep -v '^ *+' conftest.er1 >conftest.err
89943   rm -f conftest.er1
89944   cat conftest.err >&5
89945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89946   (exit $ac_status); } &&
89947          { ac_try='test -z "$ac_c_werror_flag"
89948                          || test ! -s conftest.err'
89949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89950   (eval $ac_try) 2>&5
89951   ac_status=$?
89952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89953   (exit $ac_status); }; } &&
89954          { ac_try='test -s conftest$ac_exeext'
89955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89956   (eval $ac_try) 2>&5
89957   ac_status=$?
89958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89959   (exit $ac_status); }; }; then
89960   eval "$as_ac_var=yes"
89961 else
89962   echo "$as_me: failed program was:" >&5
89963 sed 's/^/| /' conftest.$ac_ext >&5
89964
89965 eval "$as_ac_var=no"
89966 fi
89967 rm -f conftest.err conftest.$ac_objext \
89968       conftest$ac_exeext conftest.$ac_ext
89969 fi
89970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89972 if test `eval echo '${'$as_ac_var'}'` = yes; then
89973   cat >>confdefs.h <<_ACEOF
89974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89975 _ACEOF
89976
89977 fi
89978 done
89979
89980   else
89981
89982   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
89983 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
89984   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
89985     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
89986   echo $ECHO_N "(cached) $ECHO_C" >&6
89987 else
89988
89989
89990
89991       ac_ext=cc
89992 ac_cpp='$CXXCPP $CPPFLAGS'
89993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89996
89997       cat >conftest.$ac_ext <<_ACEOF
89998 /* confdefs.h.  */
89999 _ACEOF
90000 cat confdefs.h >>conftest.$ac_ext
90001 cat >>conftest.$ac_ext <<_ACEOF
90002 /* end confdefs.h.  */
90003 #include <math.h>
90004                       #ifdef HAVE_IEEEFP_H
90005                       #include <ieeefp.h>
90006                       #endif
90007
90008 int
90009 main ()
90010 {
90011  _isnanl(0);
90012   ;
90013   return 0;
90014 }
90015 _ACEOF
90016 rm -f conftest.$ac_objext
90017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90018   (eval $ac_compile) 2>conftest.er1
90019   ac_status=$?
90020   grep -v '^ *+' conftest.er1 >conftest.err
90021   rm -f conftest.er1
90022   cat conftest.err >&5
90023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90024   (exit $ac_status); } &&
90025          { ac_try='test -z "$ac_cxx_werror_flag"
90026                          || test ! -s conftest.err'
90027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90028   (eval $ac_try) 2>&5
90029   ac_status=$?
90030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90031   (exit $ac_status); }; } &&
90032          { ac_try='test -s conftest.$ac_objext'
90033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90034   (eval $ac_try) 2>&5
90035   ac_status=$?
90036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90037   (exit $ac_status); }; }; then
90038   glibcxx_cv_func__isnanl_use=yes
90039 else
90040   echo "$as_me: failed program was:" >&5
90041 sed 's/^/| /' conftest.$ac_ext >&5
90042
90043 glibcxx_cv_func__isnanl_use=no
90044 fi
90045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90046       ac_ext=c
90047 ac_cpp='$CPP $CPPFLAGS'
90048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90051
90052
90053 fi
90054
90055   fi
90056   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
90057 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
90058
90059     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
90060
90061 for ac_func in _isnanl
90062 do
90063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90064 echo "$as_me:$LINENO: checking for $ac_func" >&5
90065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90066 if eval "test \"\${$as_ac_var+set}\" = set"; then
90067   echo $ECHO_N "(cached) $ECHO_C" >&6
90068 else
90069   if test x$gcc_no_link = xyes; then
90070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90072    { (exit 1); exit 1; }; }
90073 fi
90074 cat >conftest.$ac_ext <<_ACEOF
90075 /* confdefs.h.  */
90076 _ACEOF
90077 cat confdefs.h >>conftest.$ac_ext
90078 cat >>conftest.$ac_ext <<_ACEOF
90079 /* end confdefs.h.  */
90080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90081    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90082 #define $ac_func innocuous_$ac_func
90083
90084 /* System header to define __stub macros and hopefully few prototypes,
90085     which can conflict with char $ac_func (); below.
90086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90087     <limits.h> exists even on freestanding compilers.  */
90088
90089 #ifdef __STDC__
90090 # include <limits.h>
90091 #else
90092 # include <assert.h>
90093 #endif
90094
90095 #undef $ac_func
90096
90097 /* Override any gcc2 internal prototype to avoid an error.  */
90098 #ifdef __cplusplus
90099 extern "C"
90100 {
90101 #endif
90102 /* We use char because int might match the return type of a gcc2
90103    builtin and then its argument prototype would still apply.  */
90104 char $ac_func ();
90105 /* The GNU C library defines this for functions which it implements
90106     to always fail with ENOSYS.  Some functions are actually named
90107     something starting with __ and the normal name is an alias.  */
90108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90109 choke me
90110 #else
90111 char (*f) () = $ac_func;
90112 #endif
90113 #ifdef __cplusplus
90114 }
90115 #endif
90116
90117 int
90118 main ()
90119 {
90120 return f != $ac_func;
90121   ;
90122   return 0;
90123 }
90124 _ACEOF
90125 rm -f conftest.$ac_objext conftest$ac_exeext
90126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90127   (eval $ac_link) 2>conftest.er1
90128   ac_status=$?
90129   grep -v '^ *+' conftest.er1 >conftest.err
90130   rm -f conftest.er1
90131   cat conftest.err >&5
90132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90133   (exit $ac_status); } &&
90134          { ac_try='test -z "$ac_c_werror_flag"
90135                          || test ! -s conftest.err'
90136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90137   (eval $ac_try) 2>&5
90138   ac_status=$?
90139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90140   (exit $ac_status); }; } &&
90141          { ac_try='test -s conftest$ac_exeext'
90142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90143   (eval $ac_try) 2>&5
90144   ac_status=$?
90145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90146   (exit $ac_status); }; }; then
90147   eval "$as_ac_var=yes"
90148 else
90149   echo "$as_me: failed program was:" >&5
90150 sed 's/^/| /' conftest.$ac_ext >&5
90151
90152 eval "$as_ac_var=no"
90153 fi
90154 rm -f conftest.err conftest.$ac_objext \
90155       conftest$ac_exeext conftest.$ac_ext
90156 fi
90157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90159 if test `eval echo '${'$as_ac_var'}'` = yes; then
90160   cat >>confdefs.h <<_ACEOF
90161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90162 _ACEOF
90163
90164 fi
90165 done
90166
90167     fi
90168   fi
90169
90170
90171
90172
90173
90174
90175   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
90176 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
90177   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
90178     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
90179   echo $ECHO_N "(cached) $ECHO_C" >&6
90180 else
90181
90182
90183
90184       ac_ext=cc
90185 ac_cpp='$CXXCPP $CPPFLAGS'
90186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90189
90190       cat >conftest.$ac_ext <<_ACEOF
90191 /* confdefs.h.  */
90192 _ACEOF
90193 cat confdefs.h >>conftest.$ac_ext
90194 cat >>conftest.$ac_ext <<_ACEOF
90195 /* end confdefs.h.  */
90196 #include <math.h>
90197                       #ifdef HAVE_IEEEFP_H
90198                       #include <ieeefp.h>
90199                       #endif
90200
90201 int
90202 main ()
90203 {
90204  isinfl(0);
90205   ;
90206   return 0;
90207 }
90208 _ACEOF
90209 rm -f conftest.$ac_objext
90210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90211   (eval $ac_compile) 2>conftest.er1
90212   ac_status=$?
90213   grep -v '^ *+' conftest.er1 >conftest.err
90214   rm -f conftest.er1
90215   cat conftest.err >&5
90216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90217   (exit $ac_status); } &&
90218          { ac_try='test -z "$ac_cxx_werror_flag"
90219                          || test ! -s conftest.err'
90220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90221   (eval $ac_try) 2>&5
90222   ac_status=$?
90223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90224   (exit $ac_status); }; } &&
90225          { ac_try='test -s conftest.$ac_objext'
90226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90227   (eval $ac_try) 2>&5
90228   ac_status=$?
90229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90230   (exit $ac_status); }; }; then
90231   glibcxx_cv_func_isinfl_use=yes
90232 else
90233   echo "$as_me: failed program was:" >&5
90234 sed 's/^/| /' conftest.$ac_ext >&5
90235
90236 glibcxx_cv_func_isinfl_use=no
90237 fi
90238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90239       ac_ext=c
90240 ac_cpp='$CPP $CPPFLAGS'
90241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90244
90245
90246 fi
90247
90248   fi
90249   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
90250 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
90251
90252   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
90253
90254 for ac_func in isinfl
90255 do
90256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90257 echo "$as_me:$LINENO: checking for $ac_func" >&5
90258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90259 if eval "test \"\${$as_ac_var+set}\" = set"; then
90260   echo $ECHO_N "(cached) $ECHO_C" >&6
90261 else
90262   if test x$gcc_no_link = xyes; then
90263   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90265    { (exit 1); exit 1; }; }
90266 fi
90267 cat >conftest.$ac_ext <<_ACEOF
90268 /* confdefs.h.  */
90269 _ACEOF
90270 cat confdefs.h >>conftest.$ac_ext
90271 cat >>conftest.$ac_ext <<_ACEOF
90272 /* end confdefs.h.  */
90273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90274    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90275 #define $ac_func innocuous_$ac_func
90276
90277 /* System header to define __stub macros and hopefully few prototypes,
90278     which can conflict with char $ac_func (); below.
90279     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90280     <limits.h> exists even on freestanding compilers.  */
90281
90282 #ifdef __STDC__
90283 # include <limits.h>
90284 #else
90285 # include <assert.h>
90286 #endif
90287
90288 #undef $ac_func
90289
90290 /* Override any gcc2 internal prototype to avoid an error.  */
90291 #ifdef __cplusplus
90292 extern "C"
90293 {
90294 #endif
90295 /* We use char because int might match the return type of a gcc2
90296    builtin and then its argument prototype would still apply.  */
90297 char $ac_func ();
90298 /* The GNU C library defines this for functions which it implements
90299     to always fail with ENOSYS.  Some functions are actually named
90300     something starting with __ and the normal name is an alias.  */
90301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90302 choke me
90303 #else
90304 char (*f) () = $ac_func;
90305 #endif
90306 #ifdef __cplusplus
90307 }
90308 #endif
90309
90310 int
90311 main ()
90312 {
90313 return f != $ac_func;
90314   ;
90315   return 0;
90316 }
90317 _ACEOF
90318 rm -f conftest.$ac_objext conftest$ac_exeext
90319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90320   (eval $ac_link) 2>conftest.er1
90321   ac_status=$?
90322   grep -v '^ *+' conftest.er1 >conftest.err
90323   rm -f conftest.er1
90324   cat conftest.err >&5
90325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90326   (exit $ac_status); } &&
90327          { ac_try='test -z "$ac_c_werror_flag"
90328                          || test ! -s conftest.err'
90329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90330   (eval $ac_try) 2>&5
90331   ac_status=$?
90332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90333   (exit $ac_status); }; } &&
90334          { ac_try='test -s conftest$ac_exeext'
90335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90336   (eval $ac_try) 2>&5
90337   ac_status=$?
90338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90339   (exit $ac_status); }; }; then
90340   eval "$as_ac_var=yes"
90341 else
90342   echo "$as_me: failed program was:" >&5
90343 sed 's/^/| /' conftest.$ac_ext >&5
90344
90345 eval "$as_ac_var=no"
90346 fi
90347 rm -f conftest.err conftest.$ac_objext \
90348       conftest$ac_exeext conftest.$ac_ext
90349 fi
90350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90352 if test `eval echo '${'$as_ac_var'}'` = yes; then
90353   cat >>confdefs.h <<_ACEOF
90354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90355 _ACEOF
90356
90357 fi
90358 done
90359
90360   else
90361
90362   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
90363 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
90364   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
90365     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
90366   echo $ECHO_N "(cached) $ECHO_C" >&6
90367 else
90368
90369
90370
90371       ac_ext=cc
90372 ac_cpp='$CXXCPP $CPPFLAGS'
90373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90376
90377       cat >conftest.$ac_ext <<_ACEOF
90378 /* confdefs.h.  */
90379 _ACEOF
90380 cat confdefs.h >>conftest.$ac_ext
90381 cat >>conftest.$ac_ext <<_ACEOF
90382 /* end confdefs.h.  */
90383 #include <math.h>
90384                       #ifdef HAVE_IEEEFP_H
90385                       #include <ieeefp.h>
90386                       #endif
90387
90388 int
90389 main ()
90390 {
90391  _isinfl(0);
90392   ;
90393   return 0;
90394 }
90395 _ACEOF
90396 rm -f conftest.$ac_objext
90397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90398   (eval $ac_compile) 2>conftest.er1
90399   ac_status=$?
90400   grep -v '^ *+' conftest.er1 >conftest.err
90401   rm -f conftest.er1
90402   cat conftest.err >&5
90403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90404   (exit $ac_status); } &&
90405          { ac_try='test -z "$ac_cxx_werror_flag"
90406                          || test ! -s conftest.err'
90407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90408   (eval $ac_try) 2>&5
90409   ac_status=$?
90410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90411   (exit $ac_status); }; } &&
90412          { ac_try='test -s conftest.$ac_objext'
90413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90414   (eval $ac_try) 2>&5
90415   ac_status=$?
90416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90417   (exit $ac_status); }; }; then
90418   glibcxx_cv_func__isinfl_use=yes
90419 else
90420   echo "$as_me: failed program was:" >&5
90421 sed 's/^/| /' conftest.$ac_ext >&5
90422
90423 glibcxx_cv_func__isinfl_use=no
90424 fi
90425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90426       ac_ext=c
90427 ac_cpp='$CPP $CPPFLAGS'
90428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90431
90432
90433 fi
90434
90435   fi
90436   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
90437 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
90438
90439     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
90440
90441 for ac_func in _isinfl
90442 do
90443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90444 echo "$as_me:$LINENO: checking for $ac_func" >&5
90445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90446 if eval "test \"\${$as_ac_var+set}\" = set"; then
90447   echo $ECHO_N "(cached) $ECHO_C" >&6
90448 else
90449   if test x$gcc_no_link = xyes; then
90450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90452    { (exit 1); exit 1; }; }
90453 fi
90454 cat >conftest.$ac_ext <<_ACEOF
90455 /* confdefs.h.  */
90456 _ACEOF
90457 cat confdefs.h >>conftest.$ac_ext
90458 cat >>conftest.$ac_ext <<_ACEOF
90459 /* end confdefs.h.  */
90460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90461    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90462 #define $ac_func innocuous_$ac_func
90463
90464 /* System header to define __stub macros and hopefully few prototypes,
90465     which can conflict with char $ac_func (); below.
90466     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90467     <limits.h> exists even on freestanding compilers.  */
90468
90469 #ifdef __STDC__
90470 # include <limits.h>
90471 #else
90472 # include <assert.h>
90473 #endif
90474
90475 #undef $ac_func
90476
90477 /* Override any gcc2 internal prototype to avoid an error.  */
90478 #ifdef __cplusplus
90479 extern "C"
90480 {
90481 #endif
90482 /* We use char because int might match the return type of a gcc2
90483    builtin and then its argument prototype would still apply.  */
90484 char $ac_func ();
90485 /* The GNU C library defines this for functions which it implements
90486     to always fail with ENOSYS.  Some functions are actually named
90487     something starting with __ and the normal name is an alias.  */
90488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90489 choke me
90490 #else
90491 char (*f) () = $ac_func;
90492 #endif
90493 #ifdef __cplusplus
90494 }
90495 #endif
90496
90497 int
90498 main ()
90499 {
90500 return f != $ac_func;
90501   ;
90502   return 0;
90503 }
90504 _ACEOF
90505 rm -f conftest.$ac_objext conftest$ac_exeext
90506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90507   (eval $ac_link) 2>conftest.er1
90508   ac_status=$?
90509   grep -v '^ *+' conftest.er1 >conftest.err
90510   rm -f conftest.er1
90511   cat conftest.err >&5
90512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90513   (exit $ac_status); } &&
90514          { ac_try='test -z "$ac_c_werror_flag"
90515                          || test ! -s conftest.err'
90516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90517   (eval $ac_try) 2>&5
90518   ac_status=$?
90519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90520   (exit $ac_status); }; } &&
90521          { ac_try='test -s conftest$ac_exeext'
90522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90523   (eval $ac_try) 2>&5
90524   ac_status=$?
90525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90526   (exit $ac_status); }; }; then
90527   eval "$as_ac_var=yes"
90528 else
90529   echo "$as_me: failed program was:" >&5
90530 sed 's/^/| /' conftest.$ac_ext >&5
90531
90532 eval "$as_ac_var=no"
90533 fi
90534 rm -f conftest.err conftest.$ac_objext \
90535       conftest$ac_exeext conftest.$ac_ext
90536 fi
90537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90539 if test `eval echo '${'$as_ac_var'}'` = yes; then
90540   cat >>confdefs.h <<_ACEOF
90541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90542 _ACEOF
90543
90544 fi
90545 done
90546
90547     fi
90548   fi
90549
90550
90551
90552
90553
90554
90555   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
90556 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
90557   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
90558     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
90559   echo $ECHO_N "(cached) $ECHO_C" >&6
90560 else
90561
90562
90563
90564       ac_ext=cc
90565 ac_cpp='$CXXCPP $CPPFLAGS'
90566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90569
90570       cat >conftest.$ac_ext <<_ACEOF
90571 /* confdefs.h.  */
90572 _ACEOF
90573 cat confdefs.h >>conftest.$ac_ext
90574 cat >>conftest.$ac_ext <<_ACEOF
90575 /* end confdefs.h.  */
90576 #include <math.h>
90577 int
90578 main ()
90579 {
90580  copysignl(0, 0);
90581   ;
90582   return 0;
90583 }
90584 _ACEOF
90585 rm -f conftest.$ac_objext
90586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90587   (eval $ac_compile) 2>conftest.er1
90588   ac_status=$?
90589   grep -v '^ *+' conftest.er1 >conftest.err
90590   rm -f conftest.er1
90591   cat conftest.err >&5
90592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90593   (exit $ac_status); } &&
90594          { ac_try='test -z "$ac_cxx_werror_flag"
90595                          || test ! -s conftest.err'
90596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90597   (eval $ac_try) 2>&5
90598   ac_status=$?
90599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90600   (exit $ac_status); }; } &&
90601          { ac_try='test -s conftest.$ac_objext'
90602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90603   (eval $ac_try) 2>&5
90604   ac_status=$?
90605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90606   (exit $ac_status); }; }; then
90607   glibcxx_cv_func_copysignl_use=yes
90608 else
90609   echo "$as_me: failed program was:" >&5
90610 sed 's/^/| /' conftest.$ac_ext >&5
90611
90612 glibcxx_cv_func_copysignl_use=no
90613 fi
90614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90615       ac_ext=c
90616 ac_cpp='$CPP $CPPFLAGS'
90617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90620
90621
90622 fi
90623
90624   fi
90625   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
90626 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
90627
90628   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
90629
90630 for ac_func in copysignl
90631 do
90632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90633 echo "$as_me:$LINENO: checking for $ac_func" >&5
90634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90635 if eval "test \"\${$as_ac_var+set}\" = set"; then
90636   echo $ECHO_N "(cached) $ECHO_C" >&6
90637 else
90638   if test x$gcc_no_link = xyes; then
90639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90641    { (exit 1); exit 1; }; }
90642 fi
90643 cat >conftest.$ac_ext <<_ACEOF
90644 /* confdefs.h.  */
90645 _ACEOF
90646 cat confdefs.h >>conftest.$ac_ext
90647 cat >>conftest.$ac_ext <<_ACEOF
90648 /* end confdefs.h.  */
90649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90650    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90651 #define $ac_func innocuous_$ac_func
90652
90653 /* System header to define __stub macros and hopefully few prototypes,
90654     which can conflict with char $ac_func (); below.
90655     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90656     <limits.h> exists even on freestanding compilers.  */
90657
90658 #ifdef __STDC__
90659 # include <limits.h>
90660 #else
90661 # include <assert.h>
90662 #endif
90663
90664 #undef $ac_func
90665
90666 /* Override any gcc2 internal prototype to avoid an error.  */
90667 #ifdef __cplusplus
90668 extern "C"
90669 {
90670 #endif
90671 /* We use char because int might match the return type of a gcc2
90672    builtin and then its argument prototype would still apply.  */
90673 char $ac_func ();
90674 /* The GNU C library defines this for functions which it implements
90675     to always fail with ENOSYS.  Some functions are actually named
90676     something starting with __ and the normal name is an alias.  */
90677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90678 choke me
90679 #else
90680 char (*f) () = $ac_func;
90681 #endif
90682 #ifdef __cplusplus
90683 }
90684 #endif
90685
90686 int
90687 main ()
90688 {
90689 return f != $ac_func;
90690   ;
90691   return 0;
90692 }
90693 _ACEOF
90694 rm -f conftest.$ac_objext conftest$ac_exeext
90695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90696   (eval $ac_link) 2>conftest.er1
90697   ac_status=$?
90698   grep -v '^ *+' conftest.er1 >conftest.err
90699   rm -f conftest.er1
90700   cat conftest.err >&5
90701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90702   (exit $ac_status); } &&
90703          { ac_try='test -z "$ac_c_werror_flag"
90704                          || test ! -s conftest.err'
90705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90706   (eval $ac_try) 2>&5
90707   ac_status=$?
90708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90709   (exit $ac_status); }; } &&
90710          { ac_try='test -s conftest$ac_exeext'
90711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90712   (eval $ac_try) 2>&5
90713   ac_status=$?
90714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90715   (exit $ac_status); }; }; then
90716   eval "$as_ac_var=yes"
90717 else
90718   echo "$as_me: failed program was:" >&5
90719 sed 's/^/| /' conftest.$ac_ext >&5
90720
90721 eval "$as_ac_var=no"
90722 fi
90723 rm -f conftest.err conftest.$ac_objext \
90724       conftest$ac_exeext conftest.$ac_ext
90725 fi
90726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90728 if test `eval echo '${'$as_ac_var'}'` = yes; then
90729   cat >>confdefs.h <<_ACEOF
90730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90731 _ACEOF
90732
90733 fi
90734 done
90735
90736   else
90737
90738   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
90739 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
90740   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
90741     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
90742   echo $ECHO_N "(cached) $ECHO_C" >&6
90743 else
90744
90745
90746
90747       ac_ext=cc
90748 ac_cpp='$CXXCPP $CPPFLAGS'
90749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90752
90753       cat >conftest.$ac_ext <<_ACEOF
90754 /* confdefs.h.  */
90755 _ACEOF
90756 cat confdefs.h >>conftest.$ac_ext
90757 cat >>conftest.$ac_ext <<_ACEOF
90758 /* end confdefs.h.  */
90759 #include <math.h>
90760 int
90761 main ()
90762 {
90763  _copysignl(0, 0);
90764   ;
90765   return 0;
90766 }
90767 _ACEOF
90768 rm -f conftest.$ac_objext
90769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90770   (eval $ac_compile) 2>conftest.er1
90771   ac_status=$?
90772   grep -v '^ *+' conftest.er1 >conftest.err
90773   rm -f conftest.er1
90774   cat conftest.err >&5
90775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90776   (exit $ac_status); } &&
90777          { ac_try='test -z "$ac_cxx_werror_flag"
90778                          || test ! -s conftest.err'
90779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90780   (eval $ac_try) 2>&5
90781   ac_status=$?
90782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90783   (exit $ac_status); }; } &&
90784          { ac_try='test -s conftest.$ac_objext'
90785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90786   (eval $ac_try) 2>&5
90787   ac_status=$?
90788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90789   (exit $ac_status); }; }; then
90790   glibcxx_cv_func__copysignl_use=yes
90791 else
90792   echo "$as_me: failed program was:" >&5
90793 sed 's/^/| /' conftest.$ac_ext >&5
90794
90795 glibcxx_cv_func__copysignl_use=no
90796 fi
90797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90798       ac_ext=c
90799 ac_cpp='$CPP $CPPFLAGS'
90800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90803
90804
90805 fi
90806
90807   fi
90808   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
90809 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
90810
90811     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
90812
90813 for ac_func in _copysignl
90814 do
90815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90816 echo "$as_me:$LINENO: checking for $ac_func" >&5
90817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90818 if eval "test \"\${$as_ac_var+set}\" = set"; then
90819   echo $ECHO_N "(cached) $ECHO_C" >&6
90820 else
90821   if test x$gcc_no_link = xyes; then
90822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90824    { (exit 1); exit 1; }; }
90825 fi
90826 cat >conftest.$ac_ext <<_ACEOF
90827 /* confdefs.h.  */
90828 _ACEOF
90829 cat confdefs.h >>conftest.$ac_ext
90830 cat >>conftest.$ac_ext <<_ACEOF
90831 /* end confdefs.h.  */
90832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90834 #define $ac_func innocuous_$ac_func
90835
90836 /* System header to define __stub macros and hopefully few prototypes,
90837     which can conflict with char $ac_func (); below.
90838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90839     <limits.h> exists even on freestanding compilers.  */
90840
90841 #ifdef __STDC__
90842 # include <limits.h>
90843 #else
90844 # include <assert.h>
90845 #endif
90846
90847 #undef $ac_func
90848
90849 /* Override any gcc2 internal prototype to avoid an error.  */
90850 #ifdef __cplusplus
90851 extern "C"
90852 {
90853 #endif
90854 /* We use char because int might match the return type of a gcc2
90855    builtin and then its argument prototype would still apply.  */
90856 char $ac_func ();
90857 /* The GNU C library defines this for functions which it implements
90858     to always fail with ENOSYS.  Some functions are actually named
90859     something starting with __ and the normal name is an alias.  */
90860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90861 choke me
90862 #else
90863 char (*f) () = $ac_func;
90864 #endif
90865 #ifdef __cplusplus
90866 }
90867 #endif
90868
90869 int
90870 main ()
90871 {
90872 return f != $ac_func;
90873   ;
90874   return 0;
90875 }
90876 _ACEOF
90877 rm -f conftest.$ac_objext conftest$ac_exeext
90878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90879   (eval $ac_link) 2>conftest.er1
90880   ac_status=$?
90881   grep -v '^ *+' conftest.er1 >conftest.err
90882   rm -f conftest.er1
90883   cat conftest.err >&5
90884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90885   (exit $ac_status); } &&
90886          { ac_try='test -z "$ac_c_werror_flag"
90887                          || test ! -s conftest.err'
90888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90889   (eval $ac_try) 2>&5
90890   ac_status=$?
90891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90892   (exit $ac_status); }; } &&
90893          { ac_try='test -s conftest$ac_exeext'
90894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90895   (eval $ac_try) 2>&5
90896   ac_status=$?
90897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90898   (exit $ac_status); }; }; then
90899   eval "$as_ac_var=yes"
90900 else
90901   echo "$as_me: failed program was:" >&5
90902 sed 's/^/| /' conftest.$ac_ext >&5
90903
90904 eval "$as_ac_var=no"
90905 fi
90906 rm -f conftest.err conftest.$ac_objext \
90907       conftest$ac_exeext conftest.$ac_ext
90908 fi
90909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90911 if test `eval echo '${'$as_ac_var'}'` = yes; then
90912   cat >>confdefs.h <<_ACEOF
90913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90914 _ACEOF
90915
90916 fi
90917 done
90918
90919     fi
90920   fi
90921
90922
90923
90924
90925
90926
90927   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
90928 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
90929   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
90930     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
90931   echo $ECHO_N "(cached) $ECHO_C" >&6
90932 else
90933
90934
90935
90936       ac_ext=cc
90937 ac_cpp='$CXXCPP $CPPFLAGS'
90938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90941
90942       cat >conftest.$ac_ext <<_ACEOF
90943 /* confdefs.h.  */
90944 _ACEOF
90945 cat confdefs.h >>conftest.$ac_ext
90946 cat >>conftest.$ac_ext <<_ACEOF
90947 /* end confdefs.h.  */
90948 #include <math.h>
90949 int
90950 main ()
90951 {
90952  atan2l(0, 0);
90953   ;
90954   return 0;
90955 }
90956 _ACEOF
90957 rm -f conftest.$ac_objext
90958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90959   (eval $ac_compile) 2>conftest.er1
90960   ac_status=$?
90961   grep -v '^ *+' conftest.er1 >conftest.err
90962   rm -f conftest.er1
90963   cat conftest.err >&5
90964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90965   (exit $ac_status); } &&
90966          { ac_try='test -z "$ac_cxx_werror_flag"
90967                          || test ! -s conftest.err'
90968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90969   (eval $ac_try) 2>&5
90970   ac_status=$?
90971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90972   (exit $ac_status); }; } &&
90973          { ac_try='test -s conftest.$ac_objext'
90974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90975   (eval $ac_try) 2>&5
90976   ac_status=$?
90977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90978   (exit $ac_status); }; }; then
90979   glibcxx_cv_func_atan2l_use=yes
90980 else
90981   echo "$as_me: failed program was:" >&5
90982 sed 's/^/| /' conftest.$ac_ext >&5
90983
90984 glibcxx_cv_func_atan2l_use=no
90985 fi
90986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90987       ac_ext=c
90988 ac_cpp='$CPP $CPPFLAGS'
90989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90992
90993
90994 fi
90995
90996   fi
90997   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
90998 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
90999
91000   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
91001
91002 for ac_func in atan2l
91003 do
91004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91005 echo "$as_me:$LINENO: checking for $ac_func" >&5
91006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91007 if eval "test \"\${$as_ac_var+set}\" = set"; then
91008   echo $ECHO_N "(cached) $ECHO_C" >&6
91009 else
91010   if test x$gcc_no_link = xyes; then
91011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91013    { (exit 1); exit 1; }; }
91014 fi
91015 cat >conftest.$ac_ext <<_ACEOF
91016 /* confdefs.h.  */
91017 _ACEOF
91018 cat confdefs.h >>conftest.$ac_ext
91019 cat >>conftest.$ac_ext <<_ACEOF
91020 /* end confdefs.h.  */
91021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91023 #define $ac_func innocuous_$ac_func
91024
91025 /* System header to define __stub macros and hopefully few prototypes,
91026     which can conflict with char $ac_func (); below.
91027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91028     <limits.h> exists even on freestanding compilers.  */
91029
91030 #ifdef __STDC__
91031 # include <limits.h>
91032 #else
91033 # include <assert.h>
91034 #endif
91035
91036 #undef $ac_func
91037
91038 /* Override any gcc2 internal prototype to avoid an error.  */
91039 #ifdef __cplusplus
91040 extern "C"
91041 {
91042 #endif
91043 /* We use char because int might match the return type of a gcc2
91044    builtin and then its argument prototype would still apply.  */
91045 char $ac_func ();
91046 /* The GNU C library defines this for functions which it implements
91047     to always fail with ENOSYS.  Some functions are actually named
91048     something starting with __ and the normal name is an alias.  */
91049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91050 choke me
91051 #else
91052 char (*f) () = $ac_func;
91053 #endif
91054 #ifdef __cplusplus
91055 }
91056 #endif
91057
91058 int
91059 main ()
91060 {
91061 return f != $ac_func;
91062   ;
91063   return 0;
91064 }
91065 _ACEOF
91066 rm -f conftest.$ac_objext conftest$ac_exeext
91067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91068   (eval $ac_link) 2>conftest.er1
91069   ac_status=$?
91070   grep -v '^ *+' conftest.er1 >conftest.err
91071   rm -f conftest.er1
91072   cat conftest.err >&5
91073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91074   (exit $ac_status); } &&
91075          { ac_try='test -z "$ac_c_werror_flag"
91076                          || test ! -s conftest.err'
91077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91078   (eval $ac_try) 2>&5
91079   ac_status=$?
91080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91081   (exit $ac_status); }; } &&
91082          { ac_try='test -s conftest$ac_exeext'
91083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91084   (eval $ac_try) 2>&5
91085   ac_status=$?
91086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91087   (exit $ac_status); }; }; then
91088   eval "$as_ac_var=yes"
91089 else
91090   echo "$as_me: failed program was:" >&5
91091 sed 's/^/| /' conftest.$ac_ext >&5
91092
91093 eval "$as_ac_var=no"
91094 fi
91095 rm -f conftest.err conftest.$ac_objext \
91096       conftest$ac_exeext conftest.$ac_ext
91097 fi
91098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91100 if test `eval echo '${'$as_ac_var'}'` = yes; then
91101   cat >>confdefs.h <<_ACEOF
91102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91103 _ACEOF
91104
91105 fi
91106 done
91107
91108   else
91109
91110   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
91111 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
91112   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
91113     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
91114   echo $ECHO_N "(cached) $ECHO_C" >&6
91115 else
91116
91117
91118
91119       ac_ext=cc
91120 ac_cpp='$CXXCPP $CPPFLAGS'
91121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91124
91125       cat >conftest.$ac_ext <<_ACEOF
91126 /* confdefs.h.  */
91127 _ACEOF
91128 cat confdefs.h >>conftest.$ac_ext
91129 cat >>conftest.$ac_ext <<_ACEOF
91130 /* end confdefs.h.  */
91131 #include <math.h>
91132 int
91133 main ()
91134 {
91135  _atan2l(0, 0);
91136   ;
91137   return 0;
91138 }
91139 _ACEOF
91140 rm -f conftest.$ac_objext
91141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91142   (eval $ac_compile) 2>conftest.er1
91143   ac_status=$?
91144   grep -v '^ *+' conftest.er1 >conftest.err
91145   rm -f conftest.er1
91146   cat conftest.err >&5
91147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91148   (exit $ac_status); } &&
91149          { ac_try='test -z "$ac_cxx_werror_flag"
91150                          || test ! -s conftest.err'
91151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91152   (eval $ac_try) 2>&5
91153   ac_status=$?
91154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91155   (exit $ac_status); }; } &&
91156          { ac_try='test -s conftest.$ac_objext'
91157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91158   (eval $ac_try) 2>&5
91159   ac_status=$?
91160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91161   (exit $ac_status); }; }; then
91162   glibcxx_cv_func__atan2l_use=yes
91163 else
91164   echo "$as_me: failed program was:" >&5
91165 sed 's/^/| /' conftest.$ac_ext >&5
91166
91167 glibcxx_cv_func__atan2l_use=no
91168 fi
91169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91170       ac_ext=c
91171 ac_cpp='$CPP $CPPFLAGS'
91172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91175
91176
91177 fi
91178
91179   fi
91180   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
91181 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
91182
91183     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
91184
91185 for ac_func in _atan2l
91186 do
91187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91188 echo "$as_me:$LINENO: checking for $ac_func" >&5
91189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91190 if eval "test \"\${$as_ac_var+set}\" = set"; then
91191   echo $ECHO_N "(cached) $ECHO_C" >&6
91192 else
91193   if test x$gcc_no_link = xyes; then
91194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91196    { (exit 1); exit 1; }; }
91197 fi
91198 cat >conftest.$ac_ext <<_ACEOF
91199 /* confdefs.h.  */
91200 _ACEOF
91201 cat confdefs.h >>conftest.$ac_ext
91202 cat >>conftest.$ac_ext <<_ACEOF
91203 /* end confdefs.h.  */
91204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91205    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91206 #define $ac_func innocuous_$ac_func
91207
91208 /* System header to define __stub macros and hopefully few prototypes,
91209     which can conflict with char $ac_func (); below.
91210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91211     <limits.h> exists even on freestanding compilers.  */
91212
91213 #ifdef __STDC__
91214 # include <limits.h>
91215 #else
91216 # include <assert.h>
91217 #endif
91218
91219 #undef $ac_func
91220
91221 /* Override any gcc2 internal prototype to avoid an error.  */
91222 #ifdef __cplusplus
91223 extern "C"
91224 {
91225 #endif
91226 /* We use char because int might match the return type of a gcc2
91227    builtin and then its argument prototype would still apply.  */
91228 char $ac_func ();
91229 /* The GNU C library defines this for functions which it implements
91230     to always fail with ENOSYS.  Some functions are actually named
91231     something starting with __ and the normal name is an alias.  */
91232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91233 choke me
91234 #else
91235 char (*f) () = $ac_func;
91236 #endif
91237 #ifdef __cplusplus
91238 }
91239 #endif
91240
91241 int
91242 main ()
91243 {
91244 return f != $ac_func;
91245   ;
91246   return 0;
91247 }
91248 _ACEOF
91249 rm -f conftest.$ac_objext conftest$ac_exeext
91250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91251   (eval $ac_link) 2>conftest.er1
91252   ac_status=$?
91253   grep -v '^ *+' conftest.er1 >conftest.err
91254   rm -f conftest.er1
91255   cat conftest.err >&5
91256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91257   (exit $ac_status); } &&
91258          { ac_try='test -z "$ac_c_werror_flag"
91259                          || test ! -s conftest.err'
91260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91261   (eval $ac_try) 2>&5
91262   ac_status=$?
91263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91264   (exit $ac_status); }; } &&
91265          { ac_try='test -s conftest$ac_exeext'
91266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91267   (eval $ac_try) 2>&5
91268   ac_status=$?
91269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91270   (exit $ac_status); }; }; then
91271   eval "$as_ac_var=yes"
91272 else
91273   echo "$as_me: failed program was:" >&5
91274 sed 's/^/| /' conftest.$ac_ext >&5
91275
91276 eval "$as_ac_var=no"
91277 fi
91278 rm -f conftest.err conftest.$ac_objext \
91279       conftest$ac_exeext conftest.$ac_ext
91280 fi
91281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91283 if test `eval echo '${'$as_ac_var'}'` = yes; then
91284   cat >>confdefs.h <<_ACEOF
91285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91286 _ACEOF
91287
91288 fi
91289 done
91290
91291     fi
91292   fi
91293
91294
91295
91296
91297
91298
91299   echo "$as_me:$LINENO: checking for expl declaration" >&5
91300 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
91301   if test x${glibcxx_cv_func_expl_use+set} != xset; then
91302     if test "${glibcxx_cv_func_expl_use+set}" = set; then
91303   echo $ECHO_N "(cached) $ECHO_C" >&6
91304 else
91305
91306
91307
91308       ac_ext=cc
91309 ac_cpp='$CXXCPP $CPPFLAGS'
91310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91313
91314       cat >conftest.$ac_ext <<_ACEOF
91315 /* confdefs.h.  */
91316 _ACEOF
91317 cat confdefs.h >>conftest.$ac_ext
91318 cat >>conftest.$ac_ext <<_ACEOF
91319 /* end confdefs.h.  */
91320 #include <math.h>
91321                       #ifdef HAVE_IEEEFP_H
91322                       #include <ieeefp.h>
91323                       #endif
91324
91325 int
91326 main ()
91327 {
91328  expl(0);
91329   ;
91330   return 0;
91331 }
91332 _ACEOF
91333 rm -f conftest.$ac_objext
91334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91335   (eval $ac_compile) 2>conftest.er1
91336   ac_status=$?
91337   grep -v '^ *+' conftest.er1 >conftest.err
91338   rm -f conftest.er1
91339   cat conftest.err >&5
91340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91341   (exit $ac_status); } &&
91342          { ac_try='test -z "$ac_cxx_werror_flag"
91343                          || test ! -s conftest.err'
91344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91345   (eval $ac_try) 2>&5
91346   ac_status=$?
91347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91348   (exit $ac_status); }; } &&
91349          { ac_try='test -s conftest.$ac_objext'
91350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91351   (eval $ac_try) 2>&5
91352   ac_status=$?
91353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91354   (exit $ac_status); }; }; then
91355   glibcxx_cv_func_expl_use=yes
91356 else
91357   echo "$as_me: failed program was:" >&5
91358 sed 's/^/| /' conftest.$ac_ext >&5
91359
91360 glibcxx_cv_func_expl_use=no
91361 fi
91362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91363       ac_ext=c
91364 ac_cpp='$CPP $CPPFLAGS'
91365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91368
91369
91370 fi
91371
91372   fi
91373   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
91374 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
91375
91376   if test x$glibcxx_cv_func_expl_use = x"yes"; then
91377
91378 for ac_func in expl
91379 do
91380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91381 echo "$as_me:$LINENO: checking for $ac_func" >&5
91382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91383 if eval "test \"\${$as_ac_var+set}\" = set"; then
91384   echo $ECHO_N "(cached) $ECHO_C" >&6
91385 else
91386   if test x$gcc_no_link = xyes; then
91387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91389    { (exit 1); exit 1; }; }
91390 fi
91391 cat >conftest.$ac_ext <<_ACEOF
91392 /* confdefs.h.  */
91393 _ACEOF
91394 cat confdefs.h >>conftest.$ac_ext
91395 cat >>conftest.$ac_ext <<_ACEOF
91396 /* end confdefs.h.  */
91397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91399 #define $ac_func innocuous_$ac_func
91400
91401 /* System header to define __stub macros and hopefully few prototypes,
91402     which can conflict with char $ac_func (); below.
91403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91404     <limits.h> exists even on freestanding compilers.  */
91405
91406 #ifdef __STDC__
91407 # include <limits.h>
91408 #else
91409 # include <assert.h>
91410 #endif
91411
91412 #undef $ac_func
91413
91414 /* Override any gcc2 internal prototype to avoid an error.  */
91415 #ifdef __cplusplus
91416 extern "C"
91417 {
91418 #endif
91419 /* We use char because int might match the return type of a gcc2
91420    builtin and then its argument prototype would still apply.  */
91421 char $ac_func ();
91422 /* The GNU C library defines this for functions which it implements
91423     to always fail with ENOSYS.  Some functions are actually named
91424     something starting with __ and the normal name is an alias.  */
91425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91426 choke me
91427 #else
91428 char (*f) () = $ac_func;
91429 #endif
91430 #ifdef __cplusplus
91431 }
91432 #endif
91433
91434 int
91435 main ()
91436 {
91437 return f != $ac_func;
91438   ;
91439   return 0;
91440 }
91441 _ACEOF
91442 rm -f conftest.$ac_objext conftest$ac_exeext
91443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91444   (eval $ac_link) 2>conftest.er1
91445   ac_status=$?
91446   grep -v '^ *+' conftest.er1 >conftest.err
91447   rm -f conftest.er1
91448   cat conftest.err >&5
91449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91450   (exit $ac_status); } &&
91451          { ac_try='test -z "$ac_c_werror_flag"
91452                          || test ! -s conftest.err'
91453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91454   (eval $ac_try) 2>&5
91455   ac_status=$?
91456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91457   (exit $ac_status); }; } &&
91458          { ac_try='test -s conftest$ac_exeext'
91459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91460   (eval $ac_try) 2>&5
91461   ac_status=$?
91462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91463   (exit $ac_status); }; }; then
91464   eval "$as_ac_var=yes"
91465 else
91466   echo "$as_me: failed program was:" >&5
91467 sed 's/^/| /' conftest.$ac_ext >&5
91468
91469 eval "$as_ac_var=no"
91470 fi
91471 rm -f conftest.err conftest.$ac_objext \
91472       conftest$ac_exeext conftest.$ac_ext
91473 fi
91474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91476 if test `eval echo '${'$as_ac_var'}'` = yes; then
91477   cat >>confdefs.h <<_ACEOF
91478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91479 _ACEOF
91480
91481 fi
91482 done
91483
91484   else
91485
91486   echo "$as_me:$LINENO: checking for _expl declaration" >&5
91487 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
91488   if test x${glibcxx_cv_func__expl_use+set} != xset; then
91489     if test "${glibcxx_cv_func__expl_use+set}" = set; then
91490   echo $ECHO_N "(cached) $ECHO_C" >&6
91491 else
91492
91493
91494
91495       ac_ext=cc
91496 ac_cpp='$CXXCPP $CPPFLAGS'
91497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91500
91501       cat >conftest.$ac_ext <<_ACEOF
91502 /* confdefs.h.  */
91503 _ACEOF
91504 cat confdefs.h >>conftest.$ac_ext
91505 cat >>conftest.$ac_ext <<_ACEOF
91506 /* end confdefs.h.  */
91507 #include <math.h>
91508                       #ifdef HAVE_IEEEFP_H
91509                       #include <ieeefp.h>
91510                       #endif
91511
91512 int
91513 main ()
91514 {
91515  _expl(0);
91516   ;
91517   return 0;
91518 }
91519 _ACEOF
91520 rm -f conftest.$ac_objext
91521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91522   (eval $ac_compile) 2>conftest.er1
91523   ac_status=$?
91524   grep -v '^ *+' conftest.er1 >conftest.err
91525   rm -f conftest.er1
91526   cat conftest.err >&5
91527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91528   (exit $ac_status); } &&
91529          { ac_try='test -z "$ac_cxx_werror_flag"
91530                          || test ! -s conftest.err'
91531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91532   (eval $ac_try) 2>&5
91533   ac_status=$?
91534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91535   (exit $ac_status); }; } &&
91536          { ac_try='test -s conftest.$ac_objext'
91537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91538   (eval $ac_try) 2>&5
91539   ac_status=$?
91540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91541   (exit $ac_status); }; }; then
91542   glibcxx_cv_func__expl_use=yes
91543 else
91544   echo "$as_me: failed program was:" >&5
91545 sed 's/^/| /' conftest.$ac_ext >&5
91546
91547 glibcxx_cv_func__expl_use=no
91548 fi
91549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91550       ac_ext=c
91551 ac_cpp='$CPP $CPPFLAGS'
91552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91555
91556
91557 fi
91558
91559   fi
91560   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
91561 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
91562
91563     if test x$glibcxx_cv_func__expl_use = x"yes"; then
91564
91565 for ac_func in _expl
91566 do
91567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91568 echo "$as_me:$LINENO: checking for $ac_func" >&5
91569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91570 if eval "test \"\${$as_ac_var+set}\" = set"; then
91571   echo $ECHO_N "(cached) $ECHO_C" >&6
91572 else
91573   if test x$gcc_no_link = xyes; then
91574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91576    { (exit 1); exit 1; }; }
91577 fi
91578 cat >conftest.$ac_ext <<_ACEOF
91579 /* confdefs.h.  */
91580 _ACEOF
91581 cat confdefs.h >>conftest.$ac_ext
91582 cat >>conftest.$ac_ext <<_ACEOF
91583 /* end confdefs.h.  */
91584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91586 #define $ac_func innocuous_$ac_func
91587
91588 /* System header to define __stub macros and hopefully few prototypes,
91589     which can conflict with char $ac_func (); below.
91590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91591     <limits.h> exists even on freestanding compilers.  */
91592
91593 #ifdef __STDC__
91594 # include <limits.h>
91595 #else
91596 # include <assert.h>
91597 #endif
91598
91599 #undef $ac_func
91600
91601 /* Override any gcc2 internal prototype to avoid an error.  */
91602 #ifdef __cplusplus
91603 extern "C"
91604 {
91605 #endif
91606 /* We use char because int might match the return type of a gcc2
91607    builtin and then its argument prototype would still apply.  */
91608 char $ac_func ();
91609 /* The GNU C library defines this for functions which it implements
91610     to always fail with ENOSYS.  Some functions are actually named
91611     something starting with __ and the normal name is an alias.  */
91612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91613 choke me
91614 #else
91615 char (*f) () = $ac_func;
91616 #endif
91617 #ifdef __cplusplus
91618 }
91619 #endif
91620
91621 int
91622 main ()
91623 {
91624 return f != $ac_func;
91625   ;
91626   return 0;
91627 }
91628 _ACEOF
91629 rm -f conftest.$ac_objext conftest$ac_exeext
91630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91631   (eval $ac_link) 2>conftest.er1
91632   ac_status=$?
91633   grep -v '^ *+' conftest.er1 >conftest.err
91634   rm -f conftest.er1
91635   cat conftest.err >&5
91636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91637   (exit $ac_status); } &&
91638          { ac_try='test -z "$ac_c_werror_flag"
91639                          || test ! -s conftest.err'
91640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91641   (eval $ac_try) 2>&5
91642   ac_status=$?
91643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91644   (exit $ac_status); }; } &&
91645          { ac_try='test -s conftest$ac_exeext'
91646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91647   (eval $ac_try) 2>&5
91648   ac_status=$?
91649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91650   (exit $ac_status); }; }; then
91651   eval "$as_ac_var=yes"
91652 else
91653   echo "$as_me: failed program was:" >&5
91654 sed 's/^/| /' conftest.$ac_ext >&5
91655
91656 eval "$as_ac_var=no"
91657 fi
91658 rm -f conftest.err conftest.$ac_objext \
91659       conftest$ac_exeext conftest.$ac_ext
91660 fi
91661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91663 if test `eval echo '${'$as_ac_var'}'` = yes; then
91664   cat >>confdefs.h <<_ACEOF
91665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91666 _ACEOF
91667
91668 fi
91669 done
91670
91671     fi
91672   fi
91673
91674
91675
91676
91677
91678
91679   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
91680 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
91681   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
91682     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
91683   echo $ECHO_N "(cached) $ECHO_C" >&6
91684 else
91685
91686
91687
91688       ac_ext=cc
91689 ac_cpp='$CXXCPP $CPPFLAGS'
91690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91693
91694       cat >conftest.$ac_ext <<_ACEOF
91695 /* confdefs.h.  */
91696 _ACEOF
91697 cat confdefs.h >>conftest.$ac_ext
91698 cat >>conftest.$ac_ext <<_ACEOF
91699 /* end confdefs.h.  */
91700 #include <math.h>
91701                       #ifdef HAVE_IEEEFP_H
91702                       #include <ieeefp.h>
91703                       #endif
91704
91705 int
91706 main ()
91707 {
91708  fabsl(0);
91709   ;
91710   return 0;
91711 }
91712 _ACEOF
91713 rm -f conftest.$ac_objext
91714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91715   (eval $ac_compile) 2>conftest.er1
91716   ac_status=$?
91717   grep -v '^ *+' conftest.er1 >conftest.err
91718   rm -f conftest.er1
91719   cat conftest.err >&5
91720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91721   (exit $ac_status); } &&
91722          { ac_try='test -z "$ac_cxx_werror_flag"
91723                          || test ! -s conftest.err'
91724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91725   (eval $ac_try) 2>&5
91726   ac_status=$?
91727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91728   (exit $ac_status); }; } &&
91729          { ac_try='test -s conftest.$ac_objext'
91730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91731   (eval $ac_try) 2>&5
91732   ac_status=$?
91733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91734   (exit $ac_status); }; }; then
91735   glibcxx_cv_func_fabsl_use=yes
91736 else
91737   echo "$as_me: failed program was:" >&5
91738 sed 's/^/| /' conftest.$ac_ext >&5
91739
91740 glibcxx_cv_func_fabsl_use=no
91741 fi
91742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91743       ac_ext=c
91744 ac_cpp='$CPP $CPPFLAGS'
91745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91748
91749
91750 fi
91751
91752   fi
91753   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
91754 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
91755
91756   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
91757
91758 for ac_func in fabsl
91759 do
91760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91761 echo "$as_me:$LINENO: checking for $ac_func" >&5
91762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91763 if eval "test \"\${$as_ac_var+set}\" = set"; then
91764   echo $ECHO_N "(cached) $ECHO_C" >&6
91765 else
91766   if test x$gcc_no_link = xyes; then
91767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91769    { (exit 1); exit 1; }; }
91770 fi
91771 cat >conftest.$ac_ext <<_ACEOF
91772 /* confdefs.h.  */
91773 _ACEOF
91774 cat confdefs.h >>conftest.$ac_ext
91775 cat >>conftest.$ac_ext <<_ACEOF
91776 /* end confdefs.h.  */
91777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91778    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91779 #define $ac_func innocuous_$ac_func
91780
91781 /* System header to define __stub macros and hopefully few prototypes,
91782     which can conflict with char $ac_func (); below.
91783     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91784     <limits.h> exists even on freestanding compilers.  */
91785
91786 #ifdef __STDC__
91787 # include <limits.h>
91788 #else
91789 # include <assert.h>
91790 #endif
91791
91792 #undef $ac_func
91793
91794 /* Override any gcc2 internal prototype to avoid an error.  */
91795 #ifdef __cplusplus
91796 extern "C"
91797 {
91798 #endif
91799 /* We use char because int might match the return type of a gcc2
91800    builtin and then its argument prototype would still apply.  */
91801 char $ac_func ();
91802 /* The GNU C library defines this for functions which it implements
91803     to always fail with ENOSYS.  Some functions are actually named
91804     something starting with __ and the normal name is an alias.  */
91805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91806 choke me
91807 #else
91808 char (*f) () = $ac_func;
91809 #endif
91810 #ifdef __cplusplus
91811 }
91812 #endif
91813
91814 int
91815 main ()
91816 {
91817 return f != $ac_func;
91818   ;
91819   return 0;
91820 }
91821 _ACEOF
91822 rm -f conftest.$ac_objext conftest$ac_exeext
91823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91824   (eval $ac_link) 2>conftest.er1
91825   ac_status=$?
91826   grep -v '^ *+' conftest.er1 >conftest.err
91827   rm -f conftest.er1
91828   cat conftest.err >&5
91829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91830   (exit $ac_status); } &&
91831          { ac_try='test -z "$ac_c_werror_flag"
91832                          || test ! -s conftest.err'
91833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91834   (eval $ac_try) 2>&5
91835   ac_status=$?
91836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91837   (exit $ac_status); }; } &&
91838          { ac_try='test -s conftest$ac_exeext'
91839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91840   (eval $ac_try) 2>&5
91841   ac_status=$?
91842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91843   (exit $ac_status); }; }; then
91844   eval "$as_ac_var=yes"
91845 else
91846   echo "$as_me: failed program was:" >&5
91847 sed 's/^/| /' conftest.$ac_ext >&5
91848
91849 eval "$as_ac_var=no"
91850 fi
91851 rm -f conftest.err conftest.$ac_objext \
91852       conftest$ac_exeext conftest.$ac_ext
91853 fi
91854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91856 if test `eval echo '${'$as_ac_var'}'` = yes; then
91857   cat >>confdefs.h <<_ACEOF
91858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91859 _ACEOF
91860
91861 fi
91862 done
91863
91864   else
91865
91866   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
91867 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
91868   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
91869     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
91870   echo $ECHO_N "(cached) $ECHO_C" >&6
91871 else
91872
91873
91874
91875       ac_ext=cc
91876 ac_cpp='$CXXCPP $CPPFLAGS'
91877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91880
91881       cat >conftest.$ac_ext <<_ACEOF
91882 /* confdefs.h.  */
91883 _ACEOF
91884 cat confdefs.h >>conftest.$ac_ext
91885 cat >>conftest.$ac_ext <<_ACEOF
91886 /* end confdefs.h.  */
91887 #include <math.h>
91888                       #ifdef HAVE_IEEEFP_H
91889                       #include <ieeefp.h>
91890                       #endif
91891
91892 int
91893 main ()
91894 {
91895  _fabsl(0);
91896   ;
91897   return 0;
91898 }
91899 _ACEOF
91900 rm -f conftest.$ac_objext
91901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91902   (eval $ac_compile) 2>conftest.er1
91903   ac_status=$?
91904   grep -v '^ *+' conftest.er1 >conftest.err
91905   rm -f conftest.er1
91906   cat conftest.err >&5
91907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91908   (exit $ac_status); } &&
91909          { ac_try='test -z "$ac_cxx_werror_flag"
91910                          || test ! -s conftest.err'
91911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91912   (eval $ac_try) 2>&5
91913   ac_status=$?
91914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91915   (exit $ac_status); }; } &&
91916          { ac_try='test -s conftest.$ac_objext'
91917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91918   (eval $ac_try) 2>&5
91919   ac_status=$?
91920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91921   (exit $ac_status); }; }; then
91922   glibcxx_cv_func__fabsl_use=yes
91923 else
91924   echo "$as_me: failed program was:" >&5
91925 sed 's/^/| /' conftest.$ac_ext >&5
91926
91927 glibcxx_cv_func__fabsl_use=no
91928 fi
91929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91930       ac_ext=c
91931 ac_cpp='$CPP $CPPFLAGS'
91932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91935
91936
91937 fi
91938
91939   fi
91940   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
91941 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
91942
91943     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
91944
91945 for ac_func in _fabsl
91946 do
91947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91948 echo "$as_me:$LINENO: checking for $ac_func" >&5
91949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91950 if eval "test \"\${$as_ac_var+set}\" = set"; then
91951   echo $ECHO_N "(cached) $ECHO_C" >&6
91952 else
91953   if test x$gcc_no_link = xyes; then
91954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91956    { (exit 1); exit 1; }; }
91957 fi
91958 cat >conftest.$ac_ext <<_ACEOF
91959 /* confdefs.h.  */
91960 _ACEOF
91961 cat confdefs.h >>conftest.$ac_ext
91962 cat >>conftest.$ac_ext <<_ACEOF
91963 /* end confdefs.h.  */
91964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91965    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91966 #define $ac_func innocuous_$ac_func
91967
91968 /* System header to define __stub macros and hopefully few prototypes,
91969     which can conflict with char $ac_func (); below.
91970     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91971     <limits.h> exists even on freestanding compilers.  */
91972
91973 #ifdef __STDC__
91974 # include <limits.h>
91975 #else
91976 # include <assert.h>
91977 #endif
91978
91979 #undef $ac_func
91980
91981 /* Override any gcc2 internal prototype to avoid an error.  */
91982 #ifdef __cplusplus
91983 extern "C"
91984 {
91985 #endif
91986 /* We use char because int might match the return type of a gcc2
91987    builtin and then its argument prototype would still apply.  */
91988 char $ac_func ();
91989 /* The GNU C library defines this for functions which it implements
91990     to always fail with ENOSYS.  Some functions are actually named
91991     something starting with __ and the normal name is an alias.  */
91992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91993 choke me
91994 #else
91995 char (*f) () = $ac_func;
91996 #endif
91997 #ifdef __cplusplus
91998 }
91999 #endif
92000
92001 int
92002 main ()
92003 {
92004 return f != $ac_func;
92005   ;
92006   return 0;
92007 }
92008 _ACEOF
92009 rm -f conftest.$ac_objext conftest$ac_exeext
92010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92011   (eval $ac_link) 2>conftest.er1
92012   ac_status=$?
92013   grep -v '^ *+' conftest.er1 >conftest.err
92014   rm -f conftest.er1
92015   cat conftest.err >&5
92016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92017   (exit $ac_status); } &&
92018          { ac_try='test -z "$ac_c_werror_flag"
92019                          || test ! -s conftest.err'
92020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92021   (eval $ac_try) 2>&5
92022   ac_status=$?
92023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92024   (exit $ac_status); }; } &&
92025          { ac_try='test -s conftest$ac_exeext'
92026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92027   (eval $ac_try) 2>&5
92028   ac_status=$?
92029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92030   (exit $ac_status); }; }; then
92031   eval "$as_ac_var=yes"
92032 else
92033   echo "$as_me: failed program was:" >&5
92034 sed 's/^/| /' conftest.$ac_ext >&5
92035
92036 eval "$as_ac_var=no"
92037 fi
92038 rm -f conftest.err conftest.$ac_objext \
92039       conftest$ac_exeext conftest.$ac_ext
92040 fi
92041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92043 if test `eval echo '${'$as_ac_var'}'` = yes; then
92044   cat >>confdefs.h <<_ACEOF
92045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92046 _ACEOF
92047
92048 fi
92049 done
92050
92051     fi
92052   fi
92053
92054
92055
92056
92057
92058
92059   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
92060 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
92061   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
92062     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
92063   echo $ECHO_N "(cached) $ECHO_C" >&6
92064 else
92065
92066
92067
92068       ac_ext=cc
92069 ac_cpp='$CXXCPP $CPPFLAGS'
92070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92073
92074       cat >conftest.$ac_ext <<_ACEOF
92075 /* confdefs.h.  */
92076 _ACEOF
92077 cat confdefs.h >>conftest.$ac_ext
92078 cat >>conftest.$ac_ext <<_ACEOF
92079 /* end confdefs.h.  */
92080 #include <math.h>
92081 int
92082 main ()
92083 {
92084  fmodl(0, 0);
92085   ;
92086   return 0;
92087 }
92088 _ACEOF
92089 rm -f conftest.$ac_objext
92090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92091   (eval $ac_compile) 2>conftest.er1
92092   ac_status=$?
92093   grep -v '^ *+' conftest.er1 >conftest.err
92094   rm -f conftest.er1
92095   cat conftest.err >&5
92096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92097   (exit $ac_status); } &&
92098          { ac_try='test -z "$ac_cxx_werror_flag"
92099                          || test ! -s conftest.err'
92100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92101   (eval $ac_try) 2>&5
92102   ac_status=$?
92103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92104   (exit $ac_status); }; } &&
92105          { ac_try='test -s conftest.$ac_objext'
92106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92107   (eval $ac_try) 2>&5
92108   ac_status=$?
92109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92110   (exit $ac_status); }; }; then
92111   glibcxx_cv_func_fmodl_use=yes
92112 else
92113   echo "$as_me: failed program was:" >&5
92114 sed 's/^/| /' conftest.$ac_ext >&5
92115
92116 glibcxx_cv_func_fmodl_use=no
92117 fi
92118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92119       ac_ext=c
92120 ac_cpp='$CPP $CPPFLAGS'
92121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92124
92125
92126 fi
92127
92128   fi
92129   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
92130 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
92131
92132   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
92133
92134 for ac_func in fmodl
92135 do
92136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92137 echo "$as_me:$LINENO: checking for $ac_func" >&5
92138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92139 if eval "test \"\${$as_ac_var+set}\" = set"; then
92140   echo $ECHO_N "(cached) $ECHO_C" >&6
92141 else
92142   if test x$gcc_no_link = xyes; then
92143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92145    { (exit 1); exit 1; }; }
92146 fi
92147 cat >conftest.$ac_ext <<_ACEOF
92148 /* confdefs.h.  */
92149 _ACEOF
92150 cat confdefs.h >>conftest.$ac_ext
92151 cat >>conftest.$ac_ext <<_ACEOF
92152 /* end confdefs.h.  */
92153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92154    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92155 #define $ac_func innocuous_$ac_func
92156
92157 /* System header to define __stub macros and hopefully few prototypes,
92158     which can conflict with char $ac_func (); below.
92159     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92160     <limits.h> exists even on freestanding compilers.  */
92161
92162 #ifdef __STDC__
92163 # include <limits.h>
92164 #else
92165 # include <assert.h>
92166 #endif
92167
92168 #undef $ac_func
92169
92170 /* Override any gcc2 internal prototype to avoid an error.  */
92171 #ifdef __cplusplus
92172 extern "C"
92173 {
92174 #endif
92175 /* We use char because int might match the return type of a gcc2
92176    builtin and then its argument prototype would still apply.  */
92177 char $ac_func ();
92178 /* The GNU C library defines this for functions which it implements
92179     to always fail with ENOSYS.  Some functions are actually named
92180     something starting with __ and the normal name is an alias.  */
92181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92182 choke me
92183 #else
92184 char (*f) () = $ac_func;
92185 #endif
92186 #ifdef __cplusplus
92187 }
92188 #endif
92189
92190 int
92191 main ()
92192 {
92193 return f != $ac_func;
92194   ;
92195   return 0;
92196 }
92197 _ACEOF
92198 rm -f conftest.$ac_objext conftest$ac_exeext
92199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92200   (eval $ac_link) 2>conftest.er1
92201   ac_status=$?
92202   grep -v '^ *+' conftest.er1 >conftest.err
92203   rm -f conftest.er1
92204   cat conftest.err >&5
92205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92206   (exit $ac_status); } &&
92207          { ac_try='test -z "$ac_c_werror_flag"
92208                          || test ! -s conftest.err'
92209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92210   (eval $ac_try) 2>&5
92211   ac_status=$?
92212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92213   (exit $ac_status); }; } &&
92214          { ac_try='test -s conftest$ac_exeext'
92215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92216   (eval $ac_try) 2>&5
92217   ac_status=$?
92218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92219   (exit $ac_status); }; }; then
92220   eval "$as_ac_var=yes"
92221 else
92222   echo "$as_me: failed program was:" >&5
92223 sed 's/^/| /' conftest.$ac_ext >&5
92224
92225 eval "$as_ac_var=no"
92226 fi
92227 rm -f conftest.err conftest.$ac_objext \
92228       conftest$ac_exeext conftest.$ac_ext
92229 fi
92230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92232 if test `eval echo '${'$as_ac_var'}'` = yes; then
92233   cat >>confdefs.h <<_ACEOF
92234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92235 _ACEOF
92236
92237 fi
92238 done
92239
92240   else
92241
92242   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
92243 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
92244   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
92245     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
92246   echo $ECHO_N "(cached) $ECHO_C" >&6
92247 else
92248
92249
92250
92251       ac_ext=cc
92252 ac_cpp='$CXXCPP $CPPFLAGS'
92253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92256
92257       cat >conftest.$ac_ext <<_ACEOF
92258 /* confdefs.h.  */
92259 _ACEOF
92260 cat confdefs.h >>conftest.$ac_ext
92261 cat >>conftest.$ac_ext <<_ACEOF
92262 /* end confdefs.h.  */
92263 #include <math.h>
92264 int
92265 main ()
92266 {
92267  _fmodl(0, 0);
92268   ;
92269   return 0;
92270 }
92271 _ACEOF
92272 rm -f conftest.$ac_objext
92273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92274   (eval $ac_compile) 2>conftest.er1
92275   ac_status=$?
92276   grep -v '^ *+' conftest.er1 >conftest.err
92277   rm -f conftest.er1
92278   cat conftest.err >&5
92279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92280   (exit $ac_status); } &&
92281          { ac_try='test -z "$ac_cxx_werror_flag"
92282                          || test ! -s conftest.err'
92283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92284   (eval $ac_try) 2>&5
92285   ac_status=$?
92286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92287   (exit $ac_status); }; } &&
92288          { ac_try='test -s conftest.$ac_objext'
92289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92290   (eval $ac_try) 2>&5
92291   ac_status=$?
92292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92293   (exit $ac_status); }; }; then
92294   glibcxx_cv_func__fmodl_use=yes
92295 else
92296   echo "$as_me: failed program was:" >&5
92297 sed 's/^/| /' conftest.$ac_ext >&5
92298
92299 glibcxx_cv_func__fmodl_use=no
92300 fi
92301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92302       ac_ext=c
92303 ac_cpp='$CPP $CPPFLAGS'
92304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92307
92308
92309 fi
92310
92311   fi
92312   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
92313 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
92314
92315     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
92316
92317 for ac_func in _fmodl
92318 do
92319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92320 echo "$as_me:$LINENO: checking for $ac_func" >&5
92321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92322 if eval "test \"\${$as_ac_var+set}\" = set"; then
92323   echo $ECHO_N "(cached) $ECHO_C" >&6
92324 else
92325   if test x$gcc_no_link = xyes; then
92326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92328    { (exit 1); exit 1; }; }
92329 fi
92330 cat >conftest.$ac_ext <<_ACEOF
92331 /* confdefs.h.  */
92332 _ACEOF
92333 cat confdefs.h >>conftest.$ac_ext
92334 cat >>conftest.$ac_ext <<_ACEOF
92335 /* end confdefs.h.  */
92336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92338 #define $ac_func innocuous_$ac_func
92339
92340 /* System header to define __stub macros and hopefully few prototypes,
92341     which can conflict with char $ac_func (); below.
92342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92343     <limits.h> exists even on freestanding compilers.  */
92344
92345 #ifdef __STDC__
92346 # include <limits.h>
92347 #else
92348 # include <assert.h>
92349 #endif
92350
92351 #undef $ac_func
92352
92353 /* Override any gcc2 internal prototype to avoid an error.  */
92354 #ifdef __cplusplus
92355 extern "C"
92356 {
92357 #endif
92358 /* We use char because int might match the return type of a gcc2
92359    builtin and then its argument prototype would still apply.  */
92360 char $ac_func ();
92361 /* The GNU C library defines this for functions which it implements
92362     to always fail with ENOSYS.  Some functions are actually named
92363     something starting with __ and the normal name is an alias.  */
92364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92365 choke me
92366 #else
92367 char (*f) () = $ac_func;
92368 #endif
92369 #ifdef __cplusplus
92370 }
92371 #endif
92372
92373 int
92374 main ()
92375 {
92376 return f != $ac_func;
92377   ;
92378   return 0;
92379 }
92380 _ACEOF
92381 rm -f conftest.$ac_objext conftest$ac_exeext
92382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92383   (eval $ac_link) 2>conftest.er1
92384   ac_status=$?
92385   grep -v '^ *+' conftest.er1 >conftest.err
92386   rm -f conftest.er1
92387   cat conftest.err >&5
92388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92389   (exit $ac_status); } &&
92390          { ac_try='test -z "$ac_c_werror_flag"
92391                          || test ! -s conftest.err'
92392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92393   (eval $ac_try) 2>&5
92394   ac_status=$?
92395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92396   (exit $ac_status); }; } &&
92397          { ac_try='test -s conftest$ac_exeext'
92398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92399   (eval $ac_try) 2>&5
92400   ac_status=$?
92401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92402   (exit $ac_status); }; }; then
92403   eval "$as_ac_var=yes"
92404 else
92405   echo "$as_me: failed program was:" >&5
92406 sed 's/^/| /' conftest.$ac_ext >&5
92407
92408 eval "$as_ac_var=no"
92409 fi
92410 rm -f conftest.err conftest.$ac_objext \
92411       conftest$ac_exeext conftest.$ac_ext
92412 fi
92413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92415 if test `eval echo '${'$as_ac_var'}'` = yes; then
92416   cat >>confdefs.h <<_ACEOF
92417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92418 _ACEOF
92419
92420 fi
92421 done
92422
92423     fi
92424   fi
92425
92426
92427
92428
92429
92430
92431   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
92432 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
92433   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
92434     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
92435   echo $ECHO_N "(cached) $ECHO_C" >&6
92436 else
92437
92438
92439
92440       ac_ext=cc
92441 ac_cpp='$CXXCPP $CPPFLAGS'
92442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92445
92446       cat >conftest.$ac_ext <<_ACEOF
92447 /* confdefs.h.  */
92448 _ACEOF
92449 cat confdefs.h >>conftest.$ac_ext
92450 cat >>conftest.$ac_ext <<_ACEOF
92451 /* end confdefs.h.  */
92452 #include <math.h>
92453 int
92454 main ()
92455 {
92456  frexpl(0, 0);
92457   ;
92458   return 0;
92459 }
92460 _ACEOF
92461 rm -f conftest.$ac_objext
92462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92463   (eval $ac_compile) 2>conftest.er1
92464   ac_status=$?
92465   grep -v '^ *+' conftest.er1 >conftest.err
92466   rm -f conftest.er1
92467   cat conftest.err >&5
92468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92469   (exit $ac_status); } &&
92470          { ac_try='test -z "$ac_cxx_werror_flag"
92471                          || test ! -s conftest.err'
92472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92473   (eval $ac_try) 2>&5
92474   ac_status=$?
92475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92476   (exit $ac_status); }; } &&
92477          { ac_try='test -s conftest.$ac_objext'
92478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92479   (eval $ac_try) 2>&5
92480   ac_status=$?
92481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92482   (exit $ac_status); }; }; then
92483   glibcxx_cv_func_frexpl_use=yes
92484 else
92485   echo "$as_me: failed program was:" >&5
92486 sed 's/^/| /' conftest.$ac_ext >&5
92487
92488 glibcxx_cv_func_frexpl_use=no
92489 fi
92490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92491       ac_ext=c
92492 ac_cpp='$CPP $CPPFLAGS'
92493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92496
92497
92498 fi
92499
92500   fi
92501   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
92502 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
92503
92504   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
92505
92506 for ac_func in frexpl
92507 do
92508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92509 echo "$as_me:$LINENO: checking for $ac_func" >&5
92510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92511 if eval "test \"\${$as_ac_var+set}\" = set"; then
92512   echo $ECHO_N "(cached) $ECHO_C" >&6
92513 else
92514   if test x$gcc_no_link = xyes; then
92515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92517    { (exit 1); exit 1; }; }
92518 fi
92519 cat >conftest.$ac_ext <<_ACEOF
92520 /* confdefs.h.  */
92521 _ACEOF
92522 cat confdefs.h >>conftest.$ac_ext
92523 cat >>conftest.$ac_ext <<_ACEOF
92524 /* end confdefs.h.  */
92525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92527 #define $ac_func innocuous_$ac_func
92528
92529 /* System header to define __stub macros and hopefully few prototypes,
92530     which can conflict with char $ac_func (); below.
92531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92532     <limits.h> exists even on freestanding compilers.  */
92533
92534 #ifdef __STDC__
92535 # include <limits.h>
92536 #else
92537 # include <assert.h>
92538 #endif
92539
92540 #undef $ac_func
92541
92542 /* Override any gcc2 internal prototype to avoid an error.  */
92543 #ifdef __cplusplus
92544 extern "C"
92545 {
92546 #endif
92547 /* We use char because int might match the return type of a gcc2
92548    builtin and then its argument prototype would still apply.  */
92549 char $ac_func ();
92550 /* The GNU C library defines this for functions which it implements
92551     to always fail with ENOSYS.  Some functions are actually named
92552     something starting with __ and the normal name is an alias.  */
92553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92554 choke me
92555 #else
92556 char (*f) () = $ac_func;
92557 #endif
92558 #ifdef __cplusplus
92559 }
92560 #endif
92561
92562 int
92563 main ()
92564 {
92565 return f != $ac_func;
92566   ;
92567   return 0;
92568 }
92569 _ACEOF
92570 rm -f conftest.$ac_objext conftest$ac_exeext
92571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92572   (eval $ac_link) 2>conftest.er1
92573   ac_status=$?
92574   grep -v '^ *+' conftest.er1 >conftest.err
92575   rm -f conftest.er1
92576   cat conftest.err >&5
92577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92578   (exit $ac_status); } &&
92579          { ac_try='test -z "$ac_c_werror_flag"
92580                          || test ! -s conftest.err'
92581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92582   (eval $ac_try) 2>&5
92583   ac_status=$?
92584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92585   (exit $ac_status); }; } &&
92586          { ac_try='test -s conftest$ac_exeext'
92587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92588   (eval $ac_try) 2>&5
92589   ac_status=$?
92590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92591   (exit $ac_status); }; }; then
92592   eval "$as_ac_var=yes"
92593 else
92594   echo "$as_me: failed program was:" >&5
92595 sed 's/^/| /' conftest.$ac_ext >&5
92596
92597 eval "$as_ac_var=no"
92598 fi
92599 rm -f conftest.err conftest.$ac_objext \
92600       conftest$ac_exeext conftest.$ac_ext
92601 fi
92602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92604 if test `eval echo '${'$as_ac_var'}'` = yes; then
92605   cat >>confdefs.h <<_ACEOF
92606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92607 _ACEOF
92608
92609 fi
92610 done
92611
92612   else
92613
92614   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
92615 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
92616   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
92617     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
92618   echo $ECHO_N "(cached) $ECHO_C" >&6
92619 else
92620
92621
92622
92623       ac_ext=cc
92624 ac_cpp='$CXXCPP $CPPFLAGS'
92625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92628
92629       cat >conftest.$ac_ext <<_ACEOF
92630 /* confdefs.h.  */
92631 _ACEOF
92632 cat confdefs.h >>conftest.$ac_ext
92633 cat >>conftest.$ac_ext <<_ACEOF
92634 /* end confdefs.h.  */
92635 #include <math.h>
92636 int
92637 main ()
92638 {
92639  _frexpl(0, 0);
92640   ;
92641   return 0;
92642 }
92643 _ACEOF
92644 rm -f conftest.$ac_objext
92645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92646   (eval $ac_compile) 2>conftest.er1
92647   ac_status=$?
92648   grep -v '^ *+' conftest.er1 >conftest.err
92649   rm -f conftest.er1
92650   cat conftest.err >&5
92651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92652   (exit $ac_status); } &&
92653          { ac_try='test -z "$ac_cxx_werror_flag"
92654                          || test ! -s conftest.err'
92655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92656   (eval $ac_try) 2>&5
92657   ac_status=$?
92658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92659   (exit $ac_status); }; } &&
92660          { ac_try='test -s conftest.$ac_objext'
92661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92662   (eval $ac_try) 2>&5
92663   ac_status=$?
92664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92665   (exit $ac_status); }; }; then
92666   glibcxx_cv_func__frexpl_use=yes
92667 else
92668   echo "$as_me: failed program was:" >&5
92669 sed 's/^/| /' conftest.$ac_ext >&5
92670
92671 glibcxx_cv_func__frexpl_use=no
92672 fi
92673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92674       ac_ext=c
92675 ac_cpp='$CPP $CPPFLAGS'
92676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92679
92680
92681 fi
92682
92683   fi
92684   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
92685 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
92686
92687     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
92688
92689 for ac_func in _frexpl
92690 do
92691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92692 echo "$as_me:$LINENO: checking for $ac_func" >&5
92693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92694 if eval "test \"\${$as_ac_var+set}\" = set"; then
92695   echo $ECHO_N "(cached) $ECHO_C" >&6
92696 else
92697   if test x$gcc_no_link = xyes; then
92698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92700    { (exit 1); exit 1; }; }
92701 fi
92702 cat >conftest.$ac_ext <<_ACEOF
92703 /* confdefs.h.  */
92704 _ACEOF
92705 cat confdefs.h >>conftest.$ac_ext
92706 cat >>conftest.$ac_ext <<_ACEOF
92707 /* end confdefs.h.  */
92708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92710 #define $ac_func innocuous_$ac_func
92711
92712 /* System header to define __stub macros and hopefully few prototypes,
92713     which can conflict with char $ac_func (); below.
92714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92715     <limits.h> exists even on freestanding compilers.  */
92716
92717 #ifdef __STDC__
92718 # include <limits.h>
92719 #else
92720 # include <assert.h>
92721 #endif
92722
92723 #undef $ac_func
92724
92725 /* Override any gcc2 internal prototype to avoid an error.  */
92726 #ifdef __cplusplus
92727 extern "C"
92728 {
92729 #endif
92730 /* We use char because int might match the return type of a gcc2
92731    builtin and then its argument prototype would still apply.  */
92732 char $ac_func ();
92733 /* The GNU C library defines this for functions which it implements
92734     to always fail with ENOSYS.  Some functions are actually named
92735     something starting with __ and the normal name is an alias.  */
92736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92737 choke me
92738 #else
92739 char (*f) () = $ac_func;
92740 #endif
92741 #ifdef __cplusplus
92742 }
92743 #endif
92744
92745 int
92746 main ()
92747 {
92748 return f != $ac_func;
92749   ;
92750   return 0;
92751 }
92752 _ACEOF
92753 rm -f conftest.$ac_objext conftest$ac_exeext
92754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92755   (eval $ac_link) 2>conftest.er1
92756   ac_status=$?
92757   grep -v '^ *+' conftest.er1 >conftest.err
92758   rm -f conftest.er1
92759   cat conftest.err >&5
92760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92761   (exit $ac_status); } &&
92762          { ac_try='test -z "$ac_c_werror_flag"
92763                          || test ! -s conftest.err'
92764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92765   (eval $ac_try) 2>&5
92766   ac_status=$?
92767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92768   (exit $ac_status); }; } &&
92769          { ac_try='test -s conftest$ac_exeext'
92770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92771   (eval $ac_try) 2>&5
92772   ac_status=$?
92773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92774   (exit $ac_status); }; }; then
92775   eval "$as_ac_var=yes"
92776 else
92777   echo "$as_me: failed program was:" >&5
92778 sed 's/^/| /' conftest.$ac_ext >&5
92779
92780 eval "$as_ac_var=no"
92781 fi
92782 rm -f conftest.err conftest.$ac_objext \
92783       conftest$ac_exeext conftest.$ac_ext
92784 fi
92785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92787 if test `eval echo '${'$as_ac_var'}'` = yes; then
92788   cat >>confdefs.h <<_ACEOF
92789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92790 _ACEOF
92791
92792 fi
92793 done
92794
92795     fi
92796   fi
92797
92798
92799
92800
92801
92802
92803   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
92804 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
92805   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
92806     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
92807   echo $ECHO_N "(cached) $ECHO_C" >&6
92808 else
92809
92810
92811
92812       ac_ext=cc
92813 ac_cpp='$CXXCPP $CPPFLAGS'
92814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92817
92818       cat >conftest.$ac_ext <<_ACEOF
92819 /* confdefs.h.  */
92820 _ACEOF
92821 cat confdefs.h >>conftest.$ac_ext
92822 cat >>conftest.$ac_ext <<_ACEOF
92823 /* end confdefs.h.  */
92824 #include <math.h>
92825 int
92826 main ()
92827 {
92828  hypotl(0, 0);
92829   ;
92830   return 0;
92831 }
92832 _ACEOF
92833 rm -f conftest.$ac_objext
92834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92835   (eval $ac_compile) 2>conftest.er1
92836   ac_status=$?
92837   grep -v '^ *+' conftest.er1 >conftest.err
92838   rm -f conftest.er1
92839   cat conftest.err >&5
92840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92841   (exit $ac_status); } &&
92842          { ac_try='test -z "$ac_cxx_werror_flag"
92843                          || test ! -s conftest.err'
92844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92845   (eval $ac_try) 2>&5
92846   ac_status=$?
92847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92848   (exit $ac_status); }; } &&
92849          { ac_try='test -s conftest.$ac_objext'
92850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92851   (eval $ac_try) 2>&5
92852   ac_status=$?
92853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92854   (exit $ac_status); }; }; then
92855   glibcxx_cv_func_hypotl_use=yes
92856 else
92857   echo "$as_me: failed program was:" >&5
92858 sed 's/^/| /' conftest.$ac_ext >&5
92859
92860 glibcxx_cv_func_hypotl_use=no
92861 fi
92862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92863       ac_ext=c
92864 ac_cpp='$CPP $CPPFLAGS'
92865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92868
92869
92870 fi
92871
92872   fi
92873   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
92874 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
92875
92876   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
92877
92878 for ac_func in hypotl
92879 do
92880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92881 echo "$as_me:$LINENO: checking for $ac_func" >&5
92882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92883 if eval "test \"\${$as_ac_var+set}\" = set"; then
92884   echo $ECHO_N "(cached) $ECHO_C" >&6
92885 else
92886   if test x$gcc_no_link = xyes; then
92887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92889    { (exit 1); exit 1; }; }
92890 fi
92891 cat >conftest.$ac_ext <<_ACEOF
92892 /* confdefs.h.  */
92893 _ACEOF
92894 cat confdefs.h >>conftest.$ac_ext
92895 cat >>conftest.$ac_ext <<_ACEOF
92896 /* end confdefs.h.  */
92897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92899 #define $ac_func innocuous_$ac_func
92900
92901 /* System header to define __stub macros and hopefully few prototypes,
92902     which can conflict with char $ac_func (); below.
92903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92904     <limits.h> exists even on freestanding compilers.  */
92905
92906 #ifdef __STDC__
92907 # include <limits.h>
92908 #else
92909 # include <assert.h>
92910 #endif
92911
92912 #undef $ac_func
92913
92914 /* Override any gcc2 internal prototype to avoid an error.  */
92915 #ifdef __cplusplus
92916 extern "C"
92917 {
92918 #endif
92919 /* We use char because int might match the return type of a gcc2
92920    builtin and then its argument prototype would still apply.  */
92921 char $ac_func ();
92922 /* The GNU C library defines this for functions which it implements
92923     to always fail with ENOSYS.  Some functions are actually named
92924     something starting with __ and the normal name is an alias.  */
92925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92926 choke me
92927 #else
92928 char (*f) () = $ac_func;
92929 #endif
92930 #ifdef __cplusplus
92931 }
92932 #endif
92933
92934 int
92935 main ()
92936 {
92937 return f != $ac_func;
92938   ;
92939   return 0;
92940 }
92941 _ACEOF
92942 rm -f conftest.$ac_objext conftest$ac_exeext
92943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92944   (eval $ac_link) 2>conftest.er1
92945   ac_status=$?
92946   grep -v '^ *+' conftest.er1 >conftest.err
92947   rm -f conftest.er1
92948   cat conftest.err >&5
92949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92950   (exit $ac_status); } &&
92951          { ac_try='test -z "$ac_c_werror_flag"
92952                          || test ! -s conftest.err'
92953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92954   (eval $ac_try) 2>&5
92955   ac_status=$?
92956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92957   (exit $ac_status); }; } &&
92958          { ac_try='test -s conftest$ac_exeext'
92959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92960   (eval $ac_try) 2>&5
92961   ac_status=$?
92962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92963   (exit $ac_status); }; }; then
92964   eval "$as_ac_var=yes"
92965 else
92966   echo "$as_me: failed program was:" >&5
92967 sed 's/^/| /' conftest.$ac_ext >&5
92968
92969 eval "$as_ac_var=no"
92970 fi
92971 rm -f conftest.err conftest.$ac_objext \
92972       conftest$ac_exeext conftest.$ac_ext
92973 fi
92974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92976 if test `eval echo '${'$as_ac_var'}'` = yes; then
92977   cat >>confdefs.h <<_ACEOF
92978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92979 _ACEOF
92980
92981 fi
92982 done
92983
92984   else
92985
92986   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
92987 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
92988   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
92989     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
92990   echo $ECHO_N "(cached) $ECHO_C" >&6
92991 else
92992
92993
92994
92995       ac_ext=cc
92996 ac_cpp='$CXXCPP $CPPFLAGS'
92997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93000
93001       cat >conftest.$ac_ext <<_ACEOF
93002 /* confdefs.h.  */
93003 _ACEOF
93004 cat confdefs.h >>conftest.$ac_ext
93005 cat >>conftest.$ac_ext <<_ACEOF
93006 /* end confdefs.h.  */
93007 #include <math.h>
93008 int
93009 main ()
93010 {
93011  _hypotl(0, 0);
93012   ;
93013   return 0;
93014 }
93015 _ACEOF
93016 rm -f conftest.$ac_objext
93017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93018   (eval $ac_compile) 2>conftest.er1
93019   ac_status=$?
93020   grep -v '^ *+' conftest.er1 >conftest.err
93021   rm -f conftest.er1
93022   cat conftest.err >&5
93023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93024   (exit $ac_status); } &&
93025          { ac_try='test -z "$ac_cxx_werror_flag"
93026                          || test ! -s conftest.err'
93027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93028   (eval $ac_try) 2>&5
93029   ac_status=$?
93030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93031   (exit $ac_status); }; } &&
93032          { ac_try='test -s conftest.$ac_objext'
93033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93034   (eval $ac_try) 2>&5
93035   ac_status=$?
93036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93037   (exit $ac_status); }; }; then
93038   glibcxx_cv_func__hypotl_use=yes
93039 else
93040   echo "$as_me: failed program was:" >&5
93041 sed 's/^/| /' conftest.$ac_ext >&5
93042
93043 glibcxx_cv_func__hypotl_use=no
93044 fi
93045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93046       ac_ext=c
93047 ac_cpp='$CPP $CPPFLAGS'
93048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93051
93052
93053 fi
93054
93055   fi
93056   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
93057 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
93058
93059     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
93060
93061 for ac_func in _hypotl
93062 do
93063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93064 echo "$as_me:$LINENO: checking for $ac_func" >&5
93065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93066 if eval "test \"\${$as_ac_var+set}\" = set"; then
93067   echo $ECHO_N "(cached) $ECHO_C" >&6
93068 else
93069   if test x$gcc_no_link = xyes; then
93070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93072    { (exit 1); exit 1; }; }
93073 fi
93074 cat >conftest.$ac_ext <<_ACEOF
93075 /* confdefs.h.  */
93076 _ACEOF
93077 cat confdefs.h >>conftest.$ac_ext
93078 cat >>conftest.$ac_ext <<_ACEOF
93079 /* end confdefs.h.  */
93080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93081    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93082 #define $ac_func innocuous_$ac_func
93083
93084 /* System header to define __stub macros and hopefully few prototypes,
93085     which can conflict with char $ac_func (); below.
93086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93087     <limits.h> exists even on freestanding compilers.  */
93088
93089 #ifdef __STDC__
93090 # include <limits.h>
93091 #else
93092 # include <assert.h>
93093 #endif
93094
93095 #undef $ac_func
93096
93097 /* Override any gcc2 internal prototype to avoid an error.  */
93098 #ifdef __cplusplus
93099 extern "C"
93100 {
93101 #endif
93102 /* We use char because int might match the return type of a gcc2
93103    builtin and then its argument prototype would still apply.  */
93104 char $ac_func ();
93105 /* The GNU C library defines this for functions which it implements
93106     to always fail with ENOSYS.  Some functions are actually named
93107     something starting with __ and the normal name is an alias.  */
93108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93109 choke me
93110 #else
93111 char (*f) () = $ac_func;
93112 #endif
93113 #ifdef __cplusplus
93114 }
93115 #endif
93116
93117 int
93118 main ()
93119 {
93120 return f != $ac_func;
93121   ;
93122   return 0;
93123 }
93124 _ACEOF
93125 rm -f conftest.$ac_objext conftest$ac_exeext
93126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93127   (eval $ac_link) 2>conftest.er1
93128   ac_status=$?
93129   grep -v '^ *+' conftest.er1 >conftest.err
93130   rm -f conftest.er1
93131   cat conftest.err >&5
93132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93133   (exit $ac_status); } &&
93134          { ac_try='test -z "$ac_c_werror_flag"
93135                          || test ! -s conftest.err'
93136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93137   (eval $ac_try) 2>&5
93138   ac_status=$?
93139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93140   (exit $ac_status); }; } &&
93141          { ac_try='test -s conftest$ac_exeext'
93142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93143   (eval $ac_try) 2>&5
93144   ac_status=$?
93145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93146   (exit $ac_status); }; }; then
93147   eval "$as_ac_var=yes"
93148 else
93149   echo "$as_me: failed program was:" >&5
93150 sed 's/^/| /' conftest.$ac_ext >&5
93151
93152 eval "$as_ac_var=no"
93153 fi
93154 rm -f conftest.err conftest.$ac_objext \
93155       conftest$ac_exeext conftest.$ac_ext
93156 fi
93157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93159 if test `eval echo '${'$as_ac_var'}'` = yes; then
93160   cat >>confdefs.h <<_ACEOF
93161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93162 _ACEOF
93163
93164 fi
93165 done
93166
93167     fi
93168   fi
93169
93170
93171
93172
93173
93174
93175   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
93176 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
93177   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
93178     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
93179   echo $ECHO_N "(cached) $ECHO_C" >&6
93180 else
93181
93182
93183
93184       ac_ext=cc
93185 ac_cpp='$CXXCPP $CPPFLAGS'
93186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93189
93190       cat >conftest.$ac_ext <<_ACEOF
93191 /* confdefs.h.  */
93192 _ACEOF
93193 cat confdefs.h >>conftest.$ac_ext
93194 cat >>conftest.$ac_ext <<_ACEOF
93195 /* end confdefs.h.  */
93196 #include <math.h>
93197 int
93198 main ()
93199 {
93200  ldexpl(0, 0);
93201   ;
93202   return 0;
93203 }
93204 _ACEOF
93205 rm -f conftest.$ac_objext
93206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93207   (eval $ac_compile) 2>conftest.er1
93208   ac_status=$?
93209   grep -v '^ *+' conftest.er1 >conftest.err
93210   rm -f conftest.er1
93211   cat conftest.err >&5
93212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93213   (exit $ac_status); } &&
93214          { ac_try='test -z "$ac_cxx_werror_flag"
93215                          || test ! -s conftest.err'
93216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93217   (eval $ac_try) 2>&5
93218   ac_status=$?
93219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93220   (exit $ac_status); }; } &&
93221          { ac_try='test -s conftest.$ac_objext'
93222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93223   (eval $ac_try) 2>&5
93224   ac_status=$?
93225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93226   (exit $ac_status); }; }; then
93227   glibcxx_cv_func_ldexpl_use=yes
93228 else
93229   echo "$as_me: failed program was:" >&5
93230 sed 's/^/| /' conftest.$ac_ext >&5
93231
93232 glibcxx_cv_func_ldexpl_use=no
93233 fi
93234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93235       ac_ext=c
93236 ac_cpp='$CPP $CPPFLAGS'
93237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93240
93241
93242 fi
93243
93244   fi
93245   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
93246 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
93247
93248   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
93249
93250 for ac_func in ldexpl
93251 do
93252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93253 echo "$as_me:$LINENO: checking for $ac_func" >&5
93254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93255 if eval "test \"\${$as_ac_var+set}\" = set"; then
93256   echo $ECHO_N "(cached) $ECHO_C" >&6
93257 else
93258   if test x$gcc_no_link = xyes; then
93259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93261    { (exit 1); exit 1; }; }
93262 fi
93263 cat >conftest.$ac_ext <<_ACEOF
93264 /* confdefs.h.  */
93265 _ACEOF
93266 cat confdefs.h >>conftest.$ac_ext
93267 cat >>conftest.$ac_ext <<_ACEOF
93268 /* end confdefs.h.  */
93269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93270    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93271 #define $ac_func innocuous_$ac_func
93272
93273 /* System header to define __stub macros and hopefully few prototypes,
93274     which can conflict with char $ac_func (); below.
93275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93276     <limits.h> exists even on freestanding compilers.  */
93277
93278 #ifdef __STDC__
93279 # include <limits.h>
93280 #else
93281 # include <assert.h>
93282 #endif
93283
93284 #undef $ac_func
93285
93286 /* Override any gcc2 internal prototype to avoid an error.  */
93287 #ifdef __cplusplus
93288 extern "C"
93289 {
93290 #endif
93291 /* We use char because int might match the return type of a gcc2
93292    builtin and then its argument prototype would still apply.  */
93293 char $ac_func ();
93294 /* The GNU C library defines this for functions which it implements
93295     to always fail with ENOSYS.  Some functions are actually named
93296     something starting with __ and the normal name is an alias.  */
93297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93298 choke me
93299 #else
93300 char (*f) () = $ac_func;
93301 #endif
93302 #ifdef __cplusplus
93303 }
93304 #endif
93305
93306 int
93307 main ()
93308 {
93309 return f != $ac_func;
93310   ;
93311   return 0;
93312 }
93313 _ACEOF
93314 rm -f conftest.$ac_objext conftest$ac_exeext
93315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93316   (eval $ac_link) 2>conftest.er1
93317   ac_status=$?
93318   grep -v '^ *+' conftest.er1 >conftest.err
93319   rm -f conftest.er1
93320   cat conftest.err >&5
93321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93322   (exit $ac_status); } &&
93323          { ac_try='test -z "$ac_c_werror_flag"
93324                          || test ! -s conftest.err'
93325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93326   (eval $ac_try) 2>&5
93327   ac_status=$?
93328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93329   (exit $ac_status); }; } &&
93330          { ac_try='test -s conftest$ac_exeext'
93331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93332   (eval $ac_try) 2>&5
93333   ac_status=$?
93334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93335   (exit $ac_status); }; }; then
93336   eval "$as_ac_var=yes"
93337 else
93338   echo "$as_me: failed program was:" >&5
93339 sed 's/^/| /' conftest.$ac_ext >&5
93340
93341 eval "$as_ac_var=no"
93342 fi
93343 rm -f conftest.err conftest.$ac_objext \
93344       conftest$ac_exeext conftest.$ac_ext
93345 fi
93346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93348 if test `eval echo '${'$as_ac_var'}'` = yes; then
93349   cat >>confdefs.h <<_ACEOF
93350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93351 _ACEOF
93352
93353 fi
93354 done
93355
93356   else
93357
93358   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
93359 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
93360   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
93361     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
93362   echo $ECHO_N "(cached) $ECHO_C" >&6
93363 else
93364
93365
93366
93367       ac_ext=cc
93368 ac_cpp='$CXXCPP $CPPFLAGS'
93369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93372
93373       cat >conftest.$ac_ext <<_ACEOF
93374 /* confdefs.h.  */
93375 _ACEOF
93376 cat confdefs.h >>conftest.$ac_ext
93377 cat >>conftest.$ac_ext <<_ACEOF
93378 /* end confdefs.h.  */
93379 #include <math.h>
93380 int
93381 main ()
93382 {
93383  _ldexpl(0, 0);
93384   ;
93385   return 0;
93386 }
93387 _ACEOF
93388 rm -f conftest.$ac_objext
93389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93390   (eval $ac_compile) 2>conftest.er1
93391   ac_status=$?
93392   grep -v '^ *+' conftest.er1 >conftest.err
93393   rm -f conftest.er1
93394   cat conftest.err >&5
93395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93396   (exit $ac_status); } &&
93397          { ac_try='test -z "$ac_cxx_werror_flag"
93398                          || test ! -s conftest.err'
93399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93400   (eval $ac_try) 2>&5
93401   ac_status=$?
93402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93403   (exit $ac_status); }; } &&
93404          { ac_try='test -s conftest.$ac_objext'
93405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93406   (eval $ac_try) 2>&5
93407   ac_status=$?
93408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93409   (exit $ac_status); }; }; then
93410   glibcxx_cv_func__ldexpl_use=yes
93411 else
93412   echo "$as_me: failed program was:" >&5
93413 sed 's/^/| /' conftest.$ac_ext >&5
93414
93415 glibcxx_cv_func__ldexpl_use=no
93416 fi
93417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93418       ac_ext=c
93419 ac_cpp='$CPP $CPPFLAGS'
93420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93423
93424
93425 fi
93426
93427   fi
93428   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
93429 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
93430
93431     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
93432
93433 for ac_func in _ldexpl
93434 do
93435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93436 echo "$as_me:$LINENO: checking for $ac_func" >&5
93437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93438 if eval "test \"\${$as_ac_var+set}\" = set"; then
93439   echo $ECHO_N "(cached) $ECHO_C" >&6
93440 else
93441   if test x$gcc_no_link = xyes; then
93442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93444    { (exit 1); exit 1; }; }
93445 fi
93446 cat >conftest.$ac_ext <<_ACEOF
93447 /* confdefs.h.  */
93448 _ACEOF
93449 cat confdefs.h >>conftest.$ac_ext
93450 cat >>conftest.$ac_ext <<_ACEOF
93451 /* end confdefs.h.  */
93452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93454 #define $ac_func innocuous_$ac_func
93455
93456 /* System header to define __stub macros and hopefully few prototypes,
93457     which can conflict with char $ac_func (); below.
93458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93459     <limits.h> exists even on freestanding compilers.  */
93460
93461 #ifdef __STDC__
93462 # include <limits.h>
93463 #else
93464 # include <assert.h>
93465 #endif
93466
93467 #undef $ac_func
93468
93469 /* Override any gcc2 internal prototype to avoid an error.  */
93470 #ifdef __cplusplus
93471 extern "C"
93472 {
93473 #endif
93474 /* We use char because int might match the return type of a gcc2
93475    builtin and then its argument prototype would still apply.  */
93476 char $ac_func ();
93477 /* The GNU C library defines this for functions which it implements
93478     to always fail with ENOSYS.  Some functions are actually named
93479     something starting with __ and the normal name is an alias.  */
93480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93481 choke me
93482 #else
93483 char (*f) () = $ac_func;
93484 #endif
93485 #ifdef __cplusplus
93486 }
93487 #endif
93488
93489 int
93490 main ()
93491 {
93492 return f != $ac_func;
93493   ;
93494   return 0;
93495 }
93496 _ACEOF
93497 rm -f conftest.$ac_objext conftest$ac_exeext
93498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93499   (eval $ac_link) 2>conftest.er1
93500   ac_status=$?
93501   grep -v '^ *+' conftest.er1 >conftest.err
93502   rm -f conftest.er1
93503   cat conftest.err >&5
93504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93505   (exit $ac_status); } &&
93506          { ac_try='test -z "$ac_c_werror_flag"
93507                          || test ! -s conftest.err'
93508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93509   (eval $ac_try) 2>&5
93510   ac_status=$?
93511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93512   (exit $ac_status); }; } &&
93513          { ac_try='test -s conftest$ac_exeext'
93514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93515   (eval $ac_try) 2>&5
93516   ac_status=$?
93517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93518   (exit $ac_status); }; }; then
93519   eval "$as_ac_var=yes"
93520 else
93521   echo "$as_me: failed program was:" >&5
93522 sed 's/^/| /' conftest.$ac_ext >&5
93523
93524 eval "$as_ac_var=no"
93525 fi
93526 rm -f conftest.err conftest.$ac_objext \
93527       conftest$ac_exeext conftest.$ac_ext
93528 fi
93529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93531 if test `eval echo '${'$as_ac_var'}'` = yes; then
93532   cat >>confdefs.h <<_ACEOF
93533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93534 _ACEOF
93535
93536 fi
93537 done
93538
93539     fi
93540   fi
93541
93542
93543
93544
93545
93546
93547   echo "$as_me:$LINENO: checking for logl declaration" >&5
93548 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
93549   if test x${glibcxx_cv_func_logl_use+set} != xset; then
93550     if test "${glibcxx_cv_func_logl_use+set}" = set; then
93551   echo $ECHO_N "(cached) $ECHO_C" >&6
93552 else
93553
93554
93555
93556       ac_ext=cc
93557 ac_cpp='$CXXCPP $CPPFLAGS'
93558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93561
93562       cat >conftest.$ac_ext <<_ACEOF
93563 /* confdefs.h.  */
93564 _ACEOF
93565 cat confdefs.h >>conftest.$ac_ext
93566 cat >>conftest.$ac_ext <<_ACEOF
93567 /* end confdefs.h.  */
93568 #include <math.h>
93569                       #ifdef HAVE_IEEEFP_H
93570                       #include <ieeefp.h>
93571                       #endif
93572
93573 int
93574 main ()
93575 {
93576  logl(0);
93577   ;
93578   return 0;
93579 }
93580 _ACEOF
93581 rm -f conftest.$ac_objext
93582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93583   (eval $ac_compile) 2>conftest.er1
93584   ac_status=$?
93585   grep -v '^ *+' conftest.er1 >conftest.err
93586   rm -f conftest.er1
93587   cat conftest.err >&5
93588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93589   (exit $ac_status); } &&
93590          { ac_try='test -z "$ac_cxx_werror_flag"
93591                          || test ! -s conftest.err'
93592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93593   (eval $ac_try) 2>&5
93594   ac_status=$?
93595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93596   (exit $ac_status); }; } &&
93597          { ac_try='test -s conftest.$ac_objext'
93598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93599   (eval $ac_try) 2>&5
93600   ac_status=$?
93601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93602   (exit $ac_status); }; }; then
93603   glibcxx_cv_func_logl_use=yes
93604 else
93605   echo "$as_me: failed program was:" >&5
93606 sed 's/^/| /' conftest.$ac_ext >&5
93607
93608 glibcxx_cv_func_logl_use=no
93609 fi
93610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93611       ac_ext=c
93612 ac_cpp='$CPP $CPPFLAGS'
93613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93616
93617
93618 fi
93619
93620   fi
93621   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
93622 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
93623
93624   if test x$glibcxx_cv_func_logl_use = x"yes"; then
93625
93626 for ac_func in logl
93627 do
93628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93629 echo "$as_me:$LINENO: checking for $ac_func" >&5
93630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93631 if eval "test \"\${$as_ac_var+set}\" = set"; then
93632   echo $ECHO_N "(cached) $ECHO_C" >&6
93633 else
93634   if test x$gcc_no_link = xyes; then
93635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93637    { (exit 1); exit 1; }; }
93638 fi
93639 cat >conftest.$ac_ext <<_ACEOF
93640 /* confdefs.h.  */
93641 _ACEOF
93642 cat confdefs.h >>conftest.$ac_ext
93643 cat >>conftest.$ac_ext <<_ACEOF
93644 /* end confdefs.h.  */
93645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93646    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93647 #define $ac_func innocuous_$ac_func
93648
93649 /* System header to define __stub macros and hopefully few prototypes,
93650     which can conflict with char $ac_func (); below.
93651     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93652     <limits.h> exists even on freestanding compilers.  */
93653
93654 #ifdef __STDC__
93655 # include <limits.h>
93656 #else
93657 # include <assert.h>
93658 #endif
93659
93660 #undef $ac_func
93661
93662 /* Override any gcc2 internal prototype to avoid an error.  */
93663 #ifdef __cplusplus
93664 extern "C"
93665 {
93666 #endif
93667 /* We use char because int might match the return type of a gcc2
93668    builtin and then its argument prototype would still apply.  */
93669 char $ac_func ();
93670 /* The GNU C library defines this for functions which it implements
93671     to always fail with ENOSYS.  Some functions are actually named
93672     something starting with __ and the normal name is an alias.  */
93673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93674 choke me
93675 #else
93676 char (*f) () = $ac_func;
93677 #endif
93678 #ifdef __cplusplus
93679 }
93680 #endif
93681
93682 int
93683 main ()
93684 {
93685 return f != $ac_func;
93686   ;
93687   return 0;
93688 }
93689 _ACEOF
93690 rm -f conftest.$ac_objext conftest$ac_exeext
93691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93692   (eval $ac_link) 2>conftest.er1
93693   ac_status=$?
93694   grep -v '^ *+' conftest.er1 >conftest.err
93695   rm -f conftest.er1
93696   cat conftest.err >&5
93697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93698   (exit $ac_status); } &&
93699          { ac_try='test -z "$ac_c_werror_flag"
93700                          || test ! -s conftest.err'
93701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93702   (eval $ac_try) 2>&5
93703   ac_status=$?
93704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93705   (exit $ac_status); }; } &&
93706          { ac_try='test -s conftest$ac_exeext'
93707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93708   (eval $ac_try) 2>&5
93709   ac_status=$?
93710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93711   (exit $ac_status); }; }; then
93712   eval "$as_ac_var=yes"
93713 else
93714   echo "$as_me: failed program was:" >&5
93715 sed 's/^/| /' conftest.$ac_ext >&5
93716
93717 eval "$as_ac_var=no"
93718 fi
93719 rm -f conftest.err conftest.$ac_objext \
93720       conftest$ac_exeext conftest.$ac_ext
93721 fi
93722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93724 if test `eval echo '${'$as_ac_var'}'` = yes; then
93725   cat >>confdefs.h <<_ACEOF
93726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93727 _ACEOF
93728
93729 fi
93730 done
93731
93732   else
93733
93734   echo "$as_me:$LINENO: checking for _logl declaration" >&5
93735 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
93736   if test x${glibcxx_cv_func__logl_use+set} != xset; then
93737     if test "${glibcxx_cv_func__logl_use+set}" = set; then
93738   echo $ECHO_N "(cached) $ECHO_C" >&6
93739 else
93740
93741
93742
93743       ac_ext=cc
93744 ac_cpp='$CXXCPP $CPPFLAGS'
93745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93748
93749       cat >conftest.$ac_ext <<_ACEOF
93750 /* confdefs.h.  */
93751 _ACEOF
93752 cat confdefs.h >>conftest.$ac_ext
93753 cat >>conftest.$ac_ext <<_ACEOF
93754 /* end confdefs.h.  */
93755 #include <math.h>
93756                       #ifdef HAVE_IEEEFP_H
93757                       #include <ieeefp.h>
93758                       #endif
93759
93760 int
93761 main ()
93762 {
93763  _logl(0);
93764   ;
93765   return 0;
93766 }
93767 _ACEOF
93768 rm -f conftest.$ac_objext
93769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93770   (eval $ac_compile) 2>conftest.er1
93771   ac_status=$?
93772   grep -v '^ *+' conftest.er1 >conftest.err
93773   rm -f conftest.er1
93774   cat conftest.err >&5
93775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93776   (exit $ac_status); } &&
93777          { ac_try='test -z "$ac_cxx_werror_flag"
93778                          || test ! -s conftest.err'
93779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93780   (eval $ac_try) 2>&5
93781   ac_status=$?
93782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93783   (exit $ac_status); }; } &&
93784          { ac_try='test -s conftest.$ac_objext'
93785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93786   (eval $ac_try) 2>&5
93787   ac_status=$?
93788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93789   (exit $ac_status); }; }; then
93790   glibcxx_cv_func__logl_use=yes
93791 else
93792   echo "$as_me: failed program was:" >&5
93793 sed 's/^/| /' conftest.$ac_ext >&5
93794
93795 glibcxx_cv_func__logl_use=no
93796 fi
93797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93798       ac_ext=c
93799 ac_cpp='$CPP $CPPFLAGS'
93800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93803
93804
93805 fi
93806
93807   fi
93808   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
93809 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
93810
93811     if test x$glibcxx_cv_func__logl_use = x"yes"; then
93812
93813 for ac_func in _logl
93814 do
93815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93816 echo "$as_me:$LINENO: checking for $ac_func" >&5
93817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93818 if eval "test \"\${$as_ac_var+set}\" = set"; then
93819   echo $ECHO_N "(cached) $ECHO_C" >&6
93820 else
93821   if test x$gcc_no_link = xyes; then
93822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93824    { (exit 1); exit 1; }; }
93825 fi
93826 cat >conftest.$ac_ext <<_ACEOF
93827 /* confdefs.h.  */
93828 _ACEOF
93829 cat confdefs.h >>conftest.$ac_ext
93830 cat >>conftest.$ac_ext <<_ACEOF
93831 /* end confdefs.h.  */
93832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93834 #define $ac_func innocuous_$ac_func
93835
93836 /* System header to define __stub macros and hopefully few prototypes,
93837     which can conflict with char $ac_func (); below.
93838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93839     <limits.h> exists even on freestanding compilers.  */
93840
93841 #ifdef __STDC__
93842 # include <limits.h>
93843 #else
93844 # include <assert.h>
93845 #endif
93846
93847 #undef $ac_func
93848
93849 /* Override any gcc2 internal prototype to avoid an error.  */
93850 #ifdef __cplusplus
93851 extern "C"
93852 {
93853 #endif
93854 /* We use char because int might match the return type of a gcc2
93855    builtin and then its argument prototype would still apply.  */
93856 char $ac_func ();
93857 /* The GNU C library defines this for functions which it implements
93858     to always fail with ENOSYS.  Some functions are actually named
93859     something starting with __ and the normal name is an alias.  */
93860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93861 choke me
93862 #else
93863 char (*f) () = $ac_func;
93864 #endif
93865 #ifdef __cplusplus
93866 }
93867 #endif
93868
93869 int
93870 main ()
93871 {
93872 return f != $ac_func;
93873   ;
93874   return 0;
93875 }
93876 _ACEOF
93877 rm -f conftest.$ac_objext conftest$ac_exeext
93878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93879   (eval $ac_link) 2>conftest.er1
93880   ac_status=$?
93881   grep -v '^ *+' conftest.er1 >conftest.err
93882   rm -f conftest.er1
93883   cat conftest.err >&5
93884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93885   (exit $ac_status); } &&
93886          { ac_try='test -z "$ac_c_werror_flag"
93887                          || test ! -s conftest.err'
93888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93889   (eval $ac_try) 2>&5
93890   ac_status=$?
93891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93892   (exit $ac_status); }; } &&
93893          { ac_try='test -s conftest$ac_exeext'
93894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93895   (eval $ac_try) 2>&5
93896   ac_status=$?
93897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93898   (exit $ac_status); }; }; then
93899   eval "$as_ac_var=yes"
93900 else
93901   echo "$as_me: failed program was:" >&5
93902 sed 's/^/| /' conftest.$ac_ext >&5
93903
93904 eval "$as_ac_var=no"
93905 fi
93906 rm -f conftest.err conftest.$ac_objext \
93907       conftest$ac_exeext conftest.$ac_ext
93908 fi
93909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93911 if test `eval echo '${'$as_ac_var'}'` = yes; then
93912   cat >>confdefs.h <<_ACEOF
93913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93914 _ACEOF
93915
93916 fi
93917 done
93918
93919     fi
93920   fi
93921
93922
93923
93924
93925
93926
93927   echo "$as_me:$LINENO: checking for log10l declaration" >&5
93928 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
93929   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
93930     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
93931   echo $ECHO_N "(cached) $ECHO_C" >&6
93932 else
93933
93934
93935
93936       ac_ext=cc
93937 ac_cpp='$CXXCPP $CPPFLAGS'
93938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93941
93942       cat >conftest.$ac_ext <<_ACEOF
93943 /* confdefs.h.  */
93944 _ACEOF
93945 cat confdefs.h >>conftest.$ac_ext
93946 cat >>conftest.$ac_ext <<_ACEOF
93947 /* end confdefs.h.  */
93948 #include <math.h>
93949                       #ifdef HAVE_IEEEFP_H
93950                       #include <ieeefp.h>
93951                       #endif
93952
93953 int
93954 main ()
93955 {
93956  log10l(0);
93957   ;
93958   return 0;
93959 }
93960 _ACEOF
93961 rm -f conftest.$ac_objext
93962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93963   (eval $ac_compile) 2>conftest.er1
93964   ac_status=$?
93965   grep -v '^ *+' conftest.er1 >conftest.err
93966   rm -f conftest.er1
93967   cat conftest.err >&5
93968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93969   (exit $ac_status); } &&
93970          { ac_try='test -z "$ac_cxx_werror_flag"
93971                          || test ! -s conftest.err'
93972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93973   (eval $ac_try) 2>&5
93974   ac_status=$?
93975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93976   (exit $ac_status); }; } &&
93977          { ac_try='test -s conftest.$ac_objext'
93978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93979   (eval $ac_try) 2>&5
93980   ac_status=$?
93981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93982   (exit $ac_status); }; }; then
93983   glibcxx_cv_func_log10l_use=yes
93984 else
93985   echo "$as_me: failed program was:" >&5
93986 sed 's/^/| /' conftest.$ac_ext >&5
93987
93988 glibcxx_cv_func_log10l_use=no
93989 fi
93990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93991       ac_ext=c
93992 ac_cpp='$CPP $CPPFLAGS'
93993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93996
93997
93998 fi
93999
94000   fi
94001   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
94002 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
94003
94004   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
94005
94006 for ac_func in log10l
94007 do
94008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94009 echo "$as_me:$LINENO: checking for $ac_func" >&5
94010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94011 if eval "test \"\${$as_ac_var+set}\" = set"; then
94012   echo $ECHO_N "(cached) $ECHO_C" >&6
94013 else
94014   if test x$gcc_no_link = xyes; then
94015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94017    { (exit 1); exit 1; }; }
94018 fi
94019 cat >conftest.$ac_ext <<_ACEOF
94020 /* confdefs.h.  */
94021 _ACEOF
94022 cat confdefs.h >>conftest.$ac_ext
94023 cat >>conftest.$ac_ext <<_ACEOF
94024 /* end confdefs.h.  */
94025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94026    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94027 #define $ac_func innocuous_$ac_func
94028
94029 /* System header to define __stub macros and hopefully few prototypes,
94030     which can conflict with char $ac_func (); below.
94031     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94032     <limits.h> exists even on freestanding compilers.  */
94033
94034 #ifdef __STDC__
94035 # include <limits.h>
94036 #else
94037 # include <assert.h>
94038 #endif
94039
94040 #undef $ac_func
94041
94042 /* Override any gcc2 internal prototype to avoid an error.  */
94043 #ifdef __cplusplus
94044 extern "C"
94045 {
94046 #endif
94047 /* We use char because int might match the return type of a gcc2
94048    builtin and then its argument prototype would still apply.  */
94049 char $ac_func ();
94050 /* The GNU C library defines this for functions which it implements
94051     to always fail with ENOSYS.  Some functions are actually named
94052     something starting with __ and the normal name is an alias.  */
94053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94054 choke me
94055 #else
94056 char (*f) () = $ac_func;
94057 #endif
94058 #ifdef __cplusplus
94059 }
94060 #endif
94061
94062 int
94063 main ()
94064 {
94065 return f != $ac_func;
94066   ;
94067   return 0;
94068 }
94069 _ACEOF
94070 rm -f conftest.$ac_objext conftest$ac_exeext
94071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94072   (eval $ac_link) 2>conftest.er1
94073   ac_status=$?
94074   grep -v '^ *+' conftest.er1 >conftest.err
94075   rm -f conftest.er1
94076   cat conftest.err >&5
94077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94078   (exit $ac_status); } &&
94079          { ac_try='test -z "$ac_c_werror_flag"
94080                          || test ! -s conftest.err'
94081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94082   (eval $ac_try) 2>&5
94083   ac_status=$?
94084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94085   (exit $ac_status); }; } &&
94086          { ac_try='test -s conftest$ac_exeext'
94087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94088   (eval $ac_try) 2>&5
94089   ac_status=$?
94090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94091   (exit $ac_status); }; }; then
94092   eval "$as_ac_var=yes"
94093 else
94094   echo "$as_me: failed program was:" >&5
94095 sed 's/^/| /' conftest.$ac_ext >&5
94096
94097 eval "$as_ac_var=no"
94098 fi
94099 rm -f conftest.err conftest.$ac_objext \
94100       conftest$ac_exeext conftest.$ac_ext
94101 fi
94102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94104 if test `eval echo '${'$as_ac_var'}'` = yes; then
94105   cat >>confdefs.h <<_ACEOF
94106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94107 _ACEOF
94108
94109 fi
94110 done
94111
94112   else
94113
94114   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
94115 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
94116   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
94117     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
94118   echo $ECHO_N "(cached) $ECHO_C" >&6
94119 else
94120
94121
94122
94123       ac_ext=cc
94124 ac_cpp='$CXXCPP $CPPFLAGS'
94125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94128
94129       cat >conftest.$ac_ext <<_ACEOF
94130 /* confdefs.h.  */
94131 _ACEOF
94132 cat confdefs.h >>conftest.$ac_ext
94133 cat >>conftest.$ac_ext <<_ACEOF
94134 /* end confdefs.h.  */
94135 #include <math.h>
94136                       #ifdef HAVE_IEEEFP_H
94137                       #include <ieeefp.h>
94138                       #endif
94139
94140 int
94141 main ()
94142 {
94143  _log10l(0);
94144   ;
94145   return 0;
94146 }
94147 _ACEOF
94148 rm -f conftest.$ac_objext
94149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94150   (eval $ac_compile) 2>conftest.er1
94151   ac_status=$?
94152   grep -v '^ *+' conftest.er1 >conftest.err
94153   rm -f conftest.er1
94154   cat conftest.err >&5
94155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94156   (exit $ac_status); } &&
94157          { ac_try='test -z "$ac_cxx_werror_flag"
94158                          || test ! -s conftest.err'
94159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94160   (eval $ac_try) 2>&5
94161   ac_status=$?
94162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94163   (exit $ac_status); }; } &&
94164          { ac_try='test -s conftest.$ac_objext'
94165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94166   (eval $ac_try) 2>&5
94167   ac_status=$?
94168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94169   (exit $ac_status); }; }; then
94170   glibcxx_cv_func__log10l_use=yes
94171 else
94172   echo "$as_me: failed program was:" >&5
94173 sed 's/^/| /' conftest.$ac_ext >&5
94174
94175 glibcxx_cv_func__log10l_use=no
94176 fi
94177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94178       ac_ext=c
94179 ac_cpp='$CPP $CPPFLAGS'
94180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94183
94184
94185 fi
94186
94187   fi
94188   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
94189 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
94190
94191     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
94192
94193 for ac_func in _log10l
94194 do
94195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94196 echo "$as_me:$LINENO: checking for $ac_func" >&5
94197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94198 if eval "test \"\${$as_ac_var+set}\" = set"; then
94199   echo $ECHO_N "(cached) $ECHO_C" >&6
94200 else
94201   if test x$gcc_no_link = xyes; then
94202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94204    { (exit 1); exit 1; }; }
94205 fi
94206 cat >conftest.$ac_ext <<_ACEOF
94207 /* confdefs.h.  */
94208 _ACEOF
94209 cat confdefs.h >>conftest.$ac_ext
94210 cat >>conftest.$ac_ext <<_ACEOF
94211 /* end confdefs.h.  */
94212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94213    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94214 #define $ac_func innocuous_$ac_func
94215
94216 /* System header to define __stub macros and hopefully few prototypes,
94217     which can conflict with char $ac_func (); below.
94218     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94219     <limits.h> exists even on freestanding compilers.  */
94220
94221 #ifdef __STDC__
94222 # include <limits.h>
94223 #else
94224 # include <assert.h>
94225 #endif
94226
94227 #undef $ac_func
94228
94229 /* Override any gcc2 internal prototype to avoid an error.  */
94230 #ifdef __cplusplus
94231 extern "C"
94232 {
94233 #endif
94234 /* We use char because int might match the return type of a gcc2
94235    builtin and then its argument prototype would still apply.  */
94236 char $ac_func ();
94237 /* The GNU C library defines this for functions which it implements
94238     to always fail with ENOSYS.  Some functions are actually named
94239     something starting with __ and the normal name is an alias.  */
94240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94241 choke me
94242 #else
94243 char (*f) () = $ac_func;
94244 #endif
94245 #ifdef __cplusplus
94246 }
94247 #endif
94248
94249 int
94250 main ()
94251 {
94252 return f != $ac_func;
94253   ;
94254   return 0;
94255 }
94256 _ACEOF
94257 rm -f conftest.$ac_objext conftest$ac_exeext
94258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94259   (eval $ac_link) 2>conftest.er1
94260   ac_status=$?
94261   grep -v '^ *+' conftest.er1 >conftest.err
94262   rm -f conftest.er1
94263   cat conftest.err >&5
94264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94265   (exit $ac_status); } &&
94266          { ac_try='test -z "$ac_c_werror_flag"
94267                          || test ! -s conftest.err'
94268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94269   (eval $ac_try) 2>&5
94270   ac_status=$?
94271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94272   (exit $ac_status); }; } &&
94273          { ac_try='test -s conftest$ac_exeext'
94274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94275   (eval $ac_try) 2>&5
94276   ac_status=$?
94277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94278   (exit $ac_status); }; }; then
94279   eval "$as_ac_var=yes"
94280 else
94281   echo "$as_me: failed program was:" >&5
94282 sed 's/^/| /' conftest.$ac_ext >&5
94283
94284 eval "$as_ac_var=no"
94285 fi
94286 rm -f conftest.err conftest.$ac_objext \
94287       conftest$ac_exeext conftest.$ac_ext
94288 fi
94289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94291 if test `eval echo '${'$as_ac_var'}'` = yes; then
94292   cat >>confdefs.h <<_ACEOF
94293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94294 _ACEOF
94295
94296 fi
94297 done
94298
94299     fi
94300   fi
94301
94302
94303
94304
94305
94306
94307   echo "$as_me:$LINENO: checking for modfl declaration" >&5
94308 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
94309   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
94310     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
94311   echo $ECHO_N "(cached) $ECHO_C" >&6
94312 else
94313
94314
94315
94316       ac_ext=cc
94317 ac_cpp='$CXXCPP $CPPFLAGS'
94318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94321
94322       cat >conftest.$ac_ext <<_ACEOF
94323 /* confdefs.h.  */
94324 _ACEOF
94325 cat confdefs.h >>conftest.$ac_ext
94326 cat >>conftest.$ac_ext <<_ACEOF
94327 /* end confdefs.h.  */
94328 #include <math.h>
94329 int
94330 main ()
94331 {
94332  modfl(0, 0);
94333   ;
94334   return 0;
94335 }
94336 _ACEOF
94337 rm -f conftest.$ac_objext
94338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94339   (eval $ac_compile) 2>conftest.er1
94340   ac_status=$?
94341   grep -v '^ *+' conftest.er1 >conftest.err
94342   rm -f conftest.er1
94343   cat conftest.err >&5
94344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94345   (exit $ac_status); } &&
94346          { ac_try='test -z "$ac_cxx_werror_flag"
94347                          || test ! -s conftest.err'
94348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94349   (eval $ac_try) 2>&5
94350   ac_status=$?
94351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94352   (exit $ac_status); }; } &&
94353          { ac_try='test -s conftest.$ac_objext'
94354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94355   (eval $ac_try) 2>&5
94356   ac_status=$?
94357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94358   (exit $ac_status); }; }; then
94359   glibcxx_cv_func_modfl_use=yes
94360 else
94361   echo "$as_me: failed program was:" >&5
94362 sed 's/^/| /' conftest.$ac_ext >&5
94363
94364 glibcxx_cv_func_modfl_use=no
94365 fi
94366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94367       ac_ext=c
94368 ac_cpp='$CPP $CPPFLAGS'
94369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94372
94373
94374 fi
94375
94376   fi
94377   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
94378 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
94379
94380   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
94381
94382 for ac_func in modfl
94383 do
94384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94385 echo "$as_me:$LINENO: checking for $ac_func" >&5
94386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94387 if eval "test \"\${$as_ac_var+set}\" = set"; then
94388   echo $ECHO_N "(cached) $ECHO_C" >&6
94389 else
94390   if test x$gcc_no_link = xyes; then
94391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94393    { (exit 1); exit 1; }; }
94394 fi
94395 cat >conftest.$ac_ext <<_ACEOF
94396 /* confdefs.h.  */
94397 _ACEOF
94398 cat confdefs.h >>conftest.$ac_ext
94399 cat >>conftest.$ac_ext <<_ACEOF
94400 /* end confdefs.h.  */
94401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94403 #define $ac_func innocuous_$ac_func
94404
94405 /* System header to define __stub macros and hopefully few prototypes,
94406     which can conflict with char $ac_func (); below.
94407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94408     <limits.h> exists even on freestanding compilers.  */
94409
94410 #ifdef __STDC__
94411 # include <limits.h>
94412 #else
94413 # include <assert.h>
94414 #endif
94415
94416 #undef $ac_func
94417
94418 /* Override any gcc2 internal prototype to avoid an error.  */
94419 #ifdef __cplusplus
94420 extern "C"
94421 {
94422 #endif
94423 /* We use char because int might match the return type of a gcc2
94424    builtin and then its argument prototype would still apply.  */
94425 char $ac_func ();
94426 /* The GNU C library defines this for functions which it implements
94427     to always fail with ENOSYS.  Some functions are actually named
94428     something starting with __ and the normal name is an alias.  */
94429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94430 choke me
94431 #else
94432 char (*f) () = $ac_func;
94433 #endif
94434 #ifdef __cplusplus
94435 }
94436 #endif
94437
94438 int
94439 main ()
94440 {
94441 return f != $ac_func;
94442   ;
94443   return 0;
94444 }
94445 _ACEOF
94446 rm -f conftest.$ac_objext conftest$ac_exeext
94447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94448   (eval $ac_link) 2>conftest.er1
94449   ac_status=$?
94450   grep -v '^ *+' conftest.er1 >conftest.err
94451   rm -f conftest.er1
94452   cat conftest.err >&5
94453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94454   (exit $ac_status); } &&
94455          { ac_try='test -z "$ac_c_werror_flag"
94456                          || test ! -s conftest.err'
94457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94458   (eval $ac_try) 2>&5
94459   ac_status=$?
94460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94461   (exit $ac_status); }; } &&
94462          { ac_try='test -s conftest$ac_exeext'
94463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94464   (eval $ac_try) 2>&5
94465   ac_status=$?
94466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94467   (exit $ac_status); }; }; then
94468   eval "$as_ac_var=yes"
94469 else
94470   echo "$as_me: failed program was:" >&5
94471 sed 's/^/| /' conftest.$ac_ext >&5
94472
94473 eval "$as_ac_var=no"
94474 fi
94475 rm -f conftest.err conftest.$ac_objext \
94476       conftest$ac_exeext conftest.$ac_ext
94477 fi
94478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94480 if test `eval echo '${'$as_ac_var'}'` = yes; then
94481   cat >>confdefs.h <<_ACEOF
94482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94483 _ACEOF
94484
94485 fi
94486 done
94487
94488   else
94489
94490   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
94491 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
94492   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
94493     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
94494   echo $ECHO_N "(cached) $ECHO_C" >&6
94495 else
94496
94497
94498
94499       ac_ext=cc
94500 ac_cpp='$CXXCPP $CPPFLAGS'
94501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94504
94505       cat >conftest.$ac_ext <<_ACEOF
94506 /* confdefs.h.  */
94507 _ACEOF
94508 cat confdefs.h >>conftest.$ac_ext
94509 cat >>conftest.$ac_ext <<_ACEOF
94510 /* end confdefs.h.  */
94511 #include <math.h>
94512 int
94513 main ()
94514 {
94515  _modfl(0, 0);
94516   ;
94517   return 0;
94518 }
94519 _ACEOF
94520 rm -f conftest.$ac_objext
94521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94522   (eval $ac_compile) 2>conftest.er1
94523   ac_status=$?
94524   grep -v '^ *+' conftest.er1 >conftest.err
94525   rm -f conftest.er1
94526   cat conftest.err >&5
94527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94528   (exit $ac_status); } &&
94529          { ac_try='test -z "$ac_cxx_werror_flag"
94530                          || test ! -s conftest.err'
94531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94532   (eval $ac_try) 2>&5
94533   ac_status=$?
94534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94535   (exit $ac_status); }; } &&
94536          { ac_try='test -s conftest.$ac_objext'
94537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94538   (eval $ac_try) 2>&5
94539   ac_status=$?
94540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94541   (exit $ac_status); }; }; then
94542   glibcxx_cv_func__modfl_use=yes
94543 else
94544   echo "$as_me: failed program was:" >&5
94545 sed 's/^/| /' conftest.$ac_ext >&5
94546
94547 glibcxx_cv_func__modfl_use=no
94548 fi
94549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94550       ac_ext=c
94551 ac_cpp='$CPP $CPPFLAGS'
94552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94555
94556
94557 fi
94558
94559   fi
94560   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
94561 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
94562
94563     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
94564
94565 for ac_func in _modfl
94566 do
94567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94568 echo "$as_me:$LINENO: checking for $ac_func" >&5
94569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94570 if eval "test \"\${$as_ac_var+set}\" = set"; then
94571   echo $ECHO_N "(cached) $ECHO_C" >&6
94572 else
94573   if test x$gcc_no_link = xyes; then
94574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94576    { (exit 1); exit 1; }; }
94577 fi
94578 cat >conftest.$ac_ext <<_ACEOF
94579 /* confdefs.h.  */
94580 _ACEOF
94581 cat confdefs.h >>conftest.$ac_ext
94582 cat >>conftest.$ac_ext <<_ACEOF
94583 /* end confdefs.h.  */
94584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94586 #define $ac_func innocuous_$ac_func
94587
94588 /* System header to define __stub macros and hopefully few prototypes,
94589     which can conflict with char $ac_func (); below.
94590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94591     <limits.h> exists even on freestanding compilers.  */
94592
94593 #ifdef __STDC__
94594 # include <limits.h>
94595 #else
94596 # include <assert.h>
94597 #endif
94598
94599 #undef $ac_func
94600
94601 /* Override any gcc2 internal prototype to avoid an error.  */
94602 #ifdef __cplusplus
94603 extern "C"
94604 {
94605 #endif
94606 /* We use char because int might match the return type of a gcc2
94607    builtin and then its argument prototype would still apply.  */
94608 char $ac_func ();
94609 /* The GNU C library defines this for functions which it implements
94610     to always fail with ENOSYS.  Some functions are actually named
94611     something starting with __ and the normal name is an alias.  */
94612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94613 choke me
94614 #else
94615 char (*f) () = $ac_func;
94616 #endif
94617 #ifdef __cplusplus
94618 }
94619 #endif
94620
94621 int
94622 main ()
94623 {
94624 return f != $ac_func;
94625   ;
94626   return 0;
94627 }
94628 _ACEOF
94629 rm -f conftest.$ac_objext conftest$ac_exeext
94630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94631   (eval $ac_link) 2>conftest.er1
94632   ac_status=$?
94633   grep -v '^ *+' conftest.er1 >conftest.err
94634   rm -f conftest.er1
94635   cat conftest.err >&5
94636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94637   (exit $ac_status); } &&
94638          { ac_try='test -z "$ac_c_werror_flag"
94639                          || test ! -s conftest.err'
94640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94641   (eval $ac_try) 2>&5
94642   ac_status=$?
94643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94644   (exit $ac_status); }; } &&
94645          { ac_try='test -s conftest$ac_exeext'
94646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94647   (eval $ac_try) 2>&5
94648   ac_status=$?
94649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94650   (exit $ac_status); }; }; then
94651   eval "$as_ac_var=yes"
94652 else
94653   echo "$as_me: failed program was:" >&5
94654 sed 's/^/| /' conftest.$ac_ext >&5
94655
94656 eval "$as_ac_var=no"
94657 fi
94658 rm -f conftest.err conftest.$ac_objext \
94659       conftest$ac_exeext conftest.$ac_ext
94660 fi
94661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94663 if test `eval echo '${'$as_ac_var'}'` = yes; then
94664   cat >>confdefs.h <<_ACEOF
94665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94666 _ACEOF
94667
94668 fi
94669 done
94670
94671     fi
94672   fi
94673
94674
94675
94676
94677
94678
94679   echo "$as_me:$LINENO: checking for powl declaration" >&5
94680 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
94681   if test x${glibcxx_cv_func_powl_use+set} != xset; then
94682     if test "${glibcxx_cv_func_powl_use+set}" = set; then
94683   echo $ECHO_N "(cached) $ECHO_C" >&6
94684 else
94685
94686
94687
94688       ac_ext=cc
94689 ac_cpp='$CXXCPP $CPPFLAGS'
94690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94693
94694       cat >conftest.$ac_ext <<_ACEOF
94695 /* confdefs.h.  */
94696 _ACEOF
94697 cat confdefs.h >>conftest.$ac_ext
94698 cat >>conftest.$ac_ext <<_ACEOF
94699 /* end confdefs.h.  */
94700 #include <math.h>
94701 int
94702 main ()
94703 {
94704  powl(0, 0);
94705   ;
94706   return 0;
94707 }
94708 _ACEOF
94709 rm -f conftest.$ac_objext
94710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94711   (eval $ac_compile) 2>conftest.er1
94712   ac_status=$?
94713   grep -v '^ *+' conftest.er1 >conftest.err
94714   rm -f conftest.er1
94715   cat conftest.err >&5
94716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94717   (exit $ac_status); } &&
94718          { ac_try='test -z "$ac_cxx_werror_flag"
94719                          || test ! -s conftest.err'
94720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94721   (eval $ac_try) 2>&5
94722   ac_status=$?
94723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94724   (exit $ac_status); }; } &&
94725          { ac_try='test -s conftest.$ac_objext'
94726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94727   (eval $ac_try) 2>&5
94728   ac_status=$?
94729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94730   (exit $ac_status); }; }; then
94731   glibcxx_cv_func_powl_use=yes
94732 else
94733   echo "$as_me: failed program was:" >&5
94734 sed 's/^/| /' conftest.$ac_ext >&5
94735
94736 glibcxx_cv_func_powl_use=no
94737 fi
94738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94739       ac_ext=c
94740 ac_cpp='$CPP $CPPFLAGS'
94741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94744
94745
94746 fi
94747
94748   fi
94749   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
94750 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
94751
94752   if test x$glibcxx_cv_func_powl_use = x"yes"; then
94753
94754 for ac_func in powl
94755 do
94756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94757 echo "$as_me:$LINENO: checking for $ac_func" >&5
94758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94759 if eval "test \"\${$as_ac_var+set}\" = set"; then
94760   echo $ECHO_N "(cached) $ECHO_C" >&6
94761 else
94762   if test x$gcc_no_link = xyes; then
94763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94765    { (exit 1); exit 1; }; }
94766 fi
94767 cat >conftest.$ac_ext <<_ACEOF
94768 /* confdefs.h.  */
94769 _ACEOF
94770 cat confdefs.h >>conftest.$ac_ext
94771 cat >>conftest.$ac_ext <<_ACEOF
94772 /* end confdefs.h.  */
94773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94774    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94775 #define $ac_func innocuous_$ac_func
94776
94777 /* System header to define __stub macros and hopefully few prototypes,
94778     which can conflict with char $ac_func (); below.
94779     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94780     <limits.h> exists even on freestanding compilers.  */
94781
94782 #ifdef __STDC__
94783 # include <limits.h>
94784 #else
94785 # include <assert.h>
94786 #endif
94787
94788 #undef $ac_func
94789
94790 /* Override any gcc2 internal prototype to avoid an error.  */
94791 #ifdef __cplusplus
94792 extern "C"
94793 {
94794 #endif
94795 /* We use char because int might match the return type of a gcc2
94796    builtin and then its argument prototype would still apply.  */
94797 char $ac_func ();
94798 /* The GNU C library defines this for functions which it implements
94799     to always fail with ENOSYS.  Some functions are actually named
94800     something starting with __ and the normal name is an alias.  */
94801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94802 choke me
94803 #else
94804 char (*f) () = $ac_func;
94805 #endif
94806 #ifdef __cplusplus
94807 }
94808 #endif
94809
94810 int
94811 main ()
94812 {
94813 return f != $ac_func;
94814   ;
94815   return 0;
94816 }
94817 _ACEOF
94818 rm -f conftest.$ac_objext conftest$ac_exeext
94819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94820   (eval $ac_link) 2>conftest.er1
94821   ac_status=$?
94822   grep -v '^ *+' conftest.er1 >conftest.err
94823   rm -f conftest.er1
94824   cat conftest.err >&5
94825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94826   (exit $ac_status); } &&
94827          { ac_try='test -z "$ac_c_werror_flag"
94828                          || test ! -s conftest.err'
94829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94830   (eval $ac_try) 2>&5
94831   ac_status=$?
94832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94833   (exit $ac_status); }; } &&
94834          { ac_try='test -s conftest$ac_exeext'
94835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94836   (eval $ac_try) 2>&5
94837   ac_status=$?
94838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94839   (exit $ac_status); }; }; then
94840   eval "$as_ac_var=yes"
94841 else
94842   echo "$as_me: failed program was:" >&5
94843 sed 's/^/| /' conftest.$ac_ext >&5
94844
94845 eval "$as_ac_var=no"
94846 fi
94847 rm -f conftest.err conftest.$ac_objext \
94848       conftest$ac_exeext conftest.$ac_ext
94849 fi
94850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94852 if test `eval echo '${'$as_ac_var'}'` = yes; then
94853   cat >>confdefs.h <<_ACEOF
94854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94855 _ACEOF
94856
94857 fi
94858 done
94859
94860   else
94861
94862   echo "$as_me:$LINENO: checking for _powl declaration" >&5
94863 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
94864   if test x${glibcxx_cv_func__powl_use+set} != xset; then
94865     if test "${glibcxx_cv_func__powl_use+set}" = set; then
94866   echo $ECHO_N "(cached) $ECHO_C" >&6
94867 else
94868
94869
94870
94871       ac_ext=cc
94872 ac_cpp='$CXXCPP $CPPFLAGS'
94873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94876
94877       cat >conftest.$ac_ext <<_ACEOF
94878 /* confdefs.h.  */
94879 _ACEOF
94880 cat confdefs.h >>conftest.$ac_ext
94881 cat >>conftest.$ac_ext <<_ACEOF
94882 /* end confdefs.h.  */
94883 #include <math.h>
94884 int
94885 main ()
94886 {
94887  _powl(0, 0);
94888   ;
94889   return 0;
94890 }
94891 _ACEOF
94892 rm -f conftest.$ac_objext
94893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94894   (eval $ac_compile) 2>conftest.er1
94895   ac_status=$?
94896   grep -v '^ *+' conftest.er1 >conftest.err
94897   rm -f conftest.er1
94898   cat conftest.err >&5
94899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94900   (exit $ac_status); } &&
94901          { ac_try='test -z "$ac_cxx_werror_flag"
94902                          || test ! -s conftest.err'
94903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94904   (eval $ac_try) 2>&5
94905   ac_status=$?
94906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94907   (exit $ac_status); }; } &&
94908          { ac_try='test -s conftest.$ac_objext'
94909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94910   (eval $ac_try) 2>&5
94911   ac_status=$?
94912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94913   (exit $ac_status); }; }; then
94914   glibcxx_cv_func__powl_use=yes
94915 else
94916   echo "$as_me: failed program was:" >&5
94917 sed 's/^/| /' conftest.$ac_ext >&5
94918
94919 glibcxx_cv_func__powl_use=no
94920 fi
94921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94922       ac_ext=c
94923 ac_cpp='$CPP $CPPFLAGS'
94924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94927
94928
94929 fi
94930
94931   fi
94932   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
94933 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
94934
94935     if test x$glibcxx_cv_func__powl_use = x"yes"; then
94936
94937 for ac_func in _powl
94938 do
94939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94940 echo "$as_me:$LINENO: checking for $ac_func" >&5
94941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94942 if eval "test \"\${$as_ac_var+set}\" = set"; then
94943   echo $ECHO_N "(cached) $ECHO_C" >&6
94944 else
94945   if test x$gcc_no_link = xyes; then
94946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94948    { (exit 1); exit 1; }; }
94949 fi
94950 cat >conftest.$ac_ext <<_ACEOF
94951 /* confdefs.h.  */
94952 _ACEOF
94953 cat confdefs.h >>conftest.$ac_ext
94954 cat >>conftest.$ac_ext <<_ACEOF
94955 /* end confdefs.h.  */
94956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94957    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94958 #define $ac_func innocuous_$ac_func
94959
94960 /* System header to define __stub macros and hopefully few prototypes,
94961     which can conflict with char $ac_func (); below.
94962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94963     <limits.h> exists even on freestanding compilers.  */
94964
94965 #ifdef __STDC__
94966 # include <limits.h>
94967 #else
94968 # include <assert.h>
94969 #endif
94970
94971 #undef $ac_func
94972
94973 /* Override any gcc2 internal prototype to avoid an error.  */
94974 #ifdef __cplusplus
94975 extern "C"
94976 {
94977 #endif
94978 /* We use char because int might match the return type of a gcc2
94979    builtin and then its argument prototype would still apply.  */
94980 char $ac_func ();
94981 /* The GNU C library defines this for functions which it implements
94982     to always fail with ENOSYS.  Some functions are actually named
94983     something starting with __ and the normal name is an alias.  */
94984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94985 choke me
94986 #else
94987 char (*f) () = $ac_func;
94988 #endif
94989 #ifdef __cplusplus
94990 }
94991 #endif
94992
94993 int
94994 main ()
94995 {
94996 return f != $ac_func;
94997   ;
94998   return 0;
94999 }
95000 _ACEOF
95001 rm -f conftest.$ac_objext conftest$ac_exeext
95002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95003   (eval $ac_link) 2>conftest.er1
95004   ac_status=$?
95005   grep -v '^ *+' conftest.er1 >conftest.err
95006   rm -f conftest.er1
95007   cat conftest.err >&5
95008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95009   (exit $ac_status); } &&
95010          { ac_try='test -z "$ac_c_werror_flag"
95011                          || test ! -s conftest.err'
95012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95013   (eval $ac_try) 2>&5
95014   ac_status=$?
95015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95016   (exit $ac_status); }; } &&
95017          { ac_try='test -s conftest$ac_exeext'
95018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95019   (eval $ac_try) 2>&5
95020   ac_status=$?
95021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95022   (exit $ac_status); }; }; then
95023   eval "$as_ac_var=yes"
95024 else
95025   echo "$as_me: failed program was:" >&5
95026 sed 's/^/| /' conftest.$ac_ext >&5
95027
95028 eval "$as_ac_var=no"
95029 fi
95030 rm -f conftest.err conftest.$ac_objext \
95031       conftest$ac_exeext conftest.$ac_ext
95032 fi
95033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95035 if test `eval echo '${'$as_ac_var'}'` = yes; then
95036   cat >>confdefs.h <<_ACEOF
95037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95038 _ACEOF
95039
95040 fi
95041 done
95042
95043     fi
95044   fi
95045
95046
95047
95048
95049
95050
95051   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
95052 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
95053   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
95054     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
95055   echo $ECHO_N "(cached) $ECHO_C" >&6
95056 else
95057
95058
95059
95060       ac_ext=cc
95061 ac_cpp='$CXXCPP $CPPFLAGS'
95062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95065
95066       cat >conftest.$ac_ext <<_ACEOF
95067 /* confdefs.h.  */
95068 _ACEOF
95069 cat confdefs.h >>conftest.$ac_ext
95070 cat >>conftest.$ac_ext <<_ACEOF
95071 /* end confdefs.h.  */
95072 #include <math.h>
95073                       #ifdef HAVE_IEEEFP_H
95074                       #include <ieeefp.h>
95075                       #endif
95076
95077 int
95078 main ()
95079 {
95080  sqrtl(0);
95081   ;
95082   return 0;
95083 }
95084 _ACEOF
95085 rm -f conftest.$ac_objext
95086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95087   (eval $ac_compile) 2>conftest.er1
95088   ac_status=$?
95089   grep -v '^ *+' conftest.er1 >conftest.err
95090   rm -f conftest.er1
95091   cat conftest.err >&5
95092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95093   (exit $ac_status); } &&
95094          { ac_try='test -z "$ac_cxx_werror_flag"
95095                          || test ! -s conftest.err'
95096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95097   (eval $ac_try) 2>&5
95098   ac_status=$?
95099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95100   (exit $ac_status); }; } &&
95101          { ac_try='test -s conftest.$ac_objext'
95102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95103   (eval $ac_try) 2>&5
95104   ac_status=$?
95105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95106   (exit $ac_status); }; }; then
95107   glibcxx_cv_func_sqrtl_use=yes
95108 else
95109   echo "$as_me: failed program was:" >&5
95110 sed 's/^/| /' conftest.$ac_ext >&5
95111
95112 glibcxx_cv_func_sqrtl_use=no
95113 fi
95114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95115       ac_ext=c
95116 ac_cpp='$CPP $CPPFLAGS'
95117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95120
95121
95122 fi
95123
95124   fi
95125   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
95126 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
95127
95128   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
95129
95130 for ac_func in sqrtl
95131 do
95132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95133 echo "$as_me:$LINENO: checking for $ac_func" >&5
95134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95135 if eval "test \"\${$as_ac_var+set}\" = set"; then
95136   echo $ECHO_N "(cached) $ECHO_C" >&6
95137 else
95138   if test x$gcc_no_link = xyes; then
95139   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95141    { (exit 1); exit 1; }; }
95142 fi
95143 cat >conftest.$ac_ext <<_ACEOF
95144 /* confdefs.h.  */
95145 _ACEOF
95146 cat confdefs.h >>conftest.$ac_ext
95147 cat >>conftest.$ac_ext <<_ACEOF
95148 /* end confdefs.h.  */
95149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95150    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95151 #define $ac_func innocuous_$ac_func
95152
95153 /* System header to define __stub macros and hopefully few prototypes,
95154     which can conflict with char $ac_func (); below.
95155     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95156     <limits.h> exists even on freestanding compilers.  */
95157
95158 #ifdef __STDC__
95159 # include <limits.h>
95160 #else
95161 # include <assert.h>
95162 #endif
95163
95164 #undef $ac_func
95165
95166 /* Override any gcc2 internal prototype to avoid an error.  */
95167 #ifdef __cplusplus
95168 extern "C"
95169 {
95170 #endif
95171 /* We use char because int might match the return type of a gcc2
95172    builtin and then its argument prototype would still apply.  */
95173 char $ac_func ();
95174 /* The GNU C library defines this for functions which it implements
95175     to always fail with ENOSYS.  Some functions are actually named
95176     something starting with __ and the normal name is an alias.  */
95177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95178 choke me
95179 #else
95180 char (*f) () = $ac_func;
95181 #endif
95182 #ifdef __cplusplus
95183 }
95184 #endif
95185
95186 int
95187 main ()
95188 {
95189 return f != $ac_func;
95190   ;
95191   return 0;
95192 }
95193 _ACEOF
95194 rm -f conftest.$ac_objext conftest$ac_exeext
95195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95196   (eval $ac_link) 2>conftest.er1
95197   ac_status=$?
95198   grep -v '^ *+' conftest.er1 >conftest.err
95199   rm -f conftest.er1
95200   cat conftest.err >&5
95201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95202   (exit $ac_status); } &&
95203          { ac_try='test -z "$ac_c_werror_flag"
95204                          || test ! -s conftest.err'
95205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95206   (eval $ac_try) 2>&5
95207   ac_status=$?
95208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95209   (exit $ac_status); }; } &&
95210          { ac_try='test -s conftest$ac_exeext'
95211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95212   (eval $ac_try) 2>&5
95213   ac_status=$?
95214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95215   (exit $ac_status); }; }; then
95216   eval "$as_ac_var=yes"
95217 else
95218   echo "$as_me: failed program was:" >&5
95219 sed 's/^/| /' conftest.$ac_ext >&5
95220
95221 eval "$as_ac_var=no"
95222 fi
95223 rm -f conftest.err conftest.$ac_objext \
95224       conftest$ac_exeext conftest.$ac_ext
95225 fi
95226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95228 if test `eval echo '${'$as_ac_var'}'` = yes; then
95229   cat >>confdefs.h <<_ACEOF
95230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95231 _ACEOF
95232
95233 fi
95234 done
95235
95236   else
95237
95238   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
95239 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
95240   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
95241     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
95242   echo $ECHO_N "(cached) $ECHO_C" >&6
95243 else
95244
95245
95246
95247       ac_ext=cc
95248 ac_cpp='$CXXCPP $CPPFLAGS'
95249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95252
95253       cat >conftest.$ac_ext <<_ACEOF
95254 /* confdefs.h.  */
95255 _ACEOF
95256 cat confdefs.h >>conftest.$ac_ext
95257 cat >>conftest.$ac_ext <<_ACEOF
95258 /* end confdefs.h.  */
95259 #include <math.h>
95260                       #ifdef HAVE_IEEEFP_H
95261                       #include <ieeefp.h>
95262                       #endif
95263
95264 int
95265 main ()
95266 {
95267  _sqrtl(0);
95268   ;
95269   return 0;
95270 }
95271 _ACEOF
95272 rm -f conftest.$ac_objext
95273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95274   (eval $ac_compile) 2>conftest.er1
95275   ac_status=$?
95276   grep -v '^ *+' conftest.er1 >conftest.err
95277   rm -f conftest.er1
95278   cat conftest.err >&5
95279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95280   (exit $ac_status); } &&
95281          { ac_try='test -z "$ac_cxx_werror_flag"
95282                          || test ! -s conftest.err'
95283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95284   (eval $ac_try) 2>&5
95285   ac_status=$?
95286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95287   (exit $ac_status); }; } &&
95288          { ac_try='test -s conftest.$ac_objext'
95289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95290   (eval $ac_try) 2>&5
95291   ac_status=$?
95292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95293   (exit $ac_status); }; }; then
95294   glibcxx_cv_func__sqrtl_use=yes
95295 else
95296   echo "$as_me: failed program was:" >&5
95297 sed 's/^/| /' conftest.$ac_ext >&5
95298
95299 glibcxx_cv_func__sqrtl_use=no
95300 fi
95301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95302       ac_ext=c
95303 ac_cpp='$CPP $CPPFLAGS'
95304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95307
95308
95309 fi
95310
95311   fi
95312   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
95313 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
95314
95315     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
95316
95317 for ac_func in _sqrtl
95318 do
95319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95320 echo "$as_me:$LINENO: checking for $ac_func" >&5
95321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95322 if eval "test \"\${$as_ac_var+set}\" = set"; then
95323   echo $ECHO_N "(cached) $ECHO_C" >&6
95324 else
95325   if test x$gcc_no_link = xyes; then
95326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95328    { (exit 1); exit 1; }; }
95329 fi
95330 cat >conftest.$ac_ext <<_ACEOF
95331 /* confdefs.h.  */
95332 _ACEOF
95333 cat confdefs.h >>conftest.$ac_ext
95334 cat >>conftest.$ac_ext <<_ACEOF
95335 /* end confdefs.h.  */
95336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95338 #define $ac_func innocuous_$ac_func
95339
95340 /* System header to define __stub macros and hopefully few prototypes,
95341     which can conflict with char $ac_func (); below.
95342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95343     <limits.h> exists even on freestanding compilers.  */
95344
95345 #ifdef __STDC__
95346 # include <limits.h>
95347 #else
95348 # include <assert.h>
95349 #endif
95350
95351 #undef $ac_func
95352
95353 /* Override any gcc2 internal prototype to avoid an error.  */
95354 #ifdef __cplusplus
95355 extern "C"
95356 {
95357 #endif
95358 /* We use char because int might match the return type of a gcc2
95359    builtin and then its argument prototype would still apply.  */
95360 char $ac_func ();
95361 /* The GNU C library defines this for functions which it implements
95362     to always fail with ENOSYS.  Some functions are actually named
95363     something starting with __ and the normal name is an alias.  */
95364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95365 choke me
95366 #else
95367 char (*f) () = $ac_func;
95368 #endif
95369 #ifdef __cplusplus
95370 }
95371 #endif
95372
95373 int
95374 main ()
95375 {
95376 return f != $ac_func;
95377   ;
95378   return 0;
95379 }
95380 _ACEOF
95381 rm -f conftest.$ac_objext conftest$ac_exeext
95382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95383   (eval $ac_link) 2>conftest.er1
95384   ac_status=$?
95385   grep -v '^ *+' conftest.er1 >conftest.err
95386   rm -f conftest.er1
95387   cat conftest.err >&5
95388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95389   (exit $ac_status); } &&
95390          { ac_try='test -z "$ac_c_werror_flag"
95391                          || test ! -s conftest.err'
95392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95393   (eval $ac_try) 2>&5
95394   ac_status=$?
95395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95396   (exit $ac_status); }; } &&
95397          { ac_try='test -s conftest$ac_exeext'
95398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95399   (eval $ac_try) 2>&5
95400   ac_status=$?
95401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95402   (exit $ac_status); }; }; then
95403   eval "$as_ac_var=yes"
95404 else
95405   echo "$as_me: failed program was:" >&5
95406 sed 's/^/| /' conftest.$ac_ext >&5
95407
95408 eval "$as_ac_var=no"
95409 fi
95410 rm -f conftest.err conftest.$ac_objext \
95411       conftest$ac_exeext conftest.$ac_ext
95412 fi
95413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95415 if test `eval echo '${'$as_ac_var'}'` = yes; then
95416   cat >>confdefs.h <<_ACEOF
95417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95418 _ACEOF
95419
95420 fi
95421 done
95422
95423     fi
95424   fi
95425
95426
95427
95428
95429
95430
95431   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
95432 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
95433   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
95434     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
95435   echo $ECHO_N "(cached) $ECHO_C" >&6
95436 else
95437
95438
95439
95440       ac_ext=cc
95441 ac_cpp='$CXXCPP $CPPFLAGS'
95442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95445
95446       cat >conftest.$ac_ext <<_ACEOF
95447 /* confdefs.h.  */
95448 _ACEOF
95449 cat confdefs.h >>conftest.$ac_ext
95450 cat >>conftest.$ac_ext <<_ACEOF
95451 /* end confdefs.h.  */
95452 #include <math.h>
95453 int
95454 main ()
95455 {
95456  sincosl(0, 0, 0);
95457   ;
95458   return 0;
95459 }
95460 _ACEOF
95461 rm -f conftest.$ac_objext
95462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95463   (eval $ac_compile) 2>conftest.er1
95464   ac_status=$?
95465   grep -v '^ *+' conftest.er1 >conftest.err
95466   rm -f conftest.er1
95467   cat conftest.err >&5
95468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95469   (exit $ac_status); } &&
95470          { ac_try='test -z "$ac_cxx_werror_flag"
95471                          || test ! -s conftest.err'
95472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95473   (eval $ac_try) 2>&5
95474   ac_status=$?
95475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95476   (exit $ac_status); }; } &&
95477          { ac_try='test -s conftest.$ac_objext'
95478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95479   (eval $ac_try) 2>&5
95480   ac_status=$?
95481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95482   (exit $ac_status); }; }; then
95483   glibcxx_cv_func_sincosl_use=yes
95484 else
95485   echo "$as_me: failed program was:" >&5
95486 sed 's/^/| /' conftest.$ac_ext >&5
95487
95488 glibcxx_cv_func_sincosl_use=no
95489 fi
95490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95491       ac_ext=c
95492 ac_cpp='$CPP $CPPFLAGS'
95493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95496
95497
95498 fi
95499
95500   fi
95501   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
95502 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
95503
95504   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
95505
95506 for ac_func in sincosl
95507 do
95508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95509 echo "$as_me:$LINENO: checking for $ac_func" >&5
95510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95511 if eval "test \"\${$as_ac_var+set}\" = set"; then
95512   echo $ECHO_N "(cached) $ECHO_C" >&6
95513 else
95514   if test x$gcc_no_link = xyes; then
95515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95517    { (exit 1); exit 1; }; }
95518 fi
95519 cat >conftest.$ac_ext <<_ACEOF
95520 /* confdefs.h.  */
95521 _ACEOF
95522 cat confdefs.h >>conftest.$ac_ext
95523 cat >>conftest.$ac_ext <<_ACEOF
95524 /* end confdefs.h.  */
95525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95527 #define $ac_func innocuous_$ac_func
95528
95529 /* System header to define __stub macros and hopefully few prototypes,
95530     which can conflict with char $ac_func (); below.
95531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95532     <limits.h> exists even on freestanding compilers.  */
95533
95534 #ifdef __STDC__
95535 # include <limits.h>
95536 #else
95537 # include <assert.h>
95538 #endif
95539
95540 #undef $ac_func
95541
95542 /* Override any gcc2 internal prototype to avoid an error.  */
95543 #ifdef __cplusplus
95544 extern "C"
95545 {
95546 #endif
95547 /* We use char because int might match the return type of a gcc2
95548    builtin and then its argument prototype would still apply.  */
95549 char $ac_func ();
95550 /* The GNU C library defines this for functions which it implements
95551     to always fail with ENOSYS.  Some functions are actually named
95552     something starting with __ and the normal name is an alias.  */
95553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95554 choke me
95555 #else
95556 char (*f) () = $ac_func;
95557 #endif
95558 #ifdef __cplusplus
95559 }
95560 #endif
95561
95562 int
95563 main ()
95564 {
95565 return f != $ac_func;
95566   ;
95567   return 0;
95568 }
95569 _ACEOF
95570 rm -f conftest.$ac_objext conftest$ac_exeext
95571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95572   (eval $ac_link) 2>conftest.er1
95573   ac_status=$?
95574   grep -v '^ *+' conftest.er1 >conftest.err
95575   rm -f conftest.er1
95576   cat conftest.err >&5
95577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95578   (exit $ac_status); } &&
95579          { ac_try='test -z "$ac_c_werror_flag"
95580                          || test ! -s conftest.err'
95581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95582   (eval $ac_try) 2>&5
95583   ac_status=$?
95584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95585   (exit $ac_status); }; } &&
95586          { ac_try='test -s conftest$ac_exeext'
95587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95588   (eval $ac_try) 2>&5
95589   ac_status=$?
95590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95591   (exit $ac_status); }; }; then
95592   eval "$as_ac_var=yes"
95593 else
95594   echo "$as_me: failed program was:" >&5
95595 sed 's/^/| /' conftest.$ac_ext >&5
95596
95597 eval "$as_ac_var=no"
95598 fi
95599 rm -f conftest.err conftest.$ac_objext \
95600       conftest$ac_exeext conftest.$ac_ext
95601 fi
95602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95604 if test `eval echo '${'$as_ac_var'}'` = yes; then
95605   cat >>confdefs.h <<_ACEOF
95606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95607 _ACEOF
95608
95609 fi
95610 done
95611
95612   else
95613
95614   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
95615 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
95616   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
95617     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
95618   echo $ECHO_N "(cached) $ECHO_C" >&6
95619 else
95620
95621
95622
95623       ac_ext=cc
95624 ac_cpp='$CXXCPP $CPPFLAGS'
95625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95628
95629       cat >conftest.$ac_ext <<_ACEOF
95630 /* confdefs.h.  */
95631 _ACEOF
95632 cat confdefs.h >>conftest.$ac_ext
95633 cat >>conftest.$ac_ext <<_ACEOF
95634 /* end confdefs.h.  */
95635 #include <math.h>
95636 int
95637 main ()
95638 {
95639  _sincosl(0, 0, 0);
95640   ;
95641   return 0;
95642 }
95643 _ACEOF
95644 rm -f conftest.$ac_objext
95645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95646   (eval $ac_compile) 2>conftest.er1
95647   ac_status=$?
95648   grep -v '^ *+' conftest.er1 >conftest.err
95649   rm -f conftest.er1
95650   cat conftest.err >&5
95651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95652   (exit $ac_status); } &&
95653          { ac_try='test -z "$ac_cxx_werror_flag"
95654                          || test ! -s conftest.err'
95655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95656   (eval $ac_try) 2>&5
95657   ac_status=$?
95658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95659   (exit $ac_status); }; } &&
95660          { ac_try='test -s conftest.$ac_objext'
95661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95662   (eval $ac_try) 2>&5
95663   ac_status=$?
95664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95665   (exit $ac_status); }; }; then
95666   glibcxx_cv_func__sincosl_use=yes
95667 else
95668   echo "$as_me: failed program was:" >&5
95669 sed 's/^/| /' conftest.$ac_ext >&5
95670
95671 glibcxx_cv_func__sincosl_use=no
95672 fi
95673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95674       ac_ext=c
95675 ac_cpp='$CPP $CPPFLAGS'
95676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95679
95680
95681 fi
95682
95683   fi
95684   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
95685 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
95686
95687     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
95688
95689 for ac_func in _sincosl
95690 do
95691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95692 echo "$as_me:$LINENO: checking for $ac_func" >&5
95693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95694 if eval "test \"\${$as_ac_var+set}\" = set"; then
95695   echo $ECHO_N "(cached) $ECHO_C" >&6
95696 else
95697   if test x$gcc_no_link = xyes; then
95698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95700    { (exit 1); exit 1; }; }
95701 fi
95702 cat >conftest.$ac_ext <<_ACEOF
95703 /* confdefs.h.  */
95704 _ACEOF
95705 cat confdefs.h >>conftest.$ac_ext
95706 cat >>conftest.$ac_ext <<_ACEOF
95707 /* end confdefs.h.  */
95708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95710 #define $ac_func innocuous_$ac_func
95711
95712 /* System header to define __stub macros and hopefully few prototypes,
95713     which can conflict with char $ac_func (); below.
95714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95715     <limits.h> exists even on freestanding compilers.  */
95716
95717 #ifdef __STDC__
95718 # include <limits.h>
95719 #else
95720 # include <assert.h>
95721 #endif
95722
95723 #undef $ac_func
95724
95725 /* Override any gcc2 internal prototype to avoid an error.  */
95726 #ifdef __cplusplus
95727 extern "C"
95728 {
95729 #endif
95730 /* We use char because int might match the return type of a gcc2
95731    builtin and then its argument prototype would still apply.  */
95732 char $ac_func ();
95733 /* The GNU C library defines this for functions which it implements
95734     to always fail with ENOSYS.  Some functions are actually named
95735     something starting with __ and the normal name is an alias.  */
95736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95737 choke me
95738 #else
95739 char (*f) () = $ac_func;
95740 #endif
95741 #ifdef __cplusplus
95742 }
95743 #endif
95744
95745 int
95746 main ()
95747 {
95748 return f != $ac_func;
95749   ;
95750   return 0;
95751 }
95752 _ACEOF
95753 rm -f conftest.$ac_objext conftest$ac_exeext
95754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95755   (eval $ac_link) 2>conftest.er1
95756   ac_status=$?
95757   grep -v '^ *+' conftest.er1 >conftest.err
95758   rm -f conftest.er1
95759   cat conftest.err >&5
95760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95761   (exit $ac_status); } &&
95762          { ac_try='test -z "$ac_c_werror_flag"
95763                          || test ! -s conftest.err'
95764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95765   (eval $ac_try) 2>&5
95766   ac_status=$?
95767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95768   (exit $ac_status); }; } &&
95769          { ac_try='test -s conftest$ac_exeext'
95770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95771   (eval $ac_try) 2>&5
95772   ac_status=$?
95773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95774   (exit $ac_status); }; }; then
95775   eval "$as_ac_var=yes"
95776 else
95777   echo "$as_me: failed program was:" >&5
95778 sed 's/^/| /' conftest.$ac_ext >&5
95779
95780 eval "$as_ac_var=no"
95781 fi
95782 rm -f conftest.err conftest.$ac_objext \
95783       conftest$ac_exeext conftest.$ac_ext
95784 fi
95785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95787 if test `eval echo '${'$as_ac_var'}'` = yes; then
95788   cat >>confdefs.h <<_ACEOF
95789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95790 _ACEOF
95791
95792 fi
95793 done
95794
95795     fi
95796   fi
95797
95798
95799
95800
95801
95802
95803   echo "$as_me:$LINENO: checking for finitel declaration" >&5
95804 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
95805   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
95806     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
95807   echo $ECHO_N "(cached) $ECHO_C" >&6
95808 else
95809
95810
95811
95812       ac_ext=cc
95813 ac_cpp='$CXXCPP $CPPFLAGS'
95814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95817
95818       cat >conftest.$ac_ext <<_ACEOF
95819 /* confdefs.h.  */
95820 _ACEOF
95821 cat confdefs.h >>conftest.$ac_ext
95822 cat >>conftest.$ac_ext <<_ACEOF
95823 /* end confdefs.h.  */
95824 #include <math.h>
95825                       #ifdef HAVE_IEEEFP_H
95826                       #include <ieeefp.h>
95827                       #endif
95828
95829 int
95830 main ()
95831 {
95832  finitel(0);
95833   ;
95834   return 0;
95835 }
95836 _ACEOF
95837 rm -f conftest.$ac_objext
95838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95839   (eval $ac_compile) 2>conftest.er1
95840   ac_status=$?
95841   grep -v '^ *+' conftest.er1 >conftest.err
95842   rm -f conftest.er1
95843   cat conftest.err >&5
95844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95845   (exit $ac_status); } &&
95846          { ac_try='test -z "$ac_cxx_werror_flag"
95847                          || test ! -s conftest.err'
95848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95849   (eval $ac_try) 2>&5
95850   ac_status=$?
95851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95852   (exit $ac_status); }; } &&
95853          { ac_try='test -s conftest.$ac_objext'
95854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95855   (eval $ac_try) 2>&5
95856   ac_status=$?
95857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95858   (exit $ac_status); }; }; then
95859   glibcxx_cv_func_finitel_use=yes
95860 else
95861   echo "$as_me: failed program was:" >&5
95862 sed 's/^/| /' conftest.$ac_ext >&5
95863
95864 glibcxx_cv_func_finitel_use=no
95865 fi
95866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95867       ac_ext=c
95868 ac_cpp='$CPP $CPPFLAGS'
95869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95872
95873
95874 fi
95875
95876   fi
95877   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
95878 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
95879
95880   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
95881
95882 for ac_func in finitel
95883 do
95884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95885 echo "$as_me:$LINENO: checking for $ac_func" >&5
95886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95887 if eval "test \"\${$as_ac_var+set}\" = set"; then
95888   echo $ECHO_N "(cached) $ECHO_C" >&6
95889 else
95890   if test x$gcc_no_link = xyes; then
95891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95893    { (exit 1); exit 1; }; }
95894 fi
95895 cat >conftest.$ac_ext <<_ACEOF
95896 /* confdefs.h.  */
95897 _ACEOF
95898 cat confdefs.h >>conftest.$ac_ext
95899 cat >>conftest.$ac_ext <<_ACEOF
95900 /* end confdefs.h.  */
95901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95903 #define $ac_func innocuous_$ac_func
95904
95905 /* System header to define __stub macros and hopefully few prototypes,
95906     which can conflict with char $ac_func (); below.
95907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95908     <limits.h> exists even on freestanding compilers.  */
95909
95910 #ifdef __STDC__
95911 # include <limits.h>
95912 #else
95913 # include <assert.h>
95914 #endif
95915
95916 #undef $ac_func
95917
95918 /* Override any gcc2 internal prototype to avoid an error.  */
95919 #ifdef __cplusplus
95920 extern "C"
95921 {
95922 #endif
95923 /* We use char because int might match the return type of a gcc2
95924    builtin and then its argument prototype would still apply.  */
95925 char $ac_func ();
95926 /* The GNU C library defines this for functions which it implements
95927     to always fail with ENOSYS.  Some functions are actually named
95928     something starting with __ and the normal name is an alias.  */
95929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95930 choke me
95931 #else
95932 char (*f) () = $ac_func;
95933 #endif
95934 #ifdef __cplusplus
95935 }
95936 #endif
95937
95938 int
95939 main ()
95940 {
95941 return f != $ac_func;
95942   ;
95943   return 0;
95944 }
95945 _ACEOF
95946 rm -f conftest.$ac_objext conftest$ac_exeext
95947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95948   (eval $ac_link) 2>conftest.er1
95949   ac_status=$?
95950   grep -v '^ *+' conftest.er1 >conftest.err
95951   rm -f conftest.er1
95952   cat conftest.err >&5
95953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95954   (exit $ac_status); } &&
95955          { ac_try='test -z "$ac_c_werror_flag"
95956                          || test ! -s conftest.err'
95957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95958   (eval $ac_try) 2>&5
95959   ac_status=$?
95960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95961   (exit $ac_status); }; } &&
95962          { ac_try='test -s conftest$ac_exeext'
95963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95964   (eval $ac_try) 2>&5
95965   ac_status=$?
95966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95967   (exit $ac_status); }; }; then
95968   eval "$as_ac_var=yes"
95969 else
95970   echo "$as_me: failed program was:" >&5
95971 sed 's/^/| /' conftest.$ac_ext >&5
95972
95973 eval "$as_ac_var=no"
95974 fi
95975 rm -f conftest.err conftest.$ac_objext \
95976       conftest$ac_exeext conftest.$ac_ext
95977 fi
95978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95980 if test `eval echo '${'$as_ac_var'}'` = yes; then
95981   cat >>confdefs.h <<_ACEOF
95982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95983 _ACEOF
95984
95985 fi
95986 done
95987
95988   else
95989
95990   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
95991 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
95992   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
95993     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
95994   echo $ECHO_N "(cached) $ECHO_C" >&6
95995 else
95996
95997
95998
95999       ac_ext=cc
96000 ac_cpp='$CXXCPP $CPPFLAGS'
96001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96004
96005       cat >conftest.$ac_ext <<_ACEOF
96006 /* confdefs.h.  */
96007 _ACEOF
96008 cat confdefs.h >>conftest.$ac_ext
96009 cat >>conftest.$ac_ext <<_ACEOF
96010 /* end confdefs.h.  */
96011 #include <math.h>
96012                       #ifdef HAVE_IEEEFP_H
96013                       #include <ieeefp.h>
96014                       #endif
96015
96016 int
96017 main ()
96018 {
96019  _finitel(0);
96020   ;
96021   return 0;
96022 }
96023 _ACEOF
96024 rm -f conftest.$ac_objext
96025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96026   (eval $ac_compile) 2>conftest.er1
96027   ac_status=$?
96028   grep -v '^ *+' conftest.er1 >conftest.err
96029   rm -f conftest.er1
96030   cat conftest.err >&5
96031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96032   (exit $ac_status); } &&
96033          { ac_try='test -z "$ac_cxx_werror_flag"
96034                          || test ! -s conftest.err'
96035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96036   (eval $ac_try) 2>&5
96037   ac_status=$?
96038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96039   (exit $ac_status); }; } &&
96040          { ac_try='test -s conftest.$ac_objext'
96041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96042   (eval $ac_try) 2>&5
96043   ac_status=$?
96044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96045   (exit $ac_status); }; }; then
96046   glibcxx_cv_func__finitel_use=yes
96047 else
96048   echo "$as_me: failed program was:" >&5
96049 sed 's/^/| /' conftest.$ac_ext >&5
96050
96051 glibcxx_cv_func__finitel_use=no
96052 fi
96053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96054       ac_ext=c
96055 ac_cpp='$CPP $CPPFLAGS'
96056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96059
96060
96061 fi
96062
96063   fi
96064   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
96065 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
96066
96067     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
96068
96069 for ac_func in _finitel
96070 do
96071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96072 echo "$as_me:$LINENO: checking for $ac_func" >&5
96073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96074 if eval "test \"\${$as_ac_var+set}\" = set"; then
96075   echo $ECHO_N "(cached) $ECHO_C" >&6
96076 else
96077   if test x$gcc_no_link = xyes; then
96078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96080    { (exit 1); exit 1; }; }
96081 fi
96082 cat >conftest.$ac_ext <<_ACEOF
96083 /* confdefs.h.  */
96084 _ACEOF
96085 cat confdefs.h >>conftest.$ac_ext
96086 cat >>conftest.$ac_ext <<_ACEOF
96087 /* end confdefs.h.  */
96088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96089    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96090 #define $ac_func innocuous_$ac_func
96091
96092 /* System header to define __stub macros and hopefully few prototypes,
96093     which can conflict with char $ac_func (); below.
96094     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96095     <limits.h> exists even on freestanding compilers.  */
96096
96097 #ifdef __STDC__
96098 # include <limits.h>
96099 #else
96100 # include <assert.h>
96101 #endif
96102
96103 #undef $ac_func
96104
96105 /* Override any gcc2 internal prototype to avoid an error.  */
96106 #ifdef __cplusplus
96107 extern "C"
96108 {
96109 #endif
96110 /* We use char because int might match the return type of a gcc2
96111    builtin and then its argument prototype would still apply.  */
96112 char $ac_func ();
96113 /* The GNU C library defines this for functions which it implements
96114     to always fail with ENOSYS.  Some functions are actually named
96115     something starting with __ and the normal name is an alias.  */
96116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96117 choke me
96118 #else
96119 char (*f) () = $ac_func;
96120 #endif
96121 #ifdef __cplusplus
96122 }
96123 #endif
96124
96125 int
96126 main ()
96127 {
96128 return f != $ac_func;
96129   ;
96130   return 0;
96131 }
96132 _ACEOF
96133 rm -f conftest.$ac_objext conftest$ac_exeext
96134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96135   (eval $ac_link) 2>conftest.er1
96136   ac_status=$?
96137   grep -v '^ *+' conftest.er1 >conftest.err
96138   rm -f conftest.er1
96139   cat conftest.err >&5
96140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96141   (exit $ac_status); } &&
96142          { ac_try='test -z "$ac_c_werror_flag"
96143                          || test ! -s conftest.err'
96144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96145   (eval $ac_try) 2>&5
96146   ac_status=$?
96147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96148   (exit $ac_status); }; } &&
96149          { ac_try='test -s conftest$ac_exeext'
96150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96151   (eval $ac_try) 2>&5
96152   ac_status=$?
96153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96154   (exit $ac_status); }; }; then
96155   eval "$as_ac_var=yes"
96156 else
96157   echo "$as_me: failed program was:" >&5
96158 sed 's/^/| /' conftest.$ac_ext >&5
96159
96160 eval "$as_ac_var=no"
96161 fi
96162 rm -f conftest.err conftest.$ac_objext \
96163       conftest$ac_exeext conftest.$ac_ext
96164 fi
96165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96167 if test `eval echo '${'$as_ac_var'}'` = yes; then
96168   cat >>confdefs.h <<_ACEOF
96169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96170 _ACEOF
96171
96172 fi
96173 done
96174
96175     fi
96176   fi
96177
96178
96179
96180
96181
96182   LIBS="$ac_save_LIBS"
96183   CXXFLAGS="$ac_save_CXXFLAGS"
96184
96185
96186
96187   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
96188 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
96189   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
96190     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
96191   echo $ECHO_N "(cached) $ECHO_C" >&6
96192 else
96193
96194
96195
96196       ac_ext=cc
96197 ac_cpp='$CXXCPP $CPPFLAGS'
96198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96201
96202       cat >conftest.$ac_ext <<_ACEOF
96203 /* confdefs.h.  */
96204 _ACEOF
96205 cat confdefs.h >>conftest.$ac_ext
96206 cat >>conftest.$ac_ext <<_ACEOF
96207 /* end confdefs.h.  */
96208 #include <math.h>
96209 int
96210 main ()
96211 {
96212  __builtin_abs(0);
96213   ;
96214   return 0;
96215 }
96216 _ACEOF
96217 rm -f conftest.$ac_objext
96218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96219   (eval $ac_compile) 2>conftest.er1
96220   ac_status=$?
96221   grep -v '^ *+' conftest.er1 >conftest.err
96222   rm -f conftest.er1
96223   cat conftest.err >&5
96224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96225   (exit $ac_status); } &&
96226          { ac_try='test -z "$ac_cxx_werror_flag"
96227                          || test ! -s conftest.err'
96228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96229   (eval $ac_try) 2>&5
96230   ac_status=$?
96231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96232   (exit $ac_status); }; } &&
96233          { ac_try='test -s conftest.$ac_objext'
96234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96235   (eval $ac_try) 2>&5
96236   ac_status=$?
96237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96238   (exit $ac_status); }; }; then
96239   glibcxx_cv_func___builtin_abs_use=yes
96240 else
96241   echo "$as_me: failed program was:" >&5
96242 sed 's/^/| /' conftest.$ac_ext >&5
96243
96244 glibcxx_cv_func___builtin_abs_use=no
96245 fi
96246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96247       ac_ext=c
96248 ac_cpp='$CPP $CPPFLAGS'
96249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96252
96253
96254 fi
96255
96256   fi
96257   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
96258 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
96259   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
96260     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
96261 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
96262     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
96263       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
96264   echo $ECHO_N "(cached) $ECHO_C" >&6
96265 else
96266
96267         if test x$gcc_no_link = xyes; then
96268   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96270    { (exit 1); exit 1; }; }
96271 fi
96272 cat >conftest.$ac_ext <<_ACEOF
96273 /* confdefs.h.  */
96274 _ACEOF
96275 cat confdefs.h >>conftest.$ac_ext
96276 cat >>conftest.$ac_ext <<_ACEOF
96277 /* end confdefs.h.  */
96278 #include <math.h>
96279 int
96280 main ()
96281 {
96282  __builtin_abs(0);
96283   ;
96284   return 0;
96285 }
96286 _ACEOF
96287 rm -f conftest.$ac_objext conftest$ac_exeext
96288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96289   (eval $ac_link) 2>conftest.er1
96290   ac_status=$?
96291   grep -v '^ *+' conftest.er1 >conftest.err
96292   rm -f conftest.er1
96293   cat conftest.err >&5
96294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96295   (exit $ac_status); } &&
96296          { ac_try='test -z "$ac_c_werror_flag"
96297                          || test ! -s conftest.err'
96298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96299   (eval $ac_try) 2>&5
96300   ac_status=$?
96301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96302   (exit $ac_status); }; } &&
96303          { ac_try='test -s conftest$ac_exeext'
96304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96305   (eval $ac_try) 2>&5
96306   ac_status=$?
96307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96308   (exit $ac_status); }; }; then
96309   glibcxx_cv_func___builtin_abs_link=yes
96310 else
96311   echo "$as_me: failed program was:" >&5
96312 sed 's/^/| /' conftest.$ac_ext >&5
96313
96314 glibcxx_cv_func___builtin_abs_link=no
96315 fi
96316 rm -f conftest.err conftest.$ac_objext \
96317       conftest$ac_exeext conftest.$ac_ext
96318
96319 fi
96320
96321     fi
96322     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
96323 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
96324
96325     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
96326
96327 cat >>confdefs.h <<\_ACEOF
96328 #define HAVE___BUILTIN_ABS 1
96329 _ACEOF
96330
96331     fi
96332
96333   fi
96334
96335
96336   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
96337 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
96338   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
96339     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
96340   echo $ECHO_N "(cached) $ECHO_C" >&6
96341 else
96342
96343
96344
96345       ac_ext=cc
96346 ac_cpp='$CXXCPP $CPPFLAGS'
96347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96350
96351       cat >conftest.$ac_ext <<_ACEOF
96352 /* confdefs.h.  */
96353 _ACEOF
96354 cat confdefs.h >>conftest.$ac_ext
96355 cat >>conftest.$ac_ext <<_ACEOF
96356 /* end confdefs.h.  */
96357 #include <math.h>
96358 int
96359 main ()
96360 {
96361  __builtin_fabsf(0);
96362   ;
96363   return 0;
96364 }
96365 _ACEOF
96366 rm -f conftest.$ac_objext
96367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96368   (eval $ac_compile) 2>conftest.er1
96369   ac_status=$?
96370   grep -v '^ *+' conftest.er1 >conftest.err
96371   rm -f conftest.er1
96372   cat conftest.err >&5
96373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96374   (exit $ac_status); } &&
96375          { ac_try='test -z "$ac_cxx_werror_flag"
96376                          || test ! -s conftest.err'
96377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96378   (eval $ac_try) 2>&5
96379   ac_status=$?
96380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96381   (exit $ac_status); }; } &&
96382          { ac_try='test -s conftest.$ac_objext'
96383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96384   (eval $ac_try) 2>&5
96385   ac_status=$?
96386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96387   (exit $ac_status); }; }; then
96388   glibcxx_cv_func___builtin_fabsf_use=yes
96389 else
96390   echo "$as_me: failed program was:" >&5
96391 sed 's/^/| /' conftest.$ac_ext >&5
96392
96393 glibcxx_cv_func___builtin_fabsf_use=no
96394 fi
96395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96396       ac_ext=c
96397 ac_cpp='$CPP $CPPFLAGS'
96398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96401
96402
96403 fi
96404
96405   fi
96406   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
96407 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
96408   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
96409     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
96410 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
96411     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
96412       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
96413   echo $ECHO_N "(cached) $ECHO_C" >&6
96414 else
96415
96416         if test x$gcc_no_link = xyes; then
96417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96419    { (exit 1); exit 1; }; }
96420 fi
96421 cat >conftest.$ac_ext <<_ACEOF
96422 /* confdefs.h.  */
96423 _ACEOF
96424 cat confdefs.h >>conftest.$ac_ext
96425 cat >>conftest.$ac_ext <<_ACEOF
96426 /* end confdefs.h.  */
96427 #include <math.h>
96428 int
96429 main ()
96430 {
96431  __builtin_fabsf(0);
96432   ;
96433   return 0;
96434 }
96435 _ACEOF
96436 rm -f conftest.$ac_objext conftest$ac_exeext
96437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96438   (eval $ac_link) 2>conftest.er1
96439   ac_status=$?
96440   grep -v '^ *+' conftest.er1 >conftest.err
96441   rm -f conftest.er1
96442   cat conftest.err >&5
96443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96444   (exit $ac_status); } &&
96445          { ac_try='test -z "$ac_c_werror_flag"
96446                          || test ! -s conftest.err'
96447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96448   (eval $ac_try) 2>&5
96449   ac_status=$?
96450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96451   (exit $ac_status); }; } &&
96452          { ac_try='test -s conftest$ac_exeext'
96453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96454   (eval $ac_try) 2>&5
96455   ac_status=$?
96456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96457   (exit $ac_status); }; }; then
96458   glibcxx_cv_func___builtin_fabsf_link=yes
96459 else
96460   echo "$as_me: failed program was:" >&5
96461 sed 's/^/| /' conftest.$ac_ext >&5
96462
96463 glibcxx_cv_func___builtin_fabsf_link=no
96464 fi
96465 rm -f conftest.err conftest.$ac_objext \
96466       conftest$ac_exeext conftest.$ac_ext
96467
96468 fi
96469
96470     fi
96471     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
96472 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
96473
96474     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
96475
96476 cat >>confdefs.h <<\_ACEOF
96477 #define HAVE___BUILTIN_FABSF 1
96478 _ACEOF
96479
96480     fi
96481
96482   fi
96483
96484
96485   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
96486 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
96487   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
96488     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
96489   echo $ECHO_N "(cached) $ECHO_C" >&6
96490 else
96491
96492
96493
96494       ac_ext=cc
96495 ac_cpp='$CXXCPP $CPPFLAGS'
96496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96499
96500       cat >conftest.$ac_ext <<_ACEOF
96501 /* confdefs.h.  */
96502 _ACEOF
96503 cat confdefs.h >>conftest.$ac_ext
96504 cat >>conftest.$ac_ext <<_ACEOF
96505 /* end confdefs.h.  */
96506 #include <math.h>
96507 int
96508 main ()
96509 {
96510  __builtin_fabs(0);
96511   ;
96512   return 0;
96513 }
96514 _ACEOF
96515 rm -f conftest.$ac_objext
96516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96517   (eval $ac_compile) 2>conftest.er1
96518   ac_status=$?
96519   grep -v '^ *+' conftest.er1 >conftest.err
96520   rm -f conftest.er1
96521   cat conftest.err >&5
96522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96523   (exit $ac_status); } &&
96524          { ac_try='test -z "$ac_cxx_werror_flag"
96525                          || test ! -s conftest.err'
96526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96527   (eval $ac_try) 2>&5
96528   ac_status=$?
96529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96530   (exit $ac_status); }; } &&
96531          { ac_try='test -s conftest.$ac_objext'
96532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96533   (eval $ac_try) 2>&5
96534   ac_status=$?
96535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96536   (exit $ac_status); }; }; then
96537   glibcxx_cv_func___builtin_fabs_use=yes
96538 else
96539   echo "$as_me: failed program was:" >&5
96540 sed 's/^/| /' conftest.$ac_ext >&5
96541
96542 glibcxx_cv_func___builtin_fabs_use=no
96543 fi
96544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96545       ac_ext=c
96546 ac_cpp='$CPP $CPPFLAGS'
96547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96550
96551
96552 fi
96553
96554   fi
96555   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
96556 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
96557   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
96558     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
96559 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
96560     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
96561       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
96562   echo $ECHO_N "(cached) $ECHO_C" >&6
96563 else
96564
96565         if test x$gcc_no_link = xyes; then
96566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96568    { (exit 1); exit 1; }; }
96569 fi
96570 cat >conftest.$ac_ext <<_ACEOF
96571 /* confdefs.h.  */
96572 _ACEOF
96573 cat confdefs.h >>conftest.$ac_ext
96574 cat >>conftest.$ac_ext <<_ACEOF
96575 /* end confdefs.h.  */
96576 #include <math.h>
96577 int
96578 main ()
96579 {
96580  __builtin_fabs(0);
96581   ;
96582   return 0;
96583 }
96584 _ACEOF
96585 rm -f conftest.$ac_objext conftest$ac_exeext
96586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96587   (eval $ac_link) 2>conftest.er1
96588   ac_status=$?
96589   grep -v '^ *+' conftest.er1 >conftest.err
96590   rm -f conftest.er1
96591   cat conftest.err >&5
96592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96593   (exit $ac_status); } &&
96594          { ac_try='test -z "$ac_c_werror_flag"
96595                          || test ! -s conftest.err'
96596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96597   (eval $ac_try) 2>&5
96598   ac_status=$?
96599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96600   (exit $ac_status); }; } &&
96601          { ac_try='test -s conftest$ac_exeext'
96602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96603   (eval $ac_try) 2>&5
96604   ac_status=$?
96605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96606   (exit $ac_status); }; }; then
96607   glibcxx_cv_func___builtin_fabs_link=yes
96608 else
96609   echo "$as_me: failed program was:" >&5
96610 sed 's/^/| /' conftest.$ac_ext >&5
96611
96612 glibcxx_cv_func___builtin_fabs_link=no
96613 fi
96614 rm -f conftest.err conftest.$ac_objext \
96615       conftest$ac_exeext conftest.$ac_ext
96616
96617 fi
96618
96619     fi
96620     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
96621 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
96622
96623     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
96624
96625 cat >>confdefs.h <<\_ACEOF
96626 #define HAVE___BUILTIN_FABS 1
96627 _ACEOF
96628
96629     fi
96630
96631   fi
96632
96633
96634   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
96635 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
96636   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
96637     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
96638   echo $ECHO_N "(cached) $ECHO_C" >&6
96639 else
96640
96641
96642
96643       ac_ext=cc
96644 ac_cpp='$CXXCPP $CPPFLAGS'
96645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96648
96649       cat >conftest.$ac_ext <<_ACEOF
96650 /* confdefs.h.  */
96651 _ACEOF
96652 cat confdefs.h >>conftest.$ac_ext
96653 cat >>conftest.$ac_ext <<_ACEOF
96654 /* end confdefs.h.  */
96655 #include <math.h>
96656 int
96657 main ()
96658 {
96659  __builtin_fabsl(0);
96660   ;
96661   return 0;
96662 }
96663 _ACEOF
96664 rm -f conftest.$ac_objext
96665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96666   (eval $ac_compile) 2>conftest.er1
96667   ac_status=$?
96668   grep -v '^ *+' conftest.er1 >conftest.err
96669   rm -f conftest.er1
96670   cat conftest.err >&5
96671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96672   (exit $ac_status); } &&
96673          { ac_try='test -z "$ac_cxx_werror_flag"
96674                          || test ! -s conftest.err'
96675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96676   (eval $ac_try) 2>&5
96677   ac_status=$?
96678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96679   (exit $ac_status); }; } &&
96680          { ac_try='test -s conftest.$ac_objext'
96681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96682   (eval $ac_try) 2>&5
96683   ac_status=$?
96684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96685   (exit $ac_status); }; }; then
96686   glibcxx_cv_func___builtin_fabsl_use=yes
96687 else
96688   echo "$as_me: failed program was:" >&5
96689 sed 's/^/| /' conftest.$ac_ext >&5
96690
96691 glibcxx_cv_func___builtin_fabsl_use=no
96692 fi
96693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96694       ac_ext=c
96695 ac_cpp='$CPP $CPPFLAGS'
96696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96699
96700
96701 fi
96702
96703   fi
96704   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
96705 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
96706   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
96707     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
96708 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
96709     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
96710       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
96711   echo $ECHO_N "(cached) $ECHO_C" >&6
96712 else
96713
96714         if test x$gcc_no_link = xyes; then
96715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96717    { (exit 1); exit 1; }; }
96718 fi
96719 cat >conftest.$ac_ext <<_ACEOF
96720 /* confdefs.h.  */
96721 _ACEOF
96722 cat confdefs.h >>conftest.$ac_ext
96723 cat >>conftest.$ac_ext <<_ACEOF
96724 /* end confdefs.h.  */
96725 #include <math.h>
96726 int
96727 main ()
96728 {
96729  __builtin_fabsl(0);
96730   ;
96731   return 0;
96732 }
96733 _ACEOF
96734 rm -f conftest.$ac_objext conftest$ac_exeext
96735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96736   (eval $ac_link) 2>conftest.er1
96737   ac_status=$?
96738   grep -v '^ *+' conftest.er1 >conftest.err
96739   rm -f conftest.er1
96740   cat conftest.err >&5
96741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96742   (exit $ac_status); } &&
96743          { ac_try='test -z "$ac_c_werror_flag"
96744                          || test ! -s conftest.err'
96745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96746   (eval $ac_try) 2>&5
96747   ac_status=$?
96748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96749   (exit $ac_status); }; } &&
96750          { ac_try='test -s conftest$ac_exeext'
96751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96752   (eval $ac_try) 2>&5
96753   ac_status=$?
96754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96755   (exit $ac_status); }; }; then
96756   glibcxx_cv_func___builtin_fabsl_link=yes
96757 else
96758   echo "$as_me: failed program was:" >&5
96759 sed 's/^/| /' conftest.$ac_ext >&5
96760
96761 glibcxx_cv_func___builtin_fabsl_link=no
96762 fi
96763 rm -f conftest.err conftest.$ac_objext \
96764       conftest$ac_exeext conftest.$ac_ext
96765
96766 fi
96767
96768     fi
96769     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
96770 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
96771
96772     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
96773
96774 cat >>confdefs.h <<\_ACEOF
96775 #define HAVE___BUILTIN_FABSL 1
96776 _ACEOF
96777
96778     fi
96779
96780   fi
96781
96782
96783   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
96784 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
96785   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
96786     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
96787   echo $ECHO_N "(cached) $ECHO_C" >&6
96788 else
96789
96790
96791
96792       ac_ext=cc
96793 ac_cpp='$CXXCPP $CPPFLAGS'
96794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96797
96798       cat >conftest.$ac_ext <<_ACEOF
96799 /* confdefs.h.  */
96800 _ACEOF
96801 cat confdefs.h >>conftest.$ac_ext
96802 cat >>conftest.$ac_ext <<_ACEOF
96803 /* end confdefs.h.  */
96804 #include <math.h>
96805 int
96806 main ()
96807 {
96808  __builtin_labs(0);
96809   ;
96810   return 0;
96811 }
96812 _ACEOF
96813 rm -f conftest.$ac_objext
96814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96815   (eval $ac_compile) 2>conftest.er1
96816   ac_status=$?
96817   grep -v '^ *+' conftest.er1 >conftest.err
96818   rm -f conftest.er1
96819   cat conftest.err >&5
96820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96821   (exit $ac_status); } &&
96822          { ac_try='test -z "$ac_cxx_werror_flag"
96823                          || test ! -s conftest.err'
96824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96825   (eval $ac_try) 2>&5
96826   ac_status=$?
96827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96828   (exit $ac_status); }; } &&
96829          { ac_try='test -s conftest.$ac_objext'
96830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96831   (eval $ac_try) 2>&5
96832   ac_status=$?
96833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96834   (exit $ac_status); }; }; then
96835   glibcxx_cv_func___builtin_labs_use=yes
96836 else
96837   echo "$as_me: failed program was:" >&5
96838 sed 's/^/| /' conftest.$ac_ext >&5
96839
96840 glibcxx_cv_func___builtin_labs_use=no
96841 fi
96842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96843       ac_ext=c
96844 ac_cpp='$CPP $CPPFLAGS'
96845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96848
96849
96850 fi
96851
96852   fi
96853   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
96854 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
96855   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
96856     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
96857 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
96858     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
96859       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
96860   echo $ECHO_N "(cached) $ECHO_C" >&6
96861 else
96862
96863         if test x$gcc_no_link = xyes; then
96864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96866    { (exit 1); exit 1; }; }
96867 fi
96868 cat >conftest.$ac_ext <<_ACEOF
96869 /* confdefs.h.  */
96870 _ACEOF
96871 cat confdefs.h >>conftest.$ac_ext
96872 cat >>conftest.$ac_ext <<_ACEOF
96873 /* end confdefs.h.  */
96874 #include <math.h>
96875 int
96876 main ()
96877 {
96878  __builtin_labs(0);
96879   ;
96880   return 0;
96881 }
96882 _ACEOF
96883 rm -f conftest.$ac_objext conftest$ac_exeext
96884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96885   (eval $ac_link) 2>conftest.er1
96886   ac_status=$?
96887   grep -v '^ *+' conftest.er1 >conftest.err
96888   rm -f conftest.er1
96889   cat conftest.err >&5
96890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96891   (exit $ac_status); } &&
96892          { ac_try='test -z "$ac_c_werror_flag"
96893                          || test ! -s conftest.err'
96894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96895   (eval $ac_try) 2>&5
96896   ac_status=$?
96897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96898   (exit $ac_status); }; } &&
96899          { ac_try='test -s conftest$ac_exeext'
96900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96901   (eval $ac_try) 2>&5
96902   ac_status=$?
96903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96904   (exit $ac_status); }; }; then
96905   glibcxx_cv_func___builtin_labs_link=yes
96906 else
96907   echo "$as_me: failed program was:" >&5
96908 sed 's/^/| /' conftest.$ac_ext >&5
96909
96910 glibcxx_cv_func___builtin_labs_link=no
96911 fi
96912 rm -f conftest.err conftest.$ac_objext \
96913       conftest$ac_exeext conftest.$ac_ext
96914
96915 fi
96916
96917     fi
96918     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
96919 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
96920
96921     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
96922
96923 cat >>confdefs.h <<\_ACEOF
96924 #define HAVE___BUILTIN_LABS 1
96925 _ACEOF
96926
96927     fi
96928
96929   fi
96930
96931
96932
96933   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
96934 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
96935   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
96936     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
96937   echo $ECHO_N "(cached) $ECHO_C" >&6
96938 else
96939
96940
96941
96942       ac_ext=cc
96943 ac_cpp='$CXXCPP $CPPFLAGS'
96944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96947
96948       cat >conftest.$ac_ext <<_ACEOF
96949 /* confdefs.h.  */
96950 _ACEOF
96951 cat confdefs.h >>conftest.$ac_ext
96952 cat >>conftest.$ac_ext <<_ACEOF
96953 /* end confdefs.h.  */
96954 #include <math.h>
96955 int
96956 main ()
96957 {
96958  __builtin_sqrtf(0);
96959   ;
96960   return 0;
96961 }
96962 _ACEOF
96963 rm -f conftest.$ac_objext
96964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96965   (eval $ac_compile) 2>conftest.er1
96966   ac_status=$?
96967   grep -v '^ *+' conftest.er1 >conftest.err
96968   rm -f conftest.er1
96969   cat conftest.err >&5
96970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96971   (exit $ac_status); } &&
96972          { ac_try='test -z "$ac_cxx_werror_flag"
96973                          || test ! -s conftest.err'
96974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96975   (eval $ac_try) 2>&5
96976   ac_status=$?
96977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96978   (exit $ac_status); }; } &&
96979          { ac_try='test -s conftest.$ac_objext'
96980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96981   (eval $ac_try) 2>&5
96982   ac_status=$?
96983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96984   (exit $ac_status); }; }; then
96985   glibcxx_cv_func___builtin_sqrtf_use=yes
96986 else
96987   echo "$as_me: failed program was:" >&5
96988 sed 's/^/| /' conftest.$ac_ext >&5
96989
96990 glibcxx_cv_func___builtin_sqrtf_use=no
96991 fi
96992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96993       ac_ext=c
96994 ac_cpp='$CPP $CPPFLAGS'
96995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96998
96999
97000 fi
97001
97002   fi
97003   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
97004 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
97005   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
97006     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
97007 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
97008     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
97009       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
97010   echo $ECHO_N "(cached) $ECHO_C" >&6
97011 else
97012
97013         if test x$gcc_no_link = xyes; then
97014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97016    { (exit 1); exit 1; }; }
97017 fi
97018 cat >conftest.$ac_ext <<_ACEOF
97019 /* confdefs.h.  */
97020 _ACEOF
97021 cat confdefs.h >>conftest.$ac_ext
97022 cat >>conftest.$ac_ext <<_ACEOF
97023 /* end confdefs.h.  */
97024 #include <math.h>
97025 int
97026 main ()
97027 {
97028  __builtin_sqrtf(0);
97029   ;
97030   return 0;
97031 }
97032 _ACEOF
97033 rm -f conftest.$ac_objext conftest$ac_exeext
97034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97035   (eval $ac_link) 2>conftest.er1
97036   ac_status=$?
97037   grep -v '^ *+' conftest.er1 >conftest.err
97038   rm -f conftest.er1
97039   cat conftest.err >&5
97040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97041   (exit $ac_status); } &&
97042          { ac_try='test -z "$ac_c_werror_flag"
97043                          || test ! -s conftest.err'
97044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97045   (eval $ac_try) 2>&5
97046   ac_status=$?
97047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97048   (exit $ac_status); }; } &&
97049          { ac_try='test -s conftest$ac_exeext'
97050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97051   (eval $ac_try) 2>&5
97052   ac_status=$?
97053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97054   (exit $ac_status); }; }; then
97055   glibcxx_cv_func___builtin_sqrtf_link=yes
97056 else
97057   echo "$as_me: failed program was:" >&5
97058 sed 's/^/| /' conftest.$ac_ext >&5
97059
97060 glibcxx_cv_func___builtin_sqrtf_link=no
97061 fi
97062 rm -f conftest.err conftest.$ac_objext \
97063       conftest$ac_exeext conftest.$ac_ext
97064
97065 fi
97066
97067     fi
97068     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
97069 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
97070
97071     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
97072
97073 cat >>confdefs.h <<\_ACEOF
97074 #define HAVE___BUILTIN_SQRTF 1
97075 _ACEOF
97076
97077     fi
97078
97079   fi
97080
97081
97082   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
97083 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
97084   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
97085     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
97086   echo $ECHO_N "(cached) $ECHO_C" >&6
97087 else
97088
97089
97090
97091       ac_ext=cc
97092 ac_cpp='$CXXCPP $CPPFLAGS'
97093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97096
97097       cat >conftest.$ac_ext <<_ACEOF
97098 /* confdefs.h.  */
97099 _ACEOF
97100 cat confdefs.h >>conftest.$ac_ext
97101 cat >>conftest.$ac_ext <<_ACEOF
97102 /* end confdefs.h.  */
97103 #include <math.h>
97104 int
97105 main ()
97106 {
97107  __builtin_sqrt(0);
97108   ;
97109   return 0;
97110 }
97111 _ACEOF
97112 rm -f conftest.$ac_objext
97113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97114   (eval $ac_compile) 2>conftest.er1
97115   ac_status=$?
97116   grep -v '^ *+' conftest.er1 >conftest.err
97117   rm -f conftest.er1
97118   cat conftest.err >&5
97119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97120   (exit $ac_status); } &&
97121          { ac_try='test -z "$ac_cxx_werror_flag"
97122                          || test ! -s conftest.err'
97123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97124   (eval $ac_try) 2>&5
97125   ac_status=$?
97126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97127   (exit $ac_status); }; } &&
97128          { ac_try='test -s conftest.$ac_objext'
97129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97130   (eval $ac_try) 2>&5
97131   ac_status=$?
97132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97133   (exit $ac_status); }; }; then
97134   glibcxx_cv_func___builtin_sqrt_use=yes
97135 else
97136   echo "$as_me: failed program was:" >&5
97137 sed 's/^/| /' conftest.$ac_ext >&5
97138
97139 glibcxx_cv_func___builtin_sqrt_use=no
97140 fi
97141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97142       ac_ext=c
97143 ac_cpp='$CPP $CPPFLAGS'
97144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97147
97148
97149 fi
97150
97151   fi
97152   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
97153 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
97154   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
97155     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
97156 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
97157     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
97158       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
97159   echo $ECHO_N "(cached) $ECHO_C" >&6
97160 else
97161
97162         if test x$gcc_no_link = xyes; then
97163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97165    { (exit 1); exit 1; }; }
97166 fi
97167 cat >conftest.$ac_ext <<_ACEOF
97168 /* confdefs.h.  */
97169 _ACEOF
97170 cat confdefs.h >>conftest.$ac_ext
97171 cat >>conftest.$ac_ext <<_ACEOF
97172 /* end confdefs.h.  */
97173 #include <math.h>
97174 int
97175 main ()
97176 {
97177  __builtin_sqrt(0);
97178   ;
97179   return 0;
97180 }
97181 _ACEOF
97182 rm -f conftest.$ac_objext conftest$ac_exeext
97183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97184   (eval $ac_link) 2>conftest.er1
97185   ac_status=$?
97186   grep -v '^ *+' conftest.er1 >conftest.err
97187   rm -f conftest.er1
97188   cat conftest.err >&5
97189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97190   (exit $ac_status); } &&
97191          { ac_try='test -z "$ac_c_werror_flag"
97192                          || test ! -s conftest.err'
97193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97194   (eval $ac_try) 2>&5
97195   ac_status=$?
97196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97197   (exit $ac_status); }; } &&
97198          { ac_try='test -s conftest$ac_exeext'
97199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97200   (eval $ac_try) 2>&5
97201   ac_status=$?
97202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97203   (exit $ac_status); }; }; then
97204   glibcxx_cv_func___builtin_sqrt_link=yes
97205 else
97206   echo "$as_me: failed program was:" >&5
97207 sed 's/^/| /' conftest.$ac_ext >&5
97208
97209 glibcxx_cv_func___builtin_sqrt_link=no
97210 fi
97211 rm -f conftest.err conftest.$ac_objext \
97212       conftest$ac_exeext conftest.$ac_ext
97213
97214 fi
97215
97216     fi
97217     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
97218 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
97219
97220     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
97221
97222 cat >>confdefs.h <<\_ACEOF
97223 #define HAVE___BUILTIN_SQRT 1
97224 _ACEOF
97225
97226     fi
97227
97228   fi
97229
97230
97231   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
97232 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
97233   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
97234     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
97235   echo $ECHO_N "(cached) $ECHO_C" >&6
97236 else
97237
97238
97239
97240       ac_ext=cc
97241 ac_cpp='$CXXCPP $CPPFLAGS'
97242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97245
97246       cat >conftest.$ac_ext <<_ACEOF
97247 /* confdefs.h.  */
97248 _ACEOF
97249 cat confdefs.h >>conftest.$ac_ext
97250 cat >>conftest.$ac_ext <<_ACEOF
97251 /* end confdefs.h.  */
97252 #include <math.h>
97253 int
97254 main ()
97255 {
97256  __builtin_sqrtl(0);
97257   ;
97258   return 0;
97259 }
97260 _ACEOF
97261 rm -f conftest.$ac_objext
97262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97263   (eval $ac_compile) 2>conftest.er1
97264   ac_status=$?
97265   grep -v '^ *+' conftest.er1 >conftest.err
97266   rm -f conftest.er1
97267   cat conftest.err >&5
97268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97269   (exit $ac_status); } &&
97270          { ac_try='test -z "$ac_cxx_werror_flag"
97271                          || test ! -s conftest.err'
97272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97273   (eval $ac_try) 2>&5
97274   ac_status=$?
97275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97276   (exit $ac_status); }; } &&
97277          { ac_try='test -s conftest.$ac_objext'
97278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97279   (eval $ac_try) 2>&5
97280   ac_status=$?
97281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97282   (exit $ac_status); }; }; then
97283   glibcxx_cv_func___builtin_sqrtl_use=yes
97284 else
97285   echo "$as_me: failed program was:" >&5
97286 sed 's/^/| /' conftest.$ac_ext >&5
97287
97288 glibcxx_cv_func___builtin_sqrtl_use=no
97289 fi
97290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97291       ac_ext=c
97292 ac_cpp='$CPP $CPPFLAGS'
97293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97296
97297
97298 fi
97299
97300   fi
97301   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
97302 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
97303   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
97304     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
97305 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
97306     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
97307       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
97308   echo $ECHO_N "(cached) $ECHO_C" >&6
97309 else
97310
97311         if test x$gcc_no_link = xyes; then
97312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97314    { (exit 1); exit 1; }; }
97315 fi
97316 cat >conftest.$ac_ext <<_ACEOF
97317 /* confdefs.h.  */
97318 _ACEOF
97319 cat confdefs.h >>conftest.$ac_ext
97320 cat >>conftest.$ac_ext <<_ACEOF
97321 /* end confdefs.h.  */
97322 #include <math.h>
97323 int
97324 main ()
97325 {
97326  __builtin_sqrtl(0);
97327   ;
97328   return 0;
97329 }
97330 _ACEOF
97331 rm -f conftest.$ac_objext conftest$ac_exeext
97332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97333   (eval $ac_link) 2>conftest.er1
97334   ac_status=$?
97335   grep -v '^ *+' conftest.er1 >conftest.err
97336   rm -f conftest.er1
97337   cat conftest.err >&5
97338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97339   (exit $ac_status); } &&
97340          { ac_try='test -z "$ac_c_werror_flag"
97341                          || test ! -s conftest.err'
97342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97343   (eval $ac_try) 2>&5
97344   ac_status=$?
97345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97346   (exit $ac_status); }; } &&
97347          { ac_try='test -s conftest$ac_exeext'
97348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97349   (eval $ac_try) 2>&5
97350   ac_status=$?
97351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97352   (exit $ac_status); }; }; then
97353   glibcxx_cv_func___builtin_sqrtl_link=yes
97354 else
97355   echo "$as_me: failed program was:" >&5
97356 sed 's/^/| /' conftest.$ac_ext >&5
97357
97358 glibcxx_cv_func___builtin_sqrtl_link=no
97359 fi
97360 rm -f conftest.err conftest.$ac_objext \
97361       conftest$ac_exeext conftest.$ac_ext
97362
97363 fi
97364
97365     fi
97366     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
97367 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
97368
97369     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
97370
97371 cat >>confdefs.h <<\_ACEOF
97372 #define HAVE___BUILTIN_SQRTL 1
97373 _ACEOF
97374
97375     fi
97376
97377   fi
97378
97379
97380
97381   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
97382 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
97383   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
97384     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
97385   echo $ECHO_N "(cached) $ECHO_C" >&6
97386 else
97387
97388
97389
97390       ac_ext=cc
97391 ac_cpp='$CXXCPP $CPPFLAGS'
97392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97395
97396       cat >conftest.$ac_ext <<_ACEOF
97397 /* confdefs.h.  */
97398 _ACEOF
97399 cat confdefs.h >>conftest.$ac_ext
97400 cat >>conftest.$ac_ext <<_ACEOF
97401 /* end confdefs.h.  */
97402 #include <math.h>
97403 int
97404 main ()
97405 {
97406  __builtin_sinf(0);
97407   ;
97408   return 0;
97409 }
97410 _ACEOF
97411 rm -f conftest.$ac_objext
97412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97413   (eval $ac_compile) 2>conftest.er1
97414   ac_status=$?
97415   grep -v '^ *+' conftest.er1 >conftest.err
97416   rm -f conftest.er1
97417   cat conftest.err >&5
97418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97419   (exit $ac_status); } &&
97420          { ac_try='test -z "$ac_cxx_werror_flag"
97421                          || test ! -s conftest.err'
97422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97423   (eval $ac_try) 2>&5
97424   ac_status=$?
97425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97426   (exit $ac_status); }; } &&
97427          { ac_try='test -s conftest.$ac_objext'
97428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97429   (eval $ac_try) 2>&5
97430   ac_status=$?
97431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97432   (exit $ac_status); }; }; then
97433   glibcxx_cv_func___builtin_sinf_use=yes
97434 else
97435   echo "$as_me: failed program was:" >&5
97436 sed 's/^/| /' conftest.$ac_ext >&5
97437
97438 glibcxx_cv_func___builtin_sinf_use=no
97439 fi
97440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97441       ac_ext=c
97442 ac_cpp='$CPP $CPPFLAGS'
97443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97446
97447
97448 fi
97449
97450   fi
97451   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
97452 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
97453   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
97454     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
97455 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
97456     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
97457       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
97458   echo $ECHO_N "(cached) $ECHO_C" >&6
97459 else
97460
97461         if test x$gcc_no_link = xyes; then
97462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97464    { (exit 1); exit 1; }; }
97465 fi
97466 cat >conftest.$ac_ext <<_ACEOF
97467 /* confdefs.h.  */
97468 _ACEOF
97469 cat confdefs.h >>conftest.$ac_ext
97470 cat >>conftest.$ac_ext <<_ACEOF
97471 /* end confdefs.h.  */
97472 #include <math.h>
97473 int
97474 main ()
97475 {
97476  __builtin_sinf(0);
97477   ;
97478   return 0;
97479 }
97480 _ACEOF
97481 rm -f conftest.$ac_objext conftest$ac_exeext
97482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97483   (eval $ac_link) 2>conftest.er1
97484   ac_status=$?
97485   grep -v '^ *+' conftest.er1 >conftest.err
97486   rm -f conftest.er1
97487   cat conftest.err >&5
97488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97489   (exit $ac_status); } &&
97490          { ac_try='test -z "$ac_c_werror_flag"
97491                          || test ! -s conftest.err'
97492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97493   (eval $ac_try) 2>&5
97494   ac_status=$?
97495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97496   (exit $ac_status); }; } &&
97497          { ac_try='test -s conftest$ac_exeext'
97498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97499   (eval $ac_try) 2>&5
97500   ac_status=$?
97501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97502   (exit $ac_status); }; }; then
97503   glibcxx_cv_func___builtin_sinf_link=yes
97504 else
97505   echo "$as_me: failed program was:" >&5
97506 sed 's/^/| /' conftest.$ac_ext >&5
97507
97508 glibcxx_cv_func___builtin_sinf_link=no
97509 fi
97510 rm -f conftest.err conftest.$ac_objext \
97511       conftest$ac_exeext conftest.$ac_ext
97512
97513 fi
97514
97515     fi
97516     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
97517 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
97518
97519     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
97520
97521 cat >>confdefs.h <<\_ACEOF
97522 #define HAVE___BUILTIN_SINF 1
97523 _ACEOF
97524
97525     fi
97526
97527   fi
97528
97529
97530   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
97531 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
97532   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
97533     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
97534   echo $ECHO_N "(cached) $ECHO_C" >&6
97535 else
97536
97537
97538
97539       ac_ext=cc
97540 ac_cpp='$CXXCPP $CPPFLAGS'
97541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97544
97545       cat >conftest.$ac_ext <<_ACEOF
97546 /* confdefs.h.  */
97547 _ACEOF
97548 cat confdefs.h >>conftest.$ac_ext
97549 cat >>conftest.$ac_ext <<_ACEOF
97550 /* end confdefs.h.  */
97551 #include <math.h>
97552 int
97553 main ()
97554 {
97555  __builtin_sin(0);
97556   ;
97557   return 0;
97558 }
97559 _ACEOF
97560 rm -f conftest.$ac_objext
97561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97562   (eval $ac_compile) 2>conftest.er1
97563   ac_status=$?
97564   grep -v '^ *+' conftest.er1 >conftest.err
97565   rm -f conftest.er1
97566   cat conftest.err >&5
97567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97568   (exit $ac_status); } &&
97569          { ac_try='test -z "$ac_cxx_werror_flag"
97570                          || test ! -s conftest.err'
97571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97572   (eval $ac_try) 2>&5
97573   ac_status=$?
97574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97575   (exit $ac_status); }; } &&
97576          { ac_try='test -s conftest.$ac_objext'
97577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97578   (eval $ac_try) 2>&5
97579   ac_status=$?
97580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97581   (exit $ac_status); }; }; then
97582   glibcxx_cv_func___builtin_sin_use=yes
97583 else
97584   echo "$as_me: failed program was:" >&5
97585 sed 's/^/| /' conftest.$ac_ext >&5
97586
97587 glibcxx_cv_func___builtin_sin_use=no
97588 fi
97589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97590       ac_ext=c
97591 ac_cpp='$CPP $CPPFLAGS'
97592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97595
97596
97597 fi
97598
97599   fi
97600   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
97601 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
97602   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
97603     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
97604 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
97605     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
97606       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
97607   echo $ECHO_N "(cached) $ECHO_C" >&6
97608 else
97609
97610         if test x$gcc_no_link = xyes; then
97611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97613    { (exit 1); exit 1; }; }
97614 fi
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 <math.h>
97622 int
97623 main ()
97624 {
97625  __builtin_sin(0);
97626   ;
97627   return 0;
97628 }
97629 _ACEOF
97630 rm -f conftest.$ac_objext conftest$ac_exeext
97631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97632   (eval $ac_link) 2>conftest.er1
97633   ac_status=$?
97634   grep -v '^ *+' conftest.er1 >conftest.err
97635   rm -f conftest.er1
97636   cat conftest.err >&5
97637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97638   (exit $ac_status); } &&
97639          { ac_try='test -z "$ac_c_werror_flag"
97640                          || test ! -s conftest.err'
97641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97642   (eval $ac_try) 2>&5
97643   ac_status=$?
97644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97645   (exit $ac_status); }; } &&
97646          { ac_try='test -s conftest$ac_exeext'
97647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97648   (eval $ac_try) 2>&5
97649   ac_status=$?
97650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97651   (exit $ac_status); }; }; then
97652   glibcxx_cv_func___builtin_sin_link=yes
97653 else
97654   echo "$as_me: failed program was:" >&5
97655 sed 's/^/| /' conftest.$ac_ext >&5
97656
97657 glibcxx_cv_func___builtin_sin_link=no
97658 fi
97659 rm -f conftest.err conftest.$ac_objext \
97660       conftest$ac_exeext conftest.$ac_ext
97661
97662 fi
97663
97664     fi
97665     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
97666 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
97667
97668     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
97669
97670 cat >>confdefs.h <<\_ACEOF
97671 #define HAVE___BUILTIN_SIN 1
97672 _ACEOF
97673
97674     fi
97675
97676   fi
97677
97678
97679   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
97680 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
97681   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
97682     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
97683   echo $ECHO_N "(cached) $ECHO_C" >&6
97684 else
97685
97686
97687
97688       ac_ext=cc
97689 ac_cpp='$CXXCPP $CPPFLAGS'
97690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97693
97694       cat >conftest.$ac_ext <<_ACEOF
97695 /* confdefs.h.  */
97696 _ACEOF
97697 cat confdefs.h >>conftest.$ac_ext
97698 cat >>conftest.$ac_ext <<_ACEOF
97699 /* end confdefs.h.  */
97700 #include <math.h>
97701 int
97702 main ()
97703 {
97704  __builtin_sinl(0);
97705   ;
97706   return 0;
97707 }
97708 _ACEOF
97709 rm -f conftest.$ac_objext
97710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97711   (eval $ac_compile) 2>conftest.er1
97712   ac_status=$?
97713   grep -v '^ *+' conftest.er1 >conftest.err
97714   rm -f conftest.er1
97715   cat conftest.err >&5
97716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97717   (exit $ac_status); } &&
97718          { ac_try='test -z "$ac_cxx_werror_flag"
97719                          || test ! -s conftest.err'
97720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97721   (eval $ac_try) 2>&5
97722   ac_status=$?
97723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97724   (exit $ac_status); }; } &&
97725          { ac_try='test -s conftest.$ac_objext'
97726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97727   (eval $ac_try) 2>&5
97728   ac_status=$?
97729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97730   (exit $ac_status); }; }; then
97731   glibcxx_cv_func___builtin_sinl_use=yes
97732 else
97733   echo "$as_me: failed program was:" >&5
97734 sed 's/^/| /' conftest.$ac_ext >&5
97735
97736 glibcxx_cv_func___builtin_sinl_use=no
97737 fi
97738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97739       ac_ext=c
97740 ac_cpp='$CPP $CPPFLAGS'
97741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97744
97745
97746 fi
97747
97748   fi
97749   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
97750 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
97751   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
97752     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
97753 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
97754     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
97755       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
97756   echo $ECHO_N "(cached) $ECHO_C" >&6
97757 else
97758
97759         if test x$gcc_no_link = xyes; then
97760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97762    { (exit 1); exit 1; }; }
97763 fi
97764 cat >conftest.$ac_ext <<_ACEOF
97765 /* confdefs.h.  */
97766 _ACEOF
97767 cat confdefs.h >>conftest.$ac_ext
97768 cat >>conftest.$ac_ext <<_ACEOF
97769 /* end confdefs.h.  */
97770 #include <math.h>
97771 int
97772 main ()
97773 {
97774  __builtin_sinl(0);
97775   ;
97776   return 0;
97777 }
97778 _ACEOF
97779 rm -f conftest.$ac_objext conftest$ac_exeext
97780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97781   (eval $ac_link) 2>conftest.er1
97782   ac_status=$?
97783   grep -v '^ *+' conftest.er1 >conftest.err
97784   rm -f conftest.er1
97785   cat conftest.err >&5
97786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97787   (exit $ac_status); } &&
97788          { ac_try='test -z "$ac_c_werror_flag"
97789                          || test ! -s conftest.err'
97790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97791   (eval $ac_try) 2>&5
97792   ac_status=$?
97793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97794   (exit $ac_status); }; } &&
97795          { ac_try='test -s conftest$ac_exeext'
97796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97797   (eval $ac_try) 2>&5
97798   ac_status=$?
97799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97800   (exit $ac_status); }; }; then
97801   glibcxx_cv_func___builtin_sinl_link=yes
97802 else
97803   echo "$as_me: failed program was:" >&5
97804 sed 's/^/| /' conftest.$ac_ext >&5
97805
97806 glibcxx_cv_func___builtin_sinl_link=no
97807 fi
97808 rm -f conftest.err conftest.$ac_objext \
97809       conftest$ac_exeext conftest.$ac_ext
97810
97811 fi
97812
97813     fi
97814     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
97815 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
97816
97817     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
97818
97819 cat >>confdefs.h <<\_ACEOF
97820 #define HAVE___BUILTIN_SINL 1
97821 _ACEOF
97822
97823     fi
97824
97825   fi
97826
97827
97828
97829   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
97830 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
97831   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
97832     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
97833   echo $ECHO_N "(cached) $ECHO_C" >&6
97834 else
97835
97836
97837
97838       ac_ext=cc
97839 ac_cpp='$CXXCPP $CPPFLAGS'
97840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97843
97844       cat >conftest.$ac_ext <<_ACEOF
97845 /* confdefs.h.  */
97846 _ACEOF
97847 cat confdefs.h >>conftest.$ac_ext
97848 cat >>conftest.$ac_ext <<_ACEOF
97849 /* end confdefs.h.  */
97850 #include <math.h>
97851 int
97852 main ()
97853 {
97854  __builtin_cosf(0);
97855   ;
97856   return 0;
97857 }
97858 _ACEOF
97859 rm -f conftest.$ac_objext
97860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97861   (eval $ac_compile) 2>conftest.er1
97862   ac_status=$?
97863   grep -v '^ *+' conftest.er1 >conftest.err
97864   rm -f conftest.er1
97865   cat conftest.err >&5
97866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97867   (exit $ac_status); } &&
97868          { ac_try='test -z "$ac_cxx_werror_flag"
97869                          || test ! -s conftest.err'
97870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97871   (eval $ac_try) 2>&5
97872   ac_status=$?
97873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97874   (exit $ac_status); }; } &&
97875          { ac_try='test -s conftest.$ac_objext'
97876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97877   (eval $ac_try) 2>&5
97878   ac_status=$?
97879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97880   (exit $ac_status); }; }; then
97881   glibcxx_cv_func___builtin_cosf_use=yes
97882 else
97883   echo "$as_me: failed program was:" >&5
97884 sed 's/^/| /' conftest.$ac_ext >&5
97885
97886 glibcxx_cv_func___builtin_cosf_use=no
97887 fi
97888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97889       ac_ext=c
97890 ac_cpp='$CPP $CPPFLAGS'
97891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97894
97895
97896 fi
97897
97898   fi
97899   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
97900 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
97901   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
97902     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
97903 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
97904     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
97905       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
97906   echo $ECHO_N "(cached) $ECHO_C" >&6
97907 else
97908
97909         if test x$gcc_no_link = xyes; then
97910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97912    { (exit 1); exit 1; }; }
97913 fi
97914 cat >conftest.$ac_ext <<_ACEOF
97915 /* confdefs.h.  */
97916 _ACEOF
97917 cat confdefs.h >>conftest.$ac_ext
97918 cat >>conftest.$ac_ext <<_ACEOF
97919 /* end confdefs.h.  */
97920 #include <math.h>
97921 int
97922 main ()
97923 {
97924  __builtin_cosf(0);
97925   ;
97926   return 0;
97927 }
97928 _ACEOF
97929 rm -f conftest.$ac_objext conftest$ac_exeext
97930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97931   (eval $ac_link) 2>conftest.er1
97932   ac_status=$?
97933   grep -v '^ *+' conftest.er1 >conftest.err
97934   rm -f conftest.er1
97935   cat conftest.err >&5
97936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97937   (exit $ac_status); } &&
97938          { ac_try='test -z "$ac_c_werror_flag"
97939                          || test ! -s conftest.err'
97940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97941   (eval $ac_try) 2>&5
97942   ac_status=$?
97943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97944   (exit $ac_status); }; } &&
97945          { ac_try='test -s conftest$ac_exeext'
97946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97947   (eval $ac_try) 2>&5
97948   ac_status=$?
97949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97950   (exit $ac_status); }; }; then
97951   glibcxx_cv_func___builtin_cosf_link=yes
97952 else
97953   echo "$as_me: failed program was:" >&5
97954 sed 's/^/| /' conftest.$ac_ext >&5
97955
97956 glibcxx_cv_func___builtin_cosf_link=no
97957 fi
97958 rm -f conftest.err conftest.$ac_objext \
97959       conftest$ac_exeext conftest.$ac_ext
97960
97961 fi
97962
97963     fi
97964     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
97965 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
97966
97967     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
97968
97969 cat >>confdefs.h <<\_ACEOF
97970 #define HAVE___BUILTIN_COSF 1
97971 _ACEOF
97972
97973     fi
97974
97975   fi
97976
97977
97978   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
97979 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
97980   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
97981     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
97982   echo $ECHO_N "(cached) $ECHO_C" >&6
97983 else
97984
97985
97986
97987       ac_ext=cc
97988 ac_cpp='$CXXCPP $CPPFLAGS'
97989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97992
97993       cat >conftest.$ac_ext <<_ACEOF
97994 /* confdefs.h.  */
97995 _ACEOF
97996 cat confdefs.h >>conftest.$ac_ext
97997 cat >>conftest.$ac_ext <<_ACEOF
97998 /* end confdefs.h.  */
97999 #include <math.h>
98000 int
98001 main ()
98002 {
98003  __builtin_cos(0);
98004   ;
98005   return 0;
98006 }
98007 _ACEOF
98008 rm -f conftest.$ac_objext
98009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98010   (eval $ac_compile) 2>conftest.er1
98011   ac_status=$?
98012   grep -v '^ *+' conftest.er1 >conftest.err
98013   rm -f conftest.er1
98014   cat conftest.err >&5
98015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98016   (exit $ac_status); } &&
98017          { ac_try='test -z "$ac_cxx_werror_flag"
98018                          || test ! -s conftest.err'
98019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98020   (eval $ac_try) 2>&5
98021   ac_status=$?
98022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98023   (exit $ac_status); }; } &&
98024          { ac_try='test -s conftest.$ac_objext'
98025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98026   (eval $ac_try) 2>&5
98027   ac_status=$?
98028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98029   (exit $ac_status); }; }; then
98030   glibcxx_cv_func___builtin_cos_use=yes
98031 else
98032   echo "$as_me: failed program was:" >&5
98033 sed 's/^/| /' conftest.$ac_ext >&5
98034
98035 glibcxx_cv_func___builtin_cos_use=no
98036 fi
98037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98038       ac_ext=c
98039 ac_cpp='$CPP $CPPFLAGS'
98040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98043
98044
98045 fi
98046
98047   fi
98048   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
98049 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
98050   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
98051     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
98052 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
98053     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
98054       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
98055   echo $ECHO_N "(cached) $ECHO_C" >&6
98056 else
98057
98058         if test x$gcc_no_link = xyes; then
98059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98061    { (exit 1); exit 1; }; }
98062 fi
98063 cat >conftest.$ac_ext <<_ACEOF
98064 /* confdefs.h.  */
98065 _ACEOF
98066 cat confdefs.h >>conftest.$ac_ext
98067 cat >>conftest.$ac_ext <<_ACEOF
98068 /* end confdefs.h.  */
98069 #include <math.h>
98070 int
98071 main ()
98072 {
98073  __builtin_cos(0);
98074   ;
98075   return 0;
98076 }
98077 _ACEOF
98078 rm -f conftest.$ac_objext conftest$ac_exeext
98079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98080   (eval $ac_link) 2>conftest.er1
98081   ac_status=$?
98082   grep -v '^ *+' conftest.er1 >conftest.err
98083   rm -f conftest.er1
98084   cat conftest.err >&5
98085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98086   (exit $ac_status); } &&
98087          { ac_try='test -z "$ac_c_werror_flag"
98088                          || test ! -s conftest.err'
98089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98090   (eval $ac_try) 2>&5
98091   ac_status=$?
98092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98093   (exit $ac_status); }; } &&
98094          { ac_try='test -s conftest$ac_exeext'
98095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98096   (eval $ac_try) 2>&5
98097   ac_status=$?
98098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98099   (exit $ac_status); }; }; then
98100   glibcxx_cv_func___builtin_cos_link=yes
98101 else
98102   echo "$as_me: failed program was:" >&5
98103 sed 's/^/| /' conftest.$ac_ext >&5
98104
98105 glibcxx_cv_func___builtin_cos_link=no
98106 fi
98107 rm -f conftest.err conftest.$ac_objext \
98108       conftest$ac_exeext conftest.$ac_ext
98109
98110 fi
98111
98112     fi
98113     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
98114 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
98115
98116     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
98117
98118 cat >>confdefs.h <<\_ACEOF
98119 #define HAVE___BUILTIN_COS 1
98120 _ACEOF
98121
98122     fi
98123
98124   fi
98125
98126
98127   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
98128 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
98129   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
98130     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
98131   echo $ECHO_N "(cached) $ECHO_C" >&6
98132 else
98133
98134
98135
98136       ac_ext=cc
98137 ac_cpp='$CXXCPP $CPPFLAGS'
98138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98141
98142       cat >conftest.$ac_ext <<_ACEOF
98143 /* confdefs.h.  */
98144 _ACEOF
98145 cat confdefs.h >>conftest.$ac_ext
98146 cat >>conftest.$ac_ext <<_ACEOF
98147 /* end confdefs.h.  */
98148 #include <math.h>
98149 int
98150 main ()
98151 {
98152  __builtin_cosl(0);
98153   ;
98154   return 0;
98155 }
98156 _ACEOF
98157 rm -f conftest.$ac_objext
98158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98159   (eval $ac_compile) 2>conftest.er1
98160   ac_status=$?
98161   grep -v '^ *+' conftest.er1 >conftest.err
98162   rm -f conftest.er1
98163   cat conftest.err >&5
98164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98165   (exit $ac_status); } &&
98166          { ac_try='test -z "$ac_cxx_werror_flag"
98167                          || test ! -s conftest.err'
98168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98169   (eval $ac_try) 2>&5
98170   ac_status=$?
98171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98172   (exit $ac_status); }; } &&
98173          { ac_try='test -s conftest.$ac_objext'
98174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98175   (eval $ac_try) 2>&5
98176   ac_status=$?
98177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98178   (exit $ac_status); }; }; then
98179   glibcxx_cv_func___builtin_cosl_use=yes
98180 else
98181   echo "$as_me: failed program was:" >&5
98182 sed 's/^/| /' conftest.$ac_ext >&5
98183
98184 glibcxx_cv_func___builtin_cosl_use=no
98185 fi
98186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98187       ac_ext=c
98188 ac_cpp='$CPP $CPPFLAGS'
98189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98192
98193
98194 fi
98195
98196   fi
98197   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
98198 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
98199   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
98200     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
98201 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
98202     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
98203       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
98204   echo $ECHO_N "(cached) $ECHO_C" >&6
98205 else
98206
98207         if test x$gcc_no_link = xyes; then
98208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98210    { (exit 1); exit 1; }; }
98211 fi
98212 cat >conftest.$ac_ext <<_ACEOF
98213 /* confdefs.h.  */
98214 _ACEOF
98215 cat confdefs.h >>conftest.$ac_ext
98216 cat >>conftest.$ac_ext <<_ACEOF
98217 /* end confdefs.h.  */
98218 #include <math.h>
98219 int
98220 main ()
98221 {
98222  __builtin_cosl(0);
98223   ;
98224   return 0;
98225 }
98226 _ACEOF
98227 rm -f conftest.$ac_objext conftest$ac_exeext
98228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98229   (eval $ac_link) 2>conftest.er1
98230   ac_status=$?
98231   grep -v '^ *+' conftest.er1 >conftest.err
98232   rm -f conftest.er1
98233   cat conftest.err >&5
98234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98235   (exit $ac_status); } &&
98236          { ac_try='test -z "$ac_c_werror_flag"
98237                          || test ! -s conftest.err'
98238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98239   (eval $ac_try) 2>&5
98240   ac_status=$?
98241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98242   (exit $ac_status); }; } &&
98243          { ac_try='test -s conftest$ac_exeext'
98244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98245   (eval $ac_try) 2>&5
98246   ac_status=$?
98247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98248   (exit $ac_status); }; }; then
98249   glibcxx_cv_func___builtin_cosl_link=yes
98250 else
98251   echo "$as_me: failed program was:" >&5
98252 sed 's/^/| /' conftest.$ac_ext >&5
98253
98254 glibcxx_cv_func___builtin_cosl_link=no
98255 fi
98256 rm -f conftest.err conftest.$ac_objext \
98257       conftest$ac_exeext conftest.$ac_ext
98258
98259 fi
98260
98261     fi
98262     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
98263 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
98264
98265     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
98266
98267 cat >>confdefs.h <<\_ACEOF
98268 #define HAVE___BUILTIN_COSL 1
98269 _ACEOF
98270
98271     fi
98272
98273   fi
98274
98275
98276
98277
98278 echo "$as_me:$LINENO: checking for main in -lm" >&5
98279 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
98280 if test "${ac_cv_lib_m_main+set}" = set; then
98281   echo $ECHO_N "(cached) $ECHO_C" >&6
98282 else
98283   ac_check_lib_save_LIBS=$LIBS
98284 LIBS="-lm  $LIBS"
98285 if test x$gcc_no_link = xyes; then
98286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98288    { (exit 1); exit 1; }; }
98289 fi
98290 cat >conftest.$ac_ext <<_ACEOF
98291 /* confdefs.h.  */
98292 _ACEOF
98293 cat confdefs.h >>conftest.$ac_ext
98294 cat >>conftest.$ac_ext <<_ACEOF
98295 /* end confdefs.h.  */
98296
98297
98298 int
98299 main ()
98300 {
98301 main ();
98302   ;
98303   return 0;
98304 }
98305 _ACEOF
98306 rm -f conftest.$ac_objext conftest$ac_exeext
98307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98308   (eval $ac_link) 2>conftest.er1
98309   ac_status=$?
98310   grep -v '^ *+' conftest.er1 >conftest.err
98311   rm -f conftest.er1
98312   cat conftest.err >&5
98313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98314   (exit $ac_status); } &&
98315          { ac_try='test -z "$ac_c_werror_flag"
98316                          || test ! -s conftest.err'
98317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98318   (eval $ac_try) 2>&5
98319   ac_status=$?
98320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98321   (exit $ac_status); }; } &&
98322          { ac_try='test -s conftest$ac_exeext'
98323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98324   (eval $ac_try) 2>&5
98325   ac_status=$?
98326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98327   (exit $ac_status); }; }; then
98328   ac_cv_lib_m_main=yes
98329 else
98330   echo "$as_me: failed program was:" >&5
98331 sed 's/^/| /' conftest.$ac_ext >&5
98332
98333 ac_cv_lib_m_main=no
98334 fi
98335 rm -f conftest.err conftest.$ac_objext \
98336       conftest$ac_exeext conftest.$ac_ext
98337 LIBS=$ac_check_lib_save_LIBS
98338 fi
98339 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
98340 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
98341 if test $ac_cv_lib_m_main = yes; then
98342   cat >>confdefs.h <<_ACEOF
98343 #define HAVE_LIBM 1
98344 _ACEOF
98345
98346   LIBS="-lm $LIBS"
98347
98348 fi
98349
98350
98351 for ac_func in copysignf
98352 do
98353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98354 echo "$as_me:$LINENO: checking for $ac_func" >&5
98355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98356 if eval "test \"\${$as_ac_var+set}\" = set"; then
98357   echo $ECHO_N "(cached) $ECHO_C" >&6
98358 else
98359   if test x$gcc_no_link = xyes; then
98360   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98362    { (exit 1); exit 1; }; }
98363 fi
98364 cat >conftest.$ac_ext <<_ACEOF
98365 /* confdefs.h.  */
98366 _ACEOF
98367 cat confdefs.h >>conftest.$ac_ext
98368 cat >>conftest.$ac_ext <<_ACEOF
98369 /* end confdefs.h.  */
98370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98371    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98372 #define $ac_func innocuous_$ac_func
98373
98374 /* System header to define __stub macros and hopefully few prototypes,
98375     which can conflict with char $ac_func (); below.
98376     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98377     <limits.h> exists even on freestanding compilers.  */
98378
98379 #ifdef __STDC__
98380 # include <limits.h>
98381 #else
98382 # include <assert.h>
98383 #endif
98384
98385 #undef $ac_func
98386
98387 /* Override any gcc2 internal prototype to avoid an error.  */
98388 #ifdef __cplusplus
98389 extern "C"
98390 {
98391 #endif
98392 /* We use char because int might match the return type of a gcc2
98393    builtin and then its argument prototype would still apply.  */
98394 char $ac_func ();
98395 /* The GNU C library defines this for functions which it implements
98396     to always fail with ENOSYS.  Some functions are actually named
98397     something starting with __ and the normal name is an alias.  */
98398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98399 choke me
98400 #else
98401 char (*f) () = $ac_func;
98402 #endif
98403 #ifdef __cplusplus
98404 }
98405 #endif
98406
98407 int
98408 main ()
98409 {
98410 return f != $ac_func;
98411   ;
98412   return 0;
98413 }
98414 _ACEOF
98415 rm -f conftest.$ac_objext conftest$ac_exeext
98416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98417   (eval $ac_link) 2>conftest.er1
98418   ac_status=$?
98419   grep -v '^ *+' conftest.er1 >conftest.err
98420   rm -f conftest.er1
98421   cat conftest.err >&5
98422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98423   (exit $ac_status); } &&
98424          { ac_try='test -z "$ac_c_werror_flag"
98425                          || test ! -s conftest.err'
98426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98427   (eval $ac_try) 2>&5
98428   ac_status=$?
98429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98430   (exit $ac_status); }; } &&
98431          { ac_try='test -s conftest$ac_exeext'
98432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98433   (eval $ac_try) 2>&5
98434   ac_status=$?
98435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98436   (exit $ac_status); }; }; then
98437   eval "$as_ac_var=yes"
98438 else
98439   echo "$as_me: failed program was:" >&5
98440 sed 's/^/| /' conftest.$ac_ext >&5
98441
98442 eval "$as_ac_var=no"
98443 fi
98444 rm -f conftest.err conftest.$ac_objext \
98445       conftest$ac_exeext conftest.$ac_ext
98446 fi
98447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98449 if test `eval echo '${'$as_ac_var'}'` = yes; then
98450   cat >>confdefs.h <<_ACEOF
98451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98452 _ACEOF
98453
98454 else
98455   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
98456 fi
98457 done
98458
98459
98460
98461 for ac_func in __signbit
98462 do
98463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98464 echo "$as_me:$LINENO: checking for $ac_func" >&5
98465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98466 if eval "test \"\${$as_ac_var+set}\" = set"; then
98467   echo $ECHO_N "(cached) $ECHO_C" >&6
98468 else
98469   if test x$gcc_no_link = xyes; then
98470   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98472    { (exit 1); exit 1; }; }
98473 fi
98474 cat >conftest.$ac_ext <<_ACEOF
98475 /* confdefs.h.  */
98476 _ACEOF
98477 cat confdefs.h >>conftest.$ac_ext
98478 cat >>conftest.$ac_ext <<_ACEOF
98479 /* end confdefs.h.  */
98480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98481    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98482 #define $ac_func innocuous_$ac_func
98483
98484 /* System header to define __stub macros and hopefully few prototypes,
98485     which can conflict with char $ac_func (); below.
98486     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98487     <limits.h> exists even on freestanding compilers.  */
98488
98489 #ifdef __STDC__
98490 # include <limits.h>
98491 #else
98492 # include <assert.h>
98493 #endif
98494
98495 #undef $ac_func
98496
98497 /* Override any gcc2 internal prototype to avoid an error.  */
98498 #ifdef __cplusplus
98499 extern "C"
98500 {
98501 #endif
98502 /* We use char because int might match the return type of a gcc2
98503    builtin and then its argument prototype would still apply.  */
98504 char $ac_func ();
98505 /* The GNU C library defines this for functions which it implements
98506     to always fail with ENOSYS.  Some functions are actually named
98507     something starting with __ and the normal name is an alias.  */
98508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98509 choke me
98510 #else
98511 char (*f) () = $ac_func;
98512 #endif
98513 #ifdef __cplusplus
98514 }
98515 #endif
98516
98517 int
98518 main ()
98519 {
98520 return f != $ac_func;
98521   ;
98522   return 0;
98523 }
98524 _ACEOF
98525 rm -f conftest.$ac_objext conftest$ac_exeext
98526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98527   (eval $ac_link) 2>conftest.er1
98528   ac_status=$?
98529   grep -v '^ *+' conftest.er1 >conftest.err
98530   rm -f conftest.er1
98531   cat conftest.err >&5
98532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98533   (exit $ac_status); } &&
98534          { ac_try='test -z "$ac_c_werror_flag"
98535                          || test ! -s conftest.err'
98536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98537   (eval $ac_try) 2>&5
98538   ac_status=$?
98539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98540   (exit $ac_status); }; } &&
98541          { ac_try='test -s conftest$ac_exeext'
98542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98543   (eval $ac_try) 2>&5
98544   ac_status=$?
98545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98546   (exit $ac_status); }; }; then
98547   eval "$as_ac_var=yes"
98548 else
98549   echo "$as_me: failed program was:" >&5
98550 sed 's/^/| /' conftest.$ac_ext >&5
98551
98552 eval "$as_ac_var=no"
98553 fi
98554 rm -f conftest.err conftest.$ac_objext \
98555       conftest$ac_exeext conftest.$ac_ext
98556 fi
98557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98559 if test `eval echo '${'$as_ac_var'}'` = yes; then
98560   cat >>confdefs.h <<_ACEOF
98561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98562 _ACEOF
98563
98564 else
98565   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
98566 fi
98567 done
98568
98569
98570
98571 for ac_func in __signbitf
98572 do
98573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98574 echo "$as_me:$LINENO: checking for $ac_func" >&5
98575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98576 if eval "test \"\${$as_ac_var+set}\" = set"; then
98577   echo $ECHO_N "(cached) $ECHO_C" >&6
98578 else
98579   if test x$gcc_no_link = xyes; then
98580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98582    { (exit 1); exit 1; }; }
98583 fi
98584 cat >conftest.$ac_ext <<_ACEOF
98585 /* confdefs.h.  */
98586 _ACEOF
98587 cat confdefs.h >>conftest.$ac_ext
98588 cat >>conftest.$ac_ext <<_ACEOF
98589 /* end confdefs.h.  */
98590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98592 #define $ac_func innocuous_$ac_func
98593
98594 /* System header to define __stub macros and hopefully few prototypes,
98595     which can conflict with char $ac_func (); below.
98596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98597     <limits.h> exists even on freestanding compilers.  */
98598
98599 #ifdef __STDC__
98600 # include <limits.h>
98601 #else
98602 # include <assert.h>
98603 #endif
98604
98605 #undef $ac_func
98606
98607 /* Override any gcc2 internal prototype to avoid an error.  */
98608 #ifdef __cplusplus
98609 extern "C"
98610 {
98611 #endif
98612 /* We use char because int might match the return type of a gcc2
98613    builtin and then its argument prototype would still apply.  */
98614 char $ac_func ();
98615 /* The GNU C library defines this for functions which it implements
98616     to always fail with ENOSYS.  Some functions are actually named
98617     something starting with __ and the normal name is an alias.  */
98618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98619 choke me
98620 #else
98621 char (*f) () = $ac_func;
98622 #endif
98623 #ifdef __cplusplus
98624 }
98625 #endif
98626
98627 int
98628 main ()
98629 {
98630 return f != $ac_func;
98631   ;
98632   return 0;
98633 }
98634 _ACEOF
98635 rm -f conftest.$ac_objext conftest$ac_exeext
98636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98637   (eval $ac_link) 2>conftest.er1
98638   ac_status=$?
98639   grep -v '^ *+' conftest.er1 >conftest.err
98640   rm -f conftest.er1
98641   cat conftest.err >&5
98642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98643   (exit $ac_status); } &&
98644          { ac_try='test -z "$ac_c_werror_flag"
98645                          || test ! -s conftest.err'
98646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98647   (eval $ac_try) 2>&5
98648   ac_status=$?
98649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98650   (exit $ac_status); }; } &&
98651          { ac_try='test -s conftest$ac_exeext'
98652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98653   (eval $ac_try) 2>&5
98654   ac_status=$?
98655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98656   (exit $ac_status); }; }; then
98657   eval "$as_ac_var=yes"
98658 else
98659   echo "$as_me: failed program was:" >&5
98660 sed 's/^/| /' conftest.$ac_ext >&5
98661
98662 eval "$as_ac_var=no"
98663 fi
98664 rm -f conftest.err conftest.$ac_objext \
98665       conftest$ac_exeext conftest.$ac_ext
98666 fi
98667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98669 if test `eval echo '${'$as_ac_var'}'` = yes; then
98670   cat >>confdefs.h <<_ACEOF
98671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98672 _ACEOF
98673
98674 else
98675   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
98676 fi
98677 done
98678
98679
98680           if test x$ac_cv_func_copysignl = x"yes"; then
98681
98682 for ac_func in __signbitl
98683 do
98684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98685 echo "$as_me:$LINENO: checking for $ac_func" >&5
98686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98687 if eval "test \"\${$as_ac_var+set}\" = set"; then
98688   echo $ECHO_N "(cached) $ECHO_C" >&6
98689 else
98690   if test x$gcc_no_link = xyes; then
98691   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98693    { (exit 1); exit 1; }; }
98694 fi
98695 cat >conftest.$ac_ext <<_ACEOF
98696 /* confdefs.h.  */
98697 _ACEOF
98698 cat confdefs.h >>conftest.$ac_ext
98699 cat >>conftest.$ac_ext <<_ACEOF
98700 /* end confdefs.h.  */
98701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98702    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98703 #define $ac_func innocuous_$ac_func
98704
98705 /* System header to define __stub macros and hopefully few prototypes,
98706     which can conflict with char $ac_func (); below.
98707     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98708     <limits.h> exists even on freestanding compilers.  */
98709
98710 #ifdef __STDC__
98711 # include <limits.h>
98712 #else
98713 # include <assert.h>
98714 #endif
98715
98716 #undef $ac_func
98717
98718 /* Override any gcc2 internal prototype to avoid an error.  */
98719 #ifdef __cplusplus
98720 extern "C"
98721 {
98722 #endif
98723 /* We use char because int might match the return type of a gcc2
98724    builtin and then its argument prototype would still apply.  */
98725 char $ac_func ();
98726 /* The GNU C library defines this for functions which it implements
98727     to always fail with ENOSYS.  Some functions are actually named
98728     something starting with __ and the normal name is an alias.  */
98729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98730 choke me
98731 #else
98732 char (*f) () = $ac_func;
98733 #endif
98734 #ifdef __cplusplus
98735 }
98736 #endif
98737
98738 int
98739 main ()
98740 {
98741 return f != $ac_func;
98742   ;
98743   return 0;
98744 }
98745 _ACEOF
98746 rm -f conftest.$ac_objext conftest$ac_exeext
98747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98748   (eval $ac_link) 2>conftest.er1
98749   ac_status=$?
98750   grep -v '^ *+' conftest.er1 >conftest.err
98751   rm -f conftest.er1
98752   cat conftest.err >&5
98753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98754   (exit $ac_status); } &&
98755          { ac_try='test -z "$ac_c_werror_flag"
98756                          || test ! -s conftest.err'
98757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98758   (eval $ac_try) 2>&5
98759   ac_status=$?
98760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98761   (exit $ac_status); }; } &&
98762          { ac_try='test -s conftest$ac_exeext'
98763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98764   (eval $ac_try) 2>&5
98765   ac_status=$?
98766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98767   (exit $ac_status); }; }; then
98768   eval "$as_ac_var=yes"
98769 else
98770   echo "$as_me: failed program was:" >&5
98771 sed 's/^/| /' conftest.$ac_ext >&5
98772
98773 eval "$as_ac_var=no"
98774 fi
98775 rm -f conftest.err conftest.$ac_objext \
98776       conftest$ac_exeext conftest.$ac_ext
98777 fi
98778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98780 if test `eval echo '${'$as_ac_var'}'` = yes; then
98781   cat >>confdefs.h <<_ACEOF
98782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98783 _ACEOF
98784
98785 else
98786   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
98787 fi
98788 done
98789
98790   fi
98791
98792   # Used in libmath/Makefile.am.
98793   if test -n "$LIBMATHOBJS"; then
98794     need_libmath=yes
98795   fi
98796
98797
98798
98799
98800   enable_iconv=no
98801   # Only continue checking if the ISO C99 headers exist and support is on.
98802   if test x"$enable_wchar_t" = xyes; then
98803
98804     # Use iconv for wchar_t to char conversions. As such, check for
98805     # X/Open Portability Guide, version 2 features (XPG2).
98806     if test "${ac_cv_header_iconv_h+set}" = set; then
98807   echo "$as_me:$LINENO: checking for iconv.h" >&5
98808 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98809 if test "${ac_cv_header_iconv_h+set}" = set; then
98810   echo $ECHO_N "(cached) $ECHO_C" >&6
98811 fi
98812 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98813 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98814 else
98815   # Is the header compilable?
98816 echo "$as_me:$LINENO: checking iconv.h usability" >&5
98817 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
98818 cat >conftest.$ac_ext <<_ACEOF
98819 /* confdefs.h.  */
98820 _ACEOF
98821 cat confdefs.h >>conftest.$ac_ext
98822 cat >>conftest.$ac_ext <<_ACEOF
98823 /* end confdefs.h.  */
98824 $ac_includes_default
98825 #include <iconv.h>
98826 _ACEOF
98827 rm -f conftest.$ac_objext
98828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98829   (eval $ac_compile) 2>conftest.er1
98830   ac_status=$?
98831   grep -v '^ *+' conftest.er1 >conftest.err
98832   rm -f conftest.er1
98833   cat conftest.err >&5
98834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98835   (exit $ac_status); } &&
98836          { ac_try='test -z "$ac_c_werror_flag"
98837                          || test ! -s conftest.err'
98838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98839   (eval $ac_try) 2>&5
98840   ac_status=$?
98841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98842   (exit $ac_status); }; } &&
98843          { ac_try='test -s conftest.$ac_objext'
98844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98845   (eval $ac_try) 2>&5
98846   ac_status=$?
98847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98848   (exit $ac_status); }; }; then
98849   ac_header_compiler=yes
98850 else
98851   echo "$as_me: failed program was:" >&5
98852 sed 's/^/| /' conftest.$ac_ext >&5
98853
98854 ac_header_compiler=no
98855 fi
98856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98858 echo "${ECHO_T}$ac_header_compiler" >&6
98859
98860 # Is the header present?
98861 echo "$as_me:$LINENO: checking iconv.h presence" >&5
98862 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
98863 cat >conftest.$ac_ext <<_ACEOF
98864 /* confdefs.h.  */
98865 _ACEOF
98866 cat confdefs.h >>conftest.$ac_ext
98867 cat >>conftest.$ac_ext <<_ACEOF
98868 /* end confdefs.h.  */
98869 #include <iconv.h>
98870 _ACEOF
98871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98872   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98873   ac_status=$?
98874   grep -v '^ *+' conftest.er1 >conftest.err
98875   rm -f conftest.er1
98876   cat conftest.err >&5
98877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98878   (exit $ac_status); } >/dev/null; then
98879   if test -s conftest.err; then
98880     ac_cpp_err=$ac_c_preproc_warn_flag
98881     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98882   else
98883     ac_cpp_err=
98884   fi
98885 else
98886   ac_cpp_err=yes
98887 fi
98888 if test -z "$ac_cpp_err"; then
98889   ac_header_preproc=yes
98890 else
98891   echo "$as_me: failed program was:" >&5
98892 sed 's/^/| /' conftest.$ac_ext >&5
98893
98894   ac_header_preproc=no
98895 fi
98896 rm -f conftest.err conftest.$ac_ext
98897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98898 echo "${ECHO_T}$ac_header_preproc" >&6
98899
98900 # So?  What about this header?
98901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98902   yes:no: )
98903     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
98904 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
98905     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
98906 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
98907     ac_header_preproc=yes
98908     ;;
98909   no:yes:* )
98910     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
98911 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
98912     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
98913 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
98914     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
98915 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
98916     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
98917 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
98918     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
98919 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
98920     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
98921 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
98922     (
98923       cat <<\_ASBOX
98924 ## ----------------------------------------- ##
98925 ## Report this to the package-unused lists.  ##
98926 ## ----------------------------------------- ##
98927 _ASBOX
98928     ) |
98929       sed "s/^/$as_me: WARNING:     /" >&2
98930     ;;
98931 esac
98932 echo "$as_me:$LINENO: checking for iconv.h" >&5
98933 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98934 if test "${ac_cv_header_iconv_h+set}" = set; then
98935   echo $ECHO_N "(cached) $ECHO_C" >&6
98936 else
98937   ac_cv_header_iconv_h=$ac_header_preproc
98938 fi
98939 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98940 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98941
98942 fi
98943 if test $ac_cv_header_iconv_h = yes; then
98944   ac_has_iconv_h=yes
98945 else
98946   ac_has_iconv_h=no
98947 fi
98948
98949
98950     if test "${ac_cv_header_langinfo_h+set}" = set; then
98951   echo "$as_me:$LINENO: checking for langinfo.h" >&5
98952 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
98953 if test "${ac_cv_header_langinfo_h+set}" = set; then
98954   echo $ECHO_N "(cached) $ECHO_C" >&6
98955 fi
98956 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
98957 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
98958 else
98959   # Is the header compilable?
98960 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
98961 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
98962 cat >conftest.$ac_ext <<_ACEOF
98963 /* confdefs.h.  */
98964 _ACEOF
98965 cat confdefs.h >>conftest.$ac_ext
98966 cat >>conftest.$ac_ext <<_ACEOF
98967 /* end confdefs.h.  */
98968 $ac_includes_default
98969 #include <langinfo.h>
98970 _ACEOF
98971 rm -f conftest.$ac_objext
98972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98973   (eval $ac_compile) 2>conftest.er1
98974   ac_status=$?
98975   grep -v '^ *+' conftest.er1 >conftest.err
98976   rm -f conftest.er1
98977   cat conftest.err >&5
98978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98979   (exit $ac_status); } &&
98980          { ac_try='test -z "$ac_c_werror_flag"
98981                          || test ! -s conftest.err'
98982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98983   (eval $ac_try) 2>&5
98984   ac_status=$?
98985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98986   (exit $ac_status); }; } &&
98987          { ac_try='test -s conftest.$ac_objext'
98988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98989   (eval $ac_try) 2>&5
98990   ac_status=$?
98991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98992   (exit $ac_status); }; }; then
98993   ac_header_compiler=yes
98994 else
98995   echo "$as_me: failed program was:" >&5
98996 sed 's/^/| /' conftest.$ac_ext >&5
98997
98998 ac_header_compiler=no
98999 fi
99000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99002 echo "${ECHO_T}$ac_header_compiler" >&6
99003
99004 # Is the header present?
99005 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
99006 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
99007 cat >conftest.$ac_ext <<_ACEOF
99008 /* confdefs.h.  */
99009 _ACEOF
99010 cat confdefs.h >>conftest.$ac_ext
99011 cat >>conftest.$ac_ext <<_ACEOF
99012 /* end confdefs.h.  */
99013 #include <langinfo.h>
99014 _ACEOF
99015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99016   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99017   ac_status=$?
99018   grep -v '^ *+' conftest.er1 >conftest.err
99019   rm -f conftest.er1
99020   cat conftest.err >&5
99021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99022   (exit $ac_status); } >/dev/null; then
99023   if test -s conftest.err; then
99024     ac_cpp_err=$ac_c_preproc_warn_flag
99025     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99026   else
99027     ac_cpp_err=
99028   fi
99029 else
99030   ac_cpp_err=yes
99031 fi
99032 if test -z "$ac_cpp_err"; then
99033   ac_header_preproc=yes
99034 else
99035   echo "$as_me: failed program was:" >&5
99036 sed 's/^/| /' conftest.$ac_ext >&5
99037
99038   ac_header_preproc=no
99039 fi
99040 rm -f conftest.err conftest.$ac_ext
99041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99042 echo "${ECHO_T}$ac_header_preproc" >&6
99043
99044 # So?  What about this header?
99045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99046   yes:no: )
99047     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
99048 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
99049     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
99050 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
99051     ac_header_preproc=yes
99052     ;;
99053   no:yes:* )
99054     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
99055 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
99056     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
99057 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
99058     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
99059 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
99060     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
99061 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
99062     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
99063 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
99064     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
99065 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
99066     (
99067       cat <<\_ASBOX
99068 ## ----------------------------------------- ##
99069 ## Report this to the package-unused lists.  ##
99070 ## ----------------------------------------- ##
99071 _ASBOX
99072     ) |
99073       sed "s/^/$as_me: WARNING:     /" >&2
99074     ;;
99075 esac
99076 echo "$as_me:$LINENO: checking for langinfo.h" >&5
99077 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
99078 if test "${ac_cv_header_langinfo_h+set}" = set; then
99079   echo $ECHO_N "(cached) $ECHO_C" >&6
99080 else
99081   ac_cv_header_langinfo_h=$ac_header_preproc
99082 fi
99083 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
99084 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
99085
99086 fi
99087 if test $ac_cv_header_langinfo_h = yes; then
99088   ac_has_langinfo_h=yes
99089 else
99090   ac_has_langinfo_h=no
99091 fi
99092
99093
99094
99095     # Check for existence of libiconv.a providing XPG2 wchar_t support.
99096     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
99097 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
99098 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
99099   echo $ECHO_N "(cached) $ECHO_C" >&6
99100 else
99101   ac_check_lib_save_LIBS=$LIBS
99102 LIBS="-liconv  $LIBS"
99103 if test x$gcc_no_link = xyes; then
99104   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99106    { (exit 1); exit 1; }; }
99107 fi
99108 cat >conftest.$ac_ext <<_ACEOF
99109 /* confdefs.h.  */
99110 _ACEOF
99111 cat confdefs.h >>conftest.$ac_ext
99112 cat >>conftest.$ac_ext <<_ACEOF
99113 /* end confdefs.h.  */
99114
99115 /* Override any gcc2 internal prototype to avoid an error.  */
99116 #ifdef __cplusplus
99117 extern "C"
99118 #endif
99119 /* We use char because int might match the return type of a gcc2
99120    builtin and then its argument prototype would still apply.  */
99121 char iconv ();
99122 int
99123 main ()
99124 {
99125 iconv ();
99126   ;
99127   return 0;
99128 }
99129 _ACEOF
99130 rm -f conftest.$ac_objext conftest$ac_exeext
99131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99132   (eval $ac_link) 2>conftest.er1
99133   ac_status=$?
99134   grep -v '^ *+' conftest.er1 >conftest.err
99135   rm -f conftest.er1
99136   cat conftest.err >&5
99137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99138   (exit $ac_status); } &&
99139          { ac_try='test -z "$ac_c_werror_flag"
99140                          || test ! -s conftest.err'
99141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99142   (eval $ac_try) 2>&5
99143   ac_status=$?
99144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99145   (exit $ac_status); }; } &&
99146          { ac_try='test -s conftest$ac_exeext'
99147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99148   (eval $ac_try) 2>&5
99149   ac_status=$?
99150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99151   (exit $ac_status); }; }; then
99152   ac_cv_lib_iconv_iconv=yes
99153 else
99154   echo "$as_me: failed program was:" >&5
99155 sed 's/^/| /' conftest.$ac_ext >&5
99156
99157 ac_cv_lib_iconv_iconv=no
99158 fi
99159 rm -f conftest.err conftest.$ac_objext \
99160       conftest$ac_exeext conftest.$ac_ext
99161 LIBS=$ac_check_lib_save_LIBS
99162 fi
99163 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
99164 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
99165 if test $ac_cv_lib_iconv_iconv = yes; then
99166   LIBICONV="-liconv"
99167 fi
99168
99169     ac_save_LIBS="$LIBS"
99170     LIBS="$LIBS $LIBICONV"
99171
99172
99173
99174
99175
99176
99177 for ac_func in iconv_open iconv_close iconv nl_langinfo
99178 do
99179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99180 echo "$as_me:$LINENO: checking for $ac_func" >&5
99181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99182 if eval "test \"\${$as_ac_var+set}\" = set"; then
99183   echo $ECHO_N "(cached) $ECHO_C" >&6
99184 else
99185   if test x$gcc_no_link = xyes; then
99186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99188    { (exit 1); exit 1; }; }
99189 fi
99190 cat >conftest.$ac_ext <<_ACEOF
99191 /* confdefs.h.  */
99192 _ACEOF
99193 cat confdefs.h >>conftest.$ac_ext
99194 cat >>conftest.$ac_ext <<_ACEOF
99195 /* end confdefs.h.  */
99196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99197    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99198 #define $ac_func innocuous_$ac_func
99199
99200 /* System header to define __stub macros and hopefully few prototypes,
99201     which can conflict with char $ac_func (); below.
99202     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99203     <limits.h> exists even on freestanding compilers.  */
99204
99205 #ifdef __STDC__
99206 # include <limits.h>
99207 #else
99208 # include <assert.h>
99209 #endif
99210
99211 #undef $ac_func
99212
99213 /* Override any gcc2 internal prototype to avoid an error.  */
99214 #ifdef __cplusplus
99215 extern "C"
99216 {
99217 #endif
99218 /* We use char because int might match the return type of a gcc2
99219    builtin and then its argument prototype would still apply.  */
99220 char $ac_func ();
99221 /* The GNU C library defines this for functions which it implements
99222     to always fail with ENOSYS.  Some functions are actually named
99223     something starting with __ and the normal name is an alias.  */
99224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99225 choke me
99226 #else
99227 char (*f) () = $ac_func;
99228 #endif
99229 #ifdef __cplusplus
99230 }
99231 #endif
99232
99233 int
99234 main ()
99235 {
99236 return f != $ac_func;
99237   ;
99238   return 0;
99239 }
99240 _ACEOF
99241 rm -f conftest.$ac_objext conftest$ac_exeext
99242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99243   (eval $ac_link) 2>conftest.er1
99244   ac_status=$?
99245   grep -v '^ *+' conftest.er1 >conftest.err
99246   rm -f conftest.er1
99247   cat conftest.err >&5
99248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99249   (exit $ac_status); } &&
99250          { ac_try='test -z "$ac_c_werror_flag"
99251                          || test ! -s conftest.err'
99252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99253   (eval $ac_try) 2>&5
99254   ac_status=$?
99255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99256   (exit $ac_status); }; } &&
99257          { ac_try='test -s conftest$ac_exeext'
99258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99259   (eval $ac_try) 2>&5
99260   ac_status=$?
99261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99262   (exit $ac_status); }; }; then
99263   eval "$as_ac_var=yes"
99264 else
99265   echo "$as_me: failed program was:" >&5
99266 sed 's/^/| /' conftest.$ac_ext >&5
99267
99268 eval "$as_ac_var=no"
99269 fi
99270 rm -f conftest.err conftest.$ac_objext \
99271       conftest$ac_exeext conftest.$ac_ext
99272 fi
99273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99275 if test `eval echo '${'$as_ac_var'}'` = yes; then
99276   cat >>confdefs.h <<_ACEOF
99277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99278 _ACEOF
99279  ac_XPG2funcs=yes
99280 else
99281   ac_XPG2funcs=no
99282 fi
99283 done
99284
99285
99286     LIBS="$ac_save_LIBS"
99287
99288     if test x"$ac_has_iconv_h" = xyes &&
99289        test x"$ac_has_langinfo_h" = xyes &&
99290        test x"$ac_XPG2funcs" = xyes;
99291     then
99292
99293 cat >>confdefs.h <<\_ACEOF
99294 #define _GLIBCXX_USE_ICONV 1
99295 _ACEOF
99296
99297       enable_iconv=yes
99298     fi
99299   fi
99300   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
99301 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
99302   echo "$as_me:$LINENO: result: $enable_iconv" >&5
99303 echo "${ECHO_T}$enable_iconv" >&6
99304
99305
99306   ac_test_CXXFLAGS="${CXXFLAGS+set}"
99307   ac_save_CXXFLAGS="$CXXFLAGS"
99308   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
99309
99310
99311   echo "$as_me:$LINENO: checking for strtold declaration" >&5
99312 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
99313   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
99314     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
99315   echo $ECHO_N "(cached) $ECHO_C" >&6
99316 else
99317
99318
99319
99320       ac_ext=cc
99321 ac_cpp='$CXXCPP $CPPFLAGS'
99322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99325
99326       cat >conftest.$ac_ext <<_ACEOF
99327 /* confdefs.h.  */
99328 _ACEOF
99329 cat confdefs.h >>conftest.$ac_ext
99330 cat >>conftest.$ac_ext <<_ACEOF
99331 /* end confdefs.h.  */
99332 #include <stdlib.h>
99333 int
99334 main ()
99335 {
99336  strtold(0, 0);
99337   ;
99338   return 0;
99339 }
99340 _ACEOF
99341 rm -f conftest.$ac_objext
99342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99343   (eval $ac_compile) 2>conftest.er1
99344   ac_status=$?
99345   grep -v '^ *+' conftest.er1 >conftest.err
99346   rm -f conftest.er1
99347   cat conftest.err >&5
99348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99349   (exit $ac_status); } &&
99350          { ac_try='test -z "$ac_cxx_werror_flag"
99351                          || test ! -s conftest.err'
99352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99353   (eval $ac_try) 2>&5
99354   ac_status=$?
99355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99356   (exit $ac_status); }; } &&
99357          { ac_try='test -s conftest.$ac_objext'
99358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99359   (eval $ac_try) 2>&5
99360   ac_status=$?
99361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99362   (exit $ac_status); }; }; then
99363   glibcxx_cv_func_strtold_use=yes
99364 else
99365   echo "$as_me: failed program was:" >&5
99366 sed 's/^/| /' conftest.$ac_ext >&5
99367
99368 glibcxx_cv_func_strtold_use=no
99369 fi
99370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99371       ac_ext=c
99372 ac_cpp='$CPP $CPPFLAGS'
99373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99376
99377
99378 fi
99379
99380   fi
99381   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
99382 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
99383   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
99384
99385 for ac_func in strtold
99386 do
99387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99388 echo "$as_me:$LINENO: checking for $ac_func" >&5
99389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99390 if eval "test \"\${$as_ac_var+set}\" = set"; then
99391   echo $ECHO_N "(cached) $ECHO_C" >&6
99392 else
99393   if test x$gcc_no_link = xyes; then
99394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99396    { (exit 1); exit 1; }; }
99397 fi
99398 cat >conftest.$ac_ext <<_ACEOF
99399 /* confdefs.h.  */
99400 _ACEOF
99401 cat confdefs.h >>conftest.$ac_ext
99402 cat >>conftest.$ac_ext <<_ACEOF
99403 /* end confdefs.h.  */
99404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99406 #define $ac_func innocuous_$ac_func
99407
99408 /* System header to define __stub macros and hopefully few prototypes,
99409     which can conflict with char $ac_func (); below.
99410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99411     <limits.h> exists even on freestanding compilers.  */
99412
99413 #ifdef __STDC__
99414 # include <limits.h>
99415 #else
99416 # include <assert.h>
99417 #endif
99418
99419 #undef $ac_func
99420
99421 /* Override any gcc2 internal prototype to avoid an error.  */
99422 #ifdef __cplusplus
99423 extern "C"
99424 {
99425 #endif
99426 /* We use char because int might match the return type of a gcc2
99427    builtin and then its argument prototype would still apply.  */
99428 char $ac_func ();
99429 /* The GNU C library defines this for functions which it implements
99430     to always fail with ENOSYS.  Some functions are actually named
99431     something starting with __ and the normal name is an alias.  */
99432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99433 choke me
99434 #else
99435 char (*f) () = $ac_func;
99436 #endif
99437 #ifdef __cplusplus
99438 }
99439 #endif
99440
99441 int
99442 main ()
99443 {
99444 return f != $ac_func;
99445   ;
99446   return 0;
99447 }
99448 _ACEOF
99449 rm -f conftest.$ac_objext conftest$ac_exeext
99450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99451   (eval $ac_link) 2>conftest.er1
99452   ac_status=$?
99453   grep -v '^ *+' conftest.er1 >conftest.err
99454   rm -f conftest.er1
99455   cat conftest.err >&5
99456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99457   (exit $ac_status); } &&
99458          { ac_try='test -z "$ac_c_werror_flag"
99459                          || test ! -s conftest.err'
99460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99461   (eval $ac_try) 2>&5
99462   ac_status=$?
99463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99464   (exit $ac_status); }; } &&
99465          { ac_try='test -s conftest$ac_exeext'
99466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99467   (eval $ac_try) 2>&5
99468   ac_status=$?
99469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99470   (exit $ac_status); }; }; then
99471   eval "$as_ac_var=yes"
99472 else
99473   echo "$as_me: failed program was:" >&5
99474 sed 's/^/| /' conftest.$ac_ext >&5
99475
99476 eval "$as_ac_var=no"
99477 fi
99478 rm -f conftest.err conftest.$ac_objext \
99479       conftest$ac_exeext conftest.$ac_ext
99480 fi
99481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99483 if test `eval echo '${'$as_ac_var'}'` = yes; then
99484   cat >>confdefs.h <<_ACEOF
99485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99486 _ACEOF
99487
99488 fi
99489 done
99490
99491   fi
99492
99493
99494
99495
99496
99497   echo "$as_me:$LINENO: checking for strtof declaration" >&5
99498 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
99499   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
99500     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
99501   echo $ECHO_N "(cached) $ECHO_C" >&6
99502 else
99503
99504
99505
99506       ac_ext=cc
99507 ac_cpp='$CXXCPP $CPPFLAGS'
99508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99511
99512       cat >conftest.$ac_ext <<_ACEOF
99513 /* confdefs.h.  */
99514 _ACEOF
99515 cat confdefs.h >>conftest.$ac_ext
99516 cat >>conftest.$ac_ext <<_ACEOF
99517 /* end confdefs.h.  */
99518 #include <stdlib.h>
99519 int
99520 main ()
99521 {
99522  strtof(0, 0);
99523   ;
99524   return 0;
99525 }
99526 _ACEOF
99527 rm -f conftest.$ac_objext
99528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99529   (eval $ac_compile) 2>conftest.er1
99530   ac_status=$?
99531   grep -v '^ *+' conftest.er1 >conftest.err
99532   rm -f conftest.er1
99533   cat conftest.err >&5
99534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99535   (exit $ac_status); } &&
99536          { ac_try='test -z "$ac_cxx_werror_flag"
99537                          || test ! -s conftest.err'
99538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99539   (eval $ac_try) 2>&5
99540   ac_status=$?
99541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99542   (exit $ac_status); }; } &&
99543          { ac_try='test -s conftest.$ac_objext'
99544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99545   (eval $ac_try) 2>&5
99546   ac_status=$?
99547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99548   (exit $ac_status); }; }; then
99549   glibcxx_cv_func_strtof_use=yes
99550 else
99551   echo "$as_me: failed program was:" >&5
99552 sed 's/^/| /' conftest.$ac_ext >&5
99553
99554 glibcxx_cv_func_strtof_use=no
99555 fi
99556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99557       ac_ext=c
99558 ac_cpp='$CPP $CPPFLAGS'
99559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99562
99563
99564 fi
99565
99566   fi
99567   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
99568 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
99569   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
99570
99571 for ac_func in strtof
99572 do
99573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99574 echo "$as_me:$LINENO: checking for $ac_func" >&5
99575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99576 if eval "test \"\${$as_ac_var+set}\" = set"; then
99577   echo $ECHO_N "(cached) $ECHO_C" >&6
99578 else
99579   if test x$gcc_no_link = xyes; then
99580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99582    { (exit 1); exit 1; }; }
99583 fi
99584 cat >conftest.$ac_ext <<_ACEOF
99585 /* confdefs.h.  */
99586 _ACEOF
99587 cat confdefs.h >>conftest.$ac_ext
99588 cat >>conftest.$ac_ext <<_ACEOF
99589 /* end confdefs.h.  */
99590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99592 #define $ac_func innocuous_$ac_func
99593
99594 /* System header to define __stub macros and hopefully few prototypes,
99595     which can conflict with char $ac_func (); below.
99596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99597     <limits.h> exists even on freestanding compilers.  */
99598
99599 #ifdef __STDC__
99600 # include <limits.h>
99601 #else
99602 # include <assert.h>
99603 #endif
99604
99605 #undef $ac_func
99606
99607 /* Override any gcc2 internal prototype to avoid an error.  */
99608 #ifdef __cplusplus
99609 extern "C"
99610 {
99611 #endif
99612 /* We use char because int might match the return type of a gcc2
99613    builtin and then its argument prototype would still apply.  */
99614 char $ac_func ();
99615 /* The GNU C library defines this for functions which it implements
99616     to always fail with ENOSYS.  Some functions are actually named
99617     something starting with __ and the normal name is an alias.  */
99618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99619 choke me
99620 #else
99621 char (*f) () = $ac_func;
99622 #endif
99623 #ifdef __cplusplus
99624 }
99625 #endif
99626
99627 int
99628 main ()
99629 {
99630 return f != $ac_func;
99631   ;
99632   return 0;
99633 }
99634 _ACEOF
99635 rm -f conftest.$ac_objext conftest$ac_exeext
99636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99637   (eval $ac_link) 2>conftest.er1
99638   ac_status=$?
99639   grep -v '^ *+' conftest.er1 >conftest.err
99640   rm -f conftest.er1
99641   cat conftest.err >&5
99642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99643   (exit $ac_status); } &&
99644          { ac_try='test -z "$ac_c_werror_flag"
99645                          || test ! -s conftest.err'
99646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99647   (eval $ac_try) 2>&5
99648   ac_status=$?
99649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99650   (exit $ac_status); }; } &&
99651          { ac_try='test -s conftest$ac_exeext'
99652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99653   (eval $ac_try) 2>&5
99654   ac_status=$?
99655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99656   (exit $ac_status); }; }; then
99657   eval "$as_ac_var=yes"
99658 else
99659   echo "$as_me: failed program was:" >&5
99660 sed 's/^/| /' conftest.$ac_ext >&5
99661
99662 eval "$as_ac_var=no"
99663 fi
99664 rm -f conftest.err conftest.$ac_objext \
99665       conftest$ac_exeext conftest.$ac_ext
99666 fi
99667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99669 if test `eval echo '${'$as_ac_var'}'` = yes; then
99670   cat >>confdefs.h <<_ACEOF
99671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99672 _ACEOF
99673
99674 fi
99675 done
99676
99677   fi
99678
99679
99680
99681
99682
99683   CXXFLAGS="$ac_save_CXXFLAGS"
99684
99685
99686     # For LFS.
99687     cat >>confdefs.h <<\_ACEOF
99688 #define HAVE_INT64_T 1
99689 _ACEOF
99690
99691
99692
99693
99694   ac_ext=cc
99695 ac_cpp='$CXXCPP $CPPFLAGS'
99696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99699
99700   ac_save_CXXFLAGS="$CXXFLAGS"
99701   CXXFLAGS="$CXXFLAGS -fno-exceptions"
99702   echo "$as_me:$LINENO: checking for LFS support" >&5
99703 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
99704   if test "${glibcxx_cv_LFS+set}" = set; then
99705   echo $ECHO_N "(cached) $ECHO_C" >&6
99706 else
99707
99708     if test x$gcc_no_link = xyes; then
99709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99711    { (exit 1); exit 1; }; }
99712 fi
99713 cat >conftest.$ac_ext <<_ACEOF
99714 /* confdefs.h.  */
99715 _ACEOF
99716 cat confdefs.h >>conftest.$ac_ext
99717 cat >>conftest.$ac_ext <<_ACEOF
99718 /* end confdefs.h.  */
99719 #include <unistd.h>
99720        #include <stdio.h>
99721        #include <sys/stat.h>
99722
99723 int
99724 main ()
99725 {
99726 FILE* fp;
99727        fopen64("t", "w");
99728        fseeko64(fp, 0, SEEK_CUR);
99729        ftello64(fp);
99730        lseek64(1, 0, SEEK_CUR);
99731        struct stat64 buf;
99732        fstat64(1, &buf);
99733   ;
99734   return 0;
99735 }
99736 _ACEOF
99737 rm -f conftest.$ac_objext conftest$ac_exeext
99738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99739   (eval $ac_link) 2>conftest.er1
99740   ac_status=$?
99741   grep -v '^ *+' conftest.er1 >conftest.err
99742   rm -f conftest.er1
99743   cat conftest.err >&5
99744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99745   (exit $ac_status); } &&
99746          { ac_try='test -z "$ac_cxx_werror_flag"
99747                          || test ! -s conftest.err'
99748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99749   (eval $ac_try) 2>&5
99750   ac_status=$?
99751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99752   (exit $ac_status); }; } &&
99753          { ac_try='test -s conftest$ac_exeext'
99754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99755   (eval $ac_try) 2>&5
99756   ac_status=$?
99757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99758   (exit $ac_status); }; }; then
99759   glibcxx_cv_LFS=yes
99760 else
99761   echo "$as_me: failed program was:" >&5
99762 sed 's/^/| /' conftest.$ac_ext >&5
99763
99764 glibcxx_cv_LFS=no
99765 fi
99766 rm -f conftest.err conftest.$ac_objext \
99767       conftest$ac_exeext conftest.$ac_ext
99768
99769 fi
99770
99771   if test $glibcxx_cv_LFS = yes; then
99772
99773 cat >>confdefs.h <<\_ACEOF
99774 #define _GLIBCXX_USE_LFS 1
99775 _ACEOF
99776
99777   fi
99778   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
99779 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
99780   CXXFLAGS="$ac_save_CXXFLAGS"
99781   ac_ext=c
99782 ac_cpp='$CPP $CPPFLAGS'
99783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99786
99787
99788
99789     # For showmanyc_helper().
99790
99791
99792 for ac_header in sys/ioctl.h sys/filio.h
99793 do
99794 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99796   echo "$as_me:$LINENO: checking for $ac_header" >&5
99797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99799   echo $ECHO_N "(cached) $ECHO_C" >&6
99800 fi
99801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99803 else
99804   # Is the header compilable?
99805 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99807 cat >conftest.$ac_ext <<_ACEOF
99808 /* confdefs.h.  */
99809 _ACEOF
99810 cat confdefs.h >>conftest.$ac_ext
99811 cat >>conftest.$ac_ext <<_ACEOF
99812 /* end confdefs.h.  */
99813 $ac_includes_default
99814 #include <$ac_header>
99815 _ACEOF
99816 rm -f conftest.$ac_objext
99817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99818   (eval $ac_compile) 2>conftest.er1
99819   ac_status=$?
99820   grep -v '^ *+' conftest.er1 >conftest.err
99821   rm -f conftest.er1
99822   cat conftest.err >&5
99823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99824   (exit $ac_status); } &&
99825          { ac_try='test -z "$ac_c_werror_flag"
99826                          || test ! -s conftest.err'
99827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99828   (eval $ac_try) 2>&5
99829   ac_status=$?
99830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99831   (exit $ac_status); }; } &&
99832          { ac_try='test -s conftest.$ac_objext'
99833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99834   (eval $ac_try) 2>&5
99835   ac_status=$?
99836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99837   (exit $ac_status); }; }; then
99838   ac_header_compiler=yes
99839 else
99840   echo "$as_me: failed program was:" >&5
99841 sed 's/^/| /' conftest.$ac_ext >&5
99842
99843 ac_header_compiler=no
99844 fi
99845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99846 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99847 echo "${ECHO_T}$ac_header_compiler" >&6
99848
99849 # Is the header present?
99850 echo "$as_me:$LINENO: checking $ac_header presence" >&5
99851 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
99852 cat >conftest.$ac_ext <<_ACEOF
99853 /* confdefs.h.  */
99854 _ACEOF
99855 cat confdefs.h >>conftest.$ac_ext
99856 cat >>conftest.$ac_ext <<_ACEOF
99857 /* end confdefs.h.  */
99858 #include <$ac_header>
99859 _ACEOF
99860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99861   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99862   ac_status=$?
99863   grep -v '^ *+' conftest.er1 >conftest.err
99864   rm -f conftest.er1
99865   cat conftest.err >&5
99866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99867   (exit $ac_status); } >/dev/null; then
99868   if test -s conftest.err; then
99869     ac_cpp_err=$ac_c_preproc_warn_flag
99870     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99871   else
99872     ac_cpp_err=
99873   fi
99874 else
99875   ac_cpp_err=yes
99876 fi
99877 if test -z "$ac_cpp_err"; then
99878   ac_header_preproc=yes
99879 else
99880   echo "$as_me: failed program was:" >&5
99881 sed 's/^/| /' conftest.$ac_ext >&5
99882
99883   ac_header_preproc=no
99884 fi
99885 rm -f conftest.err conftest.$ac_ext
99886 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99887 echo "${ECHO_T}$ac_header_preproc" >&6
99888
99889 # So?  What about this header?
99890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99891   yes:no: )
99892     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
99893 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
99894     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
99895 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
99896     ac_header_preproc=yes
99897     ;;
99898   no:yes:* )
99899     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
99900 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
99901     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
99902 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
99903     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
99904 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
99905     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
99906 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
99907     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
99908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
99909     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
99910 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
99911     (
99912       cat <<\_ASBOX
99913 ## ----------------------------------------- ##
99914 ## Report this to the package-unused lists.  ##
99915 ## ----------------------------------------- ##
99916 _ASBOX
99917     ) |
99918       sed "s/^/$as_me: WARNING:     /" >&2
99919     ;;
99920 esac
99921 echo "$as_me:$LINENO: checking for $ac_header" >&5
99922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99924   echo $ECHO_N "(cached) $ECHO_C" >&6
99925 else
99926   eval "$as_ac_Header=\$ac_header_preproc"
99927 fi
99928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99930
99931 fi
99932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
99933   cat >>confdefs.h <<_ACEOF
99934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
99935 _ACEOF
99936
99937 fi
99938
99939 done
99940
99941
99942   echo "$as_me:$LINENO: checking for poll" >&5
99943 echo $ECHO_N "checking for poll... $ECHO_C" >&6
99944   if test "${glibcxx_cv_POLL+set}" = set; then
99945   echo $ECHO_N "(cached) $ECHO_C" >&6
99946 else
99947
99948     if test x$gcc_no_link = xyes; then
99949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99951    { (exit 1); exit 1; }; }
99952 fi
99953 cat >conftest.$ac_ext <<_ACEOF
99954 /* confdefs.h.  */
99955 _ACEOF
99956 cat confdefs.h >>conftest.$ac_ext
99957 cat >>conftest.$ac_ext <<_ACEOF
99958 /* end confdefs.h.  */
99959 #include <poll.h>
99960 int
99961 main ()
99962 {
99963 struct pollfd pfd[1];
99964        pfd[0].events = POLLIN;
99965        poll(pfd, 1, 0);
99966   ;
99967   return 0;
99968 }
99969 _ACEOF
99970 rm -f conftest.$ac_objext conftest$ac_exeext
99971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99972   (eval $ac_link) 2>conftest.er1
99973   ac_status=$?
99974   grep -v '^ *+' conftest.er1 >conftest.err
99975   rm -f conftest.er1
99976   cat conftest.err >&5
99977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99978   (exit $ac_status); } &&
99979          { ac_try='test -z "$ac_c_werror_flag"
99980                          || test ! -s conftest.err'
99981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99982   (eval $ac_try) 2>&5
99983   ac_status=$?
99984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99985   (exit $ac_status); }; } &&
99986          { ac_try='test -s conftest$ac_exeext'
99987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99988   (eval $ac_try) 2>&5
99989   ac_status=$?
99990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99991   (exit $ac_status); }; }; then
99992   glibcxx_cv_POLL=yes
99993 else
99994   echo "$as_me: failed program was:" >&5
99995 sed 's/^/| /' conftest.$ac_ext >&5
99996
99997 glibcxx_cv_POLL=no
99998 fi
99999 rm -f conftest.err conftest.$ac_objext \
100000       conftest$ac_exeext conftest.$ac_ext
100001
100002 fi
100003
100004   if test $glibcxx_cv_POLL = yes; then
100005
100006 cat >>confdefs.h <<\_ACEOF
100007 #define HAVE_POLL 1
100008 _ACEOF
100009
100010   fi
100011   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
100012 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
100013
100014
100015   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
100016 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
100017   if test "${glibcxx_cv_S_ISREG+set}" = set; then
100018   echo $ECHO_N "(cached) $ECHO_C" >&6
100019 else
100020
100021     if test x$gcc_no_link = xyes; then
100022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100024    { (exit 1); exit 1; }; }
100025 fi
100026 cat >conftest.$ac_ext <<_ACEOF
100027 /* confdefs.h.  */
100028 _ACEOF
100029 cat confdefs.h >>conftest.$ac_ext
100030 cat >>conftest.$ac_ext <<_ACEOF
100031 /* end confdefs.h.  */
100032 #include <sys/stat.h>
100033 int
100034 main ()
100035 {
100036 struct stat buffer;
100037        fstat(0, &buffer);
100038        S_ISREG(buffer.st_mode);
100039   ;
100040   return 0;
100041 }
100042 _ACEOF
100043 rm -f conftest.$ac_objext conftest$ac_exeext
100044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100045   (eval $ac_link) 2>conftest.er1
100046   ac_status=$?
100047   grep -v '^ *+' conftest.er1 >conftest.err
100048   rm -f conftest.er1
100049   cat conftest.err >&5
100050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100051   (exit $ac_status); } &&
100052          { ac_try='test -z "$ac_c_werror_flag"
100053                          || test ! -s conftest.err'
100054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100055   (eval $ac_try) 2>&5
100056   ac_status=$?
100057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100058   (exit $ac_status); }; } &&
100059          { ac_try='test -s conftest$ac_exeext'
100060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100061   (eval $ac_try) 2>&5
100062   ac_status=$?
100063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100064   (exit $ac_status); }; }; then
100065   glibcxx_cv_S_ISREG=yes
100066 else
100067   echo "$as_me: failed program was:" >&5
100068 sed 's/^/| /' conftest.$ac_ext >&5
100069
100070 glibcxx_cv_S_ISREG=no
100071 fi
100072 rm -f conftest.err conftest.$ac_objext \
100073       conftest$ac_exeext conftest.$ac_ext
100074
100075 fi
100076
100077   if test "${glibcxx_cv_S_IFREG+set}" = set; then
100078   echo $ECHO_N "(cached) $ECHO_C" >&6
100079 else
100080
100081     if test x$gcc_no_link = xyes; then
100082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100084    { (exit 1); exit 1; }; }
100085 fi
100086 cat >conftest.$ac_ext <<_ACEOF
100087 /* confdefs.h.  */
100088 _ACEOF
100089 cat confdefs.h >>conftest.$ac_ext
100090 cat >>conftest.$ac_ext <<_ACEOF
100091 /* end confdefs.h.  */
100092 #include <sys/stat.h>
100093 int
100094 main ()
100095 {
100096 struct stat buffer;
100097        fstat(0, &buffer);
100098        S_IFREG & buffer.st_mode;
100099   ;
100100   return 0;
100101 }
100102 _ACEOF
100103 rm -f conftest.$ac_objext conftest$ac_exeext
100104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100105   (eval $ac_link) 2>conftest.er1
100106   ac_status=$?
100107   grep -v '^ *+' conftest.er1 >conftest.err
100108   rm -f conftest.er1
100109   cat conftest.err >&5
100110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100111   (exit $ac_status); } &&
100112          { ac_try='test -z "$ac_c_werror_flag"
100113                          || test ! -s conftest.err'
100114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100115   (eval $ac_try) 2>&5
100116   ac_status=$?
100117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100118   (exit $ac_status); }; } &&
100119          { ac_try='test -s conftest$ac_exeext'
100120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100121   (eval $ac_try) 2>&5
100122   ac_status=$?
100123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100124   (exit $ac_status); }; }; then
100125   glibcxx_cv_S_IFREG=yes
100126 else
100127   echo "$as_me: failed program was:" >&5
100128 sed 's/^/| /' conftest.$ac_ext >&5
100129
100130 glibcxx_cv_S_IFREG=no
100131 fi
100132 rm -f conftest.err conftest.$ac_objext \
100133       conftest$ac_exeext conftest.$ac_ext
100134
100135 fi
100136
100137   res=no
100138   if test $glibcxx_cv_S_ISREG = yes; then
100139
100140 cat >>confdefs.h <<\_ACEOF
100141 #define HAVE_S_ISREG 1
100142 _ACEOF
100143
100144     res=S_ISREG
100145   elif test $glibcxx_cv_S_IFREG = yes; then
100146
100147 cat >>confdefs.h <<\_ACEOF
100148 #define HAVE_S_IFREG 1
100149 _ACEOF
100150
100151     res=S_IFREG
100152   fi
100153   echo "$as_me:$LINENO: result: $res" >&5
100154 echo "${ECHO_T}$res" >&6
100155
100156
100157     # For xsputn_2().
100158
100159 for ac_header in sys/uio.h
100160 do
100161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100163   echo "$as_me:$LINENO: checking for $ac_header" >&5
100164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100166   echo $ECHO_N "(cached) $ECHO_C" >&6
100167 fi
100168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100170 else
100171   # Is the header compilable?
100172 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100174 cat >conftest.$ac_ext <<_ACEOF
100175 /* confdefs.h.  */
100176 _ACEOF
100177 cat confdefs.h >>conftest.$ac_ext
100178 cat >>conftest.$ac_ext <<_ACEOF
100179 /* end confdefs.h.  */
100180 $ac_includes_default
100181 #include <$ac_header>
100182 _ACEOF
100183 rm -f conftest.$ac_objext
100184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100185   (eval $ac_compile) 2>conftest.er1
100186   ac_status=$?
100187   grep -v '^ *+' conftest.er1 >conftest.err
100188   rm -f conftest.er1
100189   cat conftest.err >&5
100190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100191   (exit $ac_status); } &&
100192          { ac_try='test -z "$ac_c_werror_flag"
100193                          || test ! -s conftest.err'
100194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100195   (eval $ac_try) 2>&5
100196   ac_status=$?
100197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100198   (exit $ac_status); }; } &&
100199          { ac_try='test -s conftest.$ac_objext'
100200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100201   (eval $ac_try) 2>&5
100202   ac_status=$?
100203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100204   (exit $ac_status); }; }; then
100205   ac_header_compiler=yes
100206 else
100207   echo "$as_me: failed program was:" >&5
100208 sed 's/^/| /' conftest.$ac_ext >&5
100209
100210 ac_header_compiler=no
100211 fi
100212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100214 echo "${ECHO_T}$ac_header_compiler" >&6
100215
100216 # Is the header present?
100217 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100218 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100219 cat >conftest.$ac_ext <<_ACEOF
100220 /* confdefs.h.  */
100221 _ACEOF
100222 cat confdefs.h >>conftest.$ac_ext
100223 cat >>conftest.$ac_ext <<_ACEOF
100224 /* end confdefs.h.  */
100225 #include <$ac_header>
100226 _ACEOF
100227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100228   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100229   ac_status=$?
100230   grep -v '^ *+' conftest.er1 >conftest.err
100231   rm -f conftest.er1
100232   cat conftest.err >&5
100233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100234   (exit $ac_status); } >/dev/null; then
100235   if test -s conftest.err; then
100236     ac_cpp_err=$ac_c_preproc_warn_flag
100237     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100238   else
100239     ac_cpp_err=
100240   fi
100241 else
100242   ac_cpp_err=yes
100243 fi
100244 if test -z "$ac_cpp_err"; then
100245   ac_header_preproc=yes
100246 else
100247   echo "$as_me: failed program was:" >&5
100248 sed 's/^/| /' conftest.$ac_ext >&5
100249
100250   ac_header_preproc=no
100251 fi
100252 rm -f conftest.err conftest.$ac_ext
100253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100254 echo "${ECHO_T}$ac_header_preproc" >&6
100255
100256 # So?  What about this header?
100257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100258   yes:no: )
100259     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100261     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100262 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100263     ac_header_preproc=yes
100264     ;;
100265   no:yes:* )
100266     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100268     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
100269 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
100270     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100271 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100272     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
100273 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
100274     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100276     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100277 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100278     (
100279       cat <<\_ASBOX
100280 ## ----------------------------------------- ##
100281 ## Report this to the package-unused lists.  ##
100282 ## ----------------------------------------- ##
100283 _ASBOX
100284     ) |
100285       sed "s/^/$as_me: WARNING:     /" >&2
100286     ;;
100287 esac
100288 echo "$as_me:$LINENO: checking for $ac_header" >&5
100289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100291   echo $ECHO_N "(cached) $ECHO_C" >&6
100292 else
100293   eval "$as_ac_Header=\$ac_header_preproc"
100294 fi
100295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100297
100298 fi
100299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100300   cat >>confdefs.h <<_ACEOF
100301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100302 _ACEOF
100303
100304 fi
100305
100306 done
100307
100308
100309   echo "$as_me:$LINENO: checking for writev" >&5
100310 echo $ECHO_N "checking for writev... $ECHO_C" >&6
100311   if test "${glibcxx_cv_WRITEV+set}" = set; then
100312   echo $ECHO_N "(cached) $ECHO_C" >&6
100313 else
100314
100315     if test x$gcc_no_link = xyes; then
100316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100318    { (exit 1); exit 1; }; }
100319 fi
100320 cat >conftest.$ac_ext <<_ACEOF
100321 /* confdefs.h.  */
100322 _ACEOF
100323 cat confdefs.h >>conftest.$ac_ext
100324 cat >>conftest.$ac_ext <<_ACEOF
100325 /* end confdefs.h.  */
100326 #include <sys/uio.h>
100327 int
100328 main ()
100329 {
100330 struct iovec iov[2];
100331        writev(0, iov, 0);
100332   ;
100333   return 0;
100334 }
100335 _ACEOF
100336 rm -f conftest.$ac_objext conftest$ac_exeext
100337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100338   (eval $ac_link) 2>conftest.er1
100339   ac_status=$?
100340   grep -v '^ *+' conftest.er1 >conftest.err
100341   rm -f conftest.er1
100342   cat conftest.err >&5
100343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100344   (exit $ac_status); } &&
100345          { ac_try='test -z "$ac_c_werror_flag"
100346                          || test ! -s conftest.err'
100347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100348   (eval $ac_try) 2>&5
100349   ac_status=$?
100350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100351   (exit $ac_status); }; } &&
100352          { ac_try='test -s conftest$ac_exeext'
100353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100354   (eval $ac_try) 2>&5
100355   ac_status=$?
100356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100357   (exit $ac_status); }; }; then
100358   glibcxx_cv_WRITEV=yes
100359 else
100360   echo "$as_me: failed program was:" >&5
100361 sed 's/^/| /' conftest.$ac_ext >&5
100362
100363 glibcxx_cv_WRITEV=no
100364 fi
100365 rm -f conftest.err conftest.$ac_objext \
100366       conftest$ac_exeext conftest.$ac_ext
100367
100368 fi
100369
100370   if test $glibcxx_cv_WRITEV = yes; then
100371
100372 cat >>confdefs.h <<\_ACEOF
100373 #define HAVE_WRITEV 1
100374 _ACEOF
100375
100376   fi
100377   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
100378 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
100379
100380     ;;
100381   *-mingw32*)
100382
100383
100384
100385 for ac_header in sys/types.h locale.h float.h
100386 do
100387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100389   echo "$as_me:$LINENO: checking for $ac_header" >&5
100390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100392   echo $ECHO_N "(cached) $ECHO_C" >&6
100393 fi
100394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100396 else
100397   # Is the header compilable?
100398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100400 cat >conftest.$ac_ext <<_ACEOF
100401 /* confdefs.h.  */
100402 _ACEOF
100403 cat confdefs.h >>conftest.$ac_ext
100404 cat >>conftest.$ac_ext <<_ACEOF
100405 /* end confdefs.h.  */
100406 $ac_includes_default
100407 #include <$ac_header>
100408 _ACEOF
100409 rm -f conftest.$ac_objext
100410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100411   (eval $ac_compile) 2>conftest.er1
100412   ac_status=$?
100413   grep -v '^ *+' conftest.er1 >conftest.err
100414   rm -f conftest.er1
100415   cat conftest.err >&5
100416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100417   (exit $ac_status); } &&
100418          { ac_try='test -z "$ac_c_werror_flag"
100419                          || test ! -s conftest.err'
100420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100421   (eval $ac_try) 2>&5
100422   ac_status=$?
100423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100424   (exit $ac_status); }; } &&
100425          { ac_try='test -s conftest.$ac_objext'
100426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100427   (eval $ac_try) 2>&5
100428   ac_status=$?
100429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100430   (exit $ac_status); }; }; then
100431   ac_header_compiler=yes
100432 else
100433   echo "$as_me: failed program was:" >&5
100434 sed 's/^/| /' conftest.$ac_ext >&5
100435
100436 ac_header_compiler=no
100437 fi
100438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100440 echo "${ECHO_T}$ac_header_compiler" >&6
100441
100442 # Is the header present?
100443 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100444 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100445 cat >conftest.$ac_ext <<_ACEOF
100446 /* confdefs.h.  */
100447 _ACEOF
100448 cat confdefs.h >>conftest.$ac_ext
100449 cat >>conftest.$ac_ext <<_ACEOF
100450 /* end confdefs.h.  */
100451 #include <$ac_header>
100452 _ACEOF
100453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100454   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100455   ac_status=$?
100456   grep -v '^ *+' conftest.er1 >conftest.err
100457   rm -f conftest.er1
100458   cat conftest.err >&5
100459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100460   (exit $ac_status); } >/dev/null; then
100461   if test -s conftest.err; then
100462     ac_cpp_err=$ac_c_preproc_warn_flag
100463     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100464   else
100465     ac_cpp_err=
100466   fi
100467 else
100468   ac_cpp_err=yes
100469 fi
100470 if test -z "$ac_cpp_err"; then
100471   ac_header_preproc=yes
100472 else
100473   echo "$as_me: failed program was:" >&5
100474 sed 's/^/| /' conftest.$ac_ext >&5
100475
100476   ac_header_preproc=no
100477 fi
100478 rm -f conftest.err conftest.$ac_ext
100479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100480 echo "${ECHO_T}$ac_header_preproc" >&6
100481
100482 # So?  What about this header?
100483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100484   yes:no: )
100485     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100486 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100487     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100488 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100489     ac_header_preproc=yes
100490     ;;
100491   no:yes:* )
100492     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100493 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100494     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
100495 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
100496     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100497 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100498     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
100499 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
100500     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100502     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100503 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100504     (
100505       cat <<\_ASBOX
100506 ## ----------------------------------------- ##
100507 ## Report this to the package-unused lists.  ##
100508 ## ----------------------------------------- ##
100509 _ASBOX
100510     ) |
100511       sed "s/^/$as_me: WARNING:     /" >&2
100512     ;;
100513 esac
100514 echo "$as_me:$LINENO: checking for $ac_header" >&5
100515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100517   echo $ECHO_N "(cached) $ECHO_C" >&6
100518 else
100519   eval "$as_ac_Header=\$ac_header_preproc"
100520 fi
100521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100523
100524 fi
100525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100526   cat >>confdefs.h <<_ACEOF
100527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100528 _ACEOF
100529
100530 fi
100531
100532 done
100533
100534
100535   # If we're not using GNU ld, then there's no point in even trying these
100536   # tests.  Check for that first.  We should have already tested for gld
100537   # by now (in libtool), but require it now just to be safe...
100538   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100539   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100540
100541
100542
100543   # The name set by libtool depends on the version of libtool.  Shame on us
100544   # for depending on an impl detail, but c'est la vie.  Older versions used
100545   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100546   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100547   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
100548   # set (hence we're using an older libtool), then set it.
100549   if test x${with_gnu_ld+set} != xset; then
100550     if test x${ac_cv_prog_gnu_ld+set} != xset; then
100551       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
100552       with_gnu_ld=no
100553     else
100554       with_gnu_ld=$ac_cv_prog_gnu_ld
100555     fi
100556   fi
100557
100558   # Start by getting the version number.  I think the libtool test already
100559   # does some of this, but throws away the result.
100560   if test x"$with_gnu_ld" = x"yes"; then
100561     echo "$as_me:$LINENO: checking for ld version" >&5
100562 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100563
100564     ldver=`$LD --version 2>/dev/null | head -1 | \
100565            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
100566
100567     glibcxx_gnu_ld_version=`echo $ldver | \
100568            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100569     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100570 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100571   fi
100572
100573   # Set --gc-sections.
100574   glibcxx_gcsections_min_ld=21602
100575   if test x"$with_gnu_ld" = x"yes" &&
100576         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100577
100578     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
100579     # NB: This flag only works reliably after 2.16.1. Configure tests
100580     # for this are difficult, so hard wire a value that should work.
100581
100582     # All these tests are for C++, but run with the "C" compiler driver.
100583     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
100584     ac_test_CFLAGS="${CFLAGS+set}"
100585     ac_save_CFLAGS="$CFLAGS"
100586     CFLAGS='-x c++ -Wl,--gc-sections'
100587
100588     # Check for -Wl,--gc-sections
100589     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100590 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100591     if test x$gcc_no_link = xyes; then
100592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100594    { (exit 1); exit 1; }; }
100595 fi
100596 cat >conftest.$ac_ext <<_ACEOF
100597 /* confdefs.h.  */
100598 _ACEOF
100599 cat confdefs.h >>conftest.$ac_ext
100600 cat >>conftest.$ac_ext <<_ACEOF
100601 /* end confdefs.h.  */
100602  int one(void) { return 1; }
100603      int two(void) { return 2; }
100604
100605 int
100606 main ()
100607 {
100608  two();
100609   ;
100610   return 0;
100611 }
100612 _ACEOF
100613 rm -f conftest.$ac_objext conftest$ac_exeext
100614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100615   (eval $ac_link) 2>conftest.er1
100616   ac_status=$?
100617   grep -v '^ *+' conftest.er1 >conftest.err
100618   rm -f conftest.er1
100619   cat conftest.err >&5
100620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100621   (exit $ac_status); } &&
100622          { ac_try='test -z "$ac_c_werror_flag"
100623                          || test ! -s conftest.err'
100624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100625   (eval $ac_try) 2>&5
100626   ac_status=$?
100627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100628   (exit $ac_status); }; } &&
100629          { ac_try='test -s conftest$ac_exeext'
100630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100631   (eval $ac_try) 2>&5
100632   ac_status=$?
100633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100634   (exit $ac_status); }; }; then
100635   ac_gcsections=yes
100636 else
100637   echo "$as_me: failed program was:" >&5
100638 sed 's/^/| /' conftest.$ac_ext >&5
100639
100640 ac_gcsections=no
100641 fi
100642 rm -f conftest.err conftest.$ac_objext \
100643       conftest$ac_exeext conftest.$ac_ext
100644     if test "$ac_gcsections" = "yes"; then
100645       rm -f conftest.c
100646       touch conftest.c
100647       if $CC -c conftest.c; then
100648         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100649            grep "Warning: gc-sections option ignored" > /dev/null; then
100650           ac_gcsections=no
100651         fi
100652       fi
100653       rm -f conftest.c conftest.o conftest
100654     fi
100655     if test "$ac_gcsections" = "yes"; then
100656       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100657     fi
100658     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100659 echo "${ECHO_T}$ac_gcsections" >&6
100660
100661     if test "$ac_test_CFLAGS" = set; then
100662       CFLAGS="$ac_save_CFLAGS"
100663     else
100664       # this is the suspicious part
100665       CFLAGS=''
100666     fi
100667   fi
100668
100669   # Set -z,relro.
100670   # Note this is only for shared objects.
100671   ac_ld_relro=no
100672   if test x"$with_gnu_ld" = x"yes"; then
100673     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100674 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100675     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100676     if test -n "$cxx_z_relo"; then
100677       OPT_LDFLAGS="-Wl,-z,relro"
100678       ac_ld_relro=yes
100679     fi
100680     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100681 echo "${ECHO_T}$ac_ld_relro" >&6
100682   fi
100683
100684   # Set linker optimization flags.
100685   if test x"$with_gnu_ld" = x"yes"; then
100686     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100687   fi
100688
100689
100690
100691
100692
100693
100694 echo "$as_me:$LINENO: checking for main in -lm" >&5
100695 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100696 if test "${ac_cv_lib_m_main+set}" = set; then
100697   echo $ECHO_N "(cached) $ECHO_C" >&6
100698 else
100699   ac_check_lib_save_LIBS=$LIBS
100700 LIBS="-lm  $LIBS"
100701 if test x$gcc_no_link = xyes; then
100702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100704    { (exit 1); exit 1; }; }
100705 fi
100706 cat >conftest.$ac_ext <<_ACEOF
100707 /* confdefs.h.  */
100708 _ACEOF
100709 cat confdefs.h >>conftest.$ac_ext
100710 cat >>conftest.$ac_ext <<_ACEOF
100711 /* end confdefs.h.  */
100712
100713
100714 int
100715 main ()
100716 {
100717 main ();
100718   ;
100719   return 0;
100720 }
100721 _ACEOF
100722 rm -f conftest.$ac_objext conftest$ac_exeext
100723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100724   (eval $ac_link) 2>conftest.er1
100725   ac_status=$?
100726   grep -v '^ *+' conftest.er1 >conftest.err
100727   rm -f conftest.er1
100728   cat conftest.err >&5
100729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100730   (exit $ac_status); } &&
100731          { ac_try='test -z "$ac_c_werror_flag"
100732                          || test ! -s conftest.err'
100733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100734   (eval $ac_try) 2>&5
100735   ac_status=$?
100736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100737   (exit $ac_status); }; } &&
100738          { ac_try='test -s conftest$ac_exeext'
100739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100740   (eval $ac_try) 2>&5
100741   ac_status=$?
100742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100743   (exit $ac_status); }; }; then
100744   ac_cv_lib_m_main=yes
100745 else
100746   echo "$as_me: failed program was:" >&5
100747 sed 's/^/| /' conftest.$ac_ext >&5
100748
100749 ac_cv_lib_m_main=no
100750 fi
100751 rm -f conftest.err conftest.$ac_objext \
100752       conftest$ac_exeext conftest.$ac_ext
100753 LIBS=$ac_check_lib_save_LIBS
100754 fi
100755 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100756 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100757 if test $ac_cv_lib_m_main = yes; then
100758   cat >>confdefs.h <<_ACEOF
100759 #define HAVE_LIBM 1
100760 _ACEOF
100761
100762   LIBS="-lm $LIBS"
100763
100764 fi
100765
100766
100767 for ac_func in copysignf
100768 do
100769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100770 echo "$as_me:$LINENO: checking for $ac_func" >&5
100771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100772 if eval "test \"\${$as_ac_var+set}\" = set"; then
100773   echo $ECHO_N "(cached) $ECHO_C" >&6
100774 else
100775   if test x$gcc_no_link = xyes; then
100776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100778    { (exit 1); exit 1; }; }
100779 fi
100780 cat >conftest.$ac_ext <<_ACEOF
100781 /* confdefs.h.  */
100782 _ACEOF
100783 cat confdefs.h >>conftest.$ac_ext
100784 cat >>conftest.$ac_ext <<_ACEOF
100785 /* end confdefs.h.  */
100786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100788 #define $ac_func innocuous_$ac_func
100789
100790 /* System header to define __stub macros and hopefully few prototypes,
100791     which can conflict with char $ac_func (); below.
100792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100793     <limits.h> exists even on freestanding compilers.  */
100794
100795 #ifdef __STDC__
100796 # include <limits.h>
100797 #else
100798 # include <assert.h>
100799 #endif
100800
100801 #undef $ac_func
100802
100803 /* Override any gcc2 internal prototype to avoid an error.  */
100804 #ifdef __cplusplus
100805 extern "C"
100806 {
100807 #endif
100808 /* We use char because int might match the return type of a gcc2
100809    builtin and then its argument prototype would still apply.  */
100810 char $ac_func ();
100811 /* The GNU C library defines this for functions which it implements
100812     to always fail with ENOSYS.  Some functions are actually named
100813     something starting with __ and the normal name is an alias.  */
100814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100815 choke me
100816 #else
100817 char (*f) () = $ac_func;
100818 #endif
100819 #ifdef __cplusplus
100820 }
100821 #endif
100822
100823 int
100824 main ()
100825 {
100826 return f != $ac_func;
100827   ;
100828   return 0;
100829 }
100830 _ACEOF
100831 rm -f conftest.$ac_objext conftest$ac_exeext
100832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100833   (eval $ac_link) 2>conftest.er1
100834   ac_status=$?
100835   grep -v '^ *+' conftest.er1 >conftest.err
100836   rm -f conftest.er1
100837   cat conftest.err >&5
100838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100839   (exit $ac_status); } &&
100840          { ac_try='test -z "$ac_c_werror_flag"
100841                          || test ! -s conftest.err'
100842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100843   (eval $ac_try) 2>&5
100844   ac_status=$?
100845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100846   (exit $ac_status); }; } &&
100847          { ac_try='test -s conftest$ac_exeext'
100848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100849   (eval $ac_try) 2>&5
100850   ac_status=$?
100851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100852   (exit $ac_status); }; }; then
100853   eval "$as_ac_var=yes"
100854 else
100855   echo "$as_me: failed program was:" >&5
100856 sed 's/^/| /' conftest.$ac_ext >&5
100857
100858 eval "$as_ac_var=no"
100859 fi
100860 rm -f conftest.err conftest.$ac_objext \
100861       conftest$ac_exeext conftest.$ac_ext
100862 fi
100863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100865 if test `eval echo '${'$as_ac_var'}'` = yes; then
100866   cat >>confdefs.h <<_ACEOF
100867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100868 _ACEOF
100869
100870 else
100871   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100872 fi
100873 done
100874
100875
100876
100877 for ac_func in __signbit
100878 do
100879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100880 echo "$as_me:$LINENO: checking for $ac_func" >&5
100881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100882 if eval "test \"\${$as_ac_var+set}\" = set"; then
100883   echo $ECHO_N "(cached) $ECHO_C" >&6
100884 else
100885   if test x$gcc_no_link = xyes; then
100886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100888    { (exit 1); exit 1; }; }
100889 fi
100890 cat >conftest.$ac_ext <<_ACEOF
100891 /* confdefs.h.  */
100892 _ACEOF
100893 cat confdefs.h >>conftest.$ac_ext
100894 cat >>conftest.$ac_ext <<_ACEOF
100895 /* end confdefs.h.  */
100896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100898 #define $ac_func innocuous_$ac_func
100899
100900 /* System header to define __stub macros and hopefully few prototypes,
100901     which can conflict with char $ac_func (); below.
100902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100903     <limits.h> exists even on freestanding compilers.  */
100904
100905 #ifdef __STDC__
100906 # include <limits.h>
100907 #else
100908 # include <assert.h>
100909 #endif
100910
100911 #undef $ac_func
100912
100913 /* Override any gcc2 internal prototype to avoid an error.  */
100914 #ifdef __cplusplus
100915 extern "C"
100916 {
100917 #endif
100918 /* We use char because int might match the return type of a gcc2
100919    builtin and then its argument prototype would still apply.  */
100920 char $ac_func ();
100921 /* The GNU C library defines this for functions which it implements
100922     to always fail with ENOSYS.  Some functions are actually named
100923     something starting with __ and the normal name is an alias.  */
100924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100925 choke me
100926 #else
100927 char (*f) () = $ac_func;
100928 #endif
100929 #ifdef __cplusplus
100930 }
100931 #endif
100932
100933 int
100934 main ()
100935 {
100936 return f != $ac_func;
100937   ;
100938   return 0;
100939 }
100940 _ACEOF
100941 rm -f conftest.$ac_objext conftest$ac_exeext
100942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100943   (eval $ac_link) 2>conftest.er1
100944   ac_status=$?
100945   grep -v '^ *+' conftest.er1 >conftest.err
100946   rm -f conftest.er1
100947   cat conftest.err >&5
100948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100949   (exit $ac_status); } &&
100950          { ac_try='test -z "$ac_c_werror_flag"
100951                          || test ! -s conftest.err'
100952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100953   (eval $ac_try) 2>&5
100954   ac_status=$?
100955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100956   (exit $ac_status); }; } &&
100957          { ac_try='test -s conftest$ac_exeext'
100958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100959   (eval $ac_try) 2>&5
100960   ac_status=$?
100961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100962   (exit $ac_status); }; }; then
100963   eval "$as_ac_var=yes"
100964 else
100965   echo "$as_me: failed program was:" >&5
100966 sed 's/^/| /' conftest.$ac_ext >&5
100967
100968 eval "$as_ac_var=no"
100969 fi
100970 rm -f conftest.err conftest.$ac_objext \
100971       conftest$ac_exeext conftest.$ac_ext
100972 fi
100973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100975 if test `eval echo '${'$as_ac_var'}'` = yes; then
100976   cat >>confdefs.h <<_ACEOF
100977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100978 _ACEOF
100979
100980 else
100981   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
100982 fi
100983 done
100984
100985
100986
100987 for ac_func in __signbitf
100988 do
100989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100990 echo "$as_me:$LINENO: checking for $ac_func" >&5
100991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100992 if eval "test \"\${$as_ac_var+set}\" = set"; then
100993   echo $ECHO_N "(cached) $ECHO_C" >&6
100994 else
100995   if test x$gcc_no_link = xyes; then
100996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100998    { (exit 1); exit 1; }; }
100999 fi
101000 cat >conftest.$ac_ext <<_ACEOF
101001 /* confdefs.h.  */
101002 _ACEOF
101003 cat confdefs.h >>conftest.$ac_ext
101004 cat >>conftest.$ac_ext <<_ACEOF
101005 /* end confdefs.h.  */
101006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101007    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101008 #define $ac_func innocuous_$ac_func
101009
101010 /* System header to define __stub macros and hopefully few prototypes,
101011     which can conflict with char $ac_func (); below.
101012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101013     <limits.h> exists even on freestanding compilers.  */
101014
101015 #ifdef __STDC__
101016 # include <limits.h>
101017 #else
101018 # include <assert.h>
101019 #endif
101020
101021 #undef $ac_func
101022
101023 /* Override any gcc2 internal prototype to avoid an error.  */
101024 #ifdef __cplusplus
101025 extern "C"
101026 {
101027 #endif
101028 /* We use char because int might match the return type of a gcc2
101029    builtin and then its argument prototype would still apply.  */
101030 char $ac_func ();
101031 /* The GNU C library defines this for functions which it implements
101032     to always fail with ENOSYS.  Some functions are actually named
101033     something starting with __ and the normal name is an alias.  */
101034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101035 choke me
101036 #else
101037 char (*f) () = $ac_func;
101038 #endif
101039 #ifdef __cplusplus
101040 }
101041 #endif
101042
101043 int
101044 main ()
101045 {
101046 return f != $ac_func;
101047   ;
101048   return 0;
101049 }
101050 _ACEOF
101051 rm -f conftest.$ac_objext conftest$ac_exeext
101052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101053   (eval $ac_link) 2>conftest.er1
101054   ac_status=$?
101055   grep -v '^ *+' conftest.er1 >conftest.err
101056   rm -f conftest.er1
101057   cat conftest.err >&5
101058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101059   (exit $ac_status); } &&
101060          { ac_try='test -z "$ac_c_werror_flag"
101061                          || test ! -s conftest.err'
101062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101063   (eval $ac_try) 2>&5
101064   ac_status=$?
101065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101066   (exit $ac_status); }; } &&
101067          { ac_try='test -s conftest$ac_exeext'
101068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101069   (eval $ac_try) 2>&5
101070   ac_status=$?
101071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101072   (exit $ac_status); }; }; then
101073   eval "$as_ac_var=yes"
101074 else
101075   echo "$as_me: failed program was:" >&5
101076 sed 's/^/| /' conftest.$ac_ext >&5
101077
101078 eval "$as_ac_var=no"
101079 fi
101080 rm -f conftest.err conftest.$ac_objext \
101081       conftest$ac_exeext conftest.$ac_ext
101082 fi
101083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101085 if test `eval echo '${'$as_ac_var'}'` = yes; then
101086   cat >>confdefs.h <<_ACEOF
101087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101088 _ACEOF
101089
101090 else
101091   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101092 fi
101093 done
101094
101095
101096           if test x$ac_cv_func_copysignl = x"yes"; then
101097
101098 for ac_func in __signbitl
101099 do
101100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101101 echo "$as_me:$LINENO: checking for $ac_func" >&5
101102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101103 if eval "test \"\${$as_ac_var+set}\" = set"; then
101104   echo $ECHO_N "(cached) $ECHO_C" >&6
101105 else
101106   if test x$gcc_no_link = xyes; then
101107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101109    { (exit 1); exit 1; }; }
101110 fi
101111 cat >conftest.$ac_ext <<_ACEOF
101112 /* confdefs.h.  */
101113 _ACEOF
101114 cat confdefs.h >>conftest.$ac_ext
101115 cat >>conftest.$ac_ext <<_ACEOF
101116 /* end confdefs.h.  */
101117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101118    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101119 #define $ac_func innocuous_$ac_func
101120
101121 /* System header to define __stub macros and hopefully few prototypes,
101122     which can conflict with char $ac_func (); below.
101123     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101124     <limits.h> exists even on freestanding compilers.  */
101125
101126 #ifdef __STDC__
101127 # include <limits.h>
101128 #else
101129 # include <assert.h>
101130 #endif
101131
101132 #undef $ac_func
101133
101134 /* Override any gcc2 internal prototype to avoid an error.  */
101135 #ifdef __cplusplus
101136 extern "C"
101137 {
101138 #endif
101139 /* We use char because int might match the return type of a gcc2
101140    builtin and then its argument prototype would still apply.  */
101141 char $ac_func ();
101142 /* The GNU C library defines this for functions which it implements
101143     to always fail with ENOSYS.  Some functions are actually named
101144     something starting with __ and the normal name is an alias.  */
101145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101146 choke me
101147 #else
101148 char (*f) () = $ac_func;
101149 #endif
101150 #ifdef __cplusplus
101151 }
101152 #endif
101153
101154 int
101155 main ()
101156 {
101157 return f != $ac_func;
101158   ;
101159   return 0;
101160 }
101161 _ACEOF
101162 rm -f conftest.$ac_objext conftest$ac_exeext
101163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101164   (eval $ac_link) 2>conftest.er1
101165   ac_status=$?
101166   grep -v '^ *+' conftest.er1 >conftest.err
101167   rm -f conftest.er1
101168   cat conftest.err >&5
101169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101170   (exit $ac_status); } &&
101171          { ac_try='test -z "$ac_c_werror_flag"
101172                          || test ! -s conftest.err'
101173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101174   (eval $ac_try) 2>&5
101175   ac_status=$?
101176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101177   (exit $ac_status); }; } &&
101178          { ac_try='test -s conftest$ac_exeext'
101179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101180   (eval $ac_try) 2>&5
101181   ac_status=$?
101182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101183   (exit $ac_status); }; }; then
101184   eval "$as_ac_var=yes"
101185 else
101186   echo "$as_me: failed program was:" >&5
101187 sed 's/^/| /' conftest.$ac_ext >&5
101188
101189 eval "$as_ac_var=no"
101190 fi
101191 rm -f conftest.err conftest.$ac_objext \
101192       conftest$ac_exeext conftest.$ac_ext
101193 fi
101194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101196 if test `eval echo '${'$as_ac_var'}'` = yes; then
101197   cat >>confdefs.h <<_ACEOF
101198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101199 _ACEOF
101200
101201 else
101202   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101203 fi
101204 done
101205
101206   fi
101207
101208   # Used in libmath/Makefile.am.
101209   if test -n "$LIBMATHOBJS"; then
101210     need_libmath=yes
101211   fi
101212
101213
101214     ;;
101215   *-netbsd*)
101216
101217
101218
101219
101220
101221
101222
101223
101224
101225
101226
101227
101228 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
101229       machine/endian.h machine/param.h sys/machine.h sys/types.h \
101230       fp.h locale.h float.h inttypes.h
101231 do
101232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
101233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101234   echo "$as_me:$LINENO: checking for $ac_header" >&5
101235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101237   echo $ECHO_N "(cached) $ECHO_C" >&6
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 else
101242   # Is the header compilable?
101243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
101244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
101245 cat >conftest.$ac_ext <<_ACEOF
101246 /* confdefs.h.  */
101247 _ACEOF
101248 cat confdefs.h >>conftest.$ac_ext
101249 cat >>conftest.$ac_ext <<_ACEOF
101250 /* end confdefs.h.  */
101251 $ac_includes_default
101252 #include <$ac_header>
101253 _ACEOF
101254 rm -f conftest.$ac_objext
101255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101256   (eval $ac_compile) 2>conftest.er1
101257   ac_status=$?
101258   grep -v '^ *+' conftest.er1 >conftest.err
101259   rm -f conftest.er1
101260   cat conftest.err >&5
101261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101262   (exit $ac_status); } &&
101263          { ac_try='test -z "$ac_c_werror_flag"
101264                          || test ! -s conftest.err'
101265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101266   (eval $ac_try) 2>&5
101267   ac_status=$?
101268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101269   (exit $ac_status); }; } &&
101270          { ac_try='test -s conftest.$ac_objext'
101271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101272   (eval $ac_try) 2>&5
101273   ac_status=$?
101274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101275   (exit $ac_status); }; }; then
101276   ac_header_compiler=yes
101277 else
101278   echo "$as_me: failed program was:" >&5
101279 sed 's/^/| /' conftest.$ac_ext >&5
101280
101281 ac_header_compiler=no
101282 fi
101283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101285 echo "${ECHO_T}$ac_header_compiler" >&6
101286
101287 # Is the header present?
101288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
101289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
101290 cat >conftest.$ac_ext <<_ACEOF
101291 /* confdefs.h.  */
101292 _ACEOF
101293 cat confdefs.h >>conftest.$ac_ext
101294 cat >>conftest.$ac_ext <<_ACEOF
101295 /* end confdefs.h.  */
101296 #include <$ac_header>
101297 _ACEOF
101298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101299   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101300   ac_status=$?
101301   grep -v '^ *+' conftest.er1 >conftest.err
101302   rm -f conftest.er1
101303   cat conftest.err >&5
101304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101305   (exit $ac_status); } >/dev/null; then
101306   if test -s conftest.err; then
101307     ac_cpp_err=$ac_c_preproc_warn_flag
101308     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101309   else
101310     ac_cpp_err=
101311   fi
101312 else
101313   ac_cpp_err=yes
101314 fi
101315 if test -z "$ac_cpp_err"; then
101316   ac_header_preproc=yes
101317 else
101318   echo "$as_me: failed program was:" >&5
101319 sed 's/^/| /' conftest.$ac_ext >&5
101320
101321   ac_header_preproc=no
101322 fi
101323 rm -f conftest.err conftest.$ac_ext
101324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101325 echo "${ECHO_T}$ac_header_preproc" >&6
101326
101327 # So?  What about this header?
101328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101329   yes:no: )
101330     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
101331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
101332     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
101333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
101334     ac_header_preproc=yes
101335     ;;
101336   no:yes:* )
101337     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
101338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
101339     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
101340 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
101341     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
101342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
101343     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
101344 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
101345     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
101346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
101347     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
101348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
101349     (
101350       cat <<\_ASBOX
101351 ## ----------------------------------------- ##
101352 ## Report this to the package-unused lists.  ##
101353 ## ----------------------------------------- ##
101354 _ASBOX
101355     ) |
101356       sed "s/^/$as_me: WARNING:     /" >&2
101357     ;;
101358 esac
101359 echo "$as_me:$LINENO: checking for $ac_header" >&5
101360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101362   echo $ECHO_N "(cached) $ECHO_C" >&6
101363 else
101364   eval "$as_ac_Header=\$ac_header_preproc"
101365 fi
101366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101368
101369 fi
101370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
101371   cat >>confdefs.h <<_ACEOF
101372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
101373 _ACEOF
101374
101375 fi
101376
101377 done
101378
101379     SECTION_FLAGS='-ffunction-sections -fdata-sections'
101380
101381
101382   # If we're not using GNU ld, then there's no point in even trying these
101383   # tests.  Check for that first.  We should have already tested for gld
101384   # by now (in libtool), but require it now just to be safe...
101385   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101386   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101387
101388
101389
101390   # The name set by libtool depends on the version of libtool.  Shame on us
101391   # for depending on an impl detail, but c'est la vie.  Older versions used
101392   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101393   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101394   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
101395   # set (hence we're using an older libtool), then set it.
101396   if test x${with_gnu_ld+set} != xset; then
101397     if test x${ac_cv_prog_gnu_ld+set} != xset; then
101398       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
101399       with_gnu_ld=no
101400     else
101401       with_gnu_ld=$ac_cv_prog_gnu_ld
101402     fi
101403   fi
101404
101405   # Start by getting the version number.  I think the libtool test already
101406   # does some of this, but throws away the result.
101407   if test x"$with_gnu_ld" = x"yes"; then
101408     echo "$as_me:$LINENO: checking for ld version" >&5
101409 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101410
101411     ldver=`$LD --version 2>/dev/null | head -1 | \
101412            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
101413
101414     glibcxx_gnu_ld_version=`echo $ldver | \
101415            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101416     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101417 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101418   fi
101419
101420   # Set --gc-sections.
101421   glibcxx_gcsections_min_ld=21602
101422   if test x"$with_gnu_ld" = x"yes" &&
101423         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101424
101425     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
101426     # NB: This flag only works reliably after 2.16.1. Configure tests
101427     # for this are difficult, so hard wire a value that should work.
101428
101429     # All these tests are for C++, but run with the "C" compiler driver.
101430     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
101431     ac_test_CFLAGS="${CFLAGS+set}"
101432     ac_save_CFLAGS="$CFLAGS"
101433     CFLAGS='-x c++ -Wl,--gc-sections'
101434
101435     # Check for -Wl,--gc-sections
101436     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101437 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101438     if test x$gcc_no_link = xyes; then
101439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101441    { (exit 1); exit 1; }; }
101442 fi
101443 cat >conftest.$ac_ext <<_ACEOF
101444 /* confdefs.h.  */
101445 _ACEOF
101446 cat confdefs.h >>conftest.$ac_ext
101447 cat >>conftest.$ac_ext <<_ACEOF
101448 /* end confdefs.h.  */
101449  int one(void) { return 1; }
101450      int two(void) { return 2; }
101451
101452 int
101453 main ()
101454 {
101455  two();
101456   ;
101457   return 0;
101458 }
101459 _ACEOF
101460 rm -f conftest.$ac_objext conftest$ac_exeext
101461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101462   (eval $ac_link) 2>conftest.er1
101463   ac_status=$?
101464   grep -v '^ *+' conftest.er1 >conftest.err
101465   rm -f conftest.er1
101466   cat conftest.err >&5
101467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101468   (exit $ac_status); } &&
101469          { ac_try='test -z "$ac_c_werror_flag"
101470                          || test ! -s conftest.err'
101471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101472   (eval $ac_try) 2>&5
101473   ac_status=$?
101474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101475   (exit $ac_status); }; } &&
101476          { ac_try='test -s conftest$ac_exeext'
101477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101478   (eval $ac_try) 2>&5
101479   ac_status=$?
101480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101481   (exit $ac_status); }; }; then
101482   ac_gcsections=yes
101483 else
101484   echo "$as_me: failed program was:" >&5
101485 sed 's/^/| /' conftest.$ac_ext >&5
101486
101487 ac_gcsections=no
101488 fi
101489 rm -f conftest.err conftest.$ac_objext \
101490       conftest$ac_exeext conftest.$ac_ext
101491     if test "$ac_gcsections" = "yes"; then
101492       rm -f conftest.c
101493       touch conftest.c
101494       if $CC -c conftest.c; then
101495         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101496            grep "Warning: gc-sections option ignored" > /dev/null; then
101497           ac_gcsections=no
101498         fi
101499       fi
101500       rm -f conftest.c conftest.o conftest
101501     fi
101502     if test "$ac_gcsections" = "yes"; then
101503       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101504     fi
101505     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101506 echo "${ECHO_T}$ac_gcsections" >&6
101507
101508     if test "$ac_test_CFLAGS" = set; then
101509       CFLAGS="$ac_save_CFLAGS"
101510     else
101511       # this is the suspicious part
101512       CFLAGS=''
101513     fi
101514   fi
101515
101516   # Set -z,relro.
101517   # Note this is only for shared objects.
101518   ac_ld_relro=no
101519   if test x"$with_gnu_ld" = x"yes"; then
101520     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101521 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101522     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101523     if test -n "$cxx_z_relo"; then
101524       OPT_LDFLAGS="-Wl,-z,relro"
101525       ac_ld_relro=yes
101526     fi
101527     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101528 echo "${ECHO_T}$ac_ld_relro" >&6
101529   fi
101530
101531   # Set linker optimization flags.
101532   if test x"$with_gnu_ld" = x"yes"; then
101533     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101534   fi
101535
101536
101537
101538
101539
101540
101541 echo "$as_me:$LINENO: checking for main in -lm" >&5
101542 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101543 if test "${ac_cv_lib_m_main+set}" = set; then
101544   echo $ECHO_N "(cached) $ECHO_C" >&6
101545 else
101546   ac_check_lib_save_LIBS=$LIBS
101547 LIBS="-lm  $LIBS"
101548 if test x$gcc_no_link = xyes; then
101549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101551    { (exit 1); exit 1; }; }
101552 fi
101553 cat >conftest.$ac_ext <<_ACEOF
101554 /* confdefs.h.  */
101555 _ACEOF
101556 cat confdefs.h >>conftest.$ac_ext
101557 cat >>conftest.$ac_ext <<_ACEOF
101558 /* end confdefs.h.  */
101559
101560
101561 int
101562 main ()
101563 {
101564 main ();
101565   ;
101566   return 0;
101567 }
101568 _ACEOF
101569 rm -f conftest.$ac_objext conftest$ac_exeext
101570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101571   (eval $ac_link) 2>conftest.er1
101572   ac_status=$?
101573   grep -v '^ *+' conftest.er1 >conftest.err
101574   rm -f conftest.er1
101575   cat conftest.err >&5
101576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101577   (exit $ac_status); } &&
101578          { ac_try='test -z "$ac_c_werror_flag"
101579                          || test ! -s conftest.err'
101580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101581   (eval $ac_try) 2>&5
101582   ac_status=$?
101583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101584   (exit $ac_status); }; } &&
101585          { ac_try='test -s conftest$ac_exeext'
101586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101587   (eval $ac_try) 2>&5
101588   ac_status=$?
101589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101590   (exit $ac_status); }; }; then
101591   ac_cv_lib_m_main=yes
101592 else
101593   echo "$as_me: failed program was:" >&5
101594 sed 's/^/| /' conftest.$ac_ext >&5
101595
101596 ac_cv_lib_m_main=no
101597 fi
101598 rm -f conftest.err conftest.$ac_objext \
101599       conftest$ac_exeext conftest.$ac_ext
101600 LIBS=$ac_check_lib_save_LIBS
101601 fi
101602 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101603 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101604 if test $ac_cv_lib_m_main = yes; then
101605   cat >>confdefs.h <<_ACEOF
101606 #define HAVE_LIBM 1
101607 _ACEOF
101608
101609   LIBS="-lm $LIBS"
101610
101611 fi
101612
101613
101614 for ac_func in copysignf
101615 do
101616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101617 echo "$as_me:$LINENO: checking for $ac_func" >&5
101618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101619 if eval "test \"\${$as_ac_var+set}\" = set"; then
101620   echo $ECHO_N "(cached) $ECHO_C" >&6
101621 else
101622   if test x$gcc_no_link = xyes; then
101623   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101625    { (exit 1); exit 1; }; }
101626 fi
101627 cat >conftest.$ac_ext <<_ACEOF
101628 /* confdefs.h.  */
101629 _ACEOF
101630 cat confdefs.h >>conftest.$ac_ext
101631 cat >>conftest.$ac_ext <<_ACEOF
101632 /* end confdefs.h.  */
101633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101634    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101635 #define $ac_func innocuous_$ac_func
101636
101637 /* System header to define __stub macros and hopefully few prototypes,
101638     which can conflict with char $ac_func (); below.
101639     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101640     <limits.h> exists even on freestanding compilers.  */
101641
101642 #ifdef __STDC__
101643 # include <limits.h>
101644 #else
101645 # include <assert.h>
101646 #endif
101647
101648 #undef $ac_func
101649
101650 /* Override any gcc2 internal prototype to avoid an error.  */
101651 #ifdef __cplusplus
101652 extern "C"
101653 {
101654 #endif
101655 /* We use char because int might match the return type of a gcc2
101656    builtin and then its argument prototype would still apply.  */
101657 char $ac_func ();
101658 /* The GNU C library defines this for functions which it implements
101659     to always fail with ENOSYS.  Some functions are actually named
101660     something starting with __ and the normal name is an alias.  */
101661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101662 choke me
101663 #else
101664 char (*f) () = $ac_func;
101665 #endif
101666 #ifdef __cplusplus
101667 }
101668 #endif
101669
101670 int
101671 main ()
101672 {
101673 return f != $ac_func;
101674   ;
101675   return 0;
101676 }
101677 _ACEOF
101678 rm -f conftest.$ac_objext conftest$ac_exeext
101679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101680   (eval $ac_link) 2>conftest.er1
101681   ac_status=$?
101682   grep -v '^ *+' conftest.er1 >conftest.err
101683   rm -f conftest.er1
101684   cat conftest.err >&5
101685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101686   (exit $ac_status); } &&
101687          { ac_try='test -z "$ac_c_werror_flag"
101688                          || test ! -s conftest.err'
101689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101690   (eval $ac_try) 2>&5
101691   ac_status=$?
101692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101693   (exit $ac_status); }; } &&
101694          { ac_try='test -s conftest$ac_exeext'
101695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101696   (eval $ac_try) 2>&5
101697   ac_status=$?
101698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101699   (exit $ac_status); }; }; then
101700   eval "$as_ac_var=yes"
101701 else
101702   echo "$as_me: failed program was:" >&5
101703 sed 's/^/| /' conftest.$ac_ext >&5
101704
101705 eval "$as_ac_var=no"
101706 fi
101707 rm -f conftest.err conftest.$ac_objext \
101708       conftest$ac_exeext conftest.$ac_ext
101709 fi
101710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101712 if test `eval echo '${'$as_ac_var'}'` = yes; then
101713   cat >>confdefs.h <<_ACEOF
101714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101715 _ACEOF
101716
101717 else
101718   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101719 fi
101720 done
101721
101722
101723
101724 for ac_func in __signbit
101725 do
101726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101727 echo "$as_me:$LINENO: checking for $ac_func" >&5
101728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101729 if eval "test \"\${$as_ac_var+set}\" = set"; then
101730   echo $ECHO_N "(cached) $ECHO_C" >&6
101731 else
101732   if test x$gcc_no_link = xyes; then
101733   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101735    { (exit 1); exit 1; }; }
101736 fi
101737 cat >conftest.$ac_ext <<_ACEOF
101738 /* confdefs.h.  */
101739 _ACEOF
101740 cat confdefs.h >>conftest.$ac_ext
101741 cat >>conftest.$ac_ext <<_ACEOF
101742 /* end confdefs.h.  */
101743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101744    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101745 #define $ac_func innocuous_$ac_func
101746
101747 /* System header to define __stub macros and hopefully few prototypes,
101748     which can conflict with char $ac_func (); below.
101749     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101750     <limits.h> exists even on freestanding compilers.  */
101751
101752 #ifdef __STDC__
101753 # include <limits.h>
101754 #else
101755 # include <assert.h>
101756 #endif
101757
101758 #undef $ac_func
101759
101760 /* Override any gcc2 internal prototype to avoid an error.  */
101761 #ifdef __cplusplus
101762 extern "C"
101763 {
101764 #endif
101765 /* We use char because int might match the return type of a gcc2
101766    builtin and then its argument prototype would still apply.  */
101767 char $ac_func ();
101768 /* The GNU C library defines this for functions which it implements
101769     to always fail with ENOSYS.  Some functions are actually named
101770     something starting with __ and the normal name is an alias.  */
101771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101772 choke me
101773 #else
101774 char (*f) () = $ac_func;
101775 #endif
101776 #ifdef __cplusplus
101777 }
101778 #endif
101779
101780 int
101781 main ()
101782 {
101783 return f != $ac_func;
101784   ;
101785   return 0;
101786 }
101787 _ACEOF
101788 rm -f conftest.$ac_objext conftest$ac_exeext
101789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101790   (eval $ac_link) 2>conftest.er1
101791   ac_status=$?
101792   grep -v '^ *+' conftest.er1 >conftest.err
101793   rm -f conftest.er1
101794   cat conftest.err >&5
101795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101796   (exit $ac_status); } &&
101797          { ac_try='test -z "$ac_c_werror_flag"
101798                          || test ! -s conftest.err'
101799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101800   (eval $ac_try) 2>&5
101801   ac_status=$?
101802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101803   (exit $ac_status); }; } &&
101804          { ac_try='test -s conftest$ac_exeext'
101805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101806   (eval $ac_try) 2>&5
101807   ac_status=$?
101808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101809   (exit $ac_status); }; }; then
101810   eval "$as_ac_var=yes"
101811 else
101812   echo "$as_me: failed program was:" >&5
101813 sed 's/^/| /' conftest.$ac_ext >&5
101814
101815 eval "$as_ac_var=no"
101816 fi
101817 rm -f conftest.err conftest.$ac_objext \
101818       conftest$ac_exeext conftest.$ac_ext
101819 fi
101820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101822 if test `eval echo '${'$as_ac_var'}'` = yes; then
101823   cat >>confdefs.h <<_ACEOF
101824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101825 _ACEOF
101826
101827 else
101828   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101829 fi
101830 done
101831
101832
101833
101834 for ac_func in __signbitf
101835 do
101836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101837 echo "$as_me:$LINENO: checking for $ac_func" >&5
101838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101839 if eval "test \"\${$as_ac_var+set}\" = set"; then
101840   echo $ECHO_N "(cached) $ECHO_C" >&6
101841 else
101842   if test x$gcc_no_link = xyes; then
101843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101845    { (exit 1); exit 1; }; }
101846 fi
101847 cat >conftest.$ac_ext <<_ACEOF
101848 /* confdefs.h.  */
101849 _ACEOF
101850 cat confdefs.h >>conftest.$ac_ext
101851 cat >>conftest.$ac_ext <<_ACEOF
101852 /* end confdefs.h.  */
101853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101855 #define $ac_func innocuous_$ac_func
101856
101857 /* System header to define __stub macros and hopefully few prototypes,
101858     which can conflict with char $ac_func (); below.
101859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101860     <limits.h> exists even on freestanding compilers.  */
101861
101862 #ifdef __STDC__
101863 # include <limits.h>
101864 #else
101865 # include <assert.h>
101866 #endif
101867
101868 #undef $ac_func
101869
101870 /* Override any gcc2 internal prototype to avoid an error.  */
101871 #ifdef __cplusplus
101872 extern "C"
101873 {
101874 #endif
101875 /* We use char because int might match the return type of a gcc2
101876    builtin and then its argument prototype would still apply.  */
101877 char $ac_func ();
101878 /* The GNU C library defines this for functions which it implements
101879     to always fail with ENOSYS.  Some functions are actually named
101880     something starting with __ and the normal name is an alias.  */
101881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101882 choke me
101883 #else
101884 char (*f) () = $ac_func;
101885 #endif
101886 #ifdef __cplusplus
101887 }
101888 #endif
101889
101890 int
101891 main ()
101892 {
101893 return f != $ac_func;
101894   ;
101895   return 0;
101896 }
101897 _ACEOF
101898 rm -f conftest.$ac_objext conftest$ac_exeext
101899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101900   (eval $ac_link) 2>conftest.er1
101901   ac_status=$?
101902   grep -v '^ *+' conftest.er1 >conftest.err
101903   rm -f conftest.er1
101904   cat conftest.err >&5
101905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101906   (exit $ac_status); } &&
101907          { ac_try='test -z "$ac_c_werror_flag"
101908                          || test ! -s conftest.err'
101909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101910   (eval $ac_try) 2>&5
101911   ac_status=$?
101912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101913   (exit $ac_status); }; } &&
101914          { ac_try='test -s conftest$ac_exeext'
101915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101916   (eval $ac_try) 2>&5
101917   ac_status=$?
101918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101919   (exit $ac_status); }; }; then
101920   eval "$as_ac_var=yes"
101921 else
101922   echo "$as_me: failed program was:" >&5
101923 sed 's/^/| /' conftest.$ac_ext >&5
101924
101925 eval "$as_ac_var=no"
101926 fi
101927 rm -f conftest.err conftest.$ac_objext \
101928       conftest$ac_exeext conftest.$ac_ext
101929 fi
101930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101932 if test `eval echo '${'$as_ac_var'}'` = yes; then
101933   cat >>confdefs.h <<_ACEOF
101934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101935 _ACEOF
101936
101937 else
101938   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101939 fi
101940 done
101941
101942
101943           if test x$ac_cv_func_copysignl = x"yes"; then
101944
101945 for ac_func in __signbitl
101946 do
101947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101948 echo "$as_me:$LINENO: checking for $ac_func" >&5
101949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101950 if eval "test \"\${$as_ac_var+set}\" = set"; then
101951   echo $ECHO_N "(cached) $ECHO_C" >&6
101952 else
101953   if test x$gcc_no_link = xyes; then
101954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101956    { (exit 1); exit 1; }; }
101957 fi
101958 cat >conftest.$ac_ext <<_ACEOF
101959 /* confdefs.h.  */
101960 _ACEOF
101961 cat confdefs.h >>conftest.$ac_ext
101962 cat >>conftest.$ac_ext <<_ACEOF
101963 /* end confdefs.h.  */
101964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101965    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101966 #define $ac_func innocuous_$ac_func
101967
101968 /* System header to define __stub macros and hopefully few prototypes,
101969     which can conflict with char $ac_func (); below.
101970     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101971     <limits.h> exists even on freestanding compilers.  */
101972
101973 #ifdef __STDC__
101974 # include <limits.h>
101975 #else
101976 # include <assert.h>
101977 #endif
101978
101979 #undef $ac_func
101980
101981 /* Override any gcc2 internal prototype to avoid an error.  */
101982 #ifdef __cplusplus
101983 extern "C"
101984 {
101985 #endif
101986 /* We use char because int might match the return type of a gcc2
101987    builtin and then its argument prototype would still apply.  */
101988 char $ac_func ();
101989 /* The GNU C library defines this for functions which it implements
101990     to always fail with ENOSYS.  Some functions are actually named
101991     something starting with __ and the normal name is an alias.  */
101992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101993 choke me
101994 #else
101995 char (*f) () = $ac_func;
101996 #endif
101997 #ifdef __cplusplus
101998 }
101999 #endif
102000
102001 int
102002 main ()
102003 {
102004 return f != $ac_func;
102005   ;
102006   return 0;
102007 }
102008 _ACEOF
102009 rm -f conftest.$ac_objext conftest$ac_exeext
102010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102011   (eval $ac_link) 2>conftest.er1
102012   ac_status=$?
102013   grep -v '^ *+' conftest.er1 >conftest.err
102014   rm -f conftest.er1
102015   cat conftest.err >&5
102016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102017   (exit $ac_status); } &&
102018          { ac_try='test -z "$ac_c_werror_flag"
102019                          || test ! -s conftest.err'
102020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102021   (eval $ac_try) 2>&5
102022   ac_status=$?
102023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102024   (exit $ac_status); }; } &&
102025          { ac_try='test -s conftest$ac_exeext'
102026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102027   (eval $ac_try) 2>&5
102028   ac_status=$?
102029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102030   (exit $ac_status); }; }; then
102031   eval "$as_ac_var=yes"
102032 else
102033   echo "$as_me: failed program was:" >&5
102034 sed 's/^/| /' conftest.$ac_ext >&5
102035
102036 eval "$as_ac_var=no"
102037 fi
102038 rm -f conftest.err conftest.$ac_objext \
102039       conftest$ac_exeext conftest.$ac_ext
102040 fi
102041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102043 if test `eval echo '${'$as_ac_var'}'` = yes; then
102044   cat >>confdefs.h <<_ACEOF
102045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102046 _ACEOF
102047
102048 else
102049   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102050 fi
102051 done
102052
102053   fi
102054
102055   # Used in libmath/Makefile.am.
102056   if test -n "$LIBMATHOBJS"; then
102057     need_libmath=yes
102058   fi
102059
102060
102061
102062
102063   enable_iconv=no
102064   # Only continue checking if the ISO C99 headers exist and support is on.
102065   if test x"$enable_wchar_t" = xyes; then
102066
102067     # Use iconv for wchar_t to char conversions. As such, check for
102068     # X/Open Portability Guide, version 2 features (XPG2).
102069     if test "${ac_cv_header_iconv_h+set}" = set; then
102070   echo "$as_me:$LINENO: checking for iconv.h" >&5
102071 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102072 if test "${ac_cv_header_iconv_h+set}" = set; then
102073   echo $ECHO_N "(cached) $ECHO_C" >&6
102074 fi
102075 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102076 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102077 else
102078   # Is the header compilable?
102079 echo "$as_me:$LINENO: checking iconv.h usability" >&5
102080 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
102081 cat >conftest.$ac_ext <<_ACEOF
102082 /* confdefs.h.  */
102083 _ACEOF
102084 cat confdefs.h >>conftest.$ac_ext
102085 cat >>conftest.$ac_ext <<_ACEOF
102086 /* end confdefs.h.  */
102087 $ac_includes_default
102088 #include <iconv.h>
102089 _ACEOF
102090 rm -f conftest.$ac_objext
102091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102092   (eval $ac_compile) 2>conftest.er1
102093   ac_status=$?
102094   grep -v '^ *+' conftest.er1 >conftest.err
102095   rm -f conftest.er1
102096   cat conftest.err >&5
102097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102098   (exit $ac_status); } &&
102099          { ac_try='test -z "$ac_c_werror_flag"
102100                          || test ! -s conftest.err'
102101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102102   (eval $ac_try) 2>&5
102103   ac_status=$?
102104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102105   (exit $ac_status); }; } &&
102106          { ac_try='test -s conftest.$ac_objext'
102107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102108   (eval $ac_try) 2>&5
102109   ac_status=$?
102110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102111   (exit $ac_status); }; }; then
102112   ac_header_compiler=yes
102113 else
102114   echo "$as_me: failed program was:" >&5
102115 sed 's/^/| /' conftest.$ac_ext >&5
102116
102117 ac_header_compiler=no
102118 fi
102119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102120 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102121 echo "${ECHO_T}$ac_header_compiler" >&6
102122
102123 # Is the header present?
102124 echo "$as_me:$LINENO: checking iconv.h presence" >&5
102125 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
102126 cat >conftest.$ac_ext <<_ACEOF
102127 /* confdefs.h.  */
102128 _ACEOF
102129 cat confdefs.h >>conftest.$ac_ext
102130 cat >>conftest.$ac_ext <<_ACEOF
102131 /* end confdefs.h.  */
102132 #include <iconv.h>
102133 _ACEOF
102134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102135   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102136   ac_status=$?
102137   grep -v '^ *+' conftest.er1 >conftest.err
102138   rm -f conftest.er1
102139   cat conftest.err >&5
102140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102141   (exit $ac_status); } >/dev/null; then
102142   if test -s conftest.err; then
102143     ac_cpp_err=$ac_c_preproc_warn_flag
102144     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102145   else
102146     ac_cpp_err=
102147   fi
102148 else
102149   ac_cpp_err=yes
102150 fi
102151 if test -z "$ac_cpp_err"; then
102152   ac_header_preproc=yes
102153 else
102154   echo "$as_me: failed program was:" >&5
102155 sed 's/^/| /' conftest.$ac_ext >&5
102156
102157   ac_header_preproc=no
102158 fi
102159 rm -f conftest.err conftest.$ac_ext
102160 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102161 echo "${ECHO_T}$ac_header_preproc" >&6
102162
102163 # So?  What about this header?
102164 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102165   yes:no: )
102166     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
102167 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102168     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
102169 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
102170     ac_header_preproc=yes
102171     ;;
102172   no:yes:* )
102173     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
102174 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
102175     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
102176 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
102177     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
102178 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
102179     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
102180 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
102181     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
102182 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
102183     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
102184 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
102185     (
102186       cat <<\_ASBOX
102187 ## ----------------------------------------- ##
102188 ## Report this to the package-unused lists.  ##
102189 ## ----------------------------------------- ##
102190 _ASBOX
102191     ) |
102192       sed "s/^/$as_me: WARNING:     /" >&2
102193     ;;
102194 esac
102195 echo "$as_me:$LINENO: checking for iconv.h" >&5
102196 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102197 if test "${ac_cv_header_iconv_h+set}" = set; then
102198   echo $ECHO_N "(cached) $ECHO_C" >&6
102199 else
102200   ac_cv_header_iconv_h=$ac_header_preproc
102201 fi
102202 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102203 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102204
102205 fi
102206 if test $ac_cv_header_iconv_h = yes; then
102207   ac_has_iconv_h=yes
102208 else
102209   ac_has_iconv_h=no
102210 fi
102211
102212
102213     if test "${ac_cv_header_langinfo_h+set}" = set; then
102214   echo "$as_me:$LINENO: checking for langinfo.h" >&5
102215 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102216 if test "${ac_cv_header_langinfo_h+set}" = set; then
102217   echo $ECHO_N "(cached) $ECHO_C" >&6
102218 fi
102219 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102220 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102221 else
102222   # Is the header compilable?
102223 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
102224 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
102225 cat >conftest.$ac_ext <<_ACEOF
102226 /* confdefs.h.  */
102227 _ACEOF
102228 cat confdefs.h >>conftest.$ac_ext
102229 cat >>conftest.$ac_ext <<_ACEOF
102230 /* end confdefs.h.  */
102231 $ac_includes_default
102232 #include <langinfo.h>
102233 _ACEOF
102234 rm -f conftest.$ac_objext
102235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102236   (eval $ac_compile) 2>conftest.er1
102237   ac_status=$?
102238   grep -v '^ *+' conftest.er1 >conftest.err
102239   rm -f conftest.er1
102240   cat conftest.err >&5
102241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102242   (exit $ac_status); } &&
102243          { ac_try='test -z "$ac_c_werror_flag"
102244                          || test ! -s conftest.err'
102245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102246   (eval $ac_try) 2>&5
102247   ac_status=$?
102248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102249   (exit $ac_status); }; } &&
102250          { ac_try='test -s conftest.$ac_objext'
102251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102252   (eval $ac_try) 2>&5
102253   ac_status=$?
102254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102255   (exit $ac_status); }; }; then
102256   ac_header_compiler=yes
102257 else
102258   echo "$as_me: failed program was:" >&5
102259 sed 's/^/| /' conftest.$ac_ext >&5
102260
102261 ac_header_compiler=no
102262 fi
102263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102264 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102265 echo "${ECHO_T}$ac_header_compiler" >&6
102266
102267 # Is the header present?
102268 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
102269 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
102270 cat >conftest.$ac_ext <<_ACEOF
102271 /* confdefs.h.  */
102272 _ACEOF
102273 cat confdefs.h >>conftest.$ac_ext
102274 cat >>conftest.$ac_ext <<_ACEOF
102275 /* end confdefs.h.  */
102276 #include <langinfo.h>
102277 _ACEOF
102278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102279   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102280   ac_status=$?
102281   grep -v '^ *+' conftest.er1 >conftest.err
102282   rm -f conftest.er1
102283   cat conftest.err >&5
102284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102285   (exit $ac_status); } >/dev/null; then
102286   if test -s conftest.err; then
102287     ac_cpp_err=$ac_c_preproc_warn_flag
102288     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102289   else
102290     ac_cpp_err=
102291   fi
102292 else
102293   ac_cpp_err=yes
102294 fi
102295 if test -z "$ac_cpp_err"; then
102296   ac_header_preproc=yes
102297 else
102298   echo "$as_me: failed program was:" >&5
102299 sed 's/^/| /' conftest.$ac_ext >&5
102300
102301   ac_header_preproc=no
102302 fi
102303 rm -f conftest.err conftest.$ac_ext
102304 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102305 echo "${ECHO_T}$ac_header_preproc" >&6
102306
102307 # So?  What about this header?
102308 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102309   yes:no: )
102310     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
102311 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102312     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
102313 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
102314     ac_header_preproc=yes
102315     ;;
102316   no:yes:* )
102317     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
102318 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
102319     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
102320 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
102321     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
102322 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
102323     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
102324 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
102325     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
102326 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
102327     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
102328 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
102329     (
102330       cat <<\_ASBOX
102331 ## ----------------------------------------- ##
102332 ## Report this to the package-unused lists.  ##
102333 ## ----------------------------------------- ##
102334 _ASBOX
102335     ) |
102336       sed "s/^/$as_me: WARNING:     /" >&2
102337     ;;
102338 esac
102339 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102340 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102341 if test "${ac_cv_header_langinfo_h+set}" = set; then
102342   echo $ECHO_N "(cached) $ECHO_C" >&6
102343 else
102344   ac_cv_header_langinfo_h=$ac_header_preproc
102345 fi
102346 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102347 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102348
102349 fi
102350 if test $ac_cv_header_langinfo_h = yes; then
102351   ac_has_langinfo_h=yes
102352 else
102353   ac_has_langinfo_h=no
102354 fi
102355
102356
102357
102358     # Check for existence of libiconv.a providing XPG2 wchar_t support.
102359     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
102360 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
102361 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
102362   echo $ECHO_N "(cached) $ECHO_C" >&6
102363 else
102364   ac_check_lib_save_LIBS=$LIBS
102365 LIBS="-liconv  $LIBS"
102366 if test x$gcc_no_link = xyes; then
102367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102369    { (exit 1); exit 1; }; }
102370 fi
102371 cat >conftest.$ac_ext <<_ACEOF
102372 /* confdefs.h.  */
102373 _ACEOF
102374 cat confdefs.h >>conftest.$ac_ext
102375 cat >>conftest.$ac_ext <<_ACEOF
102376 /* end confdefs.h.  */
102377
102378 /* Override any gcc2 internal prototype to avoid an error.  */
102379 #ifdef __cplusplus
102380 extern "C"
102381 #endif
102382 /* We use char because int might match the return type of a gcc2
102383    builtin and then its argument prototype would still apply.  */
102384 char iconv ();
102385 int
102386 main ()
102387 {
102388 iconv ();
102389   ;
102390   return 0;
102391 }
102392 _ACEOF
102393 rm -f conftest.$ac_objext conftest$ac_exeext
102394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102395   (eval $ac_link) 2>conftest.er1
102396   ac_status=$?
102397   grep -v '^ *+' conftest.er1 >conftest.err
102398   rm -f conftest.er1
102399   cat conftest.err >&5
102400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102401   (exit $ac_status); } &&
102402          { ac_try='test -z "$ac_c_werror_flag"
102403                          || test ! -s conftest.err'
102404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102405   (eval $ac_try) 2>&5
102406   ac_status=$?
102407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102408   (exit $ac_status); }; } &&
102409          { ac_try='test -s conftest$ac_exeext'
102410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102411   (eval $ac_try) 2>&5
102412   ac_status=$?
102413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102414   (exit $ac_status); }; }; then
102415   ac_cv_lib_iconv_iconv=yes
102416 else
102417   echo "$as_me: failed program was:" >&5
102418 sed 's/^/| /' conftest.$ac_ext >&5
102419
102420 ac_cv_lib_iconv_iconv=no
102421 fi
102422 rm -f conftest.err conftest.$ac_objext \
102423       conftest$ac_exeext conftest.$ac_ext
102424 LIBS=$ac_check_lib_save_LIBS
102425 fi
102426 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
102427 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
102428 if test $ac_cv_lib_iconv_iconv = yes; then
102429   LIBICONV="-liconv"
102430 fi
102431
102432     ac_save_LIBS="$LIBS"
102433     LIBS="$LIBS $LIBICONV"
102434
102435
102436
102437
102438
102439
102440 for ac_func in iconv_open iconv_close iconv nl_langinfo
102441 do
102442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102443 echo "$as_me:$LINENO: checking for $ac_func" >&5
102444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102445 if eval "test \"\${$as_ac_var+set}\" = set"; then
102446   echo $ECHO_N "(cached) $ECHO_C" >&6
102447 else
102448   if test x$gcc_no_link = xyes; then
102449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102451    { (exit 1); exit 1; }; }
102452 fi
102453 cat >conftest.$ac_ext <<_ACEOF
102454 /* confdefs.h.  */
102455 _ACEOF
102456 cat confdefs.h >>conftest.$ac_ext
102457 cat >>conftest.$ac_ext <<_ACEOF
102458 /* end confdefs.h.  */
102459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102461 #define $ac_func innocuous_$ac_func
102462
102463 /* System header to define __stub macros and hopefully few prototypes,
102464     which can conflict with char $ac_func (); below.
102465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102466     <limits.h> exists even on freestanding compilers.  */
102467
102468 #ifdef __STDC__
102469 # include <limits.h>
102470 #else
102471 # include <assert.h>
102472 #endif
102473
102474 #undef $ac_func
102475
102476 /* Override any gcc2 internal prototype to avoid an error.  */
102477 #ifdef __cplusplus
102478 extern "C"
102479 {
102480 #endif
102481 /* We use char because int might match the return type of a gcc2
102482    builtin and then its argument prototype would still apply.  */
102483 char $ac_func ();
102484 /* The GNU C library defines this for functions which it implements
102485     to always fail with ENOSYS.  Some functions are actually named
102486     something starting with __ and the normal name is an alias.  */
102487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102488 choke me
102489 #else
102490 char (*f) () = $ac_func;
102491 #endif
102492 #ifdef __cplusplus
102493 }
102494 #endif
102495
102496 int
102497 main ()
102498 {
102499 return f != $ac_func;
102500   ;
102501   return 0;
102502 }
102503 _ACEOF
102504 rm -f conftest.$ac_objext conftest$ac_exeext
102505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102506   (eval $ac_link) 2>conftest.er1
102507   ac_status=$?
102508   grep -v '^ *+' conftest.er1 >conftest.err
102509   rm -f conftest.er1
102510   cat conftest.err >&5
102511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102512   (exit $ac_status); } &&
102513          { ac_try='test -z "$ac_c_werror_flag"
102514                          || test ! -s conftest.err'
102515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102516   (eval $ac_try) 2>&5
102517   ac_status=$?
102518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102519   (exit $ac_status); }; } &&
102520          { ac_try='test -s conftest$ac_exeext'
102521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102522   (eval $ac_try) 2>&5
102523   ac_status=$?
102524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102525   (exit $ac_status); }; }; then
102526   eval "$as_ac_var=yes"
102527 else
102528   echo "$as_me: failed program was:" >&5
102529 sed 's/^/| /' conftest.$ac_ext >&5
102530
102531 eval "$as_ac_var=no"
102532 fi
102533 rm -f conftest.err conftest.$ac_objext \
102534       conftest$ac_exeext conftest.$ac_ext
102535 fi
102536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102538 if test `eval echo '${'$as_ac_var'}'` = yes; then
102539   cat >>confdefs.h <<_ACEOF
102540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102541 _ACEOF
102542  ac_XPG2funcs=yes
102543 else
102544   ac_XPG2funcs=no
102545 fi
102546 done
102547
102548
102549     LIBS="$ac_save_LIBS"
102550
102551     if test x"$ac_has_iconv_h" = xyes &&
102552        test x"$ac_has_langinfo_h" = xyes &&
102553        test x"$ac_XPG2funcs" = xyes;
102554     then
102555
102556 cat >>confdefs.h <<\_ACEOF
102557 #define _GLIBCXX_USE_ICONV 1
102558 _ACEOF
102559
102560       enable_iconv=yes
102561     fi
102562   fi
102563   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
102564 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
102565   echo "$as_me:$LINENO: result: $enable_iconv" >&5
102566 echo "${ECHO_T}$enable_iconv" >&6
102567
102568     cat >>confdefs.h <<\_ACEOF
102569 #define HAVE_COPYSIGN 1
102570 _ACEOF
102571
102572     cat >>confdefs.h <<\_ACEOF
102573 #define HAVE_COPYSIGNF 1
102574 _ACEOF
102575
102576     cat >>confdefs.h <<\_ACEOF
102577 #define HAVE_FINITEF 1
102578 _ACEOF
102579
102580     cat >>confdefs.h <<\_ACEOF
102581 #define HAVE_FINITE 1
102582 _ACEOF
102583
102584     cat >>confdefs.h <<\_ACEOF
102585 #define HAVE_FREXPF 1
102586 _ACEOF
102587
102588     cat >>confdefs.h <<\_ACEOF
102589 #define HAVE_HYPOTF 1
102590 _ACEOF
102591
102592     cat >>confdefs.h <<\_ACEOF
102593 #define HAVE_ISINF 1
102594 _ACEOF
102595
102596     cat >>confdefs.h <<\_ACEOF
102597 #define HAVE_ISINFF 1
102598 _ACEOF
102599
102600     cat >>confdefs.h <<\_ACEOF
102601 #define HAVE_ISNAN 1
102602 _ACEOF
102603
102604     cat >>confdefs.h <<\_ACEOF
102605 #define HAVE_ISNANF 1
102606 _ACEOF
102607
102608     if test x"long_double_math_on_this_cpu" = x"yes"; then
102609       cat >>confdefs.h <<\_ACEOF
102610 #define HAVE_FINITEL 1
102611 _ACEOF
102612
102613       cat >>confdefs.h <<\_ACEOF
102614 #define HAVE_ISINFL 1
102615 _ACEOF
102616
102617       cat >>confdefs.h <<\_ACEOF
102618 #define HAVE_ISNANL 1
102619 _ACEOF
102620
102621     fi
102622     ;;
102623   *-netware)
102624
102625
102626
102627
102628
102629
102630
102631
102632 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
102633       sys/types.h locale.h float.h inttypes.h
102634 do
102635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
102636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102637   echo "$as_me:$LINENO: checking for $ac_header" >&5
102638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102640   echo $ECHO_N "(cached) $ECHO_C" >&6
102641 fi
102642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102644 else
102645   # Is the header compilable?
102646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
102647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
102648 cat >conftest.$ac_ext <<_ACEOF
102649 /* confdefs.h.  */
102650 _ACEOF
102651 cat confdefs.h >>conftest.$ac_ext
102652 cat >>conftest.$ac_ext <<_ACEOF
102653 /* end confdefs.h.  */
102654 $ac_includes_default
102655 #include <$ac_header>
102656 _ACEOF
102657 rm -f conftest.$ac_objext
102658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102659   (eval $ac_compile) 2>conftest.er1
102660   ac_status=$?
102661   grep -v '^ *+' conftest.er1 >conftest.err
102662   rm -f conftest.er1
102663   cat conftest.err >&5
102664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102665   (exit $ac_status); } &&
102666          { ac_try='test -z "$ac_c_werror_flag"
102667                          || test ! -s conftest.err'
102668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102669   (eval $ac_try) 2>&5
102670   ac_status=$?
102671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102672   (exit $ac_status); }; } &&
102673          { ac_try='test -s conftest.$ac_objext'
102674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102675   (eval $ac_try) 2>&5
102676   ac_status=$?
102677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102678   (exit $ac_status); }; }; then
102679   ac_header_compiler=yes
102680 else
102681   echo "$as_me: failed program was:" >&5
102682 sed 's/^/| /' conftest.$ac_ext >&5
102683
102684 ac_header_compiler=no
102685 fi
102686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102688 echo "${ECHO_T}$ac_header_compiler" >&6
102689
102690 # Is the header present?
102691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
102692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
102693 cat >conftest.$ac_ext <<_ACEOF
102694 /* confdefs.h.  */
102695 _ACEOF
102696 cat confdefs.h >>conftest.$ac_ext
102697 cat >>conftest.$ac_ext <<_ACEOF
102698 /* end confdefs.h.  */
102699 #include <$ac_header>
102700 _ACEOF
102701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102702   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102703   ac_status=$?
102704   grep -v '^ *+' conftest.er1 >conftest.err
102705   rm -f conftest.er1
102706   cat conftest.err >&5
102707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102708   (exit $ac_status); } >/dev/null; then
102709   if test -s conftest.err; then
102710     ac_cpp_err=$ac_c_preproc_warn_flag
102711     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102712   else
102713     ac_cpp_err=
102714   fi
102715 else
102716   ac_cpp_err=yes
102717 fi
102718 if test -z "$ac_cpp_err"; then
102719   ac_header_preproc=yes
102720 else
102721   echo "$as_me: failed program was:" >&5
102722 sed 's/^/| /' conftest.$ac_ext >&5
102723
102724   ac_header_preproc=no
102725 fi
102726 rm -f conftest.err conftest.$ac_ext
102727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102728 echo "${ECHO_T}$ac_header_preproc" >&6
102729
102730 # So?  What about this header?
102731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102732   yes:no: )
102733     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
102734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
102735     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
102736 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
102737     ac_header_preproc=yes
102738     ;;
102739   no:yes:* )
102740     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
102741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
102742     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
102743 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
102744     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
102745 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
102746     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
102747 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
102748     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
102749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
102750     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
102751 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
102752     (
102753       cat <<\_ASBOX
102754 ## ----------------------------------------- ##
102755 ## Report this to the package-unused lists.  ##
102756 ## ----------------------------------------- ##
102757 _ASBOX
102758     ) |
102759       sed "s/^/$as_me: WARNING:     /" >&2
102760     ;;
102761 esac
102762 echo "$as_me:$LINENO: checking for $ac_header" >&5
102763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102765   echo $ECHO_N "(cached) $ECHO_C" >&6
102766 else
102767   eval "$as_ac_Header=\$ac_header_preproc"
102768 fi
102769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102771
102772 fi
102773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
102774   cat >>confdefs.h <<_ACEOF
102775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
102776 _ACEOF
102777
102778 fi
102779
102780 done
102781
102782     SECTION_FLAGS='-ffunction-sections -fdata-sections'
102783
102784
102785   # If we're not using GNU ld, then there's no point in even trying these
102786   # tests.  Check for that first.  We should have already tested for gld
102787   # by now (in libtool), but require it now just to be safe...
102788   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102789   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102790
102791
102792
102793   # The name set by libtool depends on the version of libtool.  Shame on us
102794   # for depending on an impl detail, but c'est la vie.  Older versions used
102795   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102796   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102797   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
102798   # set (hence we're using an older libtool), then set it.
102799   if test x${with_gnu_ld+set} != xset; then
102800     if test x${ac_cv_prog_gnu_ld+set} != xset; then
102801       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
102802       with_gnu_ld=no
102803     else
102804       with_gnu_ld=$ac_cv_prog_gnu_ld
102805     fi
102806   fi
102807
102808   # Start by getting the version number.  I think the libtool test already
102809   # does some of this, but throws away the result.
102810   if test x"$with_gnu_ld" = x"yes"; then
102811     echo "$as_me:$LINENO: checking for ld version" >&5
102812 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102813
102814     ldver=`$LD --version 2>/dev/null | head -1 | \
102815            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
102816
102817     glibcxx_gnu_ld_version=`echo $ldver | \
102818            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102819     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102820 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102821   fi
102822
102823   # Set --gc-sections.
102824   glibcxx_gcsections_min_ld=21602
102825   if test x"$with_gnu_ld" = x"yes" &&
102826         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102827
102828     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
102829     # NB: This flag only works reliably after 2.16.1. Configure tests
102830     # for this are difficult, so hard wire a value that should work.
102831
102832     # All these tests are for C++, but run with the "C" compiler driver.
102833     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
102834     ac_test_CFLAGS="${CFLAGS+set}"
102835     ac_save_CFLAGS="$CFLAGS"
102836     CFLAGS='-x c++ -Wl,--gc-sections'
102837
102838     # Check for -Wl,--gc-sections
102839     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102840 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102841     if test x$gcc_no_link = xyes; then
102842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102844    { (exit 1); exit 1; }; }
102845 fi
102846 cat >conftest.$ac_ext <<_ACEOF
102847 /* confdefs.h.  */
102848 _ACEOF
102849 cat confdefs.h >>conftest.$ac_ext
102850 cat >>conftest.$ac_ext <<_ACEOF
102851 /* end confdefs.h.  */
102852  int one(void) { return 1; }
102853      int two(void) { return 2; }
102854
102855 int
102856 main ()
102857 {
102858  two();
102859   ;
102860   return 0;
102861 }
102862 _ACEOF
102863 rm -f conftest.$ac_objext conftest$ac_exeext
102864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102865   (eval $ac_link) 2>conftest.er1
102866   ac_status=$?
102867   grep -v '^ *+' conftest.er1 >conftest.err
102868   rm -f conftest.er1
102869   cat conftest.err >&5
102870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102871   (exit $ac_status); } &&
102872          { ac_try='test -z "$ac_c_werror_flag"
102873                          || test ! -s conftest.err'
102874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102875   (eval $ac_try) 2>&5
102876   ac_status=$?
102877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102878   (exit $ac_status); }; } &&
102879          { ac_try='test -s conftest$ac_exeext'
102880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102881   (eval $ac_try) 2>&5
102882   ac_status=$?
102883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102884   (exit $ac_status); }; }; then
102885   ac_gcsections=yes
102886 else
102887   echo "$as_me: failed program was:" >&5
102888 sed 's/^/| /' conftest.$ac_ext >&5
102889
102890 ac_gcsections=no
102891 fi
102892 rm -f conftest.err conftest.$ac_objext \
102893       conftest$ac_exeext conftest.$ac_ext
102894     if test "$ac_gcsections" = "yes"; then
102895       rm -f conftest.c
102896       touch conftest.c
102897       if $CC -c conftest.c; then
102898         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102899            grep "Warning: gc-sections option ignored" > /dev/null; then
102900           ac_gcsections=no
102901         fi
102902       fi
102903       rm -f conftest.c conftest.o conftest
102904     fi
102905     if test "$ac_gcsections" = "yes"; then
102906       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102907     fi
102908     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102909 echo "${ECHO_T}$ac_gcsections" >&6
102910
102911     if test "$ac_test_CFLAGS" = set; then
102912       CFLAGS="$ac_save_CFLAGS"
102913     else
102914       # this is the suspicious part
102915       CFLAGS=''
102916     fi
102917   fi
102918
102919   # Set -z,relro.
102920   # Note this is only for shared objects.
102921   ac_ld_relro=no
102922   if test x"$with_gnu_ld" = x"yes"; then
102923     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102924 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102925     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102926     if test -n "$cxx_z_relo"; then
102927       OPT_LDFLAGS="-Wl,-z,relro"
102928       ac_ld_relro=yes
102929     fi
102930     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102931 echo "${ECHO_T}$ac_ld_relro" >&6
102932   fi
102933
102934   # Set linker optimization flags.
102935   if test x"$with_gnu_ld" = x"yes"; then
102936     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102937   fi
102938
102939
102940
102941
102942
102943
102944 echo "$as_me:$LINENO: checking for main in -lm" >&5
102945 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
102946 if test "${ac_cv_lib_m_main+set}" = set; then
102947   echo $ECHO_N "(cached) $ECHO_C" >&6
102948 else
102949   ac_check_lib_save_LIBS=$LIBS
102950 LIBS="-lm  $LIBS"
102951 if test x$gcc_no_link = xyes; then
102952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102954    { (exit 1); exit 1; }; }
102955 fi
102956 cat >conftest.$ac_ext <<_ACEOF
102957 /* confdefs.h.  */
102958 _ACEOF
102959 cat confdefs.h >>conftest.$ac_ext
102960 cat >>conftest.$ac_ext <<_ACEOF
102961 /* end confdefs.h.  */
102962
102963
102964 int
102965 main ()
102966 {
102967 main ();
102968   ;
102969   return 0;
102970 }
102971 _ACEOF
102972 rm -f conftest.$ac_objext conftest$ac_exeext
102973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102974   (eval $ac_link) 2>conftest.er1
102975   ac_status=$?
102976   grep -v '^ *+' conftest.er1 >conftest.err
102977   rm -f conftest.er1
102978   cat conftest.err >&5
102979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102980   (exit $ac_status); } &&
102981          { ac_try='test -z "$ac_c_werror_flag"
102982                          || test ! -s conftest.err'
102983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102984   (eval $ac_try) 2>&5
102985   ac_status=$?
102986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102987   (exit $ac_status); }; } &&
102988          { ac_try='test -s conftest$ac_exeext'
102989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102990   (eval $ac_try) 2>&5
102991   ac_status=$?
102992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102993   (exit $ac_status); }; }; then
102994   ac_cv_lib_m_main=yes
102995 else
102996   echo "$as_me: failed program was:" >&5
102997 sed 's/^/| /' conftest.$ac_ext >&5
102998
102999 ac_cv_lib_m_main=no
103000 fi
103001 rm -f conftest.err conftest.$ac_objext \
103002       conftest$ac_exeext conftest.$ac_ext
103003 LIBS=$ac_check_lib_save_LIBS
103004 fi
103005 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
103006 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
103007 if test $ac_cv_lib_m_main = yes; then
103008   cat >>confdefs.h <<_ACEOF
103009 #define HAVE_LIBM 1
103010 _ACEOF
103011
103012   LIBS="-lm $LIBS"
103013
103014 fi
103015
103016
103017 for ac_func in copysignf
103018 do
103019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103020 echo "$as_me:$LINENO: checking for $ac_func" >&5
103021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103022 if eval "test \"\${$as_ac_var+set}\" = set"; then
103023   echo $ECHO_N "(cached) $ECHO_C" >&6
103024 else
103025   if test x$gcc_no_link = xyes; then
103026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103028    { (exit 1); exit 1; }; }
103029 fi
103030 cat >conftest.$ac_ext <<_ACEOF
103031 /* confdefs.h.  */
103032 _ACEOF
103033 cat confdefs.h >>conftest.$ac_ext
103034 cat >>conftest.$ac_ext <<_ACEOF
103035 /* end confdefs.h.  */
103036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103037    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103038 #define $ac_func innocuous_$ac_func
103039
103040 /* System header to define __stub macros and hopefully few prototypes,
103041     which can conflict with char $ac_func (); below.
103042     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103043     <limits.h> exists even on freestanding compilers.  */
103044
103045 #ifdef __STDC__
103046 # include <limits.h>
103047 #else
103048 # include <assert.h>
103049 #endif
103050
103051 #undef $ac_func
103052
103053 /* Override any gcc2 internal prototype to avoid an error.  */
103054 #ifdef __cplusplus
103055 extern "C"
103056 {
103057 #endif
103058 /* We use char because int might match the return type of a gcc2
103059    builtin and then its argument prototype would still apply.  */
103060 char $ac_func ();
103061 /* The GNU C library defines this for functions which it implements
103062     to always fail with ENOSYS.  Some functions are actually named
103063     something starting with __ and the normal name is an alias.  */
103064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103065 choke me
103066 #else
103067 char (*f) () = $ac_func;
103068 #endif
103069 #ifdef __cplusplus
103070 }
103071 #endif
103072
103073 int
103074 main ()
103075 {
103076 return f != $ac_func;
103077   ;
103078   return 0;
103079 }
103080 _ACEOF
103081 rm -f conftest.$ac_objext conftest$ac_exeext
103082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103083   (eval $ac_link) 2>conftest.er1
103084   ac_status=$?
103085   grep -v '^ *+' conftest.er1 >conftest.err
103086   rm -f conftest.er1
103087   cat conftest.err >&5
103088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103089   (exit $ac_status); } &&
103090          { ac_try='test -z "$ac_c_werror_flag"
103091                          || test ! -s conftest.err'
103092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103093   (eval $ac_try) 2>&5
103094   ac_status=$?
103095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103096   (exit $ac_status); }; } &&
103097          { ac_try='test -s conftest$ac_exeext'
103098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103099   (eval $ac_try) 2>&5
103100   ac_status=$?
103101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103102   (exit $ac_status); }; }; then
103103   eval "$as_ac_var=yes"
103104 else
103105   echo "$as_me: failed program was:" >&5
103106 sed 's/^/| /' conftest.$ac_ext >&5
103107
103108 eval "$as_ac_var=no"
103109 fi
103110 rm -f conftest.err conftest.$ac_objext \
103111       conftest$ac_exeext conftest.$ac_ext
103112 fi
103113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103115 if test `eval echo '${'$as_ac_var'}'` = yes; then
103116   cat >>confdefs.h <<_ACEOF
103117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103118 _ACEOF
103119
103120 else
103121   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103122 fi
103123 done
103124
103125
103126
103127 for ac_func in __signbit
103128 do
103129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103130 echo "$as_me:$LINENO: checking for $ac_func" >&5
103131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103132 if eval "test \"\${$as_ac_var+set}\" = set"; then
103133   echo $ECHO_N "(cached) $ECHO_C" >&6
103134 else
103135   if test x$gcc_no_link = xyes; then
103136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103138    { (exit 1); exit 1; }; }
103139 fi
103140 cat >conftest.$ac_ext <<_ACEOF
103141 /* confdefs.h.  */
103142 _ACEOF
103143 cat confdefs.h >>conftest.$ac_ext
103144 cat >>conftest.$ac_ext <<_ACEOF
103145 /* end confdefs.h.  */
103146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103148 #define $ac_func innocuous_$ac_func
103149
103150 /* System header to define __stub macros and hopefully few prototypes,
103151     which can conflict with char $ac_func (); below.
103152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103153     <limits.h> exists even on freestanding compilers.  */
103154
103155 #ifdef __STDC__
103156 # include <limits.h>
103157 #else
103158 # include <assert.h>
103159 #endif
103160
103161 #undef $ac_func
103162
103163 /* Override any gcc2 internal prototype to avoid an error.  */
103164 #ifdef __cplusplus
103165 extern "C"
103166 {
103167 #endif
103168 /* We use char because int might match the return type of a gcc2
103169    builtin and then its argument prototype would still apply.  */
103170 char $ac_func ();
103171 /* The GNU C library defines this for functions which it implements
103172     to always fail with ENOSYS.  Some functions are actually named
103173     something starting with __ and the normal name is an alias.  */
103174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103175 choke me
103176 #else
103177 char (*f) () = $ac_func;
103178 #endif
103179 #ifdef __cplusplus
103180 }
103181 #endif
103182
103183 int
103184 main ()
103185 {
103186 return f != $ac_func;
103187   ;
103188   return 0;
103189 }
103190 _ACEOF
103191 rm -f conftest.$ac_objext conftest$ac_exeext
103192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103193   (eval $ac_link) 2>conftest.er1
103194   ac_status=$?
103195   grep -v '^ *+' conftest.er1 >conftest.err
103196   rm -f conftest.er1
103197   cat conftest.err >&5
103198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103199   (exit $ac_status); } &&
103200          { ac_try='test -z "$ac_c_werror_flag"
103201                          || test ! -s conftest.err'
103202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103203   (eval $ac_try) 2>&5
103204   ac_status=$?
103205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103206   (exit $ac_status); }; } &&
103207          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
103213   eval "$as_ac_var=yes"
103214 else
103215   echo "$as_me: failed program was:" >&5
103216 sed 's/^/| /' conftest.$ac_ext >&5
103217
103218 eval "$as_ac_var=no"
103219 fi
103220 rm -f conftest.err conftest.$ac_objext \
103221       conftest$ac_exeext conftest.$ac_ext
103222 fi
103223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103225 if test `eval echo '${'$as_ac_var'}'` = yes; then
103226   cat >>confdefs.h <<_ACEOF
103227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103228 _ACEOF
103229
103230 else
103231   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103232 fi
103233 done
103234
103235
103236
103237 for ac_func in __signbitf
103238 do
103239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103240 echo "$as_me:$LINENO: checking for $ac_func" >&5
103241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103242 if eval "test \"\${$as_ac_var+set}\" = set"; then
103243   echo $ECHO_N "(cached) $ECHO_C" >&6
103244 else
103245   if test x$gcc_no_link = xyes; then
103246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103248    { (exit 1); exit 1; }; }
103249 fi
103250 cat >conftest.$ac_ext <<_ACEOF
103251 /* confdefs.h.  */
103252 _ACEOF
103253 cat confdefs.h >>conftest.$ac_ext
103254 cat >>conftest.$ac_ext <<_ACEOF
103255 /* end confdefs.h.  */
103256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103257    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103258 #define $ac_func innocuous_$ac_func
103259
103260 /* System header to define __stub macros and hopefully few prototypes,
103261     which can conflict with char $ac_func (); below.
103262     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103263     <limits.h> exists even on freestanding compilers.  */
103264
103265 #ifdef __STDC__
103266 # include <limits.h>
103267 #else
103268 # include <assert.h>
103269 #endif
103270
103271 #undef $ac_func
103272
103273 /* Override any gcc2 internal prototype to avoid an error.  */
103274 #ifdef __cplusplus
103275 extern "C"
103276 {
103277 #endif
103278 /* We use char because int might match the return type of a gcc2
103279    builtin and then its argument prototype would still apply.  */
103280 char $ac_func ();
103281 /* The GNU C library defines this for functions which it implements
103282     to always fail with ENOSYS.  Some functions are actually named
103283     something starting with __ and the normal name is an alias.  */
103284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103285 choke me
103286 #else
103287 char (*f) () = $ac_func;
103288 #endif
103289 #ifdef __cplusplus
103290 }
103291 #endif
103292
103293 int
103294 main ()
103295 {
103296 return f != $ac_func;
103297   ;
103298   return 0;
103299 }
103300 _ACEOF
103301 rm -f conftest.$ac_objext conftest$ac_exeext
103302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103303   (eval $ac_link) 2>conftest.er1
103304   ac_status=$?
103305   grep -v '^ *+' conftest.er1 >conftest.err
103306   rm -f conftest.er1
103307   cat conftest.err >&5
103308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103309   (exit $ac_status); } &&
103310          { ac_try='test -z "$ac_c_werror_flag"
103311                          || test ! -s conftest.err'
103312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103313   (eval $ac_try) 2>&5
103314   ac_status=$?
103315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103316   (exit $ac_status); }; } &&
103317          { ac_try='test -s conftest$ac_exeext'
103318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103319   (eval $ac_try) 2>&5
103320   ac_status=$?
103321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103322   (exit $ac_status); }; }; then
103323   eval "$as_ac_var=yes"
103324 else
103325   echo "$as_me: failed program was:" >&5
103326 sed 's/^/| /' conftest.$ac_ext >&5
103327
103328 eval "$as_ac_var=no"
103329 fi
103330 rm -f conftest.err conftest.$ac_objext \
103331       conftest$ac_exeext conftest.$ac_ext
103332 fi
103333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103335 if test `eval echo '${'$as_ac_var'}'` = yes; then
103336   cat >>confdefs.h <<_ACEOF
103337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103338 _ACEOF
103339
103340 else
103341   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103342 fi
103343 done
103344
103345
103346           if test x$ac_cv_func_copysignl = x"yes"; then
103347
103348 for ac_func in __signbitl
103349 do
103350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103351 echo "$as_me:$LINENO: checking for $ac_func" >&5
103352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103353 if eval "test \"\${$as_ac_var+set}\" = set"; then
103354   echo $ECHO_N "(cached) $ECHO_C" >&6
103355 else
103356   if test x$gcc_no_link = xyes; then
103357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103359    { (exit 1); exit 1; }; }
103360 fi
103361 cat >conftest.$ac_ext <<_ACEOF
103362 /* confdefs.h.  */
103363 _ACEOF
103364 cat confdefs.h >>conftest.$ac_ext
103365 cat >>conftest.$ac_ext <<_ACEOF
103366 /* end confdefs.h.  */
103367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103368    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103369 #define $ac_func innocuous_$ac_func
103370
103371 /* System header to define __stub macros and hopefully few prototypes,
103372     which can conflict with char $ac_func (); below.
103373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103374     <limits.h> exists even on freestanding compilers.  */
103375
103376 #ifdef __STDC__
103377 # include <limits.h>
103378 #else
103379 # include <assert.h>
103380 #endif
103381
103382 #undef $ac_func
103383
103384 /* Override any gcc2 internal prototype to avoid an error.  */
103385 #ifdef __cplusplus
103386 extern "C"
103387 {
103388 #endif
103389 /* We use char because int might match the return type of a gcc2
103390    builtin and then its argument prototype would still apply.  */
103391 char $ac_func ();
103392 /* The GNU C library defines this for functions which it implements
103393     to always fail with ENOSYS.  Some functions are actually named
103394     something starting with __ and the normal name is an alias.  */
103395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103396 choke me
103397 #else
103398 char (*f) () = $ac_func;
103399 #endif
103400 #ifdef __cplusplus
103401 }
103402 #endif
103403
103404 int
103405 main ()
103406 {
103407 return f != $ac_func;
103408   ;
103409   return 0;
103410 }
103411 _ACEOF
103412 rm -f conftest.$ac_objext conftest$ac_exeext
103413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103414   (eval $ac_link) 2>conftest.er1
103415   ac_status=$?
103416   grep -v '^ *+' conftest.er1 >conftest.err
103417   rm -f conftest.er1
103418   cat conftest.err >&5
103419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103420   (exit $ac_status); } &&
103421          { ac_try='test -z "$ac_c_werror_flag"
103422                          || test ! -s conftest.err'
103423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103424   (eval $ac_try) 2>&5
103425   ac_status=$?
103426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103427   (exit $ac_status); }; } &&
103428          { ac_try='test -s conftest$ac_exeext'
103429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103430   (eval $ac_try) 2>&5
103431   ac_status=$?
103432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103433   (exit $ac_status); }; }; then
103434   eval "$as_ac_var=yes"
103435 else
103436   echo "$as_me: failed program was:" >&5
103437 sed 's/^/| /' conftest.$ac_ext >&5
103438
103439 eval "$as_ac_var=no"
103440 fi
103441 rm -f conftest.err conftest.$ac_objext \
103442       conftest$ac_exeext conftest.$ac_ext
103443 fi
103444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103446 if test `eval echo '${'$as_ac_var'}'` = yes; then
103447   cat >>confdefs.h <<_ACEOF
103448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103449 _ACEOF
103450
103451 else
103452   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103453 fi
103454 done
103455
103456   fi
103457
103458   # Used in libmath/Makefile.am.
103459   if test -n "$LIBMATHOBJS"; then
103460     need_libmath=yes
103461   fi
103462
103463
103464
103465
103466   enable_iconv=no
103467   # Only continue checking if the ISO C99 headers exist and support is on.
103468   if test x"$enable_wchar_t" = xyes; then
103469
103470     # Use iconv for wchar_t to char conversions. As such, check for
103471     # X/Open Portability Guide, version 2 features (XPG2).
103472     if test "${ac_cv_header_iconv_h+set}" = set; then
103473   echo "$as_me:$LINENO: checking for iconv.h" >&5
103474 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103475 if test "${ac_cv_header_iconv_h+set}" = set; then
103476   echo $ECHO_N "(cached) $ECHO_C" >&6
103477 fi
103478 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103479 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103480 else
103481   # Is the header compilable?
103482 echo "$as_me:$LINENO: checking iconv.h usability" >&5
103483 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
103484 cat >conftest.$ac_ext <<_ACEOF
103485 /* confdefs.h.  */
103486 _ACEOF
103487 cat confdefs.h >>conftest.$ac_ext
103488 cat >>conftest.$ac_ext <<_ACEOF
103489 /* end confdefs.h.  */
103490 $ac_includes_default
103491 #include <iconv.h>
103492 _ACEOF
103493 rm -f conftest.$ac_objext
103494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103495   (eval $ac_compile) 2>conftest.er1
103496   ac_status=$?
103497   grep -v '^ *+' conftest.er1 >conftest.err
103498   rm -f conftest.er1
103499   cat conftest.err >&5
103500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103501   (exit $ac_status); } &&
103502          { ac_try='test -z "$ac_c_werror_flag"
103503                          || test ! -s conftest.err'
103504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103505   (eval $ac_try) 2>&5
103506   ac_status=$?
103507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103508   (exit $ac_status); }; } &&
103509          { ac_try='test -s conftest.$ac_objext'
103510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103511   (eval $ac_try) 2>&5
103512   ac_status=$?
103513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103514   (exit $ac_status); }; }; then
103515   ac_header_compiler=yes
103516 else
103517   echo "$as_me: failed program was:" >&5
103518 sed 's/^/| /' conftest.$ac_ext >&5
103519
103520 ac_header_compiler=no
103521 fi
103522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103524 echo "${ECHO_T}$ac_header_compiler" >&6
103525
103526 # Is the header present?
103527 echo "$as_me:$LINENO: checking iconv.h presence" >&5
103528 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
103529 cat >conftest.$ac_ext <<_ACEOF
103530 /* confdefs.h.  */
103531 _ACEOF
103532 cat confdefs.h >>conftest.$ac_ext
103533 cat >>conftest.$ac_ext <<_ACEOF
103534 /* end confdefs.h.  */
103535 #include <iconv.h>
103536 _ACEOF
103537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103538   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103539   ac_status=$?
103540   grep -v '^ *+' conftest.er1 >conftest.err
103541   rm -f conftest.er1
103542   cat conftest.err >&5
103543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103544   (exit $ac_status); } >/dev/null; then
103545   if test -s conftest.err; then
103546     ac_cpp_err=$ac_c_preproc_warn_flag
103547     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103548   else
103549     ac_cpp_err=
103550   fi
103551 else
103552   ac_cpp_err=yes
103553 fi
103554 if test -z "$ac_cpp_err"; then
103555   ac_header_preproc=yes
103556 else
103557   echo "$as_me: failed program was:" >&5
103558 sed 's/^/| /' conftest.$ac_ext >&5
103559
103560   ac_header_preproc=no
103561 fi
103562 rm -f conftest.err conftest.$ac_ext
103563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103564 echo "${ECHO_T}$ac_header_preproc" >&6
103565
103566 # So?  What about this header?
103567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103568   yes:no: )
103569     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
103570 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103571     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
103572 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
103573     ac_header_preproc=yes
103574     ;;
103575   no:yes:* )
103576     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
103577 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
103578     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
103579 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
103580     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
103581 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
103582     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
103583 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
103584     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
103585 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
103586     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
103587 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
103588     (
103589       cat <<\_ASBOX
103590 ## ----------------------------------------- ##
103591 ## Report this to the package-unused lists.  ##
103592 ## ----------------------------------------- ##
103593 _ASBOX
103594     ) |
103595       sed "s/^/$as_me: WARNING:     /" >&2
103596     ;;
103597 esac
103598 echo "$as_me:$LINENO: checking for iconv.h" >&5
103599 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103600 if test "${ac_cv_header_iconv_h+set}" = set; then
103601   echo $ECHO_N "(cached) $ECHO_C" >&6
103602 else
103603   ac_cv_header_iconv_h=$ac_header_preproc
103604 fi
103605 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103606 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103607
103608 fi
103609 if test $ac_cv_header_iconv_h = yes; then
103610   ac_has_iconv_h=yes
103611 else
103612   ac_has_iconv_h=no
103613 fi
103614
103615
103616     if test "${ac_cv_header_langinfo_h+set}" = set; then
103617   echo "$as_me:$LINENO: checking for langinfo.h" >&5
103618 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
103619 if test "${ac_cv_header_langinfo_h+set}" = set; then
103620   echo $ECHO_N "(cached) $ECHO_C" >&6
103621 fi
103622 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
103623 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
103624 else
103625   # Is the header compilable?
103626 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
103627 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
103628 cat >conftest.$ac_ext <<_ACEOF
103629 /* confdefs.h.  */
103630 _ACEOF
103631 cat confdefs.h >>conftest.$ac_ext
103632 cat >>conftest.$ac_ext <<_ACEOF
103633 /* end confdefs.h.  */
103634 $ac_includes_default
103635 #include <langinfo.h>
103636 _ACEOF
103637 rm -f conftest.$ac_objext
103638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103639   (eval $ac_compile) 2>conftest.er1
103640   ac_status=$?
103641   grep -v '^ *+' conftest.er1 >conftest.err
103642   rm -f conftest.er1
103643   cat conftest.err >&5
103644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103645   (exit $ac_status); } &&
103646          { ac_try='test -z "$ac_c_werror_flag"
103647                          || test ! -s conftest.err'
103648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103649   (eval $ac_try) 2>&5
103650   ac_status=$?
103651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103652   (exit $ac_status); }; } &&
103653          { ac_try='test -s conftest.$ac_objext'
103654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103655   (eval $ac_try) 2>&5
103656   ac_status=$?
103657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103658   (exit $ac_status); }; }; then
103659   ac_header_compiler=yes
103660 else
103661   echo "$as_me: failed program was:" >&5
103662 sed 's/^/| /' conftest.$ac_ext >&5
103663
103664 ac_header_compiler=no
103665 fi
103666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103668 echo "${ECHO_T}$ac_header_compiler" >&6
103669
103670 # Is the header present?
103671 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
103672 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
103673 cat >conftest.$ac_ext <<_ACEOF
103674 /* confdefs.h.  */
103675 _ACEOF
103676 cat confdefs.h >>conftest.$ac_ext
103677 cat >>conftest.$ac_ext <<_ACEOF
103678 /* end confdefs.h.  */
103679 #include <langinfo.h>
103680 _ACEOF
103681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103682   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103683   ac_status=$?
103684   grep -v '^ *+' conftest.er1 >conftest.err
103685   rm -f conftest.er1
103686   cat conftest.err >&5
103687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103688   (exit $ac_status); } >/dev/null; then
103689   if test -s conftest.err; then
103690     ac_cpp_err=$ac_c_preproc_warn_flag
103691     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103692   else
103693     ac_cpp_err=
103694   fi
103695 else
103696   ac_cpp_err=yes
103697 fi
103698 if test -z "$ac_cpp_err"; then
103699   ac_header_preproc=yes
103700 else
103701   echo "$as_me: failed program was:" >&5
103702 sed 's/^/| /' conftest.$ac_ext >&5
103703
103704   ac_header_preproc=no
103705 fi
103706 rm -f conftest.err conftest.$ac_ext
103707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103708 echo "${ECHO_T}$ac_header_preproc" >&6
103709
103710 # So?  What about this header?
103711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103712   yes:no: )
103713     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
103714 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103715     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
103716 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
103717     ac_header_preproc=yes
103718     ;;
103719   no:yes:* )
103720     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
103721 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
103722     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
103723 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
103724     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
103725 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
103726     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
103727 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
103728     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
103729 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
103730     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
103731 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
103732     (
103733       cat <<\_ASBOX
103734 ## ----------------------------------------- ##
103735 ## Report this to the package-unused lists.  ##
103736 ## ----------------------------------------- ##
103737 _ASBOX
103738     ) |
103739       sed "s/^/$as_me: WARNING:     /" >&2
103740     ;;
103741 esac
103742 echo "$as_me:$LINENO: checking for langinfo.h" >&5
103743 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
103744 if test "${ac_cv_header_langinfo_h+set}" = set; then
103745   echo $ECHO_N "(cached) $ECHO_C" >&6
103746 else
103747   ac_cv_header_langinfo_h=$ac_header_preproc
103748 fi
103749 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
103750 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
103751
103752 fi
103753 if test $ac_cv_header_langinfo_h = yes; then
103754   ac_has_langinfo_h=yes
103755 else
103756   ac_has_langinfo_h=no
103757 fi
103758
103759
103760
103761     # Check for existence of libiconv.a providing XPG2 wchar_t support.
103762     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
103763 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
103764 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
103765   echo $ECHO_N "(cached) $ECHO_C" >&6
103766 else
103767   ac_check_lib_save_LIBS=$LIBS
103768 LIBS="-liconv  $LIBS"
103769 if test x$gcc_no_link = xyes; then
103770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103772    { (exit 1); exit 1; }; }
103773 fi
103774 cat >conftest.$ac_ext <<_ACEOF
103775 /* confdefs.h.  */
103776 _ACEOF
103777 cat confdefs.h >>conftest.$ac_ext
103778 cat >>conftest.$ac_ext <<_ACEOF
103779 /* end confdefs.h.  */
103780
103781 /* Override any gcc2 internal prototype to avoid an error.  */
103782 #ifdef __cplusplus
103783 extern "C"
103784 #endif
103785 /* We use char because int might match the return type of a gcc2
103786    builtin and then its argument prototype would still apply.  */
103787 char iconv ();
103788 int
103789 main ()
103790 {
103791 iconv ();
103792   ;
103793   return 0;
103794 }
103795 _ACEOF
103796 rm -f conftest.$ac_objext conftest$ac_exeext
103797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103798   (eval $ac_link) 2>conftest.er1
103799   ac_status=$?
103800   grep -v '^ *+' conftest.er1 >conftest.err
103801   rm -f conftest.er1
103802   cat conftest.err >&5
103803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103804   (exit $ac_status); } &&
103805          { ac_try='test -z "$ac_c_werror_flag"
103806                          || test ! -s conftest.err'
103807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103808   (eval $ac_try) 2>&5
103809   ac_status=$?
103810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103811   (exit $ac_status); }; } &&
103812          { ac_try='test -s conftest$ac_exeext'
103813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103814   (eval $ac_try) 2>&5
103815   ac_status=$?
103816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103817   (exit $ac_status); }; }; then
103818   ac_cv_lib_iconv_iconv=yes
103819 else
103820   echo "$as_me: failed program was:" >&5
103821 sed 's/^/| /' conftest.$ac_ext >&5
103822
103823 ac_cv_lib_iconv_iconv=no
103824 fi
103825 rm -f conftest.err conftest.$ac_objext \
103826       conftest$ac_exeext conftest.$ac_ext
103827 LIBS=$ac_check_lib_save_LIBS
103828 fi
103829 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
103830 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
103831 if test $ac_cv_lib_iconv_iconv = yes; then
103832   LIBICONV="-liconv"
103833 fi
103834
103835     ac_save_LIBS="$LIBS"
103836     LIBS="$LIBS $LIBICONV"
103837
103838
103839
103840
103841
103842
103843 for ac_func in iconv_open iconv_close iconv nl_langinfo
103844 do
103845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103846 echo "$as_me:$LINENO: checking for $ac_func" >&5
103847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103848 if eval "test \"\${$as_ac_var+set}\" = set"; then
103849   echo $ECHO_N "(cached) $ECHO_C" >&6
103850 else
103851   if test x$gcc_no_link = xyes; then
103852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103854    { (exit 1); exit 1; }; }
103855 fi
103856 cat >conftest.$ac_ext <<_ACEOF
103857 /* confdefs.h.  */
103858 _ACEOF
103859 cat confdefs.h >>conftest.$ac_ext
103860 cat >>conftest.$ac_ext <<_ACEOF
103861 /* end confdefs.h.  */
103862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103864 #define $ac_func innocuous_$ac_func
103865
103866 /* System header to define __stub macros and hopefully few prototypes,
103867     which can conflict with char $ac_func (); below.
103868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103869     <limits.h> exists even on freestanding compilers.  */
103870
103871 #ifdef __STDC__
103872 # include <limits.h>
103873 #else
103874 # include <assert.h>
103875 #endif
103876
103877 #undef $ac_func
103878
103879 /* Override any gcc2 internal prototype to avoid an error.  */
103880 #ifdef __cplusplus
103881 extern "C"
103882 {
103883 #endif
103884 /* We use char because int might match the return type of a gcc2
103885    builtin and then its argument prototype would still apply.  */
103886 char $ac_func ();
103887 /* The GNU C library defines this for functions which it implements
103888     to always fail with ENOSYS.  Some functions are actually named
103889     something starting with __ and the normal name is an alias.  */
103890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103891 choke me
103892 #else
103893 char (*f) () = $ac_func;
103894 #endif
103895 #ifdef __cplusplus
103896 }
103897 #endif
103898
103899 int
103900 main ()
103901 {
103902 return f != $ac_func;
103903   ;
103904   return 0;
103905 }
103906 _ACEOF
103907 rm -f conftest.$ac_objext conftest$ac_exeext
103908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103909   (eval $ac_link) 2>conftest.er1
103910   ac_status=$?
103911   grep -v '^ *+' conftest.er1 >conftest.err
103912   rm -f conftest.er1
103913   cat conftest.err >&5
103914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103915   (exit $ac_status); } &&
103916          { ac_try='test -z "$ac_c_werror_flag"
103917                          || test ! -s conftest.err'
103918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103919   (eval $ac_try) 2>&5
103920   ac_status=$?
103921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103922   (exit $ac_status); }; } &&
103923          { ac_try='test -s conftest$ac_exeext'
103924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103925   (eval $ac_try) 2>&5
103926   ac_status=$?
103927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103928   (exit $ac_status); }; }; then
103929   eval "$as_ac_var=yes"
103930 else
103931   echo "$as_me: failed program was:" >&5
103932 sed 's/^/| /' conftest.$ac_ext >&5
103933
103934 eval "$as_ac_var=no"
103935 fi
103936 rm -f conftest.err conftest.$ac_objext \
103937       conftest$ac_exeext conftest.$ac_ext
103938 fi
103939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103941 if test `eval echo '${'$as_ac_var'}'` = yes; then
103942   cat >>confdefs.h <<_ACEOF
103943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103944 _ACEOF
103945  ac_XPG2funcs=yes
103946 else
103947   ac_XPG2funcs=no
103948 fi
103949 done
103950
103951
103952     LIBS="$ac_save_LIBS"
103953
103954     if test x"$ac_has_iconv_h" = xyes &&
103955        test x"$ac_has_langinfo_h" = xyes &&
103956        test x"$ac_XPG2funcs" = xyes;
103957     then
103958
103959 cat >>confdefs.h <<\_ACEOF
103960 #define _GLIBCXX_USE_ICONV 1
103961 _ACEOF
103962
103963       enable_iconv=yes
103964     fi
103965   fi
103966   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
103967 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
103968   echo "$as_me:$LINENO: result: $enable_iconv" >&5
103969 echo "${ECHO_T}$enable_iconv" >&6
103970
103971     cat >>confdefs.h <<\_ACEOF
103972 #define HAVE_HYPOT 1
103973 _ACEOF
103974
103975     cat >>confdefs.h <<\_ACEOF
103976 #define HAVE_ISINF 1
103977 _ACEOF
103978
103979     cat >>confdefs.h <<\_ACEOF
103980 #define HAVE_ISNAN 1
103981 _ACEOF
103982
103983
103984     # For showmanyc_helper().
103985
103986
103987 for ac_header in sys/ioctl.h sys/filio.h
103988 do
103989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
103990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103991   echo "$as_me:$LINENO: checking for $ac_header" >&5
103992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
103993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
103994   echo $ECHO_N "(cached) $ECHO_C" >&6
103995 fi
103996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
103997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
103998 else
103999   # Is the header compilable?
104000 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104001 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104002 cat >conftest.$ac_ext <<_ACEOF
104003 /* confdefs.h.  */
104004 _ACEOF
104005 cat confdefs.h >>conftest.$ac_ext
104006 cat >>conftest.$ac_ext <<_ACEOF
104007 /* end confdefs.h.  */
104008 $ac_includes_default
104009 #include <$ac_header>
104010 _ACEOF
104011 rm -f conftest.$ac_objext
104012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104013   (eval $ac_compile) 2>conftest.er1
104014   ac_status=$?
104015   grep -v '^ *+' conftest.er1 >conftest.err
104016   rm -f conftest.er1
104017   cat conftest.err >&5
104018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104019   (exit $ac_status); } &&
104020          { ac_try='test -z "$ac_c_werror_flag"
104021                          || test ! -s conftest.err'
104022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104023   (eval $ac_try) 2>&5
104024   ac_status=$?
104025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104026   (exit $ac_status); }; } &&
104027          { ac_try='test -s conftest.$ac_objext'
104028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104029   (eval $ac_try) 2>&5
104030   ac_status=$?
104031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104032   (exit $ac_status); }; }; then
104033   ac_header_compiler=yes
104034 else
104035   echo "$as_me: failed program was:" >&5
104036 sed 's/^/| /' conftest.$ac_ext >&5
104037
104038 ac_header_compiler=no
104039 fi
104040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104042 echo "${ECHO_T}$ac_header_compiler" >&6
104043
104044 # Is the header present?
104045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104047 cat >conftest.$ac_ext <<_ACEOF
104048 /* confdefs.h.  */
104049 _ACEOF
104050 cat confdefs.h >>conftest.$ac_ext
104051 cat >>conftest.$ac_ext <<_ACEOF
104052 /* end confdefs.h.  */
104053 #include <$ac_header>
104054 _ACEOF
104055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104056   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104057   ac_status=$?
104058   grep -v '^ *+' conftest.er1 >conftest.err
104059   rm -f conftest.er1
104060   cat conftest.err >&5
104061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104062   (exit $ac_status); } >/dev/null; then
104063   if test -s conftest.err; then
104064     ac_cpp_err=$ac_c_preproc_warn_flag
104065     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104066   else
104067     ac_cpp_err=
104068   fi
104069 else
104070   ac_cpp_err=yes
104071 fi
104072 if test -z "$ac_cpp_err"; then
104073   ac_header_preproc=yes
104074 else
104075   echo "$as_me: failed program was:" >&5
104076 sed 's/^/| /' conftest.$ac_ext >&5
104077
104078   ac_header_preproc=no
104079 fi
104080 rm -f conftest.err conftest.$ac_ext
104081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104082 echo "${ECHO_T}$ac_header_preproc" >&6
104083
104084 # So?  What about this header?
104085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104086   yes:no: )
104087     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104089     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104091     ac_header_preproc=yes
104092     ;;
104093   no:yes:* )
104094     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104096     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
104097 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
104098     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104100     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
104101 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
104102     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104104     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104106     (
104107       cat <<\_ASBOX
104108 ## ----------------------------------------- ##
104109 ## Report this to the package-unused lists.  ##
104110 ## ----------------------------------------- ##
104111 _ASBOX
104112     ) |
104113       sed "s/^/$as_me: WARNING:     /" >&2
104114     ;;
104115 esac
104116 echo "$as_me:$LINENO: checking for $ac_header" >&5
104117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104119   echo $ECHO_N "(cached) $ECHO_C" >&6
104120 else
104121   eval "$as_ac_Header=\$ac_header_preproc"
104122 fi
104123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104125
104126 fi
104127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104128   cat >>confdefs.h <<_ACEOF
104129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104130 _ACEOF
104131
104132 fi
104133
104134 done
104135
104136
104137   echo "$as_me:$LINENO: checking for poll" >&5
104138 echo $ECHO_N "checking for poll... $ECHO_C" >&6
104139   if test "${glibcxx_cv_POLL+set}" = set; then
104140   echo $ECHO_N "(cached) $ECHO_C" >&6
104141 else
104142
104143     if test x$gcc_no_link = xyes; then
104144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104146    { (exit 1); exit 1; }; }
104147 fi
104148 cat >conftest.$ac_ext <<_ACEOF
104149 /* confdefs.h.  */
104150 _ACEOF
104151 cat confdefs.h >>conftest.$ac_ext
104152 cat >>conftest.$ac_ext <<_ACEOF
104153 /* end confdefs.h.  */
104154 #include <poll.h>
104155 int
104156 main ()
104157 {
104158 struct pollfd pfd[1];
104159        pfd[0].events = POLLIN;
104160        poll(pfd, 1, 0);
104161   ;
104162   return 0;
104163 }
104164 _ACEOF
104165 rm -f conftest.$ac_objext conftest$ac_exeext
104166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104167   (eval $ac_link) 2>conftest.er1
104168   ac_status=$?
104169   grep -v '^ *+' conftest.er1 >conftest.err
104170   rm -f conftest.er1
104171   cat conftest.err >&5
104172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104173   (exit $ac_status); } &&
104174          { ac_try='test -z "$ac_c_werror_flag"
104175                          || test ! -s conftest.err'
104176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104177   (eval $ac_try) 2>&5
104178   ac_status=$?
104179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104180   (exit $ac_status); }; } &&
104181          { ac_try='test -s conftest$ac_exeext'
104182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104183   (eval $ac_try) 2>&5
104184   ac_status=$?
104185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104186   (exit $ac_status); }; }; then
104187   glibcxx_cv_POLL=yes
104188 else
104189   echo "$as_me: failed program was:" >&5
104190 sed 's/^/| /' conftest.$ac_ext >&5
104191
104192 glibcxx_cv_POLL=no
104193 fi
104194 rm -f conftest.err conftest.$ac_objext \
104195       conftest$ac_exeext conftest.$ac_ext
104196
104197 fi
104198
104199   if test $glibcxx_cv_POLL = yes; then
104200
104201 cat >>confdefs.h <<\_ACEOF
104202 #define HAVE_POLL 1
104203 _ACEOF
104204
104205   fi
104206   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
104207 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
104208
104209
104210   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
104211 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
104212   if test "${glibcxx_cv_S_ISREG+set}" = set; then
104213   echo $ECHO_N "(cached) $ECHO_C" >&6
104214 else
104215
104216     if test x$gcc_no_link = xyes; then
104217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104219    { (exit 1); exit 1; }; }
104220 fi
104221 cat >conftest.$ac_ext <<_ACEOF
104222 /* confdefs.h.  */
104223 _ACEOF
104224 cat confdefs.h >>conftest.$ac_ext
104225 cat >>conftest.$ac_ext <<_ACEOF
104226 /* end confdefs.h.  */
104227 #include <sys/stat.h>
104228 int
104229 main ()
104230 {
104231 struct stat buffer;
104232        fstat(0, &buffer);
104233        S_ISREG(buffer.st_mode);
104234   ;
104235   return 0;
104236 }
104237 _ACEOF
104238 rm -f conftest.$ac_objext conftest$ac_exeext
104239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104240   (eval $ac_link) 2>conftest.er1
104241   ac_status=$?
104242   grep -v '^ *+' conftest.er1 >conftest.err
104243   rm -f conftest.er1
104244   cat conftest.err >&5
104245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104246   (exit $ac_status); } &&
104247          { ac_try='test -z "$ac_c_werror_flag"
104248                          || test ! -s conftest.err'
104249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104250   (eval $ac_try) 2>&5
104251   ac_status=$?
104252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104253   (exit $ac_status); }; } &&
104254          { ac_try='test -s conftest$ac_exeext'
104255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104256   (eval $ac_try) 2>&5
104257   ac_status=$?
104258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104259   (exit $ac_status); }; }; then
104260   glibcxx_cv_S_ISREG=yes
104261 else
104262   echo "$as_me: failed program was:" >&5
104263 sed 's/^/| /' conftest.$ac_ext >&5
104264
104265 glibcxx_cv_S_ISREG=no
104266 fi
104267 rm -f conftest.err conftest.$ac_objext \
104268       conftest$ac_exeext conftest.$ac_ext
104269
104270 fi
104271
104272   if test "${glibcxx_cv_S_IFREG+set}" = set; then
104273   echo $ECHO_N "(cached) $ECHO_C" >&6
104274 else
104275
104276     if test x$gcc_no_link = xyes; then
104277   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104279    { (exit 1); exit 1; }; }
104280 fi
104281 cat >conftest.$ac_ext <<_ACEOF
104282 /* confdefs.h.  */
104283 _ACEOF
104284 cat confdefs.h >>conftest.$ac_ext
104285 cat >>conftest.$ac_ext <<_ACEOF
104286 /* end confdefs.h.  */
104287 #include <sys/stat.h>
104288 int
104289 main ()
104290 {
104291 struct stat buffer;
104292        fstat(0, &buffer);
104293        S_IFREG & buffer.st_mode;
104294   ;
104295   return 0;
104296 }
104297 _ACEOF
104298 rm -f conftest.$ac_objext conftest$ac_exeext
104299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104300   (eval $ac_link) 2>conftest.er1
104301   ac_status=$?
104302   grep -v '^ *+' conftest.er1 >conftest.err
104303   rm -f conftest.er1
104304   cat conftest.err >&5
104305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104306   (exit $ac_status); } &&
104307          { ac_try='test -z "$ac_c_werror_flag"
104308                          || test ! -s conftest.err'
104309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104310   (eval $ac_try) 2>&5
104311   ac_status=$?
104312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104313   (exit $ac_status); }; } &&
104314          { ac_try='test -s conftest$ac_exeext'
104315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104316   (eval $ac_try) 2>&5
104317   ac_status=$?
104318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104319   (exit $ac_status); }; }; then
104320   glibcxx_cv_S_IFREG=yes
104321 else
104322   echo "$as_me: failed program was:" >&5
104323 sed 's/^/| /' conftest.$ac_ext >&5
104324
104325 glibcxx_cv_S_IFREG=no
104326 fi
104327 rm -f conftest.err conftest.$ac_objext \
104328       conftest$ac_exeext conftest.$ac_ext
104329
104330 fi
104331
104332   res=no
104333   if test $glibcxx_cv_S_ISREG = yes; then
104334
104335 cat >>confdefs.h <<\_ACEOF
104336 #define HAVE_S_ISREG 1
104337 _ACEOF
104338
104339     res=S_ISREG
104340   elif test $glibcxx_cv_S_IFREG = yes; then
104341
104342 cat >>confdefs.h <<\_ACEOF
104343 #define HAVE_S_IFREG 1
104344 _ACEOF
104345
104346     res=S_IFREG
104347   fi
104348   echo "$as_me:$LINENO: result: $res" >&5
104349 echo "${ECHO_T}$res" >&6
104350
104351
104352     # For xsputn_2().
104353
104354 for ac_header in sys/uio.h
104355 do
104356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104358   echo "$as_me:$LINENO: checking for $ac_header" >&5
104359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104361   echo $ECHO_N "(cached) $ECHO_C" >&6
104362 fi
104363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104365 else
104366   # Is the header compilable?
104367 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104368 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104369 cat >conftest.$ac_ext <<_ACEOF
104370 /* confdefs.h.  */
104371 _ACEOF
104372 cat confdefs.h >>conftest.$ac_ext
104373 cat >>conftest.$ac_ext <<_ACEOF
104374 /* end confdefs.h.  */
104375 $ac_includes_default
104376 #include <$ac_header>
104377 _ACEOF
104378 rm -f conftest.$ac_objext
104379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104380   (eval $ac_compile) 2>conftest.er1
104381   ac_status=$?
104382   grep -v '^ *+' conftest.er1 >conftest.err
104383   rm -f conftest.er1
104384   cat conftest.err >&5
104385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104386   (exit $ac_status); } &&
104387          { ac_try='test -z "$ac_c_werror_flag"
104388                          || test ! -s conftest.err'
104389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104390   (eval $ac_try) 2>&5
104391   ac_status=$?
104392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104393   (exit $ac_status); }; } &&
104394          { ac_try='test -s conftest.$ac_objext'
104395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104396   (eval $ac_try) 2>&5
104397   ac_status=$?
104398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104399   (exit $ac_status); }; }; then
104400   ac_header_compiler=yes
104401 else
104402   echo "$as_me: failed program was:" >&5
104403 sed 's/^/| /' conftest.$ac_ext >&5
104404
104405 ac_header_compiler=no
104406 fi
104407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104409 echo "${ECHO_T}$ac_header_compiler" >&6
104410
104411 # Is the header present?
104412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104414 cat >conftest.$ac_ext <<_ACEOF
104415 /* confdefs.h.  */
104416 _ACEOF
104417 cat confdefs.h >>conftest.$ac_ext
104418 cat >>conftest.$ac_ext <<_ACEOF
104419 /* end confdefs.h.  */
104420 #include <$ac_header>
104421 _ACEOF
104422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104423   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
104430   if test -s conftest.err; then
104431     ac_cpp_err=$ac_c_preproc_warn_flag
104432     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104433   else
104434     ac_cpp_err=
104435   fi
104436 else
104437   ac_cpp_err=yes
104438 fi
104439 if test -z "$ac_cpp_err"; then
104440   ac_header_preproc=yes
104441 else
104442   echo "$as_me: failed program was:" >&5
104443 sed 's/^/| /' conftest.$ac_ext >&5
104444
104445   ac_header_preproc=no
104446 fi
104447 rm -f conftest.err conftest.$ac_ext
104448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104449 echo "${ECHO_T}$ac_header_preproc" >&6
104450
104451 # So?  What about this header?
104452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104453   yes:no: )
104454     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104456     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104458     ac_header_preproc=yes
104459     ;;
104460   no:yes:* )
104461     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104463     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
104464 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
104465     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104467     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
104468 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
104469     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104471     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104473     (
104474       cat <<\_ASBOX
104475 ## ----------------------------------------- ##
104476 ## Report this to the package-unused lists.  ##
104477 ## ----------------------------------------- ##
104478 _ASBOX
104479     ) |
104480       sed "s/^/$as_me: WARNING:     /" >&2
104481     ;;
104482 esac
104483 echo "$as_me:$LINENO: checking for $ac_header" >&5
104484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104486   echo $ECHO_N "(cached) $ECHO_C" >&6
104487 else
104488   eval "$as_ac_Header=\$ac_header_preproc"
104489 fi
104490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104492
104493 fi
104494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104495   cat >>confdefs.h <<_ACEOF
104496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104497 _ACEOF
104498
104499 fi
104500
104501 done
104502
104503
104504   echo "$as_me:$LINENO: checking for writev" >&5
104505 echo $ECHO_N "checking for writev... $ECHO_C" >&6
104506   if test "${glibcxx_cv_WRITEV+set}" = set; then
104507   echo $ECHO_N "(cached) $ECHO_C" >&6
104508 else
104509
104510     if test x$gcc_no_link = xyes; then
104511   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104513    { (exit 1); exit 1; }; }
104514 fi
104515 cat >conftest.$ac_ext <<_ACEOF
104516 /* confdefs.h.  */
104517 _ACEOF
104518 cat confdefs.h >>conftest.$ac_ext
104519 cat >>conftest.$ac_ext <<_ACEOF
104520 /* end confdefs.h.  */
104521 #include <sys/uio.h>
104522 int
104523 main ()
104524 {
104525 struct iovec iov[2];
104526        writev(0, iov, 0);
104527   ;
104528   return 0;
104529 }
104530 _ACEOF
104531 rm -f conftest.$ac_objext conftest$ac_exeext
104532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104533   (eval $ac_link) 2>conftest.er1
104534   ac_status=$?
104535   grep -v '^ *+' conftest.er1 >conftest.err
104536   rm -f conftest.er1
104537   cat conftest.err >&5
104538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104539   (exit $ac_status); } &&
104540          { ac_try='test -z "$ac_c_werror_flag"
104541                          || test ! -s conftest.err'
104542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104543   (eval $ac_try) 2>&5
104544   ac_status=$?
104545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104546   (exit $ac_status); }; } &&
104547          { ac_try='test -s conftest$ac_exeext'
104548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104549   (eval $ac_try) 2>&5
104550   ac_status=$?
104551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104552   (exit $ac_status); }; }; then
104553   glibcxx_cv_WRITEV=yes
104554 else
104555   echo "$as_me: failed program was:" >&5
104556 sed 's/^/| /' conftest.$ac_ext >&5
104557
104558 glibcxx_cv_WRITEV=no
104559 fi
104560 rm -f conftest.err conftest.$ac_objext \
104561       conftest$ac_exeext conftest.$ac_ext
104562
104563 fi
104564
104565   if test $glibcxx_cv_WRITEV = yes; then
104566
104567 cat >>confdefs.h <<\_ACEOF
104568 #define HAVE_WRITEV 1
104569 _ACEOF
104570
104571   fi
104572   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
104573 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
104574
104575     ;;
104576   *-qnx6.1* | *-qnx6.2*)
104577     SECTION_FLAGS='-ffunction-sections -fdata-sections'
104578
104579
104580   # If we're not using GNU ld, then there's no point in even trying these
104581   # tests.  Check for that first.  We should have already tested for gld
104582   # by now (in libtool), but require it now just to be safe...
104583   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
104584   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
104585
104586
104587
104588   # The name set by libtool depends on the version of libtool.  Shame on us
104589   # for depending on an impl detail, but c'est la vie.  Older versions used
104590   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
104591   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
104592   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
104593   # set (hence we're using an older libtool), then set it.
104594   if test x${with_gnu_ld+set} != xset; then
104595     if test x${ac_cv_prog_gnu_ld+set} != xset; then
104596       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
104597       with_gnu_ld=no
104598     else
104599       with_gnu_ld=$ac_cv_prog_gnu_ld
104600     fi
104601   fi
104602
104603   # Start by getting the version number.  I think the libtool test already
104604   # does some of this, but throws away the result.
104605   if test x"$with_gnu_ld" = x"yes"; then
104606     echo "$as_me:$LINENO: checking for ld version" >&5
104607 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
104608
104609     ldver=`$LD --version 2>/dev/null | head -1 | \
104610            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
104611
104612     glibcxx_gnu_ld_version=`echo $ldver | \
104613            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
104614     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
104615 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
104616   fi
104617
104618   # Set --gc-sections.
104619   glibcxx_gcsections_min_ld=21602
104620   if test x"$with_gnu_ld" = x"yes" &&
104621         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
104622
104623     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
104624     # NB: This flag only works reliably after 2.16.1. Configure tests
104625     # for this are difficult, so hard wire a value that should work.
104626
104627     # All these tests are for C++, but run with the "C" compiler driver.
104628     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
104629     ac_test_CFLAGS="${CFLAGS+set}"
104630     ac_save_CFLAGS="$CFLAGS"
104631     CFLAGS='-x c++ -Wl,--gc-sections'
104632
104633     # Check for -Wl,--gc-sections
104634     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
104635 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
104636     if test x$gcc_no_link = xyes; then
104637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104639    { (exit 1); exit 1; }; }
104640 fi
104641 cat >conftest.$ac_ext <<_ACEOF
104642 /* confdefs.h.  */
104643 _ACEOF
104644 cat confdefs.h >>conftest.$ac_ext
104645 cat >>conftest.$ac_ext <<_ACEOF
104646 /* end confdefs.h.  */
104647  int one(void) { return 1; }
104648      int two(void) { return 2; }
104649
104650 int
104651 main ()
104652 {
104653  two();
104654   ;
104655   return 0;
104656 }
104657 _ACEOF
104658 rm -f conftest.$ac_objext conftest$ac_exeext
104659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104660   (eval $ac_link) 2>conftest.er1
104661   ac_status=$?
104662   grep -v '^ *+' conftest.er1 >conftest.err
104663   rm -f conftest.er1
104664   cat conftest.err >&5
104665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104666   (exit $ac_status); } &&
104667          { ac_try='test -z "$ac_c_werror_flag"
104668                          || test ! -s conftest.err'
104669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104670   (eval $ac_try) 2>&5
104671   ac_status=$?
104672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104673   (exit $ac_status); }; } &&
104674          { ac_try='test -s conftest$ac_exeext'
104675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104676   (eval $ac_try) 2>&5
104677   ac_status=$?
104678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104679   (exit $ac_status); }; }; then
104680   ac_gcsections=yes
104681 else
104682   echo "$as_me: failed program was:" >&5
104683 sed 's/^/| /' conftest.$ac_ext >&5
104684
104685 ac_gcsections=no
104686 fi
104687 rm -f conftest.err conftest.$ac_objext \
104688       conftest$ac_exeext conftest.$ac_ext
104689     if test "$ac_gcsections" = "yes"; then
104690       rm -f conftest.c
104691       touch conftest.c
104692       if $CC -c conftest.c; then
104693         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
104694            grep "Warning: gc-sections option ignored" > /dev/null; then
104695           ac_gcsections=no
104696         fi
104697       fi
104698       rm -f conftest.c conftest.o conftest
104699     fi
104700     if test "$ac_gcsections" = "yes"; then
104701       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
104702     fi
104703     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
104704 echo "${ECHO_T}$ac_gcsections" >&6
104705
104706     if test "$ac_test_CFLAGS" = set; then
104707       CFLAGS="$ac_save_CFLAGS"
104708     else
104709       # this is the suspicious part
104710       CFLAGS=''
104711     fi
104712   fi
104713
104714   # Set -z,relro.
104715   # Note this is only for shared objects.
104716   ac_ld_relro=no
104717   if test x"$with_gnu_ld" = x"yes"; then
104718     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
104719 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
104720     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
104721     if test -n "$cxx_z_relo"; then
104722       OPT_LDFLAGS="-Wl,-z,relro"
104723       ac_ld_relro=yes
104724     fi
104725     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
104726 echo "${ECHO_T}$ac_ld_relro" >&6
104727   fi
104728
104729   # Set linker optimization flags.
104730   if test x"$with_gnu_ld" = x"yes"; then
104731     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
104732   fi
104733
104734
104735
104736
104737
104738
104739 echo "$as_me:$LINENO: checking for main in -lm" >&5
104740 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
104741 if test "${ac_cv_lib_m_main+set}" = set; then
104742   echo $ECHO_N "(cached) $ECHO_C" >&6
104743 else
104744   ac_check_lib_save_LIBS=$LIBS
104745 LIBS="-lm  $LIBS"
104746 if test x$gcc_no_link = xyes; then
104747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104749    { (exit 1); exit 1; }; }
104750 fi
104751 cat >conftest.$ac_ext <<_ACEOF
104752 /* confdefs.h.  */
104753 _ACEOF
104754 cat confdefs.h >>conftest.$ac_ext
104755 cat >>conftest.$ac_ext <<_ACEOF
104756 /* end confdefs.h.  */
104757
104758
104759 int
104760 main ()
104761 {
104762 main ();
104763   ;
104764   return 0;
104765 }
104766 _ACEOF
104767 rm -f conftest.$ac_objext conftest$ac_exeext
104768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104769   (eval $ac_link) 2>conftest.er1
104770   ac_status=$?
104771   grep -v '^ *+' conftest.er1 >conftest.err
104772   rm -f conftest.er1
104773   cat conftest.err >&5
104774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104775   (exit $ac_status); } &&
104776          { ac_try='test -z "$ac_c_werror_flag"
104777                          || test ! -s conftest.err'
104778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104779   (eval $ac_try) 2>&5
104780   ac_status=$?
104781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104782   (exit $ac_status); }; } &&
104783          { ac_try='test -s conftest$ac_exeext'
104784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104785   (eval $ac_try) 2>&5
104786   ac_status=$?
104787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104788   (exit $ac_status); }; }; then
104789   ac_cv_lib_m_main=yes
104790 else
104791   echo "$as_me: failed program was:" >&5
104792 sed 's/^/| /' conftest.$ac_ext >&5
104793
104794 ac_cv_lib_m_main=no
104795 fi
104796 rm -f conftest.err conftest.$ac_objext \
104797       conftest$ac_exeext conftest.$ac_ext
104798 LIBS=$ac_check_lib_save_LIBS
104799 fi
104800 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
104801 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
104802 if test $ac_cv_lib_m_main = yes; then
104803   cat >>confdefs.h <<_ACEOF
104804 #define HAVE_LIBM 1
104805 _ACEOF
104806
104807   LIBS="-lm $LIBS"
104808
104809 fi
104810
104811
104812 for ac_func in copysignf
104813 do
104814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104815 echo "$as_me:$LINENO: checking for $ac_func" >&5
104816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104817 if eval "test \"\${$as_ac_var+set}\" = set"; then
104818   echo $ECHO_N "(cached) $ECHO_C" >&6
104819 else
104820   if test x$gcc_no_link = xyes; then
104821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104823    { (exit 1); exit 1; }; }
104824 fi
104825 cat >conftest.$ac_ext <<_ACEOF
104826 /* confdefs.h.  */
104827 _ACEOF
104828 cat confdefs.h >>conftest.$ac_ext
104829 cat >>conftest.$ac_ext <<_ACEOF
104830 /* end confdefs.h.  */
104831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104833 #define $ac_func innocuous_$ac_func
104834
104835 /* System header to define __stub macros and hopefully few prototypes,
104836     which can conflict with char $ac_func (); below.
104837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104838     <limits.h> exists even on freestanding compilers.  */
104839
104840 #ifdef __STDC__
104841 # include <limits.h>
104842 #else
104843 # include <assert.h>
104844 #endif
104845
104846 #undef $ac_func
104847
104848 /* Override any gcc2 internal prototype to avoid an error.  */
104849 #ifdef __cplusplus
104850 extern "C"
104851 {
104852 #endif
104853 /* We use char because int might match the return type of a gcc2
104854    builtin and then its argument prototype would still apply.  */
104855 char $ac_func ();
104856 /* The GNU C library defines this for functions which it implements
104857     to always fail with ENOSYS.  Some functions are actually named
104858     something starting with __ and the normal name is an alias.  */
104859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104860 choke me
104861 #else
104862 char (*f) () = $ac_func;
104863 #endif
104864 #ifdef __cplusplus
104865 }
104866 #endif
104867
104868 int
104869 main ()
104870 {
104871 return f != $ac_func;
104872   ;
104873   return 0;
104874 }
104875 _ACEOF
104876 rm -f conftest.$ac_objext conftest$ac_exeext
104877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104878   (eval $ac_link) 2>conftest.er1
104879   ac_status=$?
104880   grep -v '^ *+' conftest.er1 >conftest.err
104881   rm -f conftest.er1
104882   cat conftest.err >&5
104883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104884   (exit $ac_status); } &&
104885          { ac_try='test -z "$ac_c_werror_flag"
104886                          || test ! -s conftest.err'
104887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104888   (eval $ac_try) 2>&5
104889   ac_status=$?
104890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104891   (exit $ac_status); }; } &&
104892          { ac_try='test -s conftest$ac_exeext'
104893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104894   (eval $ac_try) 2>&5
104895   ac_status=$?
104896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104897   (exit $ac_status); }; }; then
104898   eval "$as_ac_var=yes"
104899 else
104900   echo "$as_me: failed program was:" >&5
104901 sed 's/^/| /' conftest.$ac_ext >&5
104902
104903 eval "$as_ac_var=no"
104904 fi
104905 rm -f conftest.err conftest.$ac_objext \
104906       conftest$ac_exeext conftest.$ac_ext
104907 fi
104908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104910 if test `eval echo '${'$as_ac_var'}'` = yes; then
104911   cat >>confdefs.h <<_ACEOF
104912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104913 _ACEOF
104914
104915 else
104916   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
104917 fi
104918 done
104919
104920
104921
104922 for ac_func in __signbit
104923 do
104924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104925 echo "$as_me:$LINENO: checking for $ac_func" >&5
104926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104927 if eval "test \"\${$as_ac_var+set}\" = set"; then
104928   echo $ECHO_N "(cached) $ECHO_C" >&6
104929 else
104930   if test x$gcc_no_link = xyes; then
104931   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104933    { (exit 1); exit 1; }; }
104934 fi
104935 cat >conftest.$ac_ext <<_ACEOF
104936 /* confdefs.h.  */
104937 _ACEOF
104938 cat confdefs.h >>conftest.$ac_ext
104939 cat >>conftest.$ac_ext <<_ACEOF
104940 /* end confdefs.h.  */
104941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104942    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104943 #define $ac_func innocuous_$ac_func
104944
104945 /* System header to define __stub macros and hopefully few prototypes,
104946     which can conflict with char $ac_func (); below.
104947     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104948     <limits.h> exists even on freestanding compilers.  */
104949
104950 #ifdef __STDC__
104951 # include <limits.h>
104952 #else
104953 # include <assert.h>
104954 #endif
104955
104956 #undef $ac_func
104957
104958 /* Override any gcc2 internal prototype to avoid an error.  */
104959 #ifdef __cplusplus
104960 extern "C"
104961 {
104962 #endif
104963 /* We use char because int might match the return type of a gcc2
104964    builtin and then its argument prototype would still apply.  */
104965 char $ac_func ();
104966 /* The GNU C library defines this for functions which it implements
104967     to always fail with ENOSYS.  Some functions are actually named
104968     something starting with __ and the normal name is an alias.  */
104969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104970 choke me
104971 #else
104972 char (*f) () = $ac_func;
104973 #endif
104974 #ifdef __cplusplus
104975 }
104976 #endif
104977
104978 int
104979 main ()
104980 {
104981 return f != $ac_func;
104982   ;
104983   return 0;
104984 }
104985 _ACEOF
104986 rm -f conftest.$ac_objext conftest$ac_exeext
104987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104988   (eval $ac_link) 2>conftest.er1
104989   ac_status=$?
104990   grep -v '^ *+' conftest.er1 >conftest.err
104991   rm -f conftest.er1
104992   cat conftest.err >&5
104993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104994   (exit $ac_status); } &&
104995          { ac_try='test -z "$ac_c_werror_flag"
104996                          || test ! -s conftest.err'
104997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104998   (eval $ac_try) 2>&5
104999   ac_status=$?
105000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105001   (exit $ac_status); }; } &&
105002          { ac_try='test -s conftest$ac_exeext'
105003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105004   (eval $ac_try) 2>&5
105005   ac_status=$?
105006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105007   (exit $ac_status); }; }; then
105008   eval "$as_ac_var=yes"
105009 else
105010   echo "$as_me: failed program was:" >&5
105011 sed 's/^/| /' conftest.$ac_ext >&5
105012
105013 eval "$as_ac_var=no"
105014 fi
105015 rm -f conftest.err conftest.$ac_objext \
105016       conftest$ac_exeext conftest.$ac_ext
105017 fi
105018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105020 if test `eval echo '${'$as_ac_var'}'` = yes; then
105021   cat >>confdefs.h <<_ACEOF
105022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105023 _ACEOF
105024
105025 else
105026   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
105027 fi
105028 done
105029
105030
105031
105032 for ac_func in __signbitf
105033 do
105034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105035 echo "$as_me:$LINENO: checking for $ac_func" >&5
105036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105037 if eval "test \"\${$as_ac_var+set}\" = set"; then
105038   echo $ECHO_N "(cached) $ECHO_C" >&6
105039 else
105040   if test x$gcc_no_link = xyes; then
105041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105043    { (exit 1); exit 1; }; }
105044 fi
105045 cat >conftest.$ac_ext <<_ACEOF
105046 /* confdefs.h.  */
105047 _ACEOF
105048 cat confdefs.h >>conftest.$ac_ext
105049 cat >>conftest.$ac_ext <<_ACEOF
105050 /* end confdefs.h.  */
105051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105052    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105053 #define $ac_func innocuous_$ac_func
105054
105055 /* System header to define __stub macros and hopefully few prototypes,
105056     which can conflict with char $ac_func (); below.
105057     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105058     <limits.h> exists even on freestanding compilers.  */
105059
105060 #ifdef __STDC__
105061 # include <limits.h>
105062 #else
105063 # include <assert.h>
105064 #endif
105065
105066 #undef $ac_func
105067
105068 /* Override any gcc2 internal prototype to avoid an error.  */
105069 #ifdef __cplusplus
105070 extern "C"
105071 {
105072 #endif
105073 /* We use char because int might match the return type of a gcc2
105074    builtin and then its argument prototype would still apply.  */
105075 char $ac_func ();
105076 /* The GNU C library defines this for functions which it implements
105077     to always fail with ENOSYS.  Some functions are actually named
105078     something starting with __ and the normal name is an alias.  */
105079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105080 choke me
105081 #else
105082 char (*f) () = $ac_func;
105083 #endif
105084 #ifdef __cplusplus
105085 }
105086 #endif
105087
105088 int
105089 main ()
105090 {
105091 return f != $ac_func;
105092   ;
105093   return 0;
105094 }
105095 _ACEOF
105096 rm -f conftest.$ac_objext conftest$ac_exeext
105097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105098   (eval $ac_link) 2>conftest.er1
105099   ac_status=$?
105100   grep -v '^ *+' conftest.er1 >conftest.err
105101   rm -f conftest.er1
105102   cat conftest.err >&5
105103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105104   (exit $ac_status); } &&
105105          { ac_try='test -z "$ac_c_werror_flag"
105106                          || test ! -s conftest.err'
105107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105108   (eval $ac_try) 2>&5
105109   ac_status=$?
105110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105111   (exit $ac_status); }; } &&
105112          { ac_try='test -s conftest$ac_exeext'
105113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105114   (eval $ac_try) 2>&5
105115   ac_status=$?
105116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105117   (exit $ac_status); }; }; then
105118   eval "$as_ac_var=yes"
105119 else
105120   echo "$as_me: failed program was:" >&5
105121 sed 's/^/| /' conftest.$ac_ext >&5
105122
105123 eval "$as_ac_var=no"
105124 fi
105125 rm -f conftest.err conftest.$ac_objext \
105126       conftest$ac_exeext conftest.$ac_ext
105127 fi
105128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105130 if test `eval echo '${'$as_ac_var'}'` = yes; then
105131   cat >>confdefs.h <<_ACEOF
105132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105133 _ACEOF
105134
105135 else
105136   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
105137 fi
105138 done
105139
105140
105141           if test x$ac_cv_func_copysignl = x"yes"; then
105142
105143 for ac_func in __signbitl
105144 do
105145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105146 echo "$as_me:$LINENO: checking for $ac_func" >&5
105147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105148 if eval "test \"\${$as_ac_var+set}\" = set"; then
105149   echo $ECHO_N "(cached) $ECHO_C" >&6
105150 else
105151   if test x$gcc_no_link = xyes; then
105152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105154    { (exit 1); exit 1; }; }
105155 fi
105156 cat >conftest.$ac_ext <<_ACEOF
105157 /* confdefs.h.  */
105158 _ACEOF
105159 cat confdefs.h >>conftest.$ac_ext
105160 cat >>conftest.$ac_ext <<_ACEOF
105161 /* end confdefs.h.  */
105162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105164 #define $ac_func innocuous_$ac_func
105165
105166 /* System header to define __stub macros and hopefully few prototypes,
105167     which can conflict with char $ac_func (); below.
105168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105169     <limits.h> exists even on freestanding compilers.  */
105170
105171 #ifdef __STDC__
105172 # include <limits.h>
105173 #else
105174 # include <assert.h>
105175 #endif
105176
105177 #undef $ac_func
105178
105179 /* Override any gcc2 internal prototype to avoid an error.  */
105180 #ifdef __cplusplus
105181 extern "C"
105182 {
105183 #endif
105184 /* We use char because int might match the return type of a gcc2
105185    builtin and then its argument prototype would still apply.  */
105186 char $ac_func ();
105187 /* The GNU C library defines this for functions which it implements
105188     to always fail with ENOSYS.  Some functions are actually named
105189     something starting with __ and the normal name is an alias.  */
105190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105191 choke me
105192 #else
105193 char (*f) () = $ac_func;
105194 #endif
105195 #ifdef __cplusplus
105196 }
105197 #endif
105198
105199 int
105200 main ()
105201 {
105202 return f != $ac_func;
105203   ;
105204   return 0;
105205 }
105206 _ACEOF
105207 rm -f conftest.$ac_objext conftest$ac_exeext
105208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105209   (eval $ac_link) 2>conftest.er1
105210   ac_status=$?
105211   grep -v '^ *+' conftest.er1 >conftest.err
105212   rm -f conftest.er1
105213   cat conftest.err >&5
105214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105215   (exit $ac_status); } &&
105216          { ac_try='test -z "$ac_c_werror_flag"
105217                          || test ! -s conftest.err'
105218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105219   (eval $ac_try) 2>&5
105220   ac_status=$?
105221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105222   (exit $ac_status); }; } &&
105223          { ac_try='test -s conftest$ac_exeext'
105224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105225   (eval $ac_try) 2>&5
105226   ac_status=$?
105227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105228   (exit $ac_status); }; }; then
105229   eval "$as_ac_var=yes"
105230 else
105231   echo "$as_me: failed program was:" >&5
105232 sed 's/^/| /' conftest.$ac_ext >&5
105233
105234 eval "$as_ac_var=no"
105235 fi
105236 rm -f conftest.err conftest.$ac_objext \
105237       conftest$ac_exeext conftest.$ac_ext
105238 fi
105239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105241 if test `eval echo '${'$as_ac_var'}'` = yes; then
105242   cat >>confdefs.h <<_ACEOF
105243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105244 _ACEOF
105245
105246 else
105247   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
105248 fi
105249 done
105250
105251   fi
105252
105253   # Used in libmath/Makefile.am.
105254   if test -n "$LIBMATHOBJS"; then
105255     need_libmath=yes
105256   fi
105257
105258
105259
105260
105261   enable_iconv=no
105262   # Only continue checking if the ISO C99 headers exist and support is on.
105263   if test x"$enable_wchar_t" = xyes; then
105264
105265     # Use iconv for wchar_t to char conversions. As such, check for
105266     # X/Open Portability Guide, version 2 features (XPG2).
105267     if test "${ac_cv_header_iconv_h+set}" = set; then
105268   echo "$as_me:$LINENO: checking for iconv.h" >&5
105269 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105270 if test "${ac_cv_header_iconv_h+set}" = set; then
105271   echo $ECHO_N "(cached) $ECHO_C" >&6
105272 fi
105273 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105274 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105275 else
105276   # Is the header compilable?
105277 echo "$as_me:$LINENO: checking iconv.h usability" >&5
105278 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
105279 cat >conftest.$ac_ext <<_ACEOF
105280 /* confdefs.h.  */
105281 _ACEOF
105282 cat confdefs.h >>conftest.$ac_ext
105283 cat >>conftest.$ac_ext <<_ACEOF
105284 /* end confdefs.h.  */
105285 $ac_includes_default
105286 #include <iconv.h>
105287 _ACEOF
105288 rm -f conftest.$ac_objext
105289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105290   (eval $ac_compile) 2>conftest.er1
105291   ac_status=$?
105292   grep -v '^ *+' conftest.er1 >conftest.err
105293   rm -f conftest.er1
105294   cat conftest.err >&5
105295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105296   (exit $ac_status); } &&
105297          { ac_try='test -z "$ac_c_werror_flag"
105298                          || test ! -s conftest.err'
105299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105300   (eval $ac_try) 2>&5
105301   ac_status=$?
105302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105303   (exit $ac_status); }; } &&
105304          { ac_try='test -s conftest.$ac_objext'
105305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105306   (eval $ac_try) 2>&5
105307   ac_status=$?
105308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105309   (exit $ac_status); }; }; then
105310   ac_header_compiler=yes
105311 else
105312   echo "$as_me: failed program was:" >&5
105313 sed 's/^/| /' conftest.$ac_ext >&5
105314
105315 ac_header_compiler=no
105316 fi
105317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105318 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105319 echo "${ECHO_T}$ac_header_compiler" >&6
105320
105321 # Is the header present?
105322 echo "$as_me:$LINENO: checking iconv.h presence" >&5
105323 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
105324 cat >conftest.$ac_ext <<_ACEOF
105325 /* confdefs.h.  */
105326 _ACEOF
105327 cat confdefs.h >>conftest.$ac_ext
105328 cat >>conftest.$ac_ext <<_ACEOF
105329 /* end confdefs.h.  */
105330 #include <iconv.h>
105331 _ACEOF
105332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105333   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105334   ac_status=$?
105335   grep -v '^ *+' conftest.er1 >conftest.err
105336   rm -f conftest.er1
105337   cat conftest.err >&5
105338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105339   (exit $ac_status); } >/dev/null; then
105340   if test -s conftest.err; then
105341     ac_cpp_err=$ac_c_preproc_warn_flag
105342     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105343   else
105344     ac_cpp_err=
105345   fi
105346 else
105347   ac_cpp_err=yes
105348 fi
105349 if test -z "$ac_cpp_err"; then
105350   ac_header_preproc=yes
105351 else
105352   echo "$as_me: failed program was:" >&5
105353 sed 's/^/| /' conftest.$ac_ext >&5
105354
105355   ac_header_preproc=no
105356 fi
105357 rm -f conftest.err conftest.$ac_ext
105358 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105359 echo "${ECHO_T}$ac_header_preproc" >&6
105360
105361 # So?  What about this header?
105362 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105363   yes:no: )
105364     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
105365 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105366     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
105367 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
105368     ac_header_preproc=yes
105369     ;;
105370   no:yes:* )
105371     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
105372 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
105373     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
105374 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
105375     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
105376 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
105377     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
105378 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
105379     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
105380 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
105381     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
105382 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
105383     (
105384       cat <<\_ASBOX
105385 ## ----------------------------------------- ##
105386 ## Report this to the package-unused lists.  ##
105387 ## ----------------------------------------- ##
105388 _ASBOX
105389     ) |
105390       sed "s/^/$as_me: WARNING:     /" >&2
105391     ;;
105392 esac
105393 echo "$as_me:$LINENO: checking for iconv.h" >&5
105394 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105395 if test "${ac_cv_header_iconv_h+set}" = set; then
105396   echo $ECHO_N "(cached) $ECHO_C" >&6
105397 else
105398   ac_cv_header_iconv_h=$ac_header_preproc
105399 fi
105400 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105401 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105402
105403 fi
105404 if test $ac_cv_header_iconv_h = yes; then
105405   ac_has_iconv_h=yes
105406 else
105407   ac_has_iconv_h=no
105408 fi
105409
105410
105411     if test "${ac_cv_header_langinfo_h+set}" = set; then
105412   echo "$as_me:$LINENO: checking for langinfo.h" >&5
105413 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105414 if test "${ac_cv_header_langinfo_h+set}" = set; then
105415   echo $ECHO_N "(cached) $ECHO_C" >&6
105416 fi
105417 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105418 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105419 else
105420   # Is the header compilable?
105421 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
105422 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
105423 cat >conftest.$ac_ext <<_ACEOF
105424 /* confdefs.h.  */
105425 _ACEOF
105426 cat confdefs.h >>conftest.$ac_ext
105427 cat >>conftest.$ac_ext <<_ACEOF
105428 /* end confdefs.h.  */
105429 $ac_includes_default
105430 #include <langinfo.h>
105431 _ACEOF
105432 rm -f conftest.$ac_objext
105433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105434   (eval $ac_compile) 2>conftest.er1
105435   ac_status=$?
105436   grep -v '^ *+' conftest.er1 >conftest.err
105437   rm -f conftest.er1
105438   cat conftest.err >&5
105439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105440   (exit $ac_status); } &&
105441          { ac_try='test -z "$ac_c_werror_flag"
105442                          || test ! -s conftest.err'
105443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105444   (eval $ac_try) 2>&5
105445   ac_status=$?
105446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105447   (exit $ac_status); }; } &&
105448          { ac_try='test -s conftest.$ac_objext'
105449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105450   (eval $ac_try) 2>&5
105451   ac_status=$?
105452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105453   (exit $ac_status); }; }; then
105454   ac_header_compiler=yes
105455 else
105456   echo "$as_me: failed program was:" >&5
105457 sed 's/^/| /' conftest.$ac_ext >&5
105458
105459 ac_header_compiler=no
105460 fi
105461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105462 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105463 echo "${ECHO_T}$ac_header_compiler" >&6
105464
105465 # Is the header present?
105466 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
105467 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
105468 cat >conftest.$ac_ext <<_ACEOF
105469 /* confdefs.h.  */
105470 _ACEOF
105471 cat confdefs.h >>conftest.$ac_ext
105472 cat >>conftest.$ac_ext <<_ACEOF
105473 /* end confdefs.h.  */
105474 #include <langinfo.h>
105475 _ACEOF
105476 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105477   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105478   ac_status=$?
105479   grep -v '^ *+' conftest.er1 >conftest.err
105480   rm -f conftest.er1
105481   cat conftest.err >&5
105482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105483   (exit $ac_status); } >/dev/null; then
105484   if test -s conftest.err; then
105485     ac_cpp_err=$ac_c_preproc_warn_flag
105486     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105487   else
105488     ac_cpp_err=
105489   fi
105490 else
105491   ac_cpp_err=yes
105492 fi
105493 if test -z "$ac_cpp_err"; then
105494   ac_header_preproc=yes
105495 else
105496   echo "$as_me: failed program was:" >&5
105497 sed 's/^/| /' conftest.$ac_ext >&5
105498
105499   ac_header_preproc=no
105500 fi
105501 rm -f conftest.err conftest.$ac_ext
105502 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105503 echo "${ECHO_T}$ac_header_preproc" >&6
105504
105505 # So?  What about this header?
105506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105507   yes:no: )
105508     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
105509 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105510     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
105511 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
105512     ac_header_preproc=yes
105513     ;;
105514   no:yes:* )
105515     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
105516 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
105517     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
105518 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
105519     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
105520 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
105521     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
105522 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
105523     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
105524 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
105525     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
105526 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
105527     (
105528       cat <<\_ASBOX
105529 ## ----------------------------------------- ##
105530 ## Report this to the package-unused lists.  ##
105531 ## ----------------------------------------- ##
105532 _ASBOX
105533     ) |
105534       sed "s/^/$as_me: WARNING:     /" >&2
105535     ;;
105536 esac
105537 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105538 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105539 if test "${ac_cv_header_langinfo_h+set}" = set; then
105540   echo $ECHO_N "(cached) $ECHO_C" >&6
105541 else
105542   ac_cv_header_langinfo_h=$ac_header_preproc
105543 fi
105544 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105545 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105546
105547 fi
105548 if test $ac_cv_header_langinfo_h = yes; then
105549   ac_has_langinfo_h=yes
105550 else
105551   ac_has_langinfo_h=no
105552 fi
105553
105554
105555
105556     # Check for existence of libiconv.a providing XPG2 wchar_t support.
105557     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
105558 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
105559 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
105560   echo $ECHO_N "(cached) $ECHO_C" >&6
105561 else
105562   ac_check_lib_save_LIBS=$LIBS
105563 LIBS="-liconv  $LIBS"
105564 if test x$gcc_no_link = xyes; then
105565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105567    { (exit 1); exit 1; }; }
105568 fi
105569 cat >conftest.$ac_ext <<_ACEOF
105570 /* confdefs.h.  */
105571 _ACEOF
105572 cat confdefs.h >>conftest.$ac_ext
105573 cat >>conftest.$ac_ext <<_ACEOF
105574 /* end confdefs.h.  */
105575
105576 /* Override any gcc2 internal prototype to avoid an error.  */
105577 #ifdef __cplusplus
105578 extern "C"
105579 #endif
105580 /* We use char because int might match the return type of a gcc2
105581    builtin and then its argument prototype would still apply.  */
105582 char iconv ();
105583 int
105584 main ()
105585 {
105586 iconv ();
105587   ;
105588   return 0;
105589 }
105590 _ACEOF
105591 rm -f conftest.$ac_objext conftest$ac_exeext
105592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105593   (eval $ac_link) 2>conftest.er1
105594   ac_status=$?
105595   grep -v '^ *+' conftest.er1 >conftest.err
105596   rm -f conftest.er1
105597   cat conftest.err >&5
105598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105599   (exit $ac_status); } &&
105600          { ac_try='test -z "$ac_c_werror_flag"
105601                          || test ! -s conftest.err'
105602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105603   (eval $ac_try) 2>&5
105604   ac_status=$?
105605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105606   (exit $ac_status); }; } &&
105607          { ac_try='test -s conftest$ac_exeext'
105608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105609   (eval $ac_try) 2>&5
105610   ac_status=$?
105611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105612   (exit $ac_status); }; }; then
105613   ac_cv_lib_iconv_iconv=yes
105614 else
105615   echo "$as_me: failed program was:" >&5
105616 sed 's/^/| /' conftest.$ac_ext >&5
105617
105618 ac_cv_lib_iconv_iconv=no
105619 fi
105620 rm -f conftest.err conftest.$ac_objext \
105621       conftest$ac_exeext conftest.$ac_ext
105622 LIBS=$ac_check_lib_save_LIBS
105623 fi
105624 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
105625 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
105626 if test $ac_cv_lib_iconv_iconv = yes; then
105627   LIBICONV="-liconv"
105628 fi
105629
105630     ac_save_LIBS="$LIBS"
105631     LIBS="$LIBS $LIBICONV"
105632
105633
105634
105635
105636
105637
105638 for ac_func in iconv_open iconv_close iconv nl_langinfo
105639 do
105640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105641 echo "$as_me:$LINENO: checking for $ac_func" >&5
105642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105643 if eval "test \"\${$as_ac_var+set}\" = set"; then
105644   echo $ECHO_N "(cached) $ECHO_C" >&6
105645 else
105646   if test x$gcc_no_link = xyes; then
105647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105649    { (exit 1); exit 1; }; }
105650 fi
105651 cat >conftest.$ac_ext <<_ACEOF
105652 /* confdefs.h.  */
105653 _ACEOF
105654 cat confdefs.h >>conftest.$ac_ext
105655 cat >>conftest.$ac_ext <<_ACEOF
105656 /* end confdefs.h.  */
105657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105659 #define $ac_func innocuous_$ac_func
105660
105661 /* System header to define __stub macros and hopefully few prototypes,
105662     which can conflict with char $ac_func (); below.
105663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105664     <limits.h> exists even on freestanding compilers.  */
105665
105666 #ifdef __STDC__
105667 # include <limits.h>
105668 #else
105669 # include <assert.h>
105670 #endif
105671
105672 #undef $ac_func
105673
105674 /* Override any gcc2 internal prototype to avoid an error.  */
105675 #ifdef __cplusplus
105676 extern "C"
105677 {
105678 #endif
105679 /* We use char because int might match the return type of a gcc2
105680    builtin and then its argument prototype would still apply.  */
105681 char $ac_func ();
105682 /* The GNU C library defines this for functions which it implements
105683     to always fail with ENOSYS.  Some functions are actually named
105684     something starting with __ and the normal name is an alias.  */
105685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105686 choke me
105687 #else
105688 char (*f) () = $ac_func;
105689 #endif
105690 #ifdef __cplusplus
105691 }
105692 #endif
105693
105694 int
105695 main ()
105696 {
105697 return f != $ac_func;
105698   ;
105699   return 0;
105700 }
105701 _ACEOF
105702 rm -f conftest.$ac_objext conftest$ac_exeext
105703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105704   (eval $ac_link) 2>conftest.er1
105705   ac_status=$?
105706   grep -v '^ *+' conftest.er1 >conftest.err
105707   rm -f conftest.er1
105708   cat conftest.err >&5
105709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105710   (exit $ac_status); } &&
105711          { ac_try='test -z "$ac_c_werror_flag"
105712                          || test ! -s conftest.err'
105713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105714   (eval $ac_try) 2>&5
105715   ac_status=$?
105716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105717   (exit $ac_status); }; } &&
105718          { ac_try='test -s conftest$ac_exeext'
105719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105720   (eval $ac_try) 2>&5
105721   ac_status=$?
105722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105723   (exit $ac_status); }; }; then
105724   eval "$as_ac_var=yes"
105725 else
105726   echo "$as_me: failed program was:" >&5
105727 sed 's/^/| /' conftest.$ac_ext >&5
105728
105729 eval "$as_ac_var=no"
105730 fi
105731 rm -f conftest.err conftest.$ac_objext \
105732       conftest$ac_exeext conftest.$ac_ext
105733 fi
105734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105736 if test `eval echo '${'$as_ac_var'}'` = yes; then
105737   cat >>confdefs.h <<_ACEOF
105738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105739 _ACEOF
105740  ac_XPG2funcs=yes
105741 else
105742   ac_XPG2funcs=no
105743 fi
105744 done
105745
105746
105747     LIBS="$ac_save_LIBS"
105748
105749     if test x"$ac_has_iconv_h" = xyes &&
105750        test x"$ac_has_langinfo_h" = xyes &&
105751        test x"$ac_XPG2funcs" = xyes;
105752     then
105753
105754 cat >>confdefs.h <<\_ACEOF
105755 #define _GLIBCXX_USE_ICONV 1
105756 _ACEOF
105757
105758       enable_iconv=yes
105759     fi
105760   fi
105761   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
105762 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
105763   echo "$as_me:$LINENO: result: $enable_iconv" >&5
105764 echo "${ECHO_T}$enable_iconv" >&6
105765
105766     cat >>confdefs.h <<\_ACEOF
105767 #define HAVE_COSF 1
105768 _ACEOF
105769
105770     cat >>confdefs.h <<\_ACEOF
105771 #define HAVE_COSL 1
105772 _ACEOF
105773
105774     cat >>confdefs.h <<\_ACEOF
105775 #define HAVE_COSHF 1
105776 _ACEOF
105777
105778     cat >>confdefs.h <<\_ACEOF
105779 #define HAVE_COSHL 1
105780 _ACEOF
105781
105782     cat >>confdefs.h <<\_ACEOF
105783 #define HAVE_LOGF 1
105784 _ACEOF
105785
105786     cat >>confdefs.h <<\_ACEOF
105787 #define HAVE_LOGL 1
105788 _ACEOF
105789
105790     cat >>confdefs.h <<\_ACEOF
105791 #define HAVE_LOG10F 1
105792 _ACEOF
105793
105794     cat >>confdefs.h <<\_ACEOF
105795 #define HAVE_LOG10L 1
105796 _ACEOF
105797
105798     cat >>confdefs.h <<\_ACEOF
105799 #define HAVE_SINF 1
105800 _ACEOF
105801
105802     cat >>confdefs.h <<\_ACEOF
105803 #define HAVE_SINL 1
105804 _ACEOF
105805
105806     cat >>confdefs.h <<\_ACEOF
105807 #define HAVE_SINHF 1
105808 _ACEOF
105809
105810     cat >>confdefs.h <<\_ACEOF
105811 #define HAVE_SINHL 1
105812 _ACEOF
105813
105814     ;;
105815   *-solaris*)
105816     case "$target" in
105817     #  *-solaris2.5)
105818     #    os_include_dir="os/solaris/solaris2.5"
105819     #    ;;
105820     #  *-solaris2.6)
105821     #    os_include_dir="os/solaris/solaris2.6"
105822     #    ;;
105823       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
105824
105825   # If we're not using GNU ld, then there's no point in even trying these
105826   # tests.  Check for that first.  We should have already tested for gld
105827   # by now (in libtool), but require it now just to be safe...
105828   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
105829   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
105830
105831
105832
105833   # The name set by libtool depends on the version of libtool.  Shame on us
105834   # for depending on an impl detail, but c'est la vie.  Older versions used
105835   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
105836   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
105837   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
105838   # set (hence we're using an older libtool), then set it.
105839   if test x${with_gnu_ld+set} != xset; then
105840     if test x${ac_cv_prog_gnu_ld+set} != xset; then
105841       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
105842       with_gnu_ld=no
105843     else
105844       with_gnu_ld=$ac_cv_prog_gnu_ld
105845     fi
105846   fi
105847
105848   # Start by getting the version number.  I think the libtool test already
105849   # does some of this, but throws away the result.
105850   if test x"$with_gnu_ld" = x"yes"; then
105851     echo "$as_me:$LINENO: checking for ld version" >&5
105852 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
105853
105854     ldver=`$LD --version 2>/dev/null | head -1 | \
105855            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
105856
105857     glibcxx_gnu_ld_version=`echo $ldver | \
105858            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
105859     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
105860 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
105861   fi
105862
105863   # Set --gc-sections.
105864   glibcxx_gcsections_min_ld=21602
105865   if test x"$with_gnu_ld" = x"yes" &&
105866         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
105867
105868     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
105869     # NB: This flag only works reliably after 2.16.1. Configure tests
105870     # for this are difficult, so hard wire a value that should work.
105871
105872     # All these tests are for C++, but run with the "C" compiler driver.
105873     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
105874     ac_test_CFLAGS="${CFLAGS+set}"
105875     ac_save_CFLAGS="$CFLAGS"
105876     CFLAGS='-x c++ -Wl,--gc-sections'
105877
105878     # Check for -Wl,--gc-sections
105879     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
105880 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
105881     if test x$gcc_no_link = xyes; then
105882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105884    { (exit 1); exit 1; }; }
105885 fi
105886 cat >conftest.$ac_ext <<_ACEOF
105887 /* confdefs.h.  */
105888 _ACEOF
105889 cat confdefs.h >>conftest.$ac_ext
105890 cat >>conftest.$ac_ext <<_ACEOF
105891 /* end confdefs.h.  */
105892  int one(void) { return 1; }
105893      int two(void) { return 2; }
105894
105895 int
105896 main ()
105897 {
105898  two();
105899   ;
105900   return 0;
105901 }
105902 _ACEOF
105903 rm -f conftest.$ac_objext conftest$ac_exeext
105904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105905   (eval $ac_link) 2>conftest.er1
105906   ac_status=$?
105907   grep -v '^ *+' conftest.er1 >conftest.err
105908   rm -f conftest.er1
105909   cat conftest.err >&5
105910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105911   (exit $ac_status); } &&
105912          { ac_try='test -z "$ac_c_werror_flag"
105913                          || test ! -s conftest.err'
105914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105915   (eval $ac_try) 2>&5
105916   ac_status=$?
105917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105918   (exit $ac_status); }; } &&
105919          { ac_try='test -s conftest$ac_exeext'
105920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105921   (eval $ac_try) 2>&5
105922   ac_status=$?
105923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105924   (exit $ac_status); }; }; then
105925   ac_gcsections=yes
105926 else
105927   echo "$as_me: failed program was:" >&5
105928 sed 's/^/| /' conftest.$ac_ext >&5
105929
105930 ac_gcsections=no
105931 fi
105932 rm -f conftest.err conftest.$ac_objext \
105933       conftest$ac_exeext conftest.$ac_ext
105934     if test "$ac_gcsections" = "yes"; then
105935       rm -f conftest.c
105936       touch conftest.c
105937       if $CC -c conftest.c; then
105938         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
105939            grep "Warning: gc-sections option ignored" > /dev/null; then
105940           ac_gcsections=no
105941         fi
105942       fi
105943       rm -f conftest.c conftest.o conftest
105944     fi
105945     if test "$ac_gcsections" = "yes"; then
105946       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
105947     fi
105948     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
105949 echo "${ECHO_T}$ac_gcsections" >&6
105950
105951     if test "$ac_test_CFLAGS" = set; then
105952       CFLAGS="$ac_save_CFLAGS"
105953     else
105954       # this is the suspicious part
105955       CFLAGS=''
105956     fi
105957   fi
105958
105959   # Set -z,relro.
105960   # Note this is only for shared objects.
105961   ac_ld_relro=no
105962   if test x"$with_gnu_ld" = x"yes"; then
105963     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
105964 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
105965     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
105966     if test -n "$cxx_z_relo"; then
105967       OPT_LDFLAGS="-Wl,-z,relro"
105968       ac_ld_relro=yes
105969     fi
105970     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
105971 echo "${ECHO_T}$ac_ld_relro" >&6
105972   fi
105973
105974   # Set linker optimization flags.
105975   if test x"$with_gnu_ld" = x"yes"; then
105976     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
105977   fi
105978
105979
105980
105981
105982          cat >>confdefs.h <<\_ACEOF
105983 #define HAVE_GETPAGESIZE 1
105984 _ACEOF
105985
105986          cat >>confdefs.h <<\_ACEOF
105987 #define HAVE_SIGSETJMP 1
105988 _ACEOF
105989
105990          cat >>confdefs.h <<\_ACEOF
105991 #define HAVE_MBSTATE_T 1
105992 _ACEOF
105993
105994          cat >>confdefs.h <<\_ACEOF
105995 #define HAVE_POLL 1
105996 _ACEOF
105997
105998          cat >>confdefs.h <<\_ACEOF
105999 #define HAVE_S_ISREG 1
106000 _ACEOF
106001
106002          cat >>confdefs.h <<\_ACEOF
106003 #define HAVE_LC_MESSAGES 1
106004 _ACEOF
106005
106006          cat >>confdefs.h <<\_ACEOF
106007 #define HAVE_FINITE 1
106008 _ACEOF
106009
106010          cat >>confdefs.h <<\_ACEOF
106011 #define HAVE_FPCLASS 1
106012 _ACEOF
106013
106014          cat >>confdefs.h <<\_ACEOF
106015 #define HAVE_GETPAGESIZE 1
106016 _ACEOF
106017
106018          cat >>confdefs.h <<\_ACEOF
106019 #define HAVE_NL_LANGINFO 1
106020 _ACEOF
106021
106022          cat >>confdefs.h <<\_ACEOF
106023 #define HAVE_ICONV 1
106024 _ACEOF
106025
106026          cat >>confdefs.h <<\_ACEOF
106027 #define HAVE_ICONV_CLOSE 1
106028 _ACEOF
106029
106030          cat >>confdefs.h <<\_ACEOF
106031 #define HAVE_ICONV_OPEN 1
106032 _ACEOF
106033
106034          # Look for the pieces required for wchar_t support in order to
106035          # get all the right HAVE_* macros defined.
106036
106037
106038   enable_iconv=no
106039   # Only continue checking if the ISO C99 headers exist and support is on.
106040   if test x"$enable_wchar_t" = xyes; then
106041
106042     # Use iconv for wchar_t to char conversions. As such, check for
106043     # X/Open Portability Guide, version 2 features (XPG2).
106044     if test "${ac_cv_header_iconv_h+set}" = set; then
106045   echo "$as_me:$LINENO: checking for iconv.h" >&5
106046 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106047 if test "${ac_cv_header_iconv_h+set}" = set; then
106048   echo $ECHO_N "(cached) $ECHO_C" >&6
106049 fi
106050 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106051 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106052 else
106053   # Is the header compilable?
106054 echo "$as_me:$LINENO: checking iconv.h usability" >&5
106055 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
106056 cat >conftest.$ac_ext <<_ACEOF
106057 /* confdefs.h.  */
106058 _ACEOF
106059 cat confdefs.h >>conftest.$ac_ext
106060 cat >>conftest.$ac_ext <<_ACEOF
106061 /* end confdefs.h.  */
106062 $ac_includes_default
106063 #include <iconv.h>
106064 _ACEOF
106065 rm -f conftest.$ac_objext
106066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106067   (eval $ac_compile) 2>conftest.er1
106068   ac_status=$?
106069   grep -v '^ *+' conftest.er1 >conftest.err
106070   rm -f conftest.er1
106071   cat conftest.err >&5
106072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106073   (exit $ac_status); } &&
106074          { ac_try='test -z "$ac_c_werror_flag"
106075                          || test ! -s conftest.err'
106076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106077   (eval $ac_try) 2>&5
106078   ac_status=$?
106079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106080   (exit $ac_status); }; } &&
106081          { ac_try='test -s conftest.$ac_objext'
106082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106083   (eval $ac_try) 2>&5
106084   ac_status=$?
106085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106086   (exit $ac_status); }; }; then
106087   ac_header_compiler=yes
106088 else
106089   echo "$as_me: failed program was:" >&5
106090 sed 's/^/| /' conftest.$ac_ext >&5
106091
106092 ac_header_compiler=no
106093 fi
106094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106095 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106096 echo "${ECHO_T}$ac_header_compiler" >&6
106097
106098 # Is the header present?
106099 echo "$as_me:$LINENO: checking iconv.h presence" >&5
106100 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
106101 cat >conftest.$ac_ext <<_ACEOF
106102 /* confdefs.h.  */
106103 _ACEOF
106104 cat confdefs.h >>conftest.$ac_ext
106105 cat >>conftest.$ac_ext <<_ACEOF
106106 /* end confdefs.h.  */
106107 #include <iconv.h>
106108 _ACEOF
106109 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106110   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106111   ac_status=$?
106112   grep -v '^ *+' conftest.er1 >conftest.err
106113   rm -f conftest.er1
106114   cat conftest.err >&5
106115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106116   (exit $ac_status); } >/dev/null; then
106117   if test -s conftest.err; then
106118     ac_cpp_err=$ac_c_preproc_warn_flag
106119     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106120   else
106121     ac_cpp_err=
106122   fi
106123 else
106124   ac_cpp_err=yes
106125 fi
106126 if test -z "$ac_cpp_err"; then
106127   ac_header_preproc=yes
106128 else
106129   echo "$as_me: failed program was:" >&5
106130 sed 's/^/| /' conftest.$ac_ext >&5
106131
106132   ac_header_preproc=no
106133 fi
106134 rm -f conftest.err conftest.$ac_ext
106135 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106136 echo "${ECHO_T}$ac_header_preproc" >&6
106137
106138 # So?  What about this header?
106139 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106140   yes:no: )
106141     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
106142 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106143     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
106144 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
106145     ac_header_preproc=yes
106146     ;;
106147   no:yes:* )
106148     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
106149 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
106150     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
106151 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
106152     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
106153 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
106154     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
106155 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
106156     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
106157 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
106158     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
106159 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
106160     (
106161       cat <<\_ASBOX
106162 ## ----------------------------------------- ##
106163 ## Report this to the package-unused lists.  ##
106164 ## ----------------------------------------- ##
106165 _ASBOX
106166     ) |
106167       sed "s/^/$as_me: WARNING:     /" >&2
106168     ;;
106169 esac
106170 echo "$as_me:$LINENO: checking for iconv.h" >&5
106171 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106172 if test "${ac_cv_header_iconv_h+set}" = set; then
106173   echo $ECHO_N "(cached) $ECHO_C" >&6
106174 else
106175   ac_cv_header_iconv_h=$ac_header_preproc
106176 fi
106177 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106178 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106179
106180 fi
106181 if test $ac_cv_header_iconv_h = yes; then
106182   ac_has_iconv_h=yes
106183 else
106184   ac_has_iconv_h=no
106185 fi
106186
106187
106188     if test "${ac_cv_header_langinfo_h+set}" = set; then
106189   echo "$as_me:$LINENO: checking for langinfo.h" >&5
106190 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106191 if test "${ac_cv_header_langinfo_h+set}" = set; then
106192   echo $ECHO_N "(cached) $ECHO_C" >&6
106193 fi
106194 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106195 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106196 else
106197   # Is the header compilable?
106198 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
106199 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
106200 cat >conftest.$ac_ext <<_ACEOF
106201 /* confdefs.h.  */
106202 _ACEOF
106203 cat confdefs.h >>conftest.$ac_ext
106204 cat >>conftest.$ac_ext <<_ACEOF
106205 /* end confdefs.h.  */
106206 $ac_includes_default
106207 #include <langinfo.h>
106208 _ACEOF
106209 rm -f conftest.$ac_objext
106210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106211   (eval $ac_compile) 2>conftest.er1
106212   ac_status=$?
106213   grep -v '^ *+' conftest.er1 >conftest.err
106214   rm -f conftest.er1
106215   cat conftest.err >&5
106216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106217   (exit $ac_status); } &&
106218          { ac_try='test -z "$ac_c_werror_flag"
106219                          || test ! -s conftest.err'
106220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106221   (eval $ac_try) 2>&5
106222   ac_status=$?
106223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106224   (exit $ac_status); }; } &&
106225          { ac_try='test -s conftest.$ac_objext'
106226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106227   (eval $ac_try) 2>&5
106228   ac_status=$?
106229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106230   (exit $ac_status); }; }; then
106231   ac_header_compiler=yes
106232 else
106233   echo "$as_me: failed program was:" >&5
106234 sed 's/^/| /' conftest.$ac_ext >&5
106235
106236 ac_header_compiler=no
106237 fi
106238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106239 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106240 echo "${ECHO_T}$ac_header_compiler" >&6
106241
106242 # Is the header present?
106243 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
106244 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
106245 cat >conftest.$ac_ext <<_ACEOF
106246 /* confdefs.h.  */
106247 _ACEOF
106248 cat confdefs.h >>conftest.$ac_ext
106249 cat >>conftest.$ac_ext <<_ACEOF
106250 /* end confdefs.h.  */
106251 #include <langinfo.h>
106252 _ACEOF
106253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106254   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106255   ac_status=$?
106256   grep -v '^ *+' conftest.er1 >conftest.err
106257   rm -f conftest.er1
106258   cat conftest.err >&5
106259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106260   (exit $ac_status); } >/dev/null; then
106261   if test -s conftest.err; then
106262     ac_cpp_err=$ac_c_preproc_warn_flag
106263     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106264   else
106265     ac_cpp_err=
106266   fi
106267 else
106268   ac_cpp_err=yes
106269 fi
106270 if test -z "$ac_cpp_err"; then
106271   ac_header_preproc=yes
106272 else
106273   echo "$as_me: failed program was:" >&5
106274 sed 's/^/| /' conftest.$ac_ext >&5
106275
106276   ac_header_preproc=no
106277 fi
106278 rm -f conftest.err conftest.$ac_ext
106279 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106280 echo "${ECHO_T}$ac_header_preproc" >&6
106281
106282 # So?  What about this header?
106283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106284   yes:no: )
106285     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
106286 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106287     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
106288 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
106289     ac_header_preproc=yes
106290     ;;
106291   no:yes:* )
106292     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
106293 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
106294     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
106295 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
106296     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
106297 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
106298     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
106299 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
106300     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
106301 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
106302     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
106303 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
106304     (
106305       cat <<\_ASBOX
106306 ## ----------------------------------------- ##
106307 ## Report this to the package-unused lists.  ##
106308 ## ----------------------------------------- ##
106309 _ASBOX
106310     ) |
106311       sed "s/^/$as_me: WARNING:     /" >&2
106312     ;;
106313 esac
106314 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106315 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106316 if test "${ac_cv_header_langinfo_h+set}" = set; then
106317   echo $ECHO_N "(cached) $ECHO_C" >&6
106318 else
106319   ac_cv_header_langinfo_h=$ac_header_preproc
106320 fi
106321 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106322 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106323
106324 fi
106325 if test $ac_cv_header_langinfo_h = yes; then
106326   ac_has_langinfo_h=yes
106327 else
106328   ac_has_langinfo_h=no
106329 fi
106330
106331
106332
106333     # Check for existence of libiconv.a providing XPG2 wchar_t support.
106334     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
106335 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
106336 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
106337   echo $ECHO_N "(cached) $ECHO_C" >&6
106338 else
106339   ac_check_lib_save_LIBS=$LIBS
106340 LIBS="-liconv  $LIBS"
106341 if test x$gcc_no_link = xyes; then
106342   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106344    { (exit 1); exit 1; }; }
106345 fi
106346 cat >conftest.$ac_ext <<_ACEOF
106347 /* confdefs.h.  */
106348 _ACEOF
106349 cat confdefs.h >>conftest.$ac_ext
106350 cat >>conftest.$ac_ext <<_ACEOF
106351 /* end confdefs.h.  */
106352
106353 /* Override any gcc2 internal prototype to avoid an error.  */
106354 #ifdef __cplusplus
106355 extern "C"
106356 #endif
106357 /* We use char because int might match the return type of a gcc2
106358    builtin and then its argument prototype would still apply.  */
106359 char iconv ();
106360 int
106361 main ()
106362 {
106363 iconv ();
106364   ;
106365   return 0;
106366 }
106367 _ACEOF
106368 rm -f conftest.$ac_objext conftest$ac_exeext
106369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106370   (eval $ac_link) 2>conftest.er1
106371   ac_status=$?
106372   grep -v '^ *+' conftest.er1 >conftest.err
106373   rm -f conftest.er1
106374   cat conftest.err >&5
106375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106376   (exit $ac_status); } &&
106377          { ac_try='test -z "$ac_c_werror_flag"
106378                          || test ! -s conftest.err'
106379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106380   (eval $ac_try) 2>&5
106381   ac_status=$?
106382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106383   (exit $ac_status); }; } &&
106384          { ac_try='test -s conftest$ac_exeext'
106385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106386   (eval $ac_try) 2>&5
106387   ac_status=$?
106388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106389   (exit $ac_status); }; }; then
106390   ac_cv_lib_iconv_iconv=yes
106391 else
106392   echo "$as_me: failed program was:" >&5
106393 sed 's/^/| /' conftest.$ac_ext >&5
106394
106395 ac_cv_lib_iconv_iconv=no
106396 fi
106397 rm -f conftest.err conftest.$ac_objext \
106398       conftest$ac_exeext conftest.$ac_ext
106399 LIBS=$ac_check_lib_save_LIBS
106400 fi
106401 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
106402 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
106403 if test $ac_cv_lib_iconv_iconv = yes; then
106404   LIBICONV="-liconv"
106405 fi
106406
106407     ac_save_LIBS="$LIBS"
106408     LIBS="$LIBS $LIBICONV"
106409
106410
106411
106412
106413
106414
106415 for ac_func in iconv_open iconv_close iconv nl_langinfo
106416 do
106417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106418 echo "$as_me:$LINENO: checking for $ac_func" >&5
106419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106420 if eval "test \"\${$as_ac_var+set}\" = set"; then
106421   echo $ECHO_N "(cached) $ECHO_C" >&6
106422 else
106423   if test x$gcc_no_link = xyes; then
106424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106426    { (exit 1); exit 1; }; }
106427 fi
106428 cat >conftest.$ac_ext <<_ACEOF
106429 /* confdefs.h.  */
106430 _ACEOF
106431 cat confdefs.h >>conftest.$ac_ext
106432 cat >>conftest.$ac_ext <<_ACEOF
106433 /* end confdefs.h.  */
106434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106435    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
106436 #define $ac_func innocuous_$ac_func
106437
106438 /* System header to define __stub macros and hopefully few prototypes,
106439     which can conflict with char $ac_func (); below.
106440     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106441     <limits.h> exists even on freestanding compilers.  */
106442
106443 #ifdef __STDC__
106444 # include <limits.h>
106445 #else
106446 # include <assert.h>
106447 #endif
106448
106449 #undef $ac_func
106450
106451 /* Override any gcc2 internal prototype to avoid an error.  */
106452 #ifdef __cplusplus
106453 extern "C"
106454 {
106455 #endif
106456 /* We use char because int might match the return type of a gcc2
106457    builtin and then its argument prototype would still apply.  */
106458 char $ac_func ();
106459 /* The GNU C library defines this for functions which it implements
106460     to always fail with ENOSYS.  Some functions are actually named
106461     something starting with __ and the normal name is an alias.  */
106462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106463 choke me
106464 #else
106465 char (*f) () = $ac_func;
106466 #endif
106467 #ifdef __cplusplus
106468 }
106469 #endif
106470
106471 int
106472 main ()
106473 {
106474 return f != $ac_func;
106475   ;
106476   return 0;
106477 }
106478 _ACEOF
106479 rm -f conftest.$ac_objext conftest$ac_exeext
106480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106481   (eval $ac_link) 2>conftest.er1
106482   ac_status=$?
106483   grep -v '^ *+' conftest.er1 >conftest.err
106484   rm -f conftest.er1
106485   cat conftest.err >&5
106486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106487   (exit $ac_status); } &&
106488          { ac_try='test -z "$ac_c_werror_flag"
106489                          || test ! -s conftest.err'
106490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106491   (eval $ac_try) 2>&5
106492   ac_status=$?
106493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106494   (exit $ac_status); }; } &&
106495          { ac_try='test -s conftest$ac_exeext'
106496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106497   (eval $ac_try) 2>&5
106498   ac_status=$?
106499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106500   (exit $ac_status); }; }; then
106501   eval "$as_ac_var=yes"
106502 else
106503   echo "$as_me: failed program was:" >&5
106504 sed 's/^/| /' conftest.$ac_ext >&5
106505
106506 eval "$as_ac_var=no"
106507 fi
106508 rm -f conftest.err conftest.$ac_objext \
106509       conftest$ac_exeext conftest.$ac_ext
106510 fi
106511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106513 if test `eval echo '${'$as_ac_var'}'` = yes; then
106514   cat >>confdefs.h <<_ACEOF
106515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106516 _ACEOF
106517  ac_XPG2funcs=yes
106518 else
106519   ac_XPG2funcs=no
106520 fi
106521 done
106522
106523
106524     LIBS="$ac_save_LIBS"
106525
106526     if test x"$ac_has_iconv_h" = xyes &&
106527        test x"$ac_has_langinfo_h" = xyes &&
106528        test x"$ac_XPG2funcs" = xyes;
106529     then
106530
106531 cat >>confdefs.h <<\_ACEOF
106532 #define _GLIBCXX_USE_ICONV 1
106533 _ACEOF
106534
106535       enable_iconv=yes
106536     fi
106537   fi
106538   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106539 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106540   echo "$as_me:$LINENO: result: $enable_iconv" >&5
106541 echo "${ECHO_T}$enable_iconv" >&6
106542
106543          # All of the dependencies for wide character support are here, so
106544          # turn it on.  This requires some syncronization with the
106545          # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
106546          cat >>confdefs.h <<\_ACEOF
106547 #define _GLIBCXX_USE_WCHAR_T 1
106548 _ACEOF
106549
106550          # Are these tested for even when cross?
106551          cat >>confdefs.h <<\_ACEOF
106552 #define HAVE_FLOAT_H 1
106553 _ACEOF
106554
106555          cat >>confdefs.h <<\_ACEOF
106556 #define HAVE_IEEEFP_H 1
106557 _ACEOF
106558
106559          cat >>confdefs.h <<\_ACEOF
106560 #define HAVE_INTTYPES_H 1
106561 _ACEOF
106562
106563          cat >>confdefs.h <<\_ACEOF
106564 #define HAVE_LOCALE_H 1
106565 _ACEOF
106566
106567          cat >>confdefs.h <<\_ACEOF
106568 #define HAVE_NAN_H 1
106569 _ACEOF
106570
106571          cat >>confdefs.h <<\_ACEOF
106572 #define HAVE_SYS_FILIO_H 1
106573 _ACEOF
106574
106575          cat >>confdefs.h <<\_ACEOF
106576 #define HAVE_SYS_IOCTL_H 1
106577 _ACEOF
106578
106579          cat >>confdefs.h <<\_ACEOF
106580 #define HAVE_SYS_ISA_DEFS_H 1
106581 _ACEOF
106582
106583          cat >>confdefs.h <<\_ACEOF
106584 #define HAVE_SYS_RESOURCE_H 1
106585 _ACEOF
106586
106587          cat >>confdefs.h <<\_ACEOF
106588 #define HAVE_SYS_TIME_H 1
106589 _ACEOF
106590
106591          cat >>confdefs.h <<\_ACEOF
106592 #define HAVE_SYS_TYPES_H 1
106593 _ACEOF
106594
106595          cat >>confdefs.h <<\_ACEOF
106596 #define HAVE_UNISTD_H 1
106597 _ACEOF
106598
106599          cat >>confdefs.h <<\_ACEOF
106600 #define HAVE_WCHAR_H 1
106601 _ACEOF
106602
106603          cat >>confdefs.h <<\_ACEOF
106604 #define HAVE_WCTYPE_H 1
106605 _ACEOF
106606
106607          cat >>confdefs.h <<\_ACEOF
106608 #define HAVE_LIBM 1
106609 _ACEOF
106610
106611         ;;
106612     esac
106613     case "$target" in
106614       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
106615         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
106616         cat >>confdefs.h <<\_ACEOF
106617 #define HAVE___BUILTIN_ABS 1
106618 _ACEOF
106619
106620         cat >>confdefs.h <<\_ACEOF
106621 #define HAVE___BUILTIN_LABS 1
106622 _ACEOF
106623
106624         cat >>confdefs.h <<\_ACEOF
106625 #define HAVE___BUILTIN_FABS 1
106626 _ACEOF
106627
106628         cat >>confdefs.h <<\_ACEOF
106629 #define HAVE___BUILTIN_FABSF 1
106630 _ACEOF
106631
106632         cat >>confdefs.h <<\_ACEOF
106633 #define HAVE___BUILTIN_FABSL 1
106634 _ACEOF
106635
106636         cat >>confdefs.h <<\_ACEOF
106637 #define HAVE___BUILTIN_COS 1
106638 _ACEOF
106639
106640         cat >>confdefs.h <<\_ACEOF
106641 #define HAVE___BUILTIN_COSF 1
106642 _ACEOF
106643
106644         cat >>confdefs.h <<\_ACEOF
106645 #define HAVE___BUILTIN_SIN 1
106646 _ACEOF
106647
106648         cat >>confdefs.h <<\_ACEOF
106649 #define HAVE___BUILTIN_SINF 1
106650 _ACEOF
106651
106652        ;;
106653     esac
106654     case "$target" in
106655       *-*-solaris2.10)
106656       # These two C99 functions are present only in Solaris >= 10
106657       cat >>confdefs.h <<\_ACEOF
106658 #define HAVE_STRTOF 1
106659 _ACEOF
106660
106661       cat >>confdefs.h <<\_ACEOF
106662 #define HAVE_STRTOLD 1
106663 _ACEOF
106664
106665      ;;
106666     esac
106667     cat >>confdefs.h <<\_ACEOF
106668 #define HAVE_MMAP 1
106669 _ACEOF
106670
106671     cat >>confdefs.h <<\_ACEOF
106672 #define HAVE_COPYSIGN 1
106673 _ACEOF
106674
106675     cat >>confdefs.h <<\_ACEOF
106676 #define HAVE_ISNAN 1
106677 _ACEOF
106678
106679     cat >>confdefs.h <<\_ACEOF
106680 #define HAVE_ISNANF 1
106681 _ACEOF
106682
106683     cat >>confdefs.h <<\_ACEOF
106684 #define HAVE_MODFF 1
106685 _ACEOF
106686
106687     cat >>confdefs.h <<\_ACEOF
106688 #define HAVE_HYPOT 1
106689 _ACEOF
106690
106691     ;;
106692   *-tpf)
106693
106694
106695
106696
106697
106698
106699
106700
106701 for ac_header in nan.h endian.h machine/endian.h  \
106702       sys/param.h sys/types.h locale.h float.h inttypes.h
106703 do
106704 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
106705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106706   echo "$as_me:$LINENO: checking for $ac_header" >&5
106707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106709   echo $ECHO_N "(cached) $ECHO_C" >&6
106710 fi
106711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106713 else
106714   # Is the header compilable?
106715 echo "$as_me:$LINENO: checking $ac_header usability" >&5
106716 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
106717 cat >conftest.$ac_ext <<_ACEOF
106718 /* confdefs.h.  */
106719 _ACEOF
106720 cat confdefs.h >>conftest.$ac_ext
106721 cat >>conftest.$ac_ext <<_ACEOF
106722 /* end confdefs.h.  */
106723 $ac_includes_default
106724 #include <$ac_header>
106725 _ACEOF
106726 rm -f conftest.$ac_objext
106727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106728   (eval $ac_compile) 2>conftest.er1
106729   ac_status=$?
106730   grep -v '^ *+' conftest.er1 >conftest.err
106731   rm -f conftest.er1
106732   cat conftest.err >&5
106733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106734   (exit $ac_status); } &&
106735          { ac_try='test -z "$ac_c_werror_flag"
106736                          || test ! -s conftest.err'
106737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106738   (eval $ac_try) 2>&5
106739   ac_status=$?
106740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106741   (exit $ac_status); }; } &&
106742          { ac_try='test -s conftest.$ac_objext'
106743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106744   (eval $ac_try) 2>&5
106745   ac_status=$?
106746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106747   (exit $ac_status); }; }; then
106748   ac_header_compiler=yes
106749 else
106750   echo "$as_me: failed program was:" >&5
106751 sed 's/^/| /' conftest.$ac_ext >&5
106752
106753 ac_header_compiler=no
106754 fi
106755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106757 echo "${ECHO_T}$ac_header_compiler" >&6
106758
106759 # Is the header present?
106760 echo "$as_me:$LINENO: checking $ac_header presence" >&5
106761 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
106762 cat >conftest.$ac_ext <<_ACEOF
106763 /* confdefs.h.  */
106764 _ACEOF
106765 cat confdefs.h >>conftest.$ac_ext
106766 cat >>conftest.$ac_ext <<_ACEOF
106767 /* end confdefs.h.  */
106768 #include <$ac_header>
106769 _ACEOF
106770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106771   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106772   ac_status=$?
106773   grep -v '^ *+' conftest.er1 >conftest.err
106774   rm -f conftest.er1
106775   cat conftest.err >&5
106776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106777   (exit $ac_status); } >/dev/null; then
106778   if test -s conftest.err; then
106779     ac_cpp_err=$ac_c_preproc_warn_flag
106780     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106781   else
106782     ac_cpp_err=
106783   fi
106784 else
106785   ac_cpp_err=yes
106786 fi
106787 if test -z "$ac_cpp_err"; then
106788   ac_header_preproc=yes
106789 else
106790   echo "$as_me: failed program was:" >&5
106791 sed 's/^/| /' conftest.$ac_ext >&5
106792
106793   ac_header_preproc=no
106794 fi
106795 rm -f conftest.err conftest.$ac_ext
106796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106797 echo "${ECHO_T}$ac_header_preproc" >&6
106798
106799 # So?  What about this header?
106800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106801   yes:no: )
106802     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
106803 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
106804     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
106805 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
106806     ac_header_preproc=yes
106807     ;;
106808   no:yes:* )
106809     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
106810 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
106811     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
106812 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
106813     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
106814 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
106815     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
106816 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
106817     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
106818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
106819     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
106820 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
106821     (
106822       cat <<\_ASBOX
106823 ## ----------------------------------------- ##
106824 ## Report this to the package-unused lists.  ##
106825 ## ----------------------------------------- ##
106826 _ASBOX
106827     ) |
106828       sed "s/^/$as_me: WARNING:     /" >&2
106829     ;;
106830 esac
106831 echo "$as_me:$LINENO: checking for $ac_header" >&5
106832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106834   echo $ECHO_N "(cached) $ECHO_C" >&6
106835 else
106836   eval "$as_ac_Header=\$ac_header_preproc"
106837 fi
106838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106840
106841 fi
106842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
106843   cat >>confdefs.h <<_ACEOF
106844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
106845 _ACEOF
106846
106847 fi
106848
106849 done
106850
106851     SECTION_FLAGS='-ffunction-sections -fdata-sections'
106852
106853
106854   # If we're not using GNU ld, then there's no point in even trying these
106855   # tests.  Check for that first.  We should have already tested for gld
106856   # by now (in libtool), but require it now just to be safe...
106857   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
106858   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
106859
106860
106861
106862   # The name set by libtool depends on the version of libtool.  Shame on us
106863   # for depending on an impl detail, but c'est la vie.  Older versions used
106864   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
106865   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
106866   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
106867   # set (hence we're using an older libtool), then set it.
106868   if test x${with_gnu_ld+set} != xset; then
106869     if test x${ac_cv_prog_gnu_ld+set} != xset; then
106870       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
106871       with_gnu_ld=no
106872     else
106873       with_gnu_ld=$ac_cv_prog_gnu_ld
106874     fi
106875   fi
106876
106877   # Start by getting the version number.  I think the libtool test already
106878   # does some of this, but throws away the result.
106879   if test x"$with_gnu_ld" = x"yes"; then
106880     echo "$as_me:$LINENO: checking for ld version" >&5
106881 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
106882
106883     ldver=`$LD --version 2>/dev/null | head -1 | \
106884            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
106885
106886     glibcxx_gnu_ld_version=`echo $ldver | \
106887            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
106888     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
106889 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
106890   fi
106891
106892   # Set --gc-sections.
106893   glibcxx_gcsections_min_ld=21602
106894   if test x"$with_gnu_ld" = x"yes" &&
106895         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
106896
106897     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
106898     # NB: This flag only works reliably after 2.16.1. Configure tests
106899     # for this are difficult, so hard wire a value that should work.
106900
106901     # All these tests are for C++, but run with the "C" compiler driver.
106902     # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
106903     ac_test_CFLAGS="${CFLAGS+set}"
106904     ac_save_CFLAGS="$CFLAGS"
106905     CFLAGS='-x c++ -Wl,--gc-sections'
106906
106907     # Check for -Wl,--gc-sections
106908     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
106909 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
106910     if test x$gcc_no_link = xyes; then
106911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106913    { (exit 1); exit 1; }; }
106914 fi
106915 cat >conftest.$ac_ext <<_ACEOF
106916 /* confdefs.h.  */
106917 _ACEOF
106918 cat confdefs.h >>conftest.$ac_ext
106919 cat >>conftest.$ac_ext <<_ACEOF
106920 /* end confdefs.h.  */
106921  int one(void) { return 1; }
106922      int two(void) { return 2; }
106923
106924 int
106925 main ()
106926 {
106927  two();
106928   ;
106929   return 0;
106930 }
106931 _ACEOF
106932 rm -f conftest.$ac_objext conftest$ac_exeext
106933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106934   (eval $ac_link) 2>conftest.er1
106935   ac_status=$?
106936   grep -v '^ *+' conftest.er1 >conftest.err
106937   rm -f conftest.er1
106938   cat conftest.err >&5
106939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106940   (exit $ac_status); } &&
106941          { ac_try='test -z "$ac_c_werror_flag"
106942                          || test ! -s conftest.err'
106943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106944   (eval $ac_try) 2>&5
106945   ac_status=$?
106946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106947   (exit $ac_status); }; } &&
106948          { ac_try='test -s conftest$ac_exeext'
106949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106950   (eval $ac_try) 2>&5
106951   ac_status=$?
106952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106953   (exit $ac_status); }; }; then
106954   ac_gcsections=yes
106955 else
106956   echo "$as_me: failed program was:" >&5
106957 sed 's/^/| /' conftest.$ac_ext >&5
106958
106959 ac_gcsections=no
106960 fi
106961 rm -f conftest.err conftest.$ac_objext \
106962       conftest$ac_exeext conftest.$ac_ext
106963     if test "$ac_gcsections" = "yes"; then
106964       rm -f conftest.c
106965       touch conftest.c
106966       if $CC -c conftest.c; then
106967         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
106968            grep "Warning: gc-sections option ignored" > /dev/null; then
106969           ac_gcsections=no
106970         fi
106971       fi
106972       rm -f conftest.c conftest.o conftest
106973     fi
106974     if test "$ac_gcsections" = "yes"; then
106975       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
106976     fi
106977     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
106978 echo "${ECHO_T}$ac_gcsections" >&6
106979
106980     if test "$ac_test_CFLAGS" = set; then
106981       CFLAGS="$ac_save_CFLAGS"
106982     else
106983       # this is the suspicious part
106984       CFLAGS=''
106985     fi
106986   fi
106987
106988   # Set -z,relro.
106989   # Note this is only for shared objects.
106990   ac_ld_relro=no
106991   if test x"$with_gnu_ld" = x"yes"; then
106992     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
106993 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
106994     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
106995     if test -n "$cxx_z_relo"; then
106996       OPT_LDFLAGS="-Wl,-z,relro"
106997       ac_ld_relro=yes
106998     fi
106999     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
107000 echo "${ECHO_T}$ac_ld_relro" >&6
107001   fi
107002
107003   # Set linker optimization flags.
107004   if test x"$with_gnu_ld" = x"yes"; then
107005     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
107006   fi
107007
107008
107009
107010
107011
107012
107013 echo "$as_me:$LINENO: checking for main in -lm" >&5
107014 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107015 if test "${ac_cv_lib_m_main+set}" = set; then
107016   echo $ECHO_N "(cached) $ECHO_C" >&6
107017 else
107018   ac_check_lib_save_LIBS=$LIBS
107019 LIBS="-lm  $LIBS"
107020 if test x$gcc_no_link = xyes; then
107021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107023    { (exit 1); exit 1; }; }
107024 fi
107025 cat >conftest.$ac_ext <<_ACEOF
107026 /* confdefs.h.  */
107027 _ACEOF
107028 cat confdefs.h >>conftest.$ac_ext
107029 cat >>conftest.$ac_ext <<_ACEOF
107030 /* end confdefs.h.  */
107031
107032
107033 int
107034 main ()
107035 {
107036 main ();
107037   ;
107038   return 0;
107039 }
107040 _ACEOF
107041 rm -f conftest.$ac_objext conftest$ac_exeext
107042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107043   (eval $ac_link) 2>conftest.er1
107044   ac_status=$?
107045   grep -v '^ *+' conftest.er1 >conftest.err
107046   rm -f conftest.er1
107047   cat conftest.err >&5
107048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107049   (exit $ac_status); } &&
107050          { ac_try='test -z "$ac_c_werror_flag"
107051                          || test ! -s conftest.err'
107052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107053   (eval $ac_try) 2>&5
107054   ac_status=$?
107055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107056   (exit $ac_status); }; } &&
107057          { ac_try='test -s conftest$ac_exeext'
107058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107059   (eval $ac_try) 2>&5
107060   ac_status=$?
107061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107062   (exit $ac_status); }; }; then
107063   ac_cv_lib_m_main=yes
107064 else
107065   echo "$as_me: failed program was:" >&5
107066 sed 's/^/| /' conftest.$ac_ext >&5
107067
107068 ac_cv_lib_m_main=no
107069 fi
107070 rm -f conftest.err conftest.$ac_objext \
107071       conftest$ac_exeext conftest.$ac_ext
107072 LIBS=$ac_check_lib_save_LIBS
107073 fi
107074 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107075 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107076 if test $ac_cv_lib_m_main = yes; then
107077   cat >>confdefs.h <<_ACEOF
107078 #define HAVE_LIBM 1
107079 _ACEOF
107080
107081   LIBS="-lm $LIBS"
107082
107083 fi
107084
107085
107086 for ac_func in copysignf
107087 do
107088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107089 echo "$as_me:$LINENO: checking for $ac_func" >&5
107090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107091 if eval "test \"\${$as_ac_var+set}\" = set"; then
107092   echo $ECHO_N "(cached) $ECHO_C" >&6
107093 else
107094   if test x$gcc_no_link = xyes; then
107095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107097    { (exit 1); exit 1; }; }
107098 fi
107099 cat >conftest.$ac_ext <<_ACEOF
107100 /* confdefs.h.  */
107101 _ACEOF
107102 cat confdefs.h >>conftest.$ac_ext
107103 cat >>conftest.$ac_ext <<_ACEOF
107104 /* end confdefs.h.  */
107105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107107 #define $ac_func innocuous_$ac_func
107108
107109 /* System header to define __stub macros and hopefully few prototypes,
107110     which can conflict with char $ac_func (); below.
107111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107112     <limits.h> exists even on freestanding compilers.  */
107113
107114 #ifdef __STDC__
107115 # include <limits.h>
107116 #else
107117 # include <assert.h>
107118 #endif
107119
107120 #undef $ac_func
107121
107122 /* Override any gcc2 internal prototype to avoid an error.  */
107123 #ifdef __cplusplus
107124 extern "C"
107125 {
107126 #endif
107127 /* We use char because int might match the return type of a gcc2
107128    builtin and then its argument prototype would still apply.  */
107129 char $ac_func ();
107130 /* The GNU C library defines this for functions which it implements
107131     to always fail with ENOSYS.  Some functions are actually named
107132     something starting with __ and the normal name is an alias.  */
107133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107134 choke me
107135 #else
107136 char (*f) () = $ac_func;
107137 #endif
107138 #ifdef __cplusplus
107139 }
107140 #endif
107141
107142 int
107143 main ()
107144 {
107145 return f != $ac_func;
107146   ;
107147   return 0;
107148 }
107149 _ACEOF
107150 rm -f conftest.$ac_objext conftest$ac_exeext
107151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107152   (eval $ac_link) 2>conftest.er1
107153   ac_status=$?
107154   grep -v '^ *+' conftest.er1 >conftest.err
107155   rm -f conftest.er1
107156   cat conftest.err >&5
107157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107158   (exit $ac_status); } &&
107159          { ac_try='test -z "$ac_c_werror_flag"
107160                          || test ! -s conftest.err'
107161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107162   (eval $ac_try) 2>&5
107163   ac_status=$?
107164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107165   (exit $ac_status); }; } &&
107166          { ac_try='test -s conftest$ac_exeext'
107167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107168   (eval $ac_try) 2>&5
107169   ac_status=$?
107170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107171   (exit $ac_status); }; }; then
107172   eval "$as_ac_var=yes"
107173 else
107174   echo "$as_me: failed program was:" >&5
107175 sed 's/^/| /' conftest.$ac_ext >&5
107176
107177 eval "$as_ac_var=no"
107178 fi
107179 rm -f conftest.err conftest.$ac_objext \
107180       conftest$ac_exeext conftest.$ac_ext
107181 fi
107182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107184 if test `eval echo '${'$as_ac_var'}'` = yes; then
107185   cat >>confdefs.h <<_ACEOF
107186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107187 _ACEOF
107188
107189 else
107190   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107191 fi
107192 done
107193
107194
107195
107196 for ac_func in __signbit
107197 do
107198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107199 echo "$as_me:$LINENO: checking for $ac_func" >&5
107200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107201 if eval "test \"\${$as_ac_var+set}\" = set"; then
107202   echo $ECHO_N "(cached) $ECHO_C" >&6
107203 else
107204   if test x$gcc_no_link = xyes; then
107205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107207    { (exit 1); exit 1; }; }
107208 fi
107209 cat >conftest.$ac_ext <<_ACEOF
107210 /* confdefs.h.  */
107211 _ACEOF
107212 cat confdefs.h >>conftest.$ac_ext
107213 cat >>conftest.$ac_ext <<_ACEOF
107214 /* end confdefs.h.  */
107215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107217 #define $ac_func innocuous_$ac_func
107218
107219 /* System header to define __stub macros and hopefully few prototypes,
107220     which can conflict with char $ac_func (); below.
107221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107222     <limits.h> exists even on freestanding compilers.  */
107223
107224 #ifdef __STDC__
107225 # include <limits.h>
107226 #else
107227 # include <assert.h>
107228 #endif
107229
107230 #undef $ac_func
107231
107232 /* Override any gcc2 internal prototype to avoid an error.  */
107233 #ifdef __cplusplus
107234 extern "C"
107235 {
107236 #endif
107237 /* We use char because int might match the return type of a gcc2
107238    builtin and then its argument prototype would still apply.  */
107239 char $ac_func ();
107240 /* The GNU C library defines this for functions which it implements
107241     to always fail with ENOSYS.  Some functions are actually named
107242     something starting with __ and the normal name is an alias.  */
107243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107244 choke me
107245 #else
107246 char (*f) () = $ac_func;
107247 #endif
107248 #ifdef __cplusplus
107249 }
107250 #endif
107251
107252 int
107253 main ()
107254 {
107255 return f != $ac_func;
107256   ;
107257   return 0;
107258 }
107259 _ACEOF
107260 rm -f conftest.$ac_objext conftest$ac_exeext
107261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107262   (eval $ac_link) 2>conftest.er1
107263   ac_status=$?
107264   grep -v '^ *+' conftest.er1 >conftest.err
107265   rm -f conftest.er1
107266   cat conftest.err >&5
107267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107268   (exit $ac_status); } &&
107269          { ac_try='test -z "$ac_c_werror_flag"
107270                          || test ! -s conftest.err'
107271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107272   (eval $ac_try) 2>&5
107273   ac_status=$?
107274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107275   (exit $ac_status); }; } &&
107276          { ac_try='test -s conftest$ac_exeext'
107277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107278   (eval $ac_try) 2>&5
107279   ac_status=$?
107280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107281   (exit $ac_status); }; }; then
107282   eval "$as_ac_var=yes"
107283 else
107284   echo "$as_me: failed program was:" >&5
107285 sed 's/^/| /' conftest.$ac_ext >&5
107286
107287 eval "$as_ac_var=no"
107288 fi
107289 rm -f conftest.err conftest.$ac_objext \
107290       conftest$ac_exeext conftest.$ac_ext
107291 fi
107292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107294 if test `eval echo '${'$as_ac_var'}'` = yes; then
107295   cat >>confdefs.h <<_ACEOF
107296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107297 _ACEOF
107298
107299 else
107300   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107301 fi
107302 done
107303
107304
107305
107306 for ac_func in __signbitf
107307 do
107308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107309 echo "$as_me:$LINENO: checking for $ac_func" >&5
107310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107311 if eval "test \"\${$as_ac_var+set}\" = set"; then
107312   echo $ECHO_N "(cached) $ECHO_C" >&6
107313 else
107314   if test x$gcc_no_link = xyes; then
107315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107317    { (exit 1); exit 1; }; }
107318 fi
107319 cat >conftest.$ac_ext <<_ACEOF
107320 /* confdefs.h.  */
107321 _ACEOF
107322 cat confdefs.h >>conftest.$ac_ext
107323 cat >>conftest.$ac_ext <<_ACEOF
107324 /* end confdefs.h.  */
107325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107327 #define $ac_func innocuous_$ac_func
107328
107329 /* System header to define __stub macros and hopefully few prototypes,
107330     which can conflict with char $ac_func (); below.
107331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107332     <limits.h> exists even on freestanding compilers.  */
107333
107334 #ifdef __STDC__
107335 # include <limits.h>
107336 #else
107337 # include <assert.h>
107338 #endif
107339
107340 #undef $ac_func
107341
107342 /* Override any gcc2 internal prototype to avoid an error.  */
107343 #ifdef __cplusplus
107344 extern "C"
107345 {
107346 #endif
107347 /* We use char because int might match the return type of a gcc2
107348    builtin and then its argument prototype would still apply.  */
107349 char $ac_func ();
107350 /* The GNU C library defines this for functions which it implements
107351     to always fail with ENOSYS.  Some functions are actually named
107352     something starting with __ and the normal name is an alias.  */
107353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107354 choke me
107355 #else
107356 char (*f) () = $ac_func;
107357 #endif
107358 #ifdef __cplusplus
107359 }
107360 #endif
107361
107362 int
107363 main ()
107364 {
107365 return f != $ac_func;
107366   ;
107367   return 0;
107368 }
107369 _ACEOF
107370 rm -f conftest.$ac_objext conftest$ac_exeext
107371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107372   (eval $ac_link) 2>conftest.er1
107373   ac_status=$?
107374   grep -v '^ *+' conftest.er1 >conftest.err
107375   rm -f conftest.er1
107376   cat conftest.err >&5
107377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107378   (exit $ac_status); } &&
107379          { ac_try='test -z "$ac_c_werror_flag"
107380                          || test ! -s conftest.err'
107381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107382   (eval $ac_try) 2>&5
107383   ac_status=$?
107384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107385   (exit $ac_status); }; } &&
107386          { ac_try='test -s conftest$ac_exeext'
107387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107388   (eval $ac_try) 2>&5
107389   ac_status=$?
107390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107391   (exit $ac_status); }; }; then
107392   eval "$as_ac_var=yes"
107393 else
107394   echo "$as_me: failed program was:" >&5
107395 sed 's/^/| /' conftest.$ac_ext >&5
107396
107397 eval "$as_ac_var=no"
107398 fi
107399 rm -f conftest.err conftest.$ac_objext \
107400       conftest$ac_exeext conftest.$ac_ext
107401 fi
107402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107404 if test `eval echo '${'$as_ac_var'}'` = yes; then
107405   cat >>confdefs.h <<_ACEOF
107406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107407 _ACEOF
107408
107409 else
107410   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107411 fi
107412 done
107413
107414
107415           if test x$ac_cv_func_copysignl = x"yes"; then
107416
107417 for ac_func in __signbitl
107418 do
107419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107420 echo "$as_me:$LINENO: checking for $ac_func" >&5
107421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107422 if eval "test \"\${$as_ac_var+set}\" = set"; then
107423   echo $ECHO_N "(cached) $ECHO_C" >&6
107424 else
107425   if test x$gcc_no_link = xyes; then
107426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107428    { (exit 1); exit 1; }; }
107429 fi
107430 cat >conftest.$ac_ext <<_ACEOF
107431 /* confdefs.h.  */
107432 _ACEOF
107433 cat confdefs.h >>conftest.$ac_ext
107434 cat >>conftest.$ac_ext <<_ACEOF
107435 /* end confdefs.h.  */
107436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107437    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107438 #define $ac_func innocuous_$ac_func
107439
107440 /* System header to define __stub macros and hopefully few prototypes,
107441     which can conflict with char $ac_func (); below.
107442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107443     <limits.h> exists even on freestanding compilers.  */
107444
107445 #ifdef __STDC__
107446 # include <limits.h>
107447 #else
107448 # include <assert.h>
107449 #endif
107450
107451 #undef $ac_func
107452
107453 /* Override any gcc2 internal prototype to avoid an error.  */
107454 #ifdef __cplusplus
107455 extern "C"
107456 {
107457 #endif
107458 /* We use char because int might match the return type of a gcc2
107459    builtin and then its argument prototype would still apply.  */
107460 char $ac_func ();
107461 /* The GNU C library defines this for functions which it implements
107462     to always fail with ENOSYS.  Some functions are actually named
107463     something starting with __ and the normal name is an alias.  */
107464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107465 choke me
107466 #else
107467 char (*f) () = $ac_func;
107468 #endif
107469 #ifdef __cplusplus
107470 }
107471 #endif
107472
107473 int
107474 main ()
107475 {
107476 return f != $ac_func;
107477   ;
107478   return 0;
107479 }
107480 _ACEOF
107481 rm -f conftest.$ac_objext conftest$ac_exeext
107482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107483   (eval $ac_link) 2>conftest.er1
107484   ac_status=$?
107485   grep -v '^ *+' conftest.er1 >conftest.err
107486   rm -f conftest.er1
107487   cat conftest.err >&5
107488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107489   (exit $ac_status); } &&
107490          { ac_try='test -z "$ac_c_werror_flag"
107491                          || test ! -s conftest.err'
107492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107493   (eval $ac_try) 2>&5
107494   ac_status=$?
107495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107496   (exit $ac_status); }; } &&
107497          { ac_try='test -s conftest$ac_exeext'
107498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107499   (eval $ac_try) 2>&5
107500   ac_status=$?
107501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107502   (exit $ac_status); }; }; then
107503   eval "$as_ac_var=yes"
107504 else
107505   echo "$as_me: failed program was:" >&5
107506 sed 's/^/| /' conftest.$ac_ext >&5
107507
107508 eval "$as_ac_var=no"
107509 fi
107510 rm -f conftest.err conftest.$ac_objext \
107511       conftest$ac_exeext conftest.$ac_ext
107512 fi
107513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107515 if test `eval echo '${'$as_ac_var'}'` = yes; then
107516   cat >>confdefs.h <<_ACEOF
107517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107518 _ACEOF
107519
107520 else
107521   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107522 fi
107523 done
107524
107525   fi
107526
107527   # Used in libmath/Makefile.am.
107528   if test -n "$LIBMATHOBJS"; then
107529     need_libmath=yes
107530   fi
107531
107532
107533
107534
107535   enable_iconv=no
107536   # Only continue checking if the ISO C99 headers exist and support is on.
107537   if test x"$enable_wchar_t" = xyes; then
107538
107539     # Use iconv for wchar_t to char conversions. As such, check for
107540     # X/Open Portability Guide, version 2 features (XPG2).
107541     if test "${ac_cv_header_iconv_h+set}" = set; then
107542   echo "$as_me:$LINENO: checking for iconv.h" >&5
107543 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107544 if test "${ac_cv_header_iconv_h+set}" = set; then
107545   echo $ECHO_N "(cached) $ECHO_C" >&6
107546 fi
107547 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107548 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107549 else
107550   # Is the header compilable?
107551 echo "$as_me:$LINENO: checking iconv.h usability" >&5
107552 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
107553 cat >conftest.$ac_ext <<_ACEOF
107554 /* confdefs.h.  */
107555 _ACEOF
107556 cat confdefs.h >>conftest.$ac_ext
107557 cat >>conftest.$ac_ext <<_ACEOF
107558 /* end confdefs.h.  */
107559 $ac_includes_default
107560 #include <iconv.h>
107561 _ACEOF
107562 rm -f conftest.$ac_objext
107563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107564   (eval $ac_compile) 2>conftest.er1
107565   ac_status=$?
107566   grep -v '^ *+' conftest.er1 >conftest.err
107567   rm -f conftest.er1
107568   cat conftest.err >&5
107569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107570   (exit $ac_status); } &&
107571          { ac_try='test -z "$ac_c_werror_flag"
107572                          || test ! -s conftest.err'
107573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107574   (eval $ac_try) 2>&5
107575   ac_status=$?
107576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107577   (exit $ac_status); }; } &&
107578          { ac_try='test -s conftest.$ac_objext'
107579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107580   (eval $ac_try) 2>&5
107581   ac_status=$?
107582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107583   (exit $ac_status); }; }; then
107584   ac_header_compiler=yes
107585 else
107586   echo "$as_me: failed program was:" >&5
107587 sed 's/^/| /' conftest.$ac_ext >&5
107588
107589 ac_header_compiler=no
107590 fi
107591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107593 echo "${ECHO_T}$ac_header_compiler" >&6
107594
107595 # Is the header present?
107596 echo "$as_me:$LINENO: checking iconv.h presence" >&5
107597 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
107598 cat >conftest.$ac_ext <<_ACEOF
107599 /* confdefs.h.  */
107600 _ACEOF
107601 cat confdefs.h >>conftest.$ac_ext
107602 cat >>conftest.$ac_ext <<_ACEOF
107603 /* end confdefs.h.  */
107604 #include <iconv.h>
107605 _ACEOF
107606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107607   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107608   ac_status=$?
107609   grep -v '^ *+' conftest.er1 >conftest.err
107610   rm -f conftest.er1
107611   cat conftest.err >&5
107612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107613   (exit $ac_status); } >/dev/null; then
107614   if test -s conftest.err; then
107615     ac_cpp_err=$ac_c_preproc_warn_flag
107616     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107617   else
107618     ac_cpp_err=
107619   fi
107620 else
107621   ac_cpp_err=yes
107622 fi
107623 if test -z "$ac_cpp_err"; then
107624   ac_header_preproc=yes
107625 else
107626   echo "$as_me: failed program was:" >&5
107627 sed 's/^/| /' conftest.$ac_ext >&5
107628
107629   ac_header_preproc=no
107630 fi
107631 rm -f conftest.err conftest.$ac_ext
107632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107633 echo "${ECHO_T}$ac_header_preproc" >&6
107634
107635 # So?  What about this header?
107636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107637   yes:no: )
107638     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
107639 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107640     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
107641 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
107642     ac_header_preproc=yes
107643     ;;
107644   no:yes:* )
107645     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
107646 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
107647     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
107648 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
107649     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
107650 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
107651     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
107652 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
107653     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
107654 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
107655     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
107656 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
107657     (
107658       cat <<\_ASBOX
107659 ## ----------------------------------------- ##
107660 ## Report this to the package-unused lists.  ##
107661 ## ----------------------------------------- ##
107662 _ASBOX
107663     ) |
107664       sed "s/^/$as_me: WARNING:     /" >&2
107665     ;;
107666 esac
107667 echo "$as_me:$LINENO: checking for iconv.h" >&5
107668 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107669 if test "${ac_cv_header_iconv_h+set}" = set; then
107670   echo $ECHO_N "(cached) $ECHO_C" >&6
107671 else
107672   ac_cv_header_iconv_h=$ac_header_preproc
107673 fi
107674 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107675 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107676
107677 fi
107678 if test $ac_cv_header_iconv_h = yes; then
107679   ac_has_iconv_h=yes
107680 else
107681   ac_has_iconv_h=no
107682 fi
107683
107684
107685     if test "${ac_cv_header_langinfo_h+set}" = set; then
107686   echo "$as_me:$LINENO: checking for langinfo.h" >&5
107687 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107688 if test "${ac_cv_header_langinfo_h+set}" = set; then
107689   echo $ECHO_N "(cached) $ECHO_C" >&6
107690 fi
107691 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107692 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107693 else
107694   # Is the header compilable?
107695 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
107696 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
107697 cat >conftest.$ac_ext <<_ACEOF
107698 /* confdefs.h.  */
107699 _ACEOF
107700 cat confdefs.h >>conftest.$ac_ext
107701 cat >>conftest.$ac_ext <<_ACEOF
107702 /* end confdefs.h.  */
107703 $ac_includes_default
107704 #include <langinfo.h>
107705 _ACEOF
107706 rm -f conftest.$ac_objext
107707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107708   (eval $ac_compile) 2>conftest.er1
107709   ac_status=$?
107710   grep -v '^ *+' conftest.er1 >conftest.err
107711   rm -f conftest.er1
107712   cat conftest.err >&5
107713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107714   (exit $ac_status); } &&
107715          { ac_try='test -z "$ac_c_werror_flag"
107716                          || test ! -s conftest.err'
107717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107718   (eval $ac_try) 2>&5
107719   ac_status=$?
107720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107721   (exit $ac_status); }; } &&
107722          { ac_try='test -s conftest.$ac_objext'
107723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107724   (eval $ac_try) 2>&5
107725   ac_status=$?
107726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107727   (exit $ac_status); }; }; then
107728   ac_header_compiler=yes
107729 else
107730   echo "$as_me: failed program was:" >&5
107731 sed 's/^/| /' conftest.$ac_ext >&5
107732
107733 ac_header_compiler=no
107734 fi
107735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107736 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107737 echo "${ECHO_T}$ac_header_compiler" >&6
107738
107739 # Is the header present?
107740 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
107741 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
107742 cat >conftest.$ac_ext <<_ACEOF
107743 /* confdefs.h.  */
107744 _ACEOF
107745 cat confdefs.h >>conftest.$ac_ext
107746 cat >>conftest.$ac_ext <<_ACEOF
107747 /* end confdefs.h.  */
107748 #include <langinfo.h>
107749 _ACEOF
107750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107751   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107752   ac_status=$?
107753   grep -v '^ *+' conftest.er1 >conftest.err
107754   rm -f conftest.er1
107755   cat conftest.err >&5
107756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107757   (exit $ac_status); } >/dev/null; then
107758   if test -s conftest.err; then
107759     ac_cpp_err=$ac_c_preproc_warn_flag
107760     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107761   else
107762     ac_cpp_err=
107763   fi
107764 else
107765   ac_cpp_err=yes
107766 fi
107767 if test -z "$ac_cpp_err"; then
107768   ac_header_preproc=yes
107769 else
107770   echo "$as_me: failed program was:" >&5
107771 sed 's/^/| /' conftest.$ac_ext >&5
107772
107773   ac_header_preproc=no
107774 fi
107775 rm -f conftest.err conftest.$ac_ext
107776 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107777 echo "${ECHO_T}$ac_header_preproc" >&6
107778
107779 # So?  What about this header?
107780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107781   yes:no: )
107782     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
107783 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107784     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
107785 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
107786     ac_header_preproc=yes
107787     ;;
107788   no:yes:* )
107789     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
107790 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
107791     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
107792 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
107793     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
107794 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
107795     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
107796 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
107797     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
107798 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
107799     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
107800 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
107801     (
107802       cat <<\_ASBOX
107803 ## ----------------------------------------- ##
107804 ## Report this to the package-unused lists.  ##
107805 ## ----------------------------------------- ##
107806 _ASBOX
107807     ) |
107808       sed "s/^/$as_me: WARNING:     /" >&2
107809     ;;
107810 esac
107811 echo "$as_me:$LINENO: checking for langinfo.h" >&5
107812 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107813 if test "${ac_cv_header_langinfo_h+set}" = set; then
107814   echo $ECHO_N "(cached) $ECHO_C" >&6
107815 else
107816   ac_cv_header_langinfo_h=$ac_header_preproc
107817 fi
107818 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107819 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107820
107821 fi
107822 if test $ac_cv_header_langinfo_h = yes; then
107823   ac_has_langinfo_h=yes
107824 else
107825   ac_has_langinfo_h=no
107826 fi
107827
107828
107829
107830     # Check for existence of libiconv.a providing XPG2 wchar_t support.
107831     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
107832 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
107833 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
107834   echo $ECHO_N "(cached) $ECHO_C" >&6
107835 else
107836   ac_check_lib_save_LIBS=$LIBS
107837 LIBS="-liconv  $LIBS"
107838 if test x$gcc_no_link = xyes; then
107839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107841    { (exit 1); exit 1; }; }
107842 fi
107843 cat >conftest.$ac_ext <<_ACEOF
107844 /* confdefs.h.  */
107845 _ACEOF
107846 cat confdefs.h >>conftest.$ac_ext
107847 cat >>conftest.$ac_ext <<_ACEOF
107848 /* end confdefs.h.  */
107849
107850 /* Override any gcc2 internal prototype to avoid an error.  */
107851 #ifdef __cplusplus
107852 extern "C"
107853 #endif
107854 /* We use char because int might match the return type of a gcc2
107855    builtin and then its argument prototype would still apply.  */
107856 char iconv ();
107857 int
107858 main ()
107859 {
107860 iconv ();
107861   ;
107862   return 0;
107863 }
107864 _ACEOF
107865 rm -f conftest.$ac_objext conftest$ac_exeext
107866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107867   (eval $ac_link) 2>conftest.er1
107868   ac_status=$?
107869   grep -v '^ *+' conftest.er1 >conftest.err
107870   rm -f conftest.er1
107871   cat conftest.err >&5
107872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107873   (exit $ac_status); } &&
107874          { ac_try='test -z "$ac_c_werror_flag"
107875                          || test ! -s conftest.err'
107876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107877   (eval $ac_try) 2>&5
107878   ac_status=$?
107879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107880   (exit $ac_status); }; } &&
107881          { ac_try='test -s conftest$ac_exeext'
107882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107883   (eval $ac_try) 2>&5
107884   ac_status=$?
107885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107886   (exit $ac_status); }; }; then
107887   ac_cv_lib_iconv_iconv=yes
107888 else
107889   echo "$as_me: failed program was:" >&5
107890 sed 's/^/| /' conftest.$ac_ext >&5
107891
107892 ac_cv_lib_iconv_iconv=no
107893 fi
107894 rm -f conftest.err conftest.$ac_objext \
107895       conftest$ac_exeext conftest.$ac_ext
107896 LIBS=$ac_check_lib_save_LIBS
107897 fi
107898 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
107899 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
107900 if test $ac_cv_lib_iconv_iconv = yes; then
107901   LIBICONV="-liconv"
107902 fi
107903
107904     ac_save_LIBS="$LIBS"
107905     LIBS="$LIBS $LIBICONV"
107906
107907
107908
107909
107910
107911
107912 for ac_func in iconv_open iconv_close iconv nl_langinfo
107913 do
107914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107915 echo "$as_me:$LINENO: checking for $ac_func" >&5
107916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107917 if eval "test \"\${$as_ac_var+set}\" = set"; then
107918   echo $ECHO_N "(cached) $ECHO_C" >&6
107919 else
107920   if test x$gcc_no_link = xyes; then
107921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107923    { (exit 1); exit 1; }; }
107924 fi
107925 cat >conftest.$ac_ext <<_ACEOF
107926 /* confdefs.h.  */
107927 _ACEOF
107928 cat confdefs.h >>conftest.$ac_ext
107929 cat >>conftest.$ac_ext <<_ACEOF
107930 /* end confdefs.h.  */
107931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107932    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107933 #define $ac_func innocuous_$ac_func
107934
107935 /* System header to define __stub macros and hopefully few prototypes,
107936     which can conflict with char $ac_func (); below.
107937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107938     <limits.h> exists even on freestanding compilers.  */
107939
107940 #ifdef __STDC__
107941 # include <limits.h>
107942 #else
107943 # include <assert.h>
107944 #endif
107945
107946 #undef $ac_func
107947
107948 /* Override any gcc2 internal prototype to avoid an error.  */
107949 #ifdef __cplusplus
107950 extern "C"
107951 {
107952 #endif
107953 /* We use char because int might match the return type of a gcc2
107954    builtin and then its argument prototype would still apply.  */
107955 char $ac_func ();
107956 /* The GNU C library defines this for functions which it implements
107957     to always fail with ENOSYS.  Some functions are actually named
107958     something starting with __ and the normal name is an alias.  */
107959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107960 choke me
107961 #else
107962 char (*f) () = $ac_func;
107963 #endif
107964 #ifdef __cplusplus
107965 }
107966 #endif
107967
107968 int
107969 main ()
107970 {
107971 return f != $ac_func;
107972   ;
107973   return 0;
107974 }
107975 _ACEOF
107976 rm -f conftest.$ac_objext conftest$ac_exeext
107977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107978   (eval $ac_link) 2>conftest.er1
107979   ac_status=$?
107980   grep -v '^ *+' conftest.er1 >conftest.err
107981   rm -f conftest.er1
107982   cat conftest.err >&5
107983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107984   (exit $ac_status); } &&
107985          { ac_try='test -z "$ac_c_werror_flag"
107986                          || test ! -s conftest.err'
107987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107988   (eval $ac_try) 2>&5
107989   ac_status=$?
107990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107991   (exit $ac_status); }; } &&
107992          { ac_try='test -s conftest$ac_exeext'
107993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107994   (eval $ac_try) 2>&5
107995   ac_status=$?
107996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107997   (exit $ac_status); }; }; then
107998   eval "$as_ac_var=yes"
107999 else
108000   echo "$as_me: failed program was:" >&5
108001 sed 's/^/| /' conftest.$ac_ext >&5
108002
108003 eval "$as_ac_var=no"
108004 fi
108005 rm -f conftest.err conftest.$ac_objext \
108006       conftest$ac_exeext conftest.$ac_ext
108007 fi
108008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108010 if test `eval echo '${'$as_ac_var'}'` = yes; then
108011   cat >>confdefs.h <<_ACEOF
108012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108013 _ACEOF
108014  ac_XPG2funcs=yes
108015 else
108016   ac_XPG2funcs=no
108017 fi
108018 done
108019
108020
108021     LIBS="$ac_save_LIBS"
108022
108023     if test x"$ac_has_iconv_h" = xyes &&
108024        test x"$ac_has_langinfo_h" = xyes &&
108025        test x"$ac_XPG2funcs" = xyes;
108026     then
108027
108028 cat >>confdefs.h <<\_ACEOF
108029 #define _GLIBCXX_USE_ICONV 1
108030 _ACEOF
108031
108032       enable_iconv=yes
108033     fi
108034   fi
108035   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
108036 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
108037   echo "$as_me:$LINENO: result: $enable_iconv" >&5
108038 echo "${ECHO_T}$enable_iconv" >&6
108039
108040     cat >>confdefs.h <<\_ACEOF
108041 #define HAVE_COPYSIGN 1
108042 _ACEOF
108043
108044     cat >>confdefs.h <<\_ACEOF
108045 #define HAVE_COPYSIGNF 1
108046 _ACEOF
108047
108048     cat >>confdefs.h <<\_ACEOF
108049 #define HAVE_FINITE 1
108050 _ACEOF
108051
108052     cat >>confdefs.h <<\_ACEOF
108053 #define HAVE_FINITEF 1
108054 _ACEOF
108055
108056     cat >>confdefs.h <<\_ACEOF
108057 #define HAVE_FREXPF 1
108058 _ACEOF
108059
108060     cat >>confdefs.h <<\_ACEOF
108061 #define HAVE_HYPOTF 1
108062 _ACEOF
108063
108064     cat >>confdefs.h <<\_ACEOF
108065 #define HAVE_ISINF 1
108066 _ACEOF
108067
108068     cat >>confdefs.h <<\_ACEOF
108069 #define HAVE_ISINFF 1
108070 _ACEOF
108071
108072     cat >>confdefs.h <<\_ACEOF
108073 #define HAVE_ISNAN 1
108074 _ACEOF
108075
108076     cat >>confdefs.h <<\_ACEOF
108077 #define HAVE_ISNANF 1
108078 _ACEOF
108079
108080     cat >>confdefs.h <<\_ACEOF
108081 #define HAVE_SINCOS 1
108082 _ACEOF
108083
108084     cat >>confdefs.h <<\_ACEOF
108085 #define HAVE_SINCOSF 1
108086 _ACEOF
108087
108088     if test x"long_double_math_on_this_cpu" = x"yes"; then
108089       cat >>confdefs.h <<\_ACEOF
108090 #define HAVE_FINITEL 1
108091 _ACEOF
108092
108093       cat >>confdefs.h <<\_ACEOF
108094 #define HAVE_HYPOTL 1
108095 _ACEOF
108096
108097       cat >>confdefs.h <<\_ACEOF
108098 #define HAVE_ISINFL 1
108099 _ACEOF
108100
108101       cat >>confdefs.h <<\_ACEOF
108102 #define HAVE_ISNANL 1
108103 _ACEOF
108104
108105     fi
108106     ;;
108107   *-vxworks)
108108     cat >>confdefs.h <<\_ACEOF
108109 #define HAVE_MMAP 1
108110 _ACEOF
108111
108112     cat >>confdefs.h <<\_ACEOF
108113 #define HAVE_ACOSF 1
108114 _ACEOF
108115
108116     cat >>confdefs.h <<\_ACEOF
108117 #define HAVE_ASINF 1
108118 _ACEOF
108119
108120     cat >>confdefs.h <<\_ACEOF
108121 #define HAVE_ATAN2F 1
108122 _ACEOF
108123
108124     cat >>confdefs.h <<\_ACEOF
108125 #define HAVE_ATANF 1
108126 _ACEOF
108127
108128     cat >>confdefs.h <<\_ACEOF
108129 #define HAVE_CEILF 1
108130 _ACEOF
108131
108132     cat >>confdefs.h <<\_ACEOF
108133 #define HAVE_COSF 1
108134 _ACEOF
108135
108136     cat >>confdefs.h <<\_ACEOF
108137 #define HAVE_COSHF 1
108138 _ACEOF
108139
108140     cat >>confdefs.h <<\_ACEOF
108141 #define HAVE_EXPF 1
108142 _ACEOF
108143
108144     cat >>confdefs.h <<\_ACEOF
108145 #define HAVE_FABSF 1
108146 _ACEOF
108147
108148     cat >>confdefs.h <<\_ACEOF
108149 #define HAVE_FLOORF 1
108150 _ACEOF
108151
108152     cat >>confdefs.h <<\_ACEOF
108153 #define HAVE_FMODF 1
108154 _ACEOF
108155
108156     cat >>confdefs.h <<\_ACEOF
108157 #define HAVE_HYPOT 1
108158 _ACEOF
108159
108160     cat >>confdefs.h <<\_ACEOF
108161 #define HAVE_LOG10F 1
108162 _ACEOF
108163
108164     cat >>confdefs.h <<\_ACEOF
108165 #define HAVE_LOGF 1
108166 _ACEOF
108167
108168     cat >>confdefs.h <<\_ACEOF
108169 #define HAVE_POWF 1
108170 _ACEOF
108171
108172     cat >>confdefs.h <<\_ACEOF
108173 #define HAVE_SINF 1
108174 _ACEOF
108175
108176     cat >>confdefs.h <<\_ACEOF
108177 #define HAVE_SINHF 1
108178 _ACEOF
108179
108180     cat >>confdefs.h <<\_ACEOF
108181 #define HAVE_SQRTF 1
108182 _ACEOF
108183
108184     cat >>confdefs.h <<\_ACEOF
108185 #define HAVE_TANF 1
108186 _ACEOF
108187
108188     cat >>confdefs.h <<\_ACEOF
108189 #define HAVE_TANHF 1
108190 _ACEOF
108191
108192     ;;
108193   *-windiss*)
108194     cat >>confdefs.h <<\_ACEOF
108195 #define HAVE_ACOSF 1
108196 _ACEOF
108197
108198     cat >>confdefs.h <<\_ACEOF
108199 #define HAVE_ACOSL 1
108200 _ACEOF
108201
108202     cat >>confdefs.h <<\_ACEOF
108203 #define HAVE_ASINF 1
108204 _ACEOF
108205
108206     cat >>confdefs.h <<\_ACEOF
108207 #define HAVE_ASINL 1
108208 _ACEOF
108209
108210     cat >>confdefs.h <<\_ACEOF
108211 #define HAVE_ATAN2F 1
108212 _ACEOF
108213
108214     cat >>confdefs.h <<\_ACEOF
108215 #define HAVE_ATAN2L 1
108216 _ACEOF
108217
108218     cat >>confdefs.h <<\_ACEOF
108219 #define HAVE_ATANF 1
108220 _ACEOF
108221
108222     cat >>confdefs.h <<\_ACEOF
108223 #define HAVE_ATANL 1
108224 _ACEOF
108225
108226     cat >>confdefs.h <<\_ACEOF
108227 #define HAVE_CEILF 1
108228 _ACEOF
108229
108230     cat >>confdefs.h <<\_ACEOF
108231 #define HAVE_CEILL 1
108232 _ACEOF
108233
108234     cat >>confdefs.h <<\_ACEOF
108235 #define HAVE_COPYSIGN 1
108236 _ACEOF
108237
108238     cat >>confdefs.h <<\_ACEOF
108239 #define HAVE_COPYSIGNF 1
108240 _ACEOF
108241
108242     cat >>confdefs.h <<\_ACEOF
108243 #define HAVE_COSF 1
108244 _ACEOF
108245
108246     cat >>confdefs.h <<\_ACEOF
108247 #define HAVE_COSL 1
108248 _ACEOF
108249
108250     cat >>confdefs.h <<\_ACEOF
108251 #define HAVE_COSHF 1
108252 _ACEOF
108253
108254     cat >>confdefs.h <<\_ACEOF
108255 #define HAVE_COSHL 1
108256 _ACEOF
108257
108258     cat >>confdefs.h <<\_ACEOF
108259 #define HAVE_EXPF 1
108260 _ACEOF
108261
108262     cat >>confdefs.h <<\_ACEOF
108263 #define HAVE_EXPL 1
108264 _ACEOF
108265
108266     cat >>confdefs.h <<\_ACEOF
108267 #define HAVE_FABSF 1
108268 _ACEOF
108269
108270     cat >>confdefs.h <<\_ACEOF
108271 #define HAVE_FABSL 1
108272 _ACEOF
108273
108274     cat >>confdefs.h <<\_ACEOF
108275 #define HAVE_FLOORF 1
108276 _ACEOF
108277
108278     cat >>confdefs.h <<\_ACEOF
108279 #define HAVE_FLOORL 1
108280 _ACEOF
108281
108282     cat >>confdefs.h <<\_ACEOF
108283 #define HAVE_FMODF 1
108284 _ACEOF
108285
108286     cat >>confdefs.h <<\_ACEOF
108287 #define HAVE_FMODL 1
108288 _ACEOF
108289
108290     cat >>confdefs.h <<\_ACEOF
108291 #define HAVE_FREXPF 1
108292 _ACEOF
108293
108294     cat >>confdefs.h <<\_ACEOF
108295 #define HAVE_FREXPL 1
108296 _ACEOF
108297
108298     cat >>confdefs.h <<\_ACEOF
108299 #define HAVE_LDEXPF 1
108300 _ACEOF
108301
108302     cat >>confdefs.h <<\_ACEOF
108303 #define HAVE_LDEXPL 1
108304 _ACEOF
108305
108306     cat >>confdefs.h <<\_ACEOF
108307 #define HAVE_LOG10F 1
108308 _ACEOF
108309
108310     cat >>confdefs.h <<\_ACEOF
108311 #define HAVE_LOG10L 1
108312 _ACEOF
108313
108314     cat >>confdefs.h <<\_ACEOF
108315 #define HAVE_LOGF 1
108316 _ACEOF
108317
108318     cat >>confdefs.h <<\_ACEOF
108319 #define HAVE_MODFF 1
108320 _ACEOF
108321
108322     cat >>confdefs.h <<\_ACEOF
108323 #define HAVE_MODFL 1
108324 _ACEOF
108325
108326     cat >>confdefs.h <<\_ACEOF
108327 #define HAVE_POWF 1
108328 _ACEOF
108329
108330     cat >>confdefs.h <<\_ACEOF
108331 #define HAVE_POWL 1
108332 _ACEOF
108333
108334     cat >>confdefs.h <<\_ACEOF
108335 #define HAVE_SINF 1
108336 _ACEOF
108337
108338     cat >>confdefs.h <<\_ACEOF
108339 #define HAVE_SINL 1
108340 _ACEOF
108341
108342     cat >>confdefs.h <<\_ACEOF
108343 #define HAVE_SINHF 1
108344 _ACEOF
108345
108346     cat >>confdefs.h <<\_ACEOF
108347 #define HAVE_SINHL 1
108348 _ACEOF
108349
108350     cat >>confdefs.h <<\_ACEOF
108351 #define HAVE_SQRTF 1
108352 _ACEOF
108353
108354     cat >>confdefs.h <<\_ACEOF
108355 #define HAVE_SQRTL 1
108356 _ACEOF
108357
108358     cat >>confdefs.h <<\_ACEOF
108359 #define HAVE_TANF 1
108360 _ACEOF
108361
108362     cat >>confdefs.h <<\_ACEOF
108363 #define HAVE_TANL 1
108364 _ACEOF
108365
108366     cat >>confdefs.h <<\_ACEOF
108367 #define HAVE_TANHF 1
108368 _ACEOF
108369
108370     cat >>confdefs.h <<\_ACEOF
108371 #define HAVE_TANHL 1
108372 _ACEOF
108373
108374     ;;
108375   *)
108376     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
108377 echo "$as_me: error: No support for this host/target combination." >&2;}
108378    { (exit 1); exit 1; }; }
108379    ;;
108380 esac
108381
108382   fi
108383
108384   # At some point, we should differentiate between architectures
108385   # like x86, which have long double versions, and alpha/powerpc/etc.,
108386   # which don't. For the time being, punt.
108387   if test x"long_double_math_on_this_cpu" = x"yes"; then
108388     cat >>confdefs.h <<\_ACEOF
108389 #define HAVE_ACOSL 1
108390 _ACEOF
108391
108392     cat >>confdefs.h <<\_ACEOF
108393 #define HAVE_ASINL 1
108394 _ACEOF
108395
108396     cat >>confdefs.h <<\_ACEOF
108397 #define HAVE_ATAN2L 1
108398 _ACEOF
108399
108400     cat >>confdefs.h <<\_ACEOF
108401 #define HAVE_ATANL 1
108402 _ACEOF
108403
108404     cat >>confdefs.h <<\_ACEOF
108405 #define HAVE_CEILL 1
108406 _ACEOF
108407
108408     cat >>confdefs.h <<\_ACEOF
108409 #define HAVE_COPYSIGNL 1
108410 _ACEOF
108411
108412     cat >>confdefs.h <<\_ACEOF
108413 #define HAVE_COSL 1
108414 _ACEOF
108415
108416     cat >>confdefs.h <<\_ACEOF
108417 #define HAVE_COSHL 1
108418 _ACEOF
108419
108420     cat >>confdefs.h <<\_ACEOF
108421 #define HAVE_EXPL 1
108422 _ACEOF
108423
108424     cat >>confdefs.h <<\_ACEOF
108425 #define HAVE_FABSL 1
108426 _ACEOF
108427
108428     cat >>confdefs.h <<\_ACEOF
108429 #define HAVE_FLOORL 1
108430 _ACEOF
108431
108432     cat >>confdefs.h <<\_ACEOF
108433 #define HAVE_FMODL 1
108434 _ACEOF
108435
108436     cat >>confdefs.h <<\_ACEOF
108437 #define HAVE_FREXPL 1
108438 _ACEOF
108439
108440     cat >>confdefs.h <<\_ACEOF
108441 #define HAVE_LDEXPL 1
108442 _ACEOF
108443
108444     cat >>confdefs.h <<\_ACEOF
108445 #define HAVE_LOG10L 1
108446 _ACEOF
108447
108448     cat >>confdefs.h <<\_ACEOF
108449 #define HAVE_LOGL 1
108450 _ACEOF
108451
108452     cat >>confdefs.h <<\_ACEOF
108453 #define HAVE_MODFL 1
108454 _ACEOF
108455
108456     cat >>confdefs.h <<\_ACEOF
108457 #define HAVE_POWL 1
108458 _ACEOF
108459
108460     cat >>confdefs.h <<\_ACEOF
108461 #define HAVE_SINCOSL 1
108462 _ACEOF
108463
108464     cat >>confdefs.h <<\_ACEOF
108465 #define HAVE_SINL 1
108466 _ACEOF
108467
108468     cat >>confdefs.h <<\_ACEOF
108469 #define HAVE_SINHL 1
108470 _ACEOF
108471
108472     cat >>confdefs.h <<\_ACEOF
108473 #define HAVE_SQRTL 1
108474 _ACEOF
108475
108476     cat >>confdefs.h <<\_ACEOF
108477 #define HAVE_TANL 1
108478 _ACEOF
108479
108480     cat >>confdefs.h <<\_ACEOF
108481 #define HAVE_TANHL 1
108482 _ACEOF
108483
108484   fi
108485
108486   # Assume we have _Unwind_GetIPInfo for cross-compiles.
108487   cat >>confdefs.h <<\_ACEOF
108488 #define HAVE_GETIPINFO 1
108489 _ACEOF
108490
108491
108492 fi
108493
108494 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
108495
108496
108497  # Check whether --enable-symvers or --disable-symvers was given.
108498 if test "${enable_symvers+set}" = set; then
108499   enableval="$enable_symvers"
108500
108501       case "$enableval" in
108502        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
108503        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
108504 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
108505    { (exit 1); exit 1; }; } ;;
108506                           esac
108507
108508 else
108509   enable_symvers=yes
108510 fi;
108511
108512
108513 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
108514 # don't know enough about $LD to do tricks...
108515
108516
108517 # Turn a 'yes' into a suitable default.
108518 if test x$enable_symvers = xyes ; then
108519   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
108520     enable_symvers=no
108521   else
108522     if test $with_gnu_ld = yes ; then
108523       enable_symvers=gnu
108524     else
108525       case ${target_os} in
108526         darwin*)
108527           enable_symvers=darwin ;;
108528         *)
108529           enable_symvers=no ;;
108530       esac
108531     fi
108532   fi
108533 fi
108534
108535 # Check to see if 'darwin' or 'darwin-export' can win.
108536 if test x$enable_symvers = xdarwin-export ; then
108537     enable_symvers=darwin
108538 fi
108539
108540 # Check to see if 'gnu' can win.
108541 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
108542   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
108543   echo "$as_me:$LINENO: checking for shared libgcc" >&5
108544 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
108545   ac_save_CFLAGS="$CFLAGS"
108546   CFLAGS=' -lgcc_s'
108547   if test x$gcc_no_link = xyes; then
108548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108550    { (exit 1); exit 1; }; }
108551 fi
108552 cat >conftest.$ac_ext <<_ACEOF
108553 /* confdefs.h.  */
108554 _ACEOF
108555 cat confdefs.h >>conftest.$ac_ext
108556 cat >>conftest.$ac_ext <<_ACEOF
108557 /* end confdefs.h.  */
108558
108559 int
108560 main ()
108561 {
108562 return 0;
108563   ;
108564   return 0;
108565 }
108566 _ACEOF
108567 rm -f conftest.$ac_objext conftest$ac_exeext
108568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108569   (eval $ac_link) 2>conftest.er1
108570   ac_status=$?
108571   grep -v '^ *+' conftest.er1 >conftest.err
108572   rm -f conftest.er1
108573   cat conftest.err >&5
108574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108575   (exit $ac_status); } &&
108576          { ac_try='test -z "$ac_c_werror_flag"
108577                          || test ! -s conftest.err'
108578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108579   (eval $ac_try) 2>&5
108580   ac_status=$?
108581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108582   (exit $ac_status); }; } &&
108583          { ac_try='test -s conftest$ac_exeext'
108584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108585   (eval $ac_try) 2>&5
108586   ac_status=$?
108587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108588   (exit $ac_status); }; }; then
108589   glibcxx_shared_libgcc=yes
108590 else
108591   echo "$as_me: failed program was:" >&5
108592 sed 's/^/| /' conftest.$ac_ext >&5
108593
108594 glibcxx_shared_libgcc=no
108595 fi
108596 rm -f conftest.err conftest.$ac_objext \
108597       conftest$ac_exeext conftest.$ac_ext
108598   CFLAGS="$ac_save_CFLAGS"
108599   if test $glibcxx_shared_libgcc = no; then
108600     cat > conftest.c <<EOF
108601 int main (void) { return 0; }
108602 EOF
108603     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
108604                              -shared -shared-libgcc -o conftest.so \
108605                              conftest.c -v 2>&1 >/dev/null \
108606                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
108607     rm -f conftest.c conftest.so
108608     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
108609       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
108610       if test x$gcc_no_link = xyes; then
108611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108613    { (exit 1); exit 1; }; }
108614 fi
108615 cat >conftest.$ac_ext <<_ACEOF
108616 /* confdefs.h.  */
108617 _ACEOF
108618 cat confdefs.h >>conftest.$ac_ext
108619 cat >>conftest.$ac_ext <<_ACEOF
108620 /* end confdefs.h.  */
108621
108622 int
108623 main ()
108624 {
108625 return 0;
108626   ;
108627   return 0;
108628 }
108629 _ACEOF
108630 rm -f conftest.$ac_objext conftest$ac_exeext
108631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108632   (eval $ac_link) 2>conftest.er1
108633   ac_status=$?
108634   grep -v '^ *+' conftest.er1 >conftest.err
108635   rm -f conftest.er1
108636   cat conftest.err >&5
108637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108638   (exit $ac_status); } &&
108639          { ac_try='test -z "$ac_c_werror_flag"
108640                          || test ! -s conftest.err'
108641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108642   (eval $ac_try) 2>&5
108643   ac_status=$?
108644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108645   (exit $ac_status); }; } &&
108646          { ac_try='test -s conftest$ac_exeext'
108647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108648   (eval $ac_try) 2>&5
108649   ac_status=$?
108650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108651   (exit $ac_status); }; }; then
108652   glibcxx_shared_libgcc=yes
108653 else
108654   echo "$as_me: failed program was:" >&5
108655 sed 's/^/| /' conftest.$ac_ext >&5
108656
108657 fi
108658 rm -f conftest.err conftest.$ac_objext \
108659       conftest$ac_exeext conftest.$ac_ext
108660       CFLAGS="$ac_save_CFLAGS"
108661     fi
108662   fi
108663   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
108664 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
108665
108666   # For GNU ld, we need at least this version.  The format is described in
108667   # GLIBCXX_CHECK_LINKER_FEATURES above.
108668   glibcxx_min_gnu_ld_version=21400
108669
108670   # If no shared libgcc, can't win.
108671   if test $glibcxx_shared_libgcc != yes; then
108672       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108673 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108674       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
108675 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
108676       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108677 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108678       enable_symvers=no
108679   elif test $with_gnu_ld != yes ; then
108680     # just fail for now
108681     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108682 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108683     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
108684 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
108685     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108686 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108687     enable_symvers=no
108688   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
108689     # The right tools, the right setup, but too old.  Fallbacks?
108690     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
108691 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
108692     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
108693 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
108694     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
108695 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
108696     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
108697 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
108698     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108699 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108700     enable_symvers=no
108701   fi
108702 fi
108703
108704 # Everything parsed; figure out what file to use.
108705 case $enable_symvers in
108706   no)
108707     SYMVER_FILE=config/abi/pre/none.ver
108708     ;;
108709   gnu)
108710     SYMVER_FILE=config/abi/pre/gnu.ver
108711
108712 cat >>confdefs.h <<\_ACEOF
108713 #define _GLIBCXX_SYMVER_GNU 1
108714 _ACEOF
108715
108716     ;;
108717   gnu-versioned-namespace)
108718     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
108719
108720 cat >>confdefs.h <<\_ACEOF
108721 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
108722 _ACEOF
108723
108724     ;;
108725   darwin)
108726     SYMVER_FILE=config/abi/pre/gnu.ver
108727
108728 cat >>confdefs.h <<\_ACEOF
108729 #define _GLIBCXX_SYMVER_DARWIN 1
108730 _ACEOF
108731
108732     ;;
108733 esac
108734
108735 if test x$enable_symvers != xno ; then
108736
108737 cat >>confdefs.h <<\_ACEOF
108738 #define _GLIBCXX_SYMVER 1
108739 _ACEOF
108740
108741 fi
108742
108743
108744
108745
108746
108747
108748
108749 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
108750 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
108751
108752 # Now, set up compatibility support, if any.
108753 # In addition, need this to deal with std::size_t mangling in
108754 # src/compatibility.cc.  In a perfect world, could use
108755 # typeid(std::size_t).name()[0] to do direct substitution.
108756 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
108757 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
108758 ac_save_CFLAGS="$CFLAGS"
108759 CFLAGS="-Werror"
108760 cat >conftest.$ac_ext <<_ACEOF
108761 /* confdefs.h.  */
108762 _ACEOF
108763 cat confdefs.h >>conftest.$ac_ext
108764 cat >>conftest.$ac_ext <<_ACEOF
108765 /* end confdefs.h.  */
108766
108767 int
108768 main ()
108769 {
108770 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
108771   ;
108772   return 0;
108773 }
108774 _ACEOF
108775 rm -f conftest.$ac_objext
108776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108777   (eval $ac_compile) 2>conftest.er1
108778   ac_status=$?
108779   grep -v '^ *+' conftest.er1 >conftest.err
108780   rm -f conftest.er1
108781   cat conftest.err >&5
108782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108783   (exit $ac_status); } &&
108784          { ac_try='test -z "$ac_c_werror_flag"
108785                          || test ! -s conftest.err'
108786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108787   (eval $ac_try) 2>&5
108788   ac_status=$?
108789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108790   (exit $ac_status); }; } &&
108791          { ac_try='test -s conftest.$ac_objext'
108792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108793   (eval $ac_try) 2>&5
108794   ac_status=$?
108795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108796   (exit $ac_status); }; }; then
108797   glibcxx_size_t_is_i=yes
108798 else
108799   echo "$as_me: failed program was:" >&5
108800 sed 's/^/| /' conftest.$ac_ext >&5
108801
108802 glibcxx_size_t_is_i=no
108803 fi
108804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108805 CFLAGS=$ac_save_CFLAGS
108806 if test "$glibcxx_size_t_is_i" = yes; then
108807
108808 cat >>confdefs.h <<\_ACEOF
108809 #define _GLIBCXX_SIZE_T_IS_UINT 1
108810 _ACEOF
108811
108812 fi
108813 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
108814 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
108815
108816 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
108817 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
108818 ac_save_CFLAGS="$CFLAGS"
108819 CFLAGS="-Werror"
108820 cat >conftest.$ac_ext <<_ACEOF
108821 /* confdefs.h.  */
108822 _ACEOF
108823 cat confdefs.h >>conftest.$ac_ext
108824 cat >>conftest.$ac_ext <<_ACEOF
108825 /* end confdefs.h.  */
108826
108827 int
108828 main ()
108829 {
108830 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
108831   ;
108832   return 0;
108833 }
108834 _ACEOF
108835 rm -f conftest.$ac_objext
108836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108837   (eval $ac_compile) 2>conftest.er1
108838   ac_status=$?
108839   grep -v '^ *+' conftest.er1 >conftest.err
108840   rm -f conftest.er1
108841   cat conftest.err >&5
108842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108843   (exit $ac_status); } &&
108844          { ac_try='test -z "$ac_c_werror_flag"
108845                          || test ! -s conftest.err'
108846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108847   (eval $ac_try) 2>&5
108848   ac_status=$?
108849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108850   (exit $ac_status); }; } &&
108851          { ac_try='test -s conftest.$ac_objext'
108852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108853   (eval $ac_try) 2>&5
108854   ac_status=$?
108855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108856   (exit $ac_status); }; }; then
108857   glibcxx_ptrdiff_t_is_i=yes
108858 else
108859   echo "$as_me: failed program was:" >&5
108860 sed 's/^/| /' conftest.$ac_ext >&5
108861
108862 glibcxx_ptrdiff_t_is_i=no
108863 fi
108864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108865 CFLAGS=$ac_save_CFLAGS
108866 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
108867
108868 cat >>confdefs.h <<\_ACEOF
108869 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
108870 _ACEOF
108871
108872 fi
108873 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
108874 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
108875
108876
108877  # Check whether --enable-visibility or --disable-visibility was given.
108878 if test "${enable_visibility+set}" = set; then
108879   enableval="$enable_visibility"
108880
108881       case "$enableval" in
108882        yes|no) ;;
108883        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
108884 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
108885    { (exit 1); exit 1; }; } ;;
108886       esac
108887
108888 else
108889   enable_visibility=yes
108890 fi;
108891
108892
108893 if test x$enable_visibility = xyes ; then
108894       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
108895 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
108896 if test "${have_attribute_visibility+set}" = set; then
108897   echo $ECHO_N "(cached) $ECHO_C" >&6
108898 else
108899
108900   save_CFLAGS="$CFLAGS"
108901   CFLAGS="$CFLAGS -Werror"
108902   cat >conftest.$ac_ext <<_ACEOF
108903 /* confdefs.h.  */
108904 _ACEOF
108905 cat confdefs.h >>conftest.$ac_ext
108906 cat >>conftest.$ac_ext <<_ACEOF
108907 /* end confdefs.h.  */
108908 void __attribute__((visibility("hidden"))) foo(void) { }
108909 int
108910 main ()
108911 {
108912
108913   ;
108914   return 0;
108915 }
108916 _ACEOF
108917 rm -f conftest.$ac_objext
108918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108919   (eval $ac_compile) 2>conftest.er1
108920   ac_status=$?
108921   grep -v '^ *+' conftest.er1 >conftest.err
108922   rm -f conftest.er1
108923   cat conftest.err >&5
108924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108925   (exit $ac_status); } &&
108926          { ac_try='test -z "$ac_c_werror_flag"
108927                          || test ! -s conftest.err'
108928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108929   (eval $ac_try) 2>&5
108930   ac_status=$?
108931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108932   (exit $ac_status); }; } &&
108933          { ac_try='test -s conftest.$ac_objext'
108934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108935   (eval $ac_try) 2>&5
108936   ac_status=$?
108937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108938   (exit $ac_status); }; }; then
108939   have_attribute_visibility=yes
108940 else
108941   echo "$as_me: failed program was:" >&5
108942 sed 's/^/| /' conftest.$ac_ext >&5
108943
108944 have_attribute_visibility=no
108945 fi
108946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108947   CFLAGS="$save_CFLAGS"
108948 fi
108949 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
108950 echo "${ECHO_T}$have_attribute_visibility" >&6
108951   if test $have_attribute_visibility = no; then
108952     enable_visibility=no
108953   fi
108954 fi
108955
108956
108957 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
108958 echo "$as_me: visibility supported: $enable_visibility" >&6;}
108959
108960
108961 ac_ldbl_compat=no
108962 case "$target" in
108963   powerpc*-*-*gnu* | \
108964   sparc*-*-linux* | \
108965   s390*-*-linux* | \
108966   alpha*-*-linux*)
108967   cat >conftest.$ac_ext <<_ACEOF
108968 /* confdefs.h.  */
108969 _ACEOF
108970 cat confdefs.h >>conftest.$ac_ext
108971 cat >>conftest.$ac_ext <<_ACEOF
108972 /* end confdefs.h.  */
108973
108974 int
108975 main ()
108976 {
108977
108978 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
108979 #error no need for long double compatibility
108980 #endif
108981
108982   ;
108983   return 0;
108984 }
108985 _ACEOF
108986 rm -f conftest.$ac_objext
108987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108988   (eval $ac_compile) 2>conftest.er1
108989   ac_status=$?
108990   grep -v '^ *+' conftest.er1 >conftest.err
108991   rm -f conftest.er1
108992   cat conftest.err >&5
108993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108994   (exit $ac_status); } &&
108995          { ac_try='test -z "$ac_c_werror_flag"
108996                          || test ! -s conftest.err'
108997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108998   (eval $ac_try) 2>&5
108999   ac_status=$?
109000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109001   (exit $ac_status); }; } &&
109002          { ac_try='test -s conftest.$ac_objext'
109003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109004   (eval $ac_try) 2>&5
109005   ac_status=$?
109006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109007   (exit $ac_status); }; }; then
109008   ac_ldbl_compat=yes
109009 else
109010   echo "$as_me: failed program was:" >&5
109011 sed 's/^/| /' conftest.$ac_ext >&5
109012
109013 ac_ldbl_compat=no
109014 fi
109015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109016   if test "$ac_ldbl_compat" = yes; then
109017
109018 cat >>confdefs.h <<\_ACEOF
109019 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
109020 _ACEOF
109021
109022     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
109023   fi
109024 esac
109025
109026
109027 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
109028
109029   if $GLIBCXX_IS_NATIVE ; then
109030     # Do checks for resource limit functions.
109031
109032   setrlimit_have_headers=yes
109033
109034
109035
109036 for ac_header in unistd.h sys/time.h sys/resource.h
109037 do
109038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109040   echo "$as_me:$LINENO: checking for $ac_header" >&5
109041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109043   echo $ECHO_N "(cached) $ECHO_C" >&6
109044 fi
109045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109047 else
109048   # Is the header compilable?
109049 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109051 cat >conftest.$ac_ext <<_ACEOF
109052 /* confdefs.h.  */
109053 _ACEOF
109054 cat confdefs.h >>conftest.$ac_ext
109055 cat >>conftest.$ac_ext <<_ACEOF
109056 /* end confdefs.h.  */
109057 $ac_includes_default
109058 #include <$ac_header>
109059 _ACEOF
109060 rm -f conftest.$ac_objext
109061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109062   (eval $ac_compile) 2>conftest.er1
109063   ac_status=$?
109064   grep -v '^ *+' conftest.er1 >conftest.err
109065   rm -f conftest.er1
109066   cat conftest.err >&5
109067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109068   (exit $ac_status); } &&
109069          { ac_try='test -z "$ac_c_werror_flag"
109070                          || test ! -s conftest.err'
109071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109072   (eval $ac_try) 2>&5
109073   ac_status=$?
109074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109075   (exit $ac_status); }; } &&
109076          { ac_try='test -s conftest.$ac_objext'
109077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109078   (eval $ac_try) 2>&5
109079   ac_status=$?
109080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109081   (exit $ac_status); }; }; then
109082   ac_header_compiler=yes
109083 else
109084   echo "$as_me: failed program was:" >&5
109085 sed 's/^/| /' conftest.$ac_ext >&5
109086
109087 ac_header_compiler=no
109088 fi
109089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109091 echo "${ECHO_T}$ac_header_compiler" >&6
109092
109093 # Is the header present?
109094 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109095 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109096 cat >conftest.$ac_ext <<_ACEOF
109097 /* confdefs.h.  */
109098 _ACEOF
109099 cat confdefs.h >>conftest.$ac_ext
109100 cat >>conftest.$ac_ext <<_ACEOF
109101 /* end confdefs.h.  */
109102 #include <$ac_header>
109103 _ACEOF
109104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109105   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109106   ac_status=$?
109107   grep -v '^ *+' conftest.er1 >conftest.err
109108   rm -f conftest.er1
109109   cat conftest.err >&5
109110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109111   (exit $ac_status); } >/dev/null; then
109112   if test -s conftest.err; then
109113     ac_cpp_err=$ac_c_preproc_warn_flag
109114     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109115   else
109116     ac_cpp_err=
109117   fi
109118 else
109119   ac_cpp_err=yes
109120 fi
109121 if test -z "$ac_cpp_err"; then
109122   ac_header_preproc=yes
109123 else
109124   echo "$as_me: failed program was:" >&5
109125 sed 's/^/| /' conftest.$ac_ext >&5
109126
109127   ac_header_preproc=no
109128 fi
109129 rm -f conftest.err conftest.$ac_ext
109130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109131 echo "${ECHO_T}$ac_header_preproc" >&6
109132
109133 # So?  What about this header?
109134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109135   yes:no: )
109136     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109138     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109139 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109140     ac_header_preproc=yes
109141     ;;
109142   no:yes:* )
109143     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109144 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109145     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109146 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109147     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109148 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109149     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109150 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109151     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109153     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109154 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109155     (
109156       cat <<\_ASBOX
109157 ## ----------------------------------------- ##
109158 ## Report this to the package-unused lists.  ##
109159 ## ----------------------------------------- ##
109160 _ASBOX
109161     ) |
109162       sed "s/^/$as_me: WARNING:     /" >&2
109163     ;;
109164 esac
109165 echo "$as_me:$LINENO: checking for $ac_header" >&5
109166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109168   echo $ECHO_N "(cached) $ECHO_C" >&6
109169 else
109170   eval "$as_ac_Header=\$ac_header_preproc"
109171 fi
109172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109174
109175 fi
109176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109177   cat >>confdefs.h <<_ACEOF
109178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109179 _ACEOF
109180
109181 else
109182   setrlimit_have_headers=no
109183 fi
109184
109185 done
109186
109187   # If don't have the headers, then we can't run the tests now, and we
109188   # won't be seeing any of these during testsuite compilation.
109189   if test $setrlimit_have_headers = yes; then
109190     # Can't do these in a loop, else the resulting syntax is wrong.
109191
109192   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
109193 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
109194   cat >conftest.$ac_ext <<_ACEOF
109195 /* confdefs.h.  */
109196 _ACEOF
109197 cat confdefs.h >>conftest.$ac_ext
109198 cat >>conftest.$ac_ext <<_ACEOF
109199 /* end confdefs.h.  */
109200 #include <unistd.h>
109201      #include <sys/time.h>
109202      #include <sys/resource.h>
109203
109204 int
109205 main ()
109206 {
109207  int f = RLIMIT_DATA ;
109208   ;
109209   return 0;
109210 }
109211 _ACEOF
109212 rm -f conftest.$ac_objext
109213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109214   (eval $ac_compile) 2>conftest.er1
109215   ac_status=$?
109216   grep -v '^ *+' conftest.er1 >conftest.err
109217   rm -f conftest.er1
109218   cat conftest.err >&5
109219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109220   (exit $ac_status); } &&
109221          { ac_try='test -z "$ac_c_werror_flag"
109222                          || test ! -s conftest.err'
109223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109224   (eval $ac_try) 2>&5
109225   ac_status=$?
109226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109227   (exit $ac_status); }; } &&
109228          { ac_try='test -s conftest.$ac_objext'
109229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109230   (eval $ac_try) 2>&5
109231   ac_status=$?
109232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109233   (exit $ac_status); }; }; then
109234   glibcxx_mresult=1
109235 else
109236   echo "$as_me: failed program was:" >&5
109237 sed 's/^/| /' conftest.$ac_ext >&5
109238
109239 glibcxx_mresult=0
109240 fi
109241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109242
109243 cat >>confdefs.h <<_ACEOF
109244 #define HAVE_LIMIT_DATA $glibcxx_mresult
109245 _ACEOF
109246
109247   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109248   echo "$as_me:$LINENO: result: $res" >&5
109249 echo "${ECHO_T}$res" >&6
109250
109251
109252   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
109253 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
109254   cat >conftest.$ac_ext <<_ACEOF
109255 /* confdefs.h.  */
109256 _ACEOF
109257 cat confdefs.h >>conftest.$ac_ext
109258 cat >>conftest.$ac_ext <<_ACEOF
109259 /* end confdefs.h.  */
109260 #include <unistd.h>
109261      #include <sys/time.h>
109262      #include <sys/resource.h>
109263
109264 int
109265 main ()
109266 {
109267  int f = RLIMIT_RSS ;
109268   ;
109269   return 0;
109270 }
109271 _ACEOF
109272 rm -f conftest.$ac_objext
109273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109274   (eval $ac_compile) 2>conftest.er1
109275   ac_status=$?
109276   grep -v '^ *+' conftest.er1 >conftest.err
109277   rm -f conftest.er1
109278   cat conftest.err >&5
109279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109280   (exit $ac_status); } &&
109281          { ac_try='test -z "$ac_c_werror_flag"
109282                          || test ! -s conftest.err'
109283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109284   (eval $ac_try) 2>&5
109285   ac_status=$?
109286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109287   (exit $ac_status); }; } &&
109288          { ac_try='test -s conftest.$ac_objext'
109289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109290   (eval $ac_try) 2>&5
109291   ac_status=$?
109292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109293   (exit $ac_status); }; }; then
109294   glibcxx_mresult=1
109295 else
109296   echo "$as_me: failed program was:" >&5
109297 sed 's/^/| /' conftest.$ac_ext >&5
109298
109299 glibcxx_mresult=0
109300 fi
109301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109302
109303 cat >>confdefs.h <<_ACEOF
109304 #define HAVE_LIMIT_RSS $glibcxx_mresult
109305 _ACEOF
109306
109307   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109308   echo "$as_me:$LINENO: result: $res" >&5
109309 echo "${ECHO_T}$res" >&6
109310
109311
109312   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
109313 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
109314   cat >conftest.$ac_ext <<_ACEOF
109315 /* confdefs.h.  */
109316 _ACEOF
109317 cat confdefs.h >>conftest.$ac_ext
109318 cat >>conftest.$ac_ext <<_ACEOF
109319 /* end confdefs.h.  */
109320 #include <unistd.h>
109321      #include <sys/time.h>
109322      #include <sys/resource.h>
109323
109324 int
109325 main ()
109326 {
109327  int f = RLIMIT_VMEM ;
109328   ;
109329   return 0;
109330 }
109331 _ACEOF
109332 rm -f conftest.$ac_objext
109333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109334   (eval $ac_compile) 2>conftest.er1
109335   ac_status=$?
109336   grep -v '^ *+' conftest.er1 >conftest.err
109337   rm -f conftest.er1
109338   cat conftest.err >&5
109339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109340   (exit $ac_status); } &&
109341          { ac_try='test -z "$ac_c_werror_flag"
109342                          || test ! -s conftest.err'
109343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109344   (eval $ac_try) 2>&5
109345   ac_status=$?
109346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109347   (exit $ac_status); }; } &&
109348          { ac_try='test -s conftest.$ac_objext'
109349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109350   (eval $ac_try) 2>&5
109351   ac_status=$?
109352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109353   (exit $ac_status); }; }; then
109354   glibcxx_mresult=1
109355 else
109356   echo "$as_me: failed program was:" >&5
109357 sed 's/^/| /' conftest.$ac_ext >&5
109358
109359 glibcxx_mresult=0
109360 fi
109361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109362
109363 cat >>confdefs.h <<_ACEOF
109364 #define HAVE_LIMIT_VMEM $glibcxx_mresult
109365 _ACEOF
109366
109367   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109368   echo "$as_me:$LINENO: result: $res" >&5
109369 echo "${ECHO_T}$res" >&6
109370
109371
109372   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
109373 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
109374   cat >conftest.$ac_ext <<_ACEOF
109375 /* confdefs.h.  */
109376 _ACEOF
109377 cat confdefs.h >>conftest.$ac_ext
109378 cat >>conftest.$ac_ext <<_ACEOF
109379 /* end confdefs.h.  */
109380 #include <unistd.h>
109381      #include <sys/time.h>
109382      #include <sys/resource.h>
109383
109384 int
109385 main ()
109386 {
109387  int f = RLIMIT_AS ;
109388   ;
109389   return 0;
109390 }
109391 _ACEOF
109392 rm -f conftest.$ac_objext
109393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109394   (eval $ac_compile) 2>conftest.er1
109395   ac_status=$?
109396   grep -v '^ *+' conftest.er1 >conftest.err
109397   rm -f conftest.er1
109398   cat conftest.err >&5
109399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109400   (exit $ac_status); } &&
109401          { ac_try='test -z "$ac_c_werror_flag"
109402                          || test ! -s conftest.err'
109403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109404   (eval $ac_try) 2>&5
109405   ac_status=$?
109406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109407   (exit $ac_status); }; } &&
109408          { ac_try='test -s conftest.$ac_objext'
109409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109410   (eval $ac_try) 2>&5
109411   ac_status=$?
109412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109413   (exit $ac_status); }; }; then
109414   glibcxx_mresult=1
109415 else
109416   echo "$as_me: failed program was:" >&5
109417 sed 's/^/| /' conftest.$ac_ext >&5
109418
109419 glibcxx_mresult=0
109420 fi
109421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109422
109423 cat >>confdefs.h <<_ACEOF
109424 #define HAVE_LIMIT_AS $glibcxx_mresult
109425 _ACEOF
109426
109427   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109428   echo "$as_me:$LINENO: result: $res" >&5
109429 echo "${ECHO_T}$res" >&6
109430
109431
109432   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
109433 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
109434   cat >conftest.$ac_ext <<_ACEOF
109435 /* confdefs.h.  */
109436 _ACEOF
109437 cat confdefs.h >>conftest.$ac_ext
109438 cat >>conftest.$ac_ext <<_ACEOF
109439 /* end confdefs.h.  */
109440 #include <unistd.h>
109441      #include <sys/time.h>
109442      #include <sys/resource.h>
109443
109444 int
109445 main ()
109446 {
109447  int f = RLIMIT_FSIZE ;
109448   ;
109449   return 0;
109450 }
109451 _ACEOF
109452 rm -f conftest.$ac_objext
109453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109454   (eval $ac_compile) 2>conftest.er1
109455   ac_status=$?
109456   grep -v '^ *+' conftest.er1 >conftest.err
109457   rm -f conftest.er1
109458   cat conftest.err >&5
109459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109460   (exit $ac_status); } &&
109461          { ac_try='test -z "$ac_c_werror_flag"
109462                          || test ! -s conftest.err'
109463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109464   (eval $ac_try) 2>&5
109465   ac_status=$?
109466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109467   (exit $ac_status); }; } &&
109468          { ac_try='test -s conftest.$ac_objext'
109469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109470   (eval $ac_try) 2>&5
109471   ac_status=$?
109472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109473   (exit $ac_status); }; }; then
109474   glibcxx_mresult=1
109475 else
109476   echo "$as_me: failed program was:" >&5
109477 sed 's/^/| /' conftest.$ac_ext >&5
109478
109479 glibcxx_mresult=0
109480 fi
109481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109482
109483 cat >>confdefs.h <<_ACEOF
109484 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
109485 _ACEOF
109486
109487   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109488   echo "$as_me:$LINENO: result: $res" >&5
109489 echo "${ECHO_T}$res" >&6
109490
109491
109492     # Check for rlimit, setrlimit.
109493     if test "${ac_setrlimit+set}" = set; then
109494   echo $ECHO_N "(cached) $ECHO_C" >&6
109495 else
109496
109497       cat >conftest.$ac_ext <<_ACEOF
109498 /* confdefs.h.  */
109499 _ACEOF
109500 cat confdefs.h >>conftest.$ac_ext
109501 cat >>conftest.$ac_ext <<_ACEOF
109502 /* end confdefs.h.  */
109503 #include <unistd.h>
109504          #include <sys/time.h>
109505          #include <sys/resource.h>
109506
109507 int
109508 main ()
109509 {
109510 struct rlimit r;
109511          setrlimit(0, &r);
109512   ;
109513   return 0;
109514 }
109515 _ACEOF
109516 rm -f conftest.$ac_objext
109517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109518   (eval $ac_compile) 2>conftest.er1
109519   ac_status=$?
109520   grep -v '^ *+' conftest.er1 >conftest.err
109521   rm -f conftest.er1
109522   cat conftest.err >&5
109523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109524   (exit $ac_status); } &&
109525          { ac_try='test -z "$ac_c_werror_flag"
109526                          || test ! -s conftest.err'
109527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109528   (eval $ac_try) 2>&5
109529   ac_status=$?
109530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109531   (exit $ac_status); }; } &&
109532          { ac_try='test -s conftest.$ac_objext'
109533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109534   (eval $ac_try) 2>&5
109535   ac_status=$?
109536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109537   (exit $ac_status); }; }; then
109538   ac_setrlimit=yes
109539 else
109540   echo "$as_me: failed program was:" >&5
109541 sed 's/^/| /' conftest.$ac_ext >&5
109542
109543 ac_setrlimit=no
109544 fi
109545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109546
109547 fi
109548
109549   fi
109550
109551   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
109552 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
109553   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
109554     ac_res_limits=yes
109555
109556 cat >>confdefs.h <<\_ACEOF
109557 #define _GLIBCXX_RES_LIMITS 1
109558 _ACEOF
109559
109560   else
109561     ac_res_limits=no
109562   fi
109563   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
109564 echo "${ECHO_T}$ac_res_limits" >&6
109565
109566
109567     # Look for setenv, so that extended locale tests can be performed.
109568
109569   echo "$as_me:$LINENO: checking for setenv declaration" >&5
109570 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
109571   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
109572     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
109573   echo $ECHO_N "(cached) $ECHO_C" >&6
109574 else
109575
109576
109577
109578       ac_ext=cc
109579 ac_cpp='$CXXCPP $CPPFLAGS'
109580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109583
109584       cat >conftest.$ac_ext <<_ACEOF
109585 /* confdefs.h.  */
109586 _ACEOF
109587 cat confdefs.h >>conftest.$ac_ext
109588 cat >>conftest.$ac_ext <<_ACEOF
109589 /* end confdefs.h.  */
109590 #include <stdlib.h>
109591 int
109592 main ()
109593 {
109594  setenv(0, 0, 0);
109595   ;
109596   return 0;
109597 }
109598 _ACEOF
109599 rm -f conftest.$ac_objext
109600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109601   (eval $ac_compile) 2>conftest.er1
109602   ac_status=$?
109603   grep -v '^ *+' conftest.er1 >conftest.err
109604   rm -f conftest.er1
109605   cat conftest.err >&5
109606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109607   (exit $ac_status); } &&
109608          { ac_try='test -z "$ac_cxx_werror_flag"
109609                          || test ! -s conftest.err'
109610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109611   (eval $ac_try) 2>&5
109612   ac_status=$?
109613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109614   (exit $ac_status); }; } &&
109615          { ac_try='test -s conftest.$ac_objext'
109616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109617   (eval $ac_try) 2>&5
109618   ac_status=$?
109619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109620   (exit $ac_status); }; }; then
109621   glibcxx_cv_func_setenv_use=yes
109622 else
109623   echo "$as_me: failed program was:" >&5
109624 sed 's/^/| /' conftest.$ac_ext >&5
109625
109626 glibcxx_cv_func_setenv_use=no
109627 fi
109628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109629       ac_ext=c
109630 ac_cpp='$CPP $CPPFLAGS'
109631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109634
109635
109636 fi
109637
109638   fi
109639   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
109640 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
109641   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
109642
109643 for ac_func in setenv
109644 do
109645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109646 echo "$as_me:$LINENO: checking for $ac_func" >&5
109647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109648 if eval "test \"\${$as_ac_var+set}\" = set"; then
109649   echo $ECHO_N "(cached) $ECHO_C" >&6
109650 else
109651   if test x$gcc_no_link = xyes; then
109652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109654    { (exit 1); exit 1; }; }
109655 fi
109656 cat >conftest.$ac_ext <<_ACEOF
109657 /* confdefs.h.  */
109658 _ACEOF
109659 cat confdefs.h >>conftest.$ac_ext
109660 cat >>conftest.$ac_ext <<_ACEOF
109661 /* end confdefs.h.  */
109662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109663    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109664 #define $ac_func innocuous_$ac_func
109665
109666 /* System header to define __stub macros and hopefully few prototypes,
109667     which can conflict with char $ac_func (); below.
109668     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109669     <limits.h> exists even on freestanding compilers.  */
109670
109671 #ifdef __STDC__
109672 # include <limits.h>
109673 #else
109674 # include <assert.h>
109675 #endif
109676
109677 #undef $ac_func
109678
109679 /* Override any gcc2 internal prototype to avoid an error.  */
109680 #ifdef __cplusplus
109681 extern "C"
109682 {
109683 #endif
109684 /* We use char because int might match the return type of a gcc2
109685    builtin and then its argument prototype would still apply.  */
109686 char $ac_func ();
109687 /* The GNU C library defines this for functions which it implements
109688     to always fail with ENOSYS.  Some functions are actually named
109689     something starting with __ and the normal name is an alias.  */
109690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109691 choke me
109692 #else
109693 char (*f) () = $ac_func;
109694 #endif
109695 #ifdef __cplusplus
109696 }
109697 #endif
109698
109699 int
109700 main ()
109701 {
109702 return f != $ac_func;
109703   ;
109704   return 0;
109705 }
109706 _ACEOF
109707 rm -f conftest.$ac_objext conftest$ac_exeext
109708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109709   (eval $ac_link) 2>conftest.er1
109710   ac_status=$?
109711   grep -v '^ *+' conftest.er1 >conftest.err
109712   rm -f conftest.er1
109713   cat conftest.err >&5
109714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109715   (exit $ac_status); } &&
109716          { ac_try='test -z "$ac_c_werror_flag"
109717                          || test ! -s conftest.err'
109718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109719   (eval $ac_try) 2>&5
109720   ac_status=$?
109721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109722   (exit $ac_status); }; } &&
109723          { ac_try='test -s conftest$ac_exeext'
109724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109725   (eval $ac_try) 2>&5
109726   ac_status=$?
109727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109728   (exit $ac_status); }; }; then
109729   eval "$as_ac_var=yes"
109730 else
109731   echo "$as_me: failed program was:" >&5
109732 sed 's/^/| /' conftest.$ac_ext >&5
109733
109734 eval "$as_ac_var=no"
109735 fi
109736 rm -f conftest.err conftest.$ac_objext \
109737       conftest$ac_exeext conftest.$ac_ext
109738 fi
109739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109741 if test `eval echo '${'$as_ac_var'}'` = yes; then
109742   cat >>confdefs.h <<_ACEOF
109743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109744 _ACEOF
109745
109746 fi
109747 done
109748
109749   fi
109750
109751   fi
109752
109753   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
109754      test $enable_symvers != no; then
109755     case "$host" in
109756       *-*-cygwin*)
109757         enable_abi_check=no ;;
109758       *)
109759         enable_abi_check=yes ;;
109760     esac
109761   else
109762     # Only build this as native, since automake does not understand
109763     # CXX_FOR_BUILD.
109764     enable_abi_check=no
109765   fi
109766
109767   # Export file names for ABI checking.
109768   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
109769
109770
109771
109772 # Propagate the target-specific source directories through the build chain.
109773 ATOMICITY_SRCDIR=config/${atomicity_dir}
109774 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
109775 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
109776 OS_INC_SRCDIR=config/${os_include_dir}
109777 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
109778
109779
109780
109781
109782
109783
109784
109785 # Determine cross-compile flags and AM_CONDITIONALs.
109786 #AC_SUBST(GLIBCXX_IS_NATIVE)
109787 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
109788 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
109789 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
109790
109791
109792 if test $is_hosted = yes; then
109793   GLIBCXX_HOSTED_TRUE=
109794   GLIBCXX_HOSTED_FALSE='#'
109795 else
109796   GLIBCXX_HOSTED_TRUE='#'
109797   GLIBCXX_HOSTED_FALSE=
109798 fi
109799
109800
109801
109802
109803 if test $enable_libstdcxx_pch = yes; then
109804   GLIBCXX_BUILD_PCH_TRUE=
109805   GLIBCXX_BUILD_PCH_FALSE='#'
109806 else
109807   GLIBCXX_BUILD_PCH_TRUE='#'
109808   GLIBCXX_BUILD_PCH_FALSE=
109809 fi
109810
109811
109812
109813
109814 if test $enable_cheaders = c; then
109815   GLIBCXX_C_HEADERS_C_TRUE=
109816   GLIBCXX_C_HEADERS_C_FALSE='#'
109817 else
109818   GLIBCXX_C_HEADERS_C_TRUE='#'
109819   GLIBCXX_C_HEADERS_C_FALSE=
109820 fi
109821
109822
109823
109824
109825 if test $enable_cheaders = c_std; then
109826   GLIBCXX_C_HEADERS_C_STD_TRUE=
109827   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
109828 else
109829   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
109830   GLIBCXX_C_HEADERS_C_STD_FALSE=
109831 fi
109832
109833
109834
109835
109836 if test $c_compatibility = yes; then
109837   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
109838   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
109839 else
109840   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
109841   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
109842 fi
109843
109844
109845
109846
109847 if test $enable_libstdcxx_debug = yes; then
109848   GLIBCXX_BUILD_DEBUG_TRUE=
109849   GLIBCXX_BUILD_DEBUG_FALSE='#'
109850 else
109851   GLIBCXX_BUILD_DEBUG_TRUE='#'
109852   GLIBCXX_BUILD_DEBUG_FALSE=
109853 fi
109854
109855
109856
109857
109858 if test $enable_symvers != no; then
109859   ENABLE_SYMVERS_TRUE=
109860   ENABLE_SYMVERS_FALSE='#'
109861 else
109862   ENABLE_SYMVERS_TRUE='#'
109863   ENABLE_SYMVERS_FALSE=
109864 fi
109865
109866
109867
109868
109869 if test $enable_symvers = gnu; then
109870   ENABLE_SYMVERS_GNU_TRUE=
109871   ENABLE_SYMVERS_GNU_FALSE='#'
109872 else
109873   ENABLE_SYMVERS_GNU_TRUE='#'
109874   ENABLE_SYMVERS_GNU_FALSE=
109875 fi
109876
109877
109878
109879
109880 if test $enable_symvers = gnu-versioned-namespace; then
109881   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
109882   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
109883 else
109884   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
109885   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
109886 fi
109887
109888
109889
109890
109891 if test $enable_symvers = darwin; then
109892   ENABLE_SYMVERS_DARWIN_TRUE=
109893   ENABLE_SYMVERS_DARWIN_FALSE='#'
109894 else
109895   ENABLE_SYMVERS_DARWIN_TRUE='#'
109896   ENABLE_SYMVERS_DARWIN_FALSE=
109897 fi
109898
109899
109900
109901
109902 if test $enable_visibility = yes; then
109903   ENABLE_VISIBILITY_TRUE=
109904   ENABLE_VISIBILITY_FALSE='#'
109905 else
109906   ENABLE_VISIBILITY_TRUE='#'
109907   ENABLE_VISIBILITY_FALSE=
109908 fi
109909
109910
109911
109912
109913 if test $ac_ldbl_compat = yes; then
109914   GLIBCXX_LDBL_COMPAT_TRUE=
109915   GLIBCXX_LDBL_COMPAT_FALSE='#'
109916 else
109917   GLIBCXX_LDBL_COMPAT_TRUE='#'
109918   GLIBCXX_LDBL_COMPAT_FALSE=
109919 fi
109920
109921
109922
109923
109924 cat >confcache <<\_ACEOF
109925 # This file is a shell script that caches the results of configure
109926 # tests run on this system so they can be shared between configure
109927 # scripts and configure runs, see configure's option --config-cache.
109928 # It is not useful on other systems.  If it contains results you don't
109929 # want to keep, you may remove or edit it.
109930 #
109931 # config.status only pays attention to the cache file if you give it
109932 # the --recheck option to rerun configure.
109933 #
109934 # `ac_cv_env_foo' variables (set or unset) will be overridden when
109935 # loading this file, other *unset* `ac_cv_foo' will be assigned the
109936 # following values.
109937
109938 _ACEOF
109939
109940 # The following way of writing the cache mishandles newlines in values,
109941 # but we know of no workaround that is simple, portable, and efficient.
109942 # So, don't put newlines in cache variables' values.
109943 # Ultrix sh set writes to stderr and can't be redirected directly,
109944 # and sets the high bit in the cache file unless we assign to the vars.
109945 {
109946   (set) 2>&1 |
109947     case `(ac_space=' '; set | grep ac_space) 2>&1` in
109948     *ac_space=\ *)
109949       # `set' does not quote correctly, so add quotes (double-quote
109950       # substitution turns \\\\ into \\, and sed turns \\ into \).
109951       sed -n \
109952         "s/'/'\\\\''/g;
109953           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
109954       ;;
109955     *)
109956       # `set' quotes correctly as required by POSIX, so do not add quotes.
109957       sed -n \
109958         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
109959       ;;
109960     esac;
109961 } |
109962   sed '
109963      t clear
109964      : clear
109965      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
109966      t end
109967      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
109968      : end' >>confcache
109969 if diff $cache_file confcache >/dev/null 2>&1; then :; else
109970   if test -w $cache_file; then
109971     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
109972     cat confcache >$cache_file
109973   else
109974     echo "not updating unwritable cache $cache_file"
109975   fi
109976 fi
109977 rm -f confcache
109978
109979 if test ${multilib} = yes; then
109980   multilib_arg="--enable-multilib"
109981 else
109982   multilib_arg=
109983 fi
109984
109985 # Export all the install information.
109986
109987   glibcxx_toolexecdir=no
109988   glibcxx_toolexeclibdir=no
109989   glibcxx_prefixdir=$prefix
109990
109991   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
109992 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
109993
109994 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
109995 if test "${with_gxx_include_dir+set}" = set; then
109996   withval="$with_gxx_include_dir"
109997   case "$withval" in
109998       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
109999 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
110000    { (exit 1); exit 1; }; } ;;
110001       no)  gxx_include_dir=no ;;
110002       *)   gxx_include_dir=$withval ;;
110003      esac
110004 else
110005   gxx_include_dir=no
110006 fi;
110007   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110008 echo "${ECHO_T}$gxx_include_dir" >&6
110009
110010   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
110011 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
110012   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
110013 if test "${enable_version_specific_runtime_libs+set}" = set; then
110014   enableval="$enable_version_specific_runtime_libs"
110015   case "$enableval" in
110016       yes) version_specific_libs=yes ;;
110017       no)  version_specific_libs=no ;;
110018       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
110019 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
110020    { (exit 1); exit 1; }; };;
110021      esac
110022 else
110023   version_specific_libs=no
110024 fi;
110025   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
110026 echo "${ECHO_T}$version_specific_libs" >&6
110027
110028   # Default case for install directory for include files.
110029   if test $version_specific_libs = no && test $gxx_include_dir = no; then
110030     gxx_include_dir='include/c++/${gcc_version}'
110031     if test -n "$with_cross_host" &&
110032        test x"$with_cross_host" != x"no"; then
110033       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
110034     else
110035       gxx_include_dir='${prefix}/'"$gxx_include_dir"
110036     fi
110037   fi
110038
110039   # Version-specific runtime libs processing.
110040   if test $version_specific_libs = yes; then
110041     # Need the gcc compiler version to know where to install libraries
110042     # and header files if --enable-version-specific-runtime-libs option
110043     # is selected.  FIXME: these variables are misnamed, there are
110044     # no executables installed in _toolexecdir or _toolexeclibdir.
110045     if test x"$gxx_include_dir" = x"no"; then
110046       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
110047     fi
110048     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110049     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
110050   fi
110051
110052   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
110053   # Install a library built with a cross compiler in tooldir, not libdir.
110054   if test x"$glibcxx_toolexecdir" = x"no"; then
110055     if test -n "$with_cross_host" &&
110056        test x"$with_cross_host" != x"no"; then
110057       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
110058       glibcxx_toolexeclibdir='${toolexecdir}/lib'
110059     else
110060       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110061       glibcxx_toolexeclibdir='${libdir}'
110062     fi
110063     multi_os_directory=`$CXX -print-multi-os-directory`
110064     case $multi_os_directory in
110065       .) ;; # Avoid trailing /.
110066       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
110067     esac
110068   fi
110069
110070   echo "$as_me:$LINENO: checking for install location" >&5
110071 echo $ECHO_N "checking for install location... $ECHO_C" >&6
110072   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110073 echo "${ECHO_T}$gxx_include_dir" >&6
110074
110075
110076
110077
110078
110079
110080
110081 # Export all the include and flag information to Makefiles.
110082
110083   # Used for every C++ compile we perform.
110084   GLIBCXX_INCLUDES="\
110085 -I$glibcxx_builddir/include/$host_alias \
110086 -I$glibcxx_builddir/include \
110087 -I$glibcxx_srcdir/libsupc++"
110088
110089   # For Canadian crosses, pick this up too.
110090   if test $CANADIAN = yes; then
110091     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
110092   fi
110093
110094   # Stuff in the actual top level.  Currently only used by libsupc++ to
110095   # get unwind* headers from the gcc dir.
110096   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
110097   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
110098
110099   # Now, export this to all the little Makefiles....
110100
110101
110102
110103
110104   # Optimization flags that are probably a good idea for thrill-seekers. Just
110105   # uncomment the lines below and make, everything else is ready to go...
110106   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
110107   OPTIMIZE_CXXFLAGS=
110108
110109
110110   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
110111
110112
110113
110114 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
110115    grep "enable shared" > /dev/null;
110116 then
110117   LIBSUPCXX_PICFLAGS=-prefer-pic
110118 else
110119   LIBSUPCXX_PICFLAGS=
110120 fi
110121
110122
110123                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
110124
110125           ac_config_files="$ac_config_files scripts/testsuite_flags"
110126
110127
110128           ac_config_commands="$ac_config_commands default"
110129
110130
110131 cat >confcache <<\_ACEOF
110132 # This file is a shell script that caches the results of configure
110133 # tests run on this system so they can be shared between configure
110134 # scripts and configure runs, see configure's option --config-cache.
110135 # It is not useful on other systems.  If it contains results you don't
110136 # want to keep, you may remove or edit it.
110137 #
110138 # config.status only pays attention to the cache file if you give it
110139 # the --recheck option to rerun configure.
110140 #
110141 # `ac_cv_env_foo' variables (set or unset) will be overridden when
110142 # loading this file, other *unset* `ac_cv_foo' will be assigned the
110143 # following values.
110144
110145 _ACEOF
110146
110147 # The following way of writing the cache mishandles newlines in values,
110148 # but we know of no workaround that is simple, portable, and efficient.
110149 # So, don't put newlines in cache variables' values.
110150 # Ultrix sh set writes to stderr and can't be redirected directly,
110151 # and sets the high bit in the cache file unless we assign to the vars.
110152 {
110153   (set) 2>&1 |
110154     case `(ac_space=' '; set | grep ac_space) 2>&1` in
110155     *ac_space=\ *)
110156       # `set' does not quote correctly, so add quotes (double-quote
110157       # substitution turns \\\\ into \\, and sed turns \\ into \).
110158       sed -n \
110159         "s/'/'\\\\''/g;
110160           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110161       ;;
110162     *)
110163       # `set' quotes correctly as required by POSIX, so do not add quotes.
110164       sed -n \
110165         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110166       ;;
110167     esac;
110168 } |
110169   sed '
110170      t clear
110171      : clear
110172      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110173      t end
110174      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110175      : end' >>confcache
110176 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110177   if test -w $cache_file; then
110178     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110179     cat confcache >$cache_file
110180   else
110181     echo "not updating unwritable cache $cache_file"
110182   fi
110183 fi
110184 rm -f confcache
110185
110186 test "x$prefix" = xNONE && prefix=$ac_default_prefix
110187 # Let make expand exec_prefix.
110188 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
110189
110190 # VPATH may cause trouble with some makes, so we remove $(srcdir),
110191 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
110192 # trailing colons and then remove the whole line if VPATH becomes empty
110193 # (actually we leave an empty line to preserve line numbers).
110194 if test "x$srcdir" = x.; then
110195   ac_vpsub='/^[  ]*VPATH[        ]*=/{
110196 s/:*\$(srcdir):*/:/;
110197 s/:*\${srcdir}:*/:/;
110198 s/:*@srcdir@:*/:/;
110199 s/^\([^=]*=[     ]*\):*/\1/;
110200 s/:*$//;
110201 s/^[^=]*=[       ]*$//;
110202 }'
110203 fi
110204
110205 DEFS=-DHAVE_CONFIG_H
110206
110207 ac_libobjs=
110208 ac_ltlibobjs=
110209 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
110210   # 1. Remove the extension, and $U if already installed.
110211   ac_i=`echo "$ac_i" |
110212          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
110213   # 2. Add them.
110214   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
110215   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
110216 done
110217 LIBOBJS=$ac_libobjs
110218
110219 LTLIBOBJS=$ac_ltlibobjs
110220
110221
110222 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
110223   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
110224 Usually this means the macro was only invoked conditionally." >&5
110225 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
110226 Usually this means the macro was only invoked conditionally." >&2;}
110227    { (exit 1); exit 1; }; }
110228 fi
110229 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
110230   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110231 Usually this means the macro was only invoked conditionally." >&5
110232 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110233 Usually this means the macro was only invoked conditionally." >&2;}
110234    { (exit 1); exit 1; }; }
110235 fi
110236 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
110237   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110238 Usually this means the macro was only invoked conditionally." >&5
110239 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110240 Usually this means the macro was only invoked conditionally." >&2;}
110241    { (exit 1); exit 1; }; }
110242 fi
110243 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
110244   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110245 Usually this means the macro was only invoked conditionally." >&5
110246 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110247 Usually this means the macro was only invoked conditionally." >&2;}
110248    { (exit 1); exit 1; }; }
110249 fi
110250 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
110251   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110252 Usually this means the macro was only invoked conditionally." >&5
110253 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110254 Usually this means the macro was only invoked conditionally." >&2;}
110255    { (exit 1); exit 1; }; }
110256 fi
110257 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
110258   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110259 Usually this means the macro was only invoked conditionally." >&5
110260 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110261 Usually this means the macro was only invoked conditionally." >&2;}
110262    { (exit 1); exit 1; }; }
110263 fi
110264 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
110265   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110266 Usually this means the macro was only invoked conditionally." >&5
110267 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110268 Usually this means the macro was only invoked conditionally." >&2;}
110269    { (exit 1); exit 1; }; }
110270 fi
110271 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
110272   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
110273 Usually this means the macro was only invoked conditionally." >&5
110274 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
110275 Usually this means the macro was only invoked conditionally." >&2;}
110276    { (exit 1); exit 1; }; }
110277 fi
110278 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
110279   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110280 Usually this means the macro was only invoked conditionally." >&5
110281 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110282 Usually this means the macro was only invoked conditionally." >&2;}
110283    { (exit 1); exit 1; }; }
110284 fi
110285 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
110286   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110287 Usually this means the macro was only invoked conditionally." >&5
110288 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110289 Usually this means the macro was only invoked conditionally." >&2;}
110290    { (exit 1); exit 1; }; }
110291 fi
110292 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
110293   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110294 Usually this means the macro was only invoked conditionally." >&5
110295 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110296 Usually this means the macro was only invoked conditionally." >&2;}
110297    { (exit 1); exit 1; }; }
110298 fi
110299 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
110300   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110301 Usually this means the macro was only invoked conditionally." >&5
110302 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110303 Usually this means the macro was only invoked conditionally." >&2;}
110304    { (exit 1); exit 1; }; }
110305 fi
110306 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
110307   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110308 Usually this means the macro was only invoked conditionally." >&5
110309 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110310 Usually this means the macro was only invoked conditionally." >&2;}
110311    { (exit 1); exit 1; }; }
110312 fi
110313
110314 : ${CONFIG_STATUS=./config.status}
110315 ac_clean_files_save=$ac_clean_files
110316 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
110317 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
110318 echo "$as_me: creating $CONFIG_STATUS" >&6;}
110319 cat >$CONFIG_STATUS <<_ACEOF
110320 #! $SHELL
110321 # Generated by $as_me.
110322 # Run this file to recreate the current configuration.
110323 # Compiler output produced by configure, useful for debugging
110324 # configure, is in config.log if it exists.
110325
110326 debug=false
110327 ac_cs_recheck=false
110328 ac_cs_silent=false
110329 SHELL=\${CONFIG_SHELL-$SHELL}
110330 _ACEOF
110331
110332 cat >>$CONFIG_STATUS <<\_ACEOF
110333 ## --------------------- ##
110334 ## M4sh Initialization.  ##
110335 ## --------------------- ##
110336
110337 # Be Bourne compatible
110338 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
110339   emulate sh
110340   NULLCMD=:
110341   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
110342   # is contrary to our usage.  Disable this feature.
110343   alias -g '${1+"$@"}'='"$@"'
110344 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
110345   set -o posix
110346 fi
110347 DUALCASE=1; export DUALCASE # for MKS sh
110348
110349 # Support unset when possible.
110350 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
110351   as_unset=unset
110352 else
110353   as_unset=false
110354 fi
110355
110356
110357 # Work around bugs in pre-3.0 UWIN ksh.
110358 $as_unset ENV MAIL MAILPATH
110359 PS1='$ '
110360 PS2='> '
110361 PS4='+ '
110362
110363 # NLS nuisances.
110364 for as_var in \
110365   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
110366   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110367   LC_TELEPHONE LC_TIME
110368 do
110369   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110370     eval $as_var=C; export $as_var
110371   else
110372     $as_unset $as_var
110373   fi
110374 done
110375
110376 # Required to use basename.
110377 if expr a : '\(a\)' >/dev/null 2>&1; then
110378   as_expr=expr
110379 else
110380   as_expr=false
110381 fi
110382
110383 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
110384   as_basename=basename
110385 else
110386   as_basename=false
110387 fi
110388
110389
110390 # Name of the executable.
110391 as_me=`$as_basename "$0" ||
110392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
110393          X"$0" : 'X\(//\)$' \| \
110394          X"$0" : 'X\(/\)$' \| \
110395          .     : '\(.\)' 2>/dev/null ||
110396 echo X/"$0" |
110397     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
110398           /^X\/\(\/\/\)$/{ s//\1/; q; }
110399           /^X\/\(\/\).*/{ s//\1/; q; }
110400           s/.*/./; q'`
110401
110402
110403 # PATH needs CR, and LINENO needs CR and PATH.
110404 # Avoid depending upon Character Ranges.
110405 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
110406 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
110407 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
110408 as_cr_digits='0123456789'
110409 as_cr_alnum=$as_cr_Letters$as_cr_digits
110410
110411 # The user is always right.
110412 if test "${PATH_SEPARATOR+set}" != set; then
110413   echo "#! /bin/sh" >conf$$.sh
110414   echo  "exit 0"   >>conf$$.sh
110415   chmod +x conf$$.sh
110416   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
110417     PATH_SEPARATOR=';'
110418   else
110419     PATH_SEPARATOR=:
110420   fi
110421   rm -f conf$$.sh
110422 fi
110423
110424
110425   as_lineno_1=$LINENO
110426   as_lineno_2=$LINENO
110427   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110428   test "x$as_lineno_1" != "x$as_lineno_2" &&
110429   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
110430   # Find who we are.  Look in the path if we contain no path at all
110431   # relative or not.
110432   case $0 in
110433     *[\\/]* ) as_myself=$0 ;;
110434     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110435 for as_dir in $PATH
110436 do
110437   IFS=$as_save_IFS
110438   test -z "$as_dir" && as_dir=.
110439   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110440 done
110441
110442        ;;
110443   esac
110444   # We did not find ourselves, most probably we were run as `sh COMMAND'
110445   # in which case we are not to be found in the path.
110446   if test "x$as_myself" = x; then
110447     as_myself=$0
110448   fi
110449   if test ! -f "$as_myself"; then
110450     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
110451 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
110452    { (exit 1); exit 1; }; }
110453   fi
110454   case $CONFIG_SHELL in
110455   '')
110456     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110457 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
110458 do
110459   IFS=$as_save_IFS
110460   test -z "$as_dir" && as_dir=.
110461   for as_base in sh bash ksh sh5; do
110462          case $as_dir in
110463          /*)
110464            if ("$as_dir/$as_base" -c '
110465   as_lineno_1=$LINENO
110466   as_lineno_2=$LINENO
110467   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110468   test "x$as_lineno_1" != "x$as_lineno_2" &&
110469   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
110470              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
110471              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
110472              CONFIG_SHELL=$as_dir/$as_base
110473              export CONFIG_SHELL
110474              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
110475            fi;;
110476          esac
110477        done
110478 done
110479 ;;
110480   esac
110481
110482   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
110483   # uniformly replaced by the line number.  The first 'sed' inserts a
110484   # line-number line before each line; the second 'sed' does the real
110485   # work.  The second script uses 'N' to pair each line-number line
110486   # with the numbered line, and appends trailing '-' during
110487   # substitution so that $LINENO is not a special case at line end.
110488   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
110489   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
110490   sed '=' <$as_myself |
110491     sed '
110492       N
110493       s,$,-,
110494       : loop
110495       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
110496       t loop
110497       s,-$,,
110498       s,^['$as_cr_digits']*\n,,
110499     ' >$as_me.lineno &&
110500   chmod +x $as_me.lineno ||
110501     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
110502 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
110503    { (exit 1); exit 1; }; }
110504
110505   # Don't try to exec as it changes $[0], causing all sort of problems
110506   # (the dirname of $[0] is not the place where we might find the
110507   # original and so on.  Autoconf is especially sensible to this).
110508   . ./$as_me.lineno
110509   # Exit status is that of the last command.
110510   exit
110511 }
110512
110513
110514 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
110515   *c*,-n*) ECHO_N= ECHO_C='
110516 ' ECHO_T='      ' ;;
110517   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
110518   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
110519 esac
110520
110521 if expr a : '\(a\)' >/dev/null 2>&1; then
110522   as_expr=expr
110523 else
110524   as_expr=false
110525 fi
110526
110527 rm -f conf$$ conf$$.exe conf$$.file
110528 echo >conf$$.file
110529 if ln -s conf$$.file conf$$ 2>/dev/null; then
110530   # We could just check for DJGPP; but this test a) works b) is more generic
110531   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
110532   if test -f conf$$.exe; then
110533     # Don't use ln at all; we don't have any links
110534     as_ln_s='cp -p'
110535   else
110536     as_ln_s='ln -s'
110537   fi
110538 elif ln conf$$.file conf$$ 2>/dev/null; then
110539   as_ln_s=ln
110540 else
110541   as_ln_s='cp -p'
110542 fi
110543 rm -f conf$$ conf$$.exe conf$$.file
110544
110545 if mkdir -p . 2>/dev/null; then
110546   as_mkdir_p=:
110547 else
110548   test -d ./-p && rmdir ./-p
110549   as_mkdir_p=false
110550 fi
110551
110552 as_executable_p="test -f"
110553
110554 # Sed expression to map a string onto a valid CPP name.
110555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
110556
110557 # Sed expression to map a string onto a valid variable name.
110558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
110559
110560
110561 # IFS
110562 # We need space, tab and new line, in precisely that order.
110563 as_nl='
110564 '
110565 IFS="   $as_nl"
110566
110567 # CDPATH.
110568 $as_unset CDPATH
110569
110570 exec 6>&1
110571
110572 # Open the log real soon, to keep \$[0] and so on meaningful, and to
110573 # report actual input values of CONFIG_FILES etc. instead of their
110574 # values after options handling.  Logging --version etc. is OK.
110575 exec 5>>config.log
110576 {
110577   echo
110578   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
110579 ## Running $as_me. ##
110580 _ASBOX
110581 } >&5
110582 cat >&5 <<_CSEOF
110583
110584 This file was extended by package-unused $as_me version-unused, which was
110585 generated by GNU Autoconf 2.59.  Invocation command line was
110586
110587   CONFIG_FILES    = $CONFIG_FILES
110588   CONFIG_HEADERS  = $CONFIG_HEADERS
110589   CONFIG_LINKS    = $CONFIG_LINKS
110590   CONFIG_COMMANDS = $CONFIG_COMMANDS
110591   $ $0 $@
110592
110593 _CSEOF
110594 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
110595 echo >&5
110596 _ACEOF
110597
110598 # Files that config.status was made for.
110599 if test -n "$ac_config_files"; then
110600   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
110601 fi
110602
110603 if test -n "$ac_config_headers"; then
110604   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
110605 fi
110606
110607 if test -n "$ac_config_links"; then
110608   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
110609 fi
110610
110611 if test -n "$ac_config_commands"; then
110612   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
110613 fi
110614
110615 cat >>$CONFIG_STATUS <<\_ACEOF
110616
110617 ac_cs_usage="\
110618 \`$as_me' instantiates files from templates according to the
110619 current configuration.
110620
110621 Usage: $0 [OPTIONS] [FILE]...
110622
110623   -h, --help       print this help, then exit
110624   -V, --version    print version number, then exit
110625   -q, --quiet      do not print progress messages
110626   -d, --debug      don't remove temporary files
110627       --recheck    update $as_me by reconfiguring in the same conditions
110628   --file=FILE[:TEMPLATE]
110629                    instantiate the configuration file FILE
110630   --header=FILE[:TEMPLATE]
110631                    instantiate the configuration header FILE
110632
110633 Configuration files:
110634 $config_files
110635
110636 Configuration headers:
110637 $config_headers
110638
110639 Configuration commands:
110640 $config_commands
110641
110642 Report bugs to <bug-autoconf@gnu.org>."
110643 _ACEOF
110644
110645 cat >>$CONFIG_STATUS <<_ACEOF
110646 ac_cs_version="\\
110647 package-unused config.status version-unused
110648 configured by $0, generated by GNU Autoconf 2.59,
110649   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
110650
110651 Copyright (C) 2003 Free Software Foundation, Inc.
110652 This config.status script is free software; the Free Software Foundation
110653 gives unlimited permission to copy, distribute and modify it."
110654 srcdir=$srcdir
110655 INSTALL="$INSTALL"
110656 _ACEOF
110657
110658 cat >>$CONFIG_STATUS <<\_ACEOF
110659 # If no file are specified by the user, then we need to provide default
110660 # value.  By we need to know if files were specified by the user.
110661 ac_need_defaults=:
110662 while test $# != 0
110663 do
110664   case $1 in
110665   --*=*)
110666     ac_option=`expr "x$1" : 'x\([^=]*\)='`
110667     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
110668     ac_shift=:
110669     ;;
110670   -*)
110671     ac_option=$1
110672     ac_optarg=$2
110673     ac_shift=shift
110674     ;;
110675   *) # This is not an option, so the user has probably given explicit
110676      # arguments.
110677      ac_option=$1
110678      ac_need_defaults=false;;
110679   esac
110680
110681   case $ac_option in
110682   # Handling of the options.
110683 _ACEOF
110684 cat >>$CONFIG_STATUS <<\_ACEOF
110685   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
110686     ac_cs_recheck=: ;;
110687   --version | --vers* | -V )
110688     echo "$ac_cs_version"; exit 0 ;;
110689   --he | --h)
110690     # Conflict between --help and --header
110691     { { echo "$as_me:$LINENO: error: ambiguous option: $1
110692 Try \`$0 --help' for more information." >&5
110693 echo "$as_me: error: ambiguous option: $1
110694 Try \`$0 --help' for more information." >&2;}
110695    { (exit 1); exit 1; }; };;
110696   --help | --hel | -h )
110697     echo "$ac_cs_usage"; exit 0 ;;
110698   --debug | --d* | -d )
110699     debug=: ;;
110700   --file | --fil | --fi | --f )
110701     $ac_shift
110702     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
110703     ac_need_defaults=false;;
110704   --header | --heade | --head | --hea )
110705     $ac_shift
110706     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
110707     ac_need_defaults=false;;
110708   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
110709   | -silent | --silent | --silen | --sile | --sil | --si | --s)
110710     ac_cs_silent=: ;;
110711
110712   # This is an error.
110713   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
110714 Try \`$0 --help' for more information." >&5
110715 echo "$as_me: error: unrecognized option: $1
110716 Try \`$0 --help' for more information." >&2;}
110717    { (exit 1); exit 1; }; } ;;
110718
110719   *) ac_config_targets="$ac_config_targets $1" ;;
110720
110721   esac
110722   shift
110723 done
110724
110725 ac_configure_extra_args=
110726
110727 if $ac_cs_silent; then
110728   exec 6>/dev/null
110729   ac_configure_extra_args="$ac_configure_extra_args --silent"
110730 fi
110731
110732 _ACEOF
110733 cat >>$CONFIG_STATUS <<_ACEOF
110734 if \$ac_cs_recheck; then
110735   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
110736   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
110737 fi
110738
110739 _ACEOF
110740
110741 cat >>$CONFIG_STATUS <<_ACEOF
110742 #
110743 # INIT-COMMANDS section.
110744 #
110745
110746
110747 srcdir="$srcdir"
110748 host="$host"
110749 target="$target"
110750 with_multisubdir="$with_multisubdir"
110751 with_multisrctop="$with_multisrctop"
110752 with_target_subdir="$with_target_subdir"
110753 ac_configure_args="${multilib_arg} ${ac_configure_args}"
110754 multi_basedir="$multi_basedir"
110755 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
110756 CC="$CC"
110757
110758 # Variables needed in config.status (file generation) which aren't already
110759 # passed by autoconf.
110760 SUBDIRS="$SUBDIRS"
110761
110762
110763 _ACEOF
110764
110765
110766
110767 cat >>$CONFIG_STATUS <<\_ACEOF
110768 for ac_config_target in $ac_config_targets
110769 do
110770   case "$ac_config_target" in
110771   # Handling of arguments.
110772   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
110773   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
110774   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
110775   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
110776   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
110777   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
110778   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
110779   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
110780   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
110781   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
110782   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
110783   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
110784 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
110785    { (exit 1); exit 1; }; };;
110786   esac
110787 done
110788
110789 # If the user did not use the arguments to specify the items to instantiate,
110790 # then the envvar interface is used.  Set only those that are not.
110791 # We use the long form for the default assignment because of an extremely
110792 # bizarre bug on SunOS 4.1.3.
110793 if $ac_need_defaults; then
110794   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
110795   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
110796   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
110797 fi
110798
110799 # Have a temporary directory for convenience.  Make it in the build tree
110800 # simply because there is no reason to put it here, and in addition,
110801 # creating and moving files from /tmp can sometimes cause problems.
110802 # Create a temporary directory, and hook for its removal unless debugging.
110803 $debug ||
110804 {
110805   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
110806   trap '{ (exit 1); exit 1; }' 1 2 13 15
110807 }
110808
110809 # Create a (secure) tmp directory for tmp files.
110810
110811 {
110812   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
110813   test -n "$tmp" && test -d "$tmp"
110814 }  ||
110815 {
110816   tmp=./confstat$$-$RANDOM
110817   (umask 077 && mkdir $tmp)
110818 } ||
110819 {
110820    echo "$me: cannot create a temporary directory in ." >&2
110821    { (exit 1); exit 1; }
110822 }
110823
110824 _ACEOF
110825
110826 cat >>$CONFIG_STATUS <<_ACEOF
110827
110828 #
110829 # CONFIG_FILES section.
110830 #
110831
110832 # No need to generate the scripts if there are no CONFIG_FILES.
110833 # This happens for instance when ./config.status config.h
110834 if test -n "\$CONFIG_FILES"; then
110835   # Protect against being on the right side of a sed subst in config.status.
110836   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
110837    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
110838 s,@SHELL@,$SHELL,;t t
110839 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
110840 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
110841 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
110842 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
110843 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
110844 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
110845 s,@exec_prefix@,$exec_prefix,;t t
110846 s,@prefix@,$prefix,;t t
110847 s,@program_transform_name@,$program_transform_name,;t t
110848 s,@bindir@,$bindir,;t t
110849 s,@sbindir@,$sbindir,;t t
110850 s,@libexecdir@,$libexecdir,;t t
110851 s,@datadir@,$datadir,;t t
110852 s,@sysconfdir@,$sysconfdir,;t t
110853 s,@sharedstatedir@,$sharedstatedir,;t t
110854 s,@localstatedir@,$localstatedir,;t t
110855 s,@libdir@,$libdir,;t t
110856 s,@includedir@,$includedir,;t t
110857 s,@oldincludedir@,$oldincludedir,;t t
110858 s,@infodir@,$infodir,;t t
110859 s,@mandir@,$mandir,;t t
110860 s,@build_alias@,$build_alias,;t t
110861 s,@host_alias@,$host_alias,;t t
110862 s,@target_alias@,$target_alias,;t t
110863 s,@DEFS@,$DEFS,;t t
110864 s,@ECHO_C@,$ECHO_C,;t t
110865 s,@ECHO_N@,$ECHO_N,;t t
110866 s,@ECHO_T@,$ECHO_T,;t t
110867 s,@LIBS@,$LIBS,;t t
110868 s,@libtool_VERSION@,$libtool_VERSION,;t t
110869 s,@multi_basedir@,$multi_basedir,;t t
110870 s,@build@,$build,;t t
110871 s,@build_cpu@,$build_cpu,;t t
110872 s,@build_vendor@,$build_vendor,;t t
110873 s,@build_os@,$build_os,;t t
110874 s,@host@,$host,;t t
110875 s,@host_cpu@,$host_cpu,;t t
110876 s,@host_vendor@,$host_vendor,;t t
110877 s,@host_os@,$host_os,;t t
110878 s,@target@,$target,;t t
110879 s,@target_cpu@,$target_cpu,;t t
110880 s,@target_vendor@,$target_vendor,;t t
110881 s,@target_os@,$target_os,;t t
110882 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
110883 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
110884 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
110885 s,@CYGPATH_W@,$CYGPATH_W,;t t
110886 s,@PACKAGE@,$PACKAGE,;t t
110887 s,@VERSION@,$VERSION,;t t
110888 s,@ACLOCAL@,$ACLOCAL,;t t
110889 s,@AUTOCONF@,$AUTOCONF,;t t
110890 s,@AUTOMAKE@,$AUTOMAKE,;t t
110891 s,@AUTOHEADER@,$AUTOHEADER,;t t
110892 s,@MAKEINFO@,$MAKEINFO,;t t
110893 s,@install_sh@,$install_sh,;t t
110894 s,@STRIP@,$STRIP,;t t
110895 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
110896 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
110897 s,@mkdir_p@,$mkdir_p,;t t
110898 s,@AWK@,$AWK,;t t
110899 s,@SET_MAKE@,$SET_MAKE,;t t
110900 s,@am__leading_dot@,$am__leading_dot,;t t
110901 s,@AMTAR@,$AMTAR,;t t
110902 s,@am__tar@,$am__tar,;t t
110903 s,@am__untar@,$am__untar,;t t
110904 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
110905 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
110906 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
110907 s,@CC@,$CC,;t t
110908 s,@ac_ct_CC@,$ac_ct_CC,;t t
110909 s,@EXEEXT@,$EXEEXT,;t t
110910 s,@OBJEXT@,$OBJEXT,;t t
110911 s,@CXX@,$CXX,;t t
110912 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
110913 s,@CFLAGS@,$CFLAGS,;t t
110914 s,@CXXFLAGS@,$CXXFLAGS,;t t
110915 s,@LN_S@,$LN_S,;t t
110916 s,@AS@,$AS,;t t
110917 s,@ac_ct_AS@,$ac_ct_AS,;t t
110918 s,@AR@,$AR,;t t
110919 s,@ac_ct_AR@,$ac_ct_AR,;t t
110920 s,@RANLIB@,$RANLIB,;t t
110921 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
110922 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
110923 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
110924 s,@MAINT@,$MAINT,;t t
110925 s,@CPP@,$CPP,;t t
110926 s,@CPPFLAGS@,$CPPFLAGS,;t t
110927 s,@EGREP@,$EGREP,;t t
110928 s,@LIBTOOL@,$LIBTOOL,;t t
110929 s,@CXXCPP@,$CXXCPP,;t t
110930 s,@enable_shared@,$enable_shared,;t t
110931 s,@enable_static@,$enable_static,;t t
110932 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
110933 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
110934 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
110935 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
110936 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
110937 s,@CSTDIO_H@,$CSTDIO_H,;t t
110938 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
110939 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
110940 s,@check_msgfmt@,$check_msgfmt,;t t
110941 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
110942 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
110943 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
110944 s,@USE_NLS@,$USE_NLS,;t t
110945 s,@CLOCALE_H@,$CLOCALE_H,;t t
110946 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
110947 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
110948 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
110949 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
110950 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
110951 s,@CMONEY_CC@,$CMONEY_CC,;t t
110952 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
110953 s,@CTIME_H@,$CTIME_H,;t t
110954 s,@CTIME_CC@,$CTIME_CC,;t t
110955 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
110956 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
110957 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
110958 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
110959 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
110960 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
110961 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
110962 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
110963 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
110964 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
110965 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
110966 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
110967 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
110968 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
110969 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
110970 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
110971 s,@WERROR@,$WERROR,;t t
110972 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
110973 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
110974 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
110975 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
110976 s,@LIBICONV@,$LIBICONV,;t t
110977 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
110978 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
110979 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
110980 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
110981 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
110982 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
110983 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
110984 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
110985 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
110986 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
110987 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
110988 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
110989 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
110990 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
110991 s,@baseline_dir@,$baseline_dir,;t t
110992 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
110993 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
110994 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
110995 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
110996 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
110997 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
110998 s,@gxx_include_dir@,$gxx_include_dir,;t t
110999 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
111000 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
111001 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
111002 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
111003 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
111004 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
111005 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
111006 s,@LIBOBJS@,$LIBOBJS,;t t
111007 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
111008 CEOF
111009
111010 _ACEOF
111011
111012   cat >>$CONFIG_STATUS <<\_ACEOF
111013   # Split the substitutions into bite-sized pieces for seds with
111014   # small command number limits, like on Digital OSF/1 and HP-UX.
111015   ac_max_sed_lines=48
111016   ac_sed_frag=1 # Number of current file.
111017   ac_beg=1 # First line for current file.
111018   ac_end=$ac_max_sed_lines # Line after last line for current file.
111019   ac_more_lines=:
111020   ac_sed_cmds=
111021   while $ac_more_lines; do
111022     if test $ac_beg -gt 1; then
111023       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111024     else
111025       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111026     fi
111027     if test ! -s $tmp/subs.frag; then
111028       ac_more_lines=false
111029     else
111030       # The purpose of the label and of the branching condition is to
111031       # speed up the sed processing (if there are no `@' at all, there
111032       # is no need to browse any of the substitutions).
111033       # These are the two extra sed commands mentioned above.
111034       (echo ':t
111035   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
111036       if test -z "$ac_sed_cmds"; then
111037         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
111038       else
111039         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
111040       fi
111041       ac_sed_frag=`expr $ac_sed_frag + 1`
111042       ac_beg=$ac_end
111043       ac_end=`expr $ac_end + $ac_max_sed_lines`
111044     fi
111045   done
111046   if test -z "$ac_sed_cmds"; then
111047     ac_sed_cmds=cat
111048   fi
111049 fi # test -n "$CONFIG_FILES"
111050
111051 _ACEOF
111052 cat >>$CONFIG_STATUS <<\_ACEOF
111053 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
111054   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111055   case $ac_file in
111056   - | *:- | *:-:* ) # input from stdin
111057         cat >$tmp/stdin
111058         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111059         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111060   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111061         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111062   * )   ac_file_in=$ac_file.in ;;
111063   esac
111064
111065   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
111066   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111067 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111068          X"$ac_file" : 'X\(//\)[^/]' \| \
111069          X"$ac_file" : 'X\(//\)$' \| \
111070          X"$ac_file" : 'X\(/\)' \| \
111071          .     : '\(.\)' 2>/dev/null ||
111072 echo X"$ac_file" |
111073     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111074           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111075           /^X\(\/\/\)$/{ s//\1/; q; }
111076           /^X\(\/\).*/{ s//\1/; q; }
111077           s/.*/./; q'`
111078   { if $as_mkdir_p; then
111079     mkdir -p "$ac_dir"
111080   else
111081     as_dir="$ac_dir"
111082     as_dirs=
111083     while test ! -d "$as_dir"; do
111084       as_dirs="$as_dir $as_dirs"
111085       as_dir=`(dirname "$as_dir") 2>/dev/null ||
111086 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111087          X"$as_dir" : 'X\(//\)[^/]' \| \
111088          X"$as_dir" : 'X\(//\)$' \| \
111089          X"$as_dir" : 'X\(/\)' \| \
111090          .     : '\(.\)' 2>/dev/null ||
111091 echo X"$as_dir" |
111092     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111093           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111094           /^X\(\/\/\)$/{ s//\1/; q; }
111095           /^X\(\/\).*/{ s//\1/; q; }
111096           s/.*/./; q'`
111097     done
111098     test ! -n "$as_dirs" || mkdir $as_dirs
111099   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111100 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111101    { (exit 1); exit 1; }; }; }
111102
111103   ac_builddir=.
111104
111105 if test "$ac_dir" != .; then
111106   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111107   # A "../" for each directory in $ac_dir_suffix.
111108   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111109 else
111110   ac_dir_suffix= ac_top_builddir=
111111 fi
111112
111113 case $srcdir in
111114   .)  # No --srcdir option.  We are building in place.
111115     ac_srcdir=.
111116     if test -z "$ac_top_builddir"; then
111117        ac_top_srcdir=.
111118     else
111119        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111120     fi ;;
111121   [\\/]* | ?:[\\/]* )  # Absolute path.
111122     ac_srcdir=$srcdir$ac_dir_suffix;
111123     ac_top_srcdir=$srcdir ;;
111124   *) # Relative path.
111125     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111126     ac_top_srcdir=$ac_top_builddir$srcdir ;;
111127 esac
111128
111129 # Do not use `cd foo && pwd` to compute absolute paths, because
111130 # the directories may not exist.
111131 case `pwd` in
111132 .) ac_abs_builddir="$ac_dir";;
111133 *)
111134   case "$ac_dir" in
111135   .) ac_abs_builddir=`pwd`;;
111136   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111137   *) ac_abs_builddir=`pwd`/"$ac_dir";;
111138   esac;;
111139 esac
111140 case $ac_abs_builddir in
111141 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111142 *)
111143   case ${ac_top_builddir}. in
111144   .) ac_abs_top_builddir=$ac_abs_builddir;;
111145   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111146   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111147   esac;;
111148 esac
111149 case $ac_abs_builddir in
111150 .) ac_abs_srcdir=$ac_srcdir;;
111151 *)
111152   case $ac_srcdir in
111153   .) ac_abs_srcdir=$ac_abs_builddir;;
111154   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111155   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111156   esac;;
111157 esac
111158 case $ac_abs_builddir in
111159 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111160 *)
111161   case $ac_top_srcdir in
111162   .) ac_abs_top_srcdir=$ac_abs_builddir;;
111163   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111164   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111165   esac;;
111166 esac
111167
111168
111169   case $INSTALL in
111170   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
111171   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
111172   esac
111173
111174   if test x"$ac_file" != x-; then
111175     { echo "$as_me:$LINENO: creating $ac_file" >&5
111176 echo "$as_me: creating $ac_file" >&6;}
111177     rm -f "$ac_file"
111178   fi
111179   # Let's still pretend it is `configure' which instantiates (i.e., don't
111180   # use $as_me), people would be surprised to read:
111181   #    /* config.h.  Generated by config.status.  */
111182   if test x"$ac_file" = x-; then
111183     configure_input=
111184   else
111185     configure_input="$ac_file.  "
111186   fi
111187   configure_input=$configure_input"Generated from `echo $ac_file_in |
111188                                      sed 's,.*/,,'` by configure."
111189
111190   # First look for the input files in the build tree, otherwise in the
111191   # src tree.
111192   ac_file_inputs=`IFS=:
111193     for f in $ac_file_in; do
111194       case $f in
111195       -) echo $tmp/stdin ;;
111196       [\\/$]*)
111197          # Absolute (can't be DOS-style, as IFS=:)
111198          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111199 echo "$as_me: error: cannot find input file: $f" >&2;}
111200    { (exit 1); exit 1; }; }
111201          echo "$f";;
111202       *) # Relative
111203          if test -f "$f"; then
111204            # Build tree
111205            echo "$f"
111206          elif test -f "$srcdir/$f"; then
111207            # Source tree
111208            echo "$srcdir/$f"
111209          else
111210            # /dev/null tree
111211            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111212 echo "$as_me: error: cannot find input file: $f" >&2;}
111213    { (exit 1); exit 1; }; }
111214          fi;;
111215       esac
111216     done` || { (exit 1); exit 1; }
111217 _ACEOF
111218 cat >>$CONFIG_STATUS <<_ACEOF
111219   sed "$ac_vpsub
111220 $extrasub
111221 _ACEOF
111222 cat >>$CONFIG_STATUS <<\_ACEOF
111223 :t
111224 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
111225 s,@configure_input@,$configure_input,;t t
111226 s,@srcdir@,$ac_srcdir,;t t
111227 s,@abs_srcdir@,$ac_abs_srcdir,;t t
111228 s,@top_srcdir@,$ac_top_srcdir,;t t
111229 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
111230 s,@builddir@,$ac_builddir,;t t
111231 s,@abs_builddir@,$ac_abs_builddir,;t t
111232 s,@top_builddir@,$ac_top_builddir,;t t
111233 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
111234 s,@INSTALL@,$ac_INSTALL,;t t
111235 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
111236   rm -f $tmp/stdin
111237   if test x"$ac_file" != x-; then
111238     mv $tmp/out $ac_file
111239   else
111240     cat $tmp/out
111241     rm -f $tmp/out
111242   fi
111243
111244   # Run the commands associated with the file.
111245   case $ac_file in
111246     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
111247   esac
111248 done
111249 _ACEOF
111250 cat >>$CONFIG_STATUS <<\_ACEOF
111251
111252 #
111253 # CONFIG_HEADER section.
111254 #
111255
111256 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
111257 # NAME is the cpp macro being defined and VALUE is the value it is being given.
111258 #
111259 # ac_d sets the value in "#define NAME VALUE" lines.
111260 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
111261 ac_dB='[         ].*$,\1#\2'
111262 ac_dC=' '
111263 ac_dD=',;t'
111264 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
111265 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
111266 ac_uB='$,\1#\2define\3'
111267 ac_uC=' '
111268 ac_uD=',;t'
111269
111270 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
111271   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111272   case $ac_file in
111273   - | *:- | *:-:* ) # input from stdin
111274         cat >$tmp/stdin
111275         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111276         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111277   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111278         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111279   * )   ac_file_in=$ac_file.in ;;
111280   esac
111281
111282   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
111283 echo "$as_me: creating $ac_file" >&6;}
111284
111285   # First look for the input files in the build tree, otherwise in the
111286   # src tree.
111287   ac_file_inputs=`IFS=:
111288     for f in $ac_file_in; do
111289       case $f in
111290       -) echo $tmp/stdin ;;
111291       [\\/$]*)
111292          # Absolute (can't be DOS-style, as IFS=:)
111293          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111294 echo "$as_me: error: cannot find input file: $f" >&2;}
111295    { (exit 1); exit 1; }; }
111296          # Do quote $f, to prevent DOS paths from being IFS'd.
111297          echo "$f";;
111298       *) # Relative
111299          if test -f "$f"; then
111300            # Build tree
111301            echo "$f"
111302          elif test -f "$srcdir/$f"; then
111303            # Source tree
111304            echo "$srcdir/$f"
111305          else
111306            # /dev/null tree
111307            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111308 echo "$as_me: error: cannot find input file: $f" >&2;}
111309    { (exit 1); exit 1; }; }
111310          fi;;
111311       esac
111312     done` || { (exit 1); exit 1; }
111313   # Remove the trailing spaces.
111314   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
111315
111316 _ACEOF
111317
111318 # Transform confdefs.h into two sed scripts, `conftest.defines' and
111319 # `conftest.undefs', that substitutes the proper values into
111320 # config.h.in to produce config.h.  The first handles `#define'
111321 # templates, and the second `#undef' templates.
111322 # And first: Protect against being on the right side of a sed subst in
111323 # config.status.  Protect against being in an unquoted here document
111324 # in config.status.
111325 rm -f conftest.defines conftest.undefs
111326 # Using a here document instead of a string reduces the quoting nightmare.
111327 # Putting comments in sed scripts is not portable.
111328 #
111329 # `end' is used to avoid that the second main sed command (meant for
111330 # 0-ary CPP macros) applies to n-ary macro definitions.
111331 # See the Autoconf documentation for `clear'.
111332 cat >confdef2sed.sed <<\_ACEOF
111333 s/[\\&,]/\\&/g
111334 s,[\\$`],\\&,g
111335 t clear
111336 : clear
111337 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
111338 t end
111339 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
111340 : end
111341 _ACEOF
111342 # If some macros were called several times there might be several times
111343 # the same #defines, which is useless.  Nevertheless, we may not want to
111344 # sort them, since we want the *last* AC-DEFINE to be honored.
111345 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
111346 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
111347 rm -f confdef2sed.sed
111348
111349 # This sed command replaces #undef with comments.  This is necessary, for
111350 # example, in the case of _POSIX_SOURCE, which is predefined and required
111351 # on some systems where configure will not decide to define it.
111352 cat >>conftest.undefs <<\_ACEOF
111353 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
111354 _ACEOF
111355
111356 # Break up conftest.defines because some shells have a limit on the size
111357 # of here documents, and old seds have small limits too (100 cmds).
111358 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
111359 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
111360 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
111361 echo '  :' >>$CONFIG_STATUS
111362 rm -f conftest.tail
111363 while grep . conftest.defines >/dev/null
111364 do
111365   # Write a limited-size here document to $tmp/defines.sed.
111366   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
111367   # Speed up: don't consider the non `#define' lines.
111368   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
111369   # Work around the forget-to-reset-the-flag bug.
111370   echo 't clr' >>$CONFIG_STATUS
111371   echo ': clr' >>$CONFIG_STATUS
111372   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
111373   echo 'CEOF
111374   sed -f $tmp/defines.sed $tmp/in >$tmp/out
111375   rm -f $tmp/in
111376   mv $tmp/out $tmp/in
111377 ' >>$CONFIG_STATUS
111378   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
111379   rm -f conftest.defines
111380   mv conftest.tail conftest.defines
111381 done
111382 rm -f conftest.defines
111383 echo '  fi # grep' >>$CONFIG_STATUS
111384 echo >>$CONFIG_STATUS
111385
111386 # Break up conftest.undefs because some shells have a limit on the size
111387 # of here documents, and old seds have small limits too (100 cmds).
111388 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
111389 rm -f conftest.tail
111390 while grep . conftest.undefs >/dev/null
111391 do
111392   # Write a limited-size here document to $tmp/undefs.sed.
111393   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
111394   # Speed up: don't consider the non `#undef'
111395   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
111396   # Work around the forget-to-reset-the-flag bug.
111397   echo 't clr' >>$CONFIG_STATUS
111398   echo ': clr' >>$CONFIG_STATUS
111399   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
111400   echo 'CEOF
111401   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
111402   rm -f $tmp/in
111403   mv $tmp/out $tmp/in
111404 ' >>$CONFIG_STATUS
111405   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
111406   rm -f conftest.undefs
111407   mv conftest.tail conftest.undefs
111408 done
111409 rm -f conftest.undefs
111410
111411 cat >>$CONFIG_STATUS <<\_ACEOF
111412   # Let's still pretend it is `configure' which instantiates (i.e., don't
111413   # use $as_me), people would be surprised to read:
111414   #    /* config.h.  Generated by config.status.  */
111415   if test x"$ac_file" = x-; then
111416     echo "/* Generated by configure.  */" >$tmp/config.h
111417   else
111418     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
111419   fi
111420   cat $tmp/in >>$tmp/config.h
111421   rm -f $tmp/in
111422   if test x"$ac_file" != x-; then
111423     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
111424       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
111425 echo "$as_me: $ac_file is unchanged" >&6;}
111426     else
111427       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111428 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111429          X"$ac_file" : 'X\(//\)[^/]' \| \
111430          X"$ac_file" : 'X\(//\)$' \| \
111431          X"$ac_file" : 'X\(/\)' \| \
111432          .     : '\(.\)' 2>/dev/null ||
111433 echo X"$ac_file" |
111434     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111435           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111436           /^X\(\/\/\)$/{ s//\1/; q; }
111437           /^X\(\/\).*/{ s//\1/; q; }
111438           s/.*/./; q'`
111439       { if $as_mkdir_p; then
111440     mkdir -p "$ac_dir"
111441   else
111442     as_dir="$ac_dir"
111443     as_dirs=
111444     while test ! -d "$as_dir"; do
111445       as_dirs="$as_dir $as_dirs"
111446       as_dir=`(dirname "$as_dir") 2>/dev/null ||
111447 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111448          X"$as_dir" : 'X\(//\)[^/]' \| \
111449          X"$as_dir" : 'X\(//\)$' \| \
111450          X"$as_dir" : 'X\(/\)' \| \
111451          .     : '\(.\)' 2>/dev/null ||
111452 echo X"$as_dir" |
111453     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111454           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111455           /^X\(\/\/\)$/{ s//\1/; q; }
111456           /^X\(\/\).*/{ s//\1/; q; }
111457           s/.*/./; q'`
111458     done
111459     test ! -n "$as_dirs" || mkdir $as_dirs
111460   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111461 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111462    { (exit 1); exit 1; }; }; }
111463
111464       rm -f $ac_file
111465       mv $tmp/config.h $ac_file
111466     fi
111467   else
111468     cat $tmp/config.h
111469     rm -f $tmp/config.h
111470   fi
111471 # Compute $ac_file's index in $config_headers.
111472 _am_stamp_count=1
111473 for _am_header in $config_headers :; do
111474   case $_am_header in
111475     $ac_file | $ac_file:* )
111476       break ;;
111477     * )
111478       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
111479   esac
111480 done
111481 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
111482 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111483          X$ac_file : 'X\(//\)[^/]' \| \
111484          X$ac_file : 'X\(//\)$' \| \
111485          X$ac_file : 'X\(/\)' \| \
111486          .     : '\(.\)' 2>/dev/null ||
111487 echo X$ac_file |
111488     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111489           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111490           /^X\(\/\/\)$/{ s//\1/; q; }
111491           /^X\(\/\).*/{ s//\1/; q; }
111492           s/.*/./; q'`/stamp-h$_am_stamp_count
111493 done
111494 _ACEOF
111495 cat >>$CONFIG_STATUS <<\_ACEOF
111496
111497 #
111498 # CONFIG_COMMANDS section.
111499 #
111500 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
111501   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
111502   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
111503   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
111504 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111505          X"$ac_dest" : 'X\(//\)[^/]' \| \
111506          X"$ac_dest" : 'X\(//\)$' \| \
111507          X"$ac_dest" : 'X\(/\)' \| \
111508          .     : '\(.\)' 2>/dev/null ||
111509 echo X"$ac_dest" |
111510     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111511           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111512           /^X\(\/\/\)$/{ s//\1/; q; }
111513           /^X\(\/\).*/{ s//\1/; q; }
111514           s/.*/./; q'`
111515   { if $as_mkdir_p; then
111516     mkdir -p "$ac_dir"
111517   else
111518     as_dir="$ac_dir"
111519     as_dirs=
111520     while test ! -d "$as_dir"; do
111521       as_dirs="$as_dir $as_dirs"
111522       as_dir=`(dirname "$as_dir") 2>/dev/null ||
111523 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111524          X"$as_dir" : 'X\(//\)[^/]' \| \
111525          X"$as_dir" : 'X\(//\)$' \| \
111526          X"$as_dir" : 'X\(/\)' \| \
111527          .     : '\(.\)' 2>/dev/null ||
111528 echo X"$as_dir" |
111529     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111530           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111531           /^X\(\/\/\)$/{ s//\1/; q; }
111532           /^X\(\/\).*/{ s//\1/; q; }
111533           s/.*/./; q'`
111534     done
111535     test ! -n "$as_dirs" || mkdir $as_dirs
111536   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111537 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111538    { (exit 1); exit 1; }; }; }
111539
111540   ac_builddir=.
111541
111542 if test "$ac_dir" != .; then
111543   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111544   # A "../" for each directory in $ac_dir_suffix.
111545   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111546 else
111547   ac_dir_suffix= ac_top_builddir=
111548 fi
111549
111550 case $srcdir in
111551   .)  # No --srcdir option.  We are building in place.
111552     ac_srcdir=.
111553     if test -z "$ac_top_builddir"; then
111554        ac_top_srcdir=.
111555     else
111556        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111557     fi ;;
111558   [\\/]* | ?:[\\/]* )  # Absolute path.
111559     ac_srcdir=$srcdir$ac_dir_suffix;
111560     ac_top_srcdir=$srcdir ;;
111561   *) # Relative path.
111562     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111563     ac_top_srcdir=$ac_top_builddir$srcdir ;;
111564 esac
111565
111566 # Do not use `cd foo && pwd` to compute absolute paths, because
111567 # the directories may not exist.
111568 case `pwd` in
111569 .) ac_abs_builddir="$ac_dir";;
111570 *)
111571   case "$ac_dir" in
111572   .) ac_abs_builddir=`pwd`;;
111573   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111574   *) ac_abs_builddir=`pwd`/"$ac_dir";;
111575   esac;;
111576 esac
111577 case $ac_abs_builddir in
111578 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111579 *)
111580   case ${ac_top_builddir}. in
111581   .) ac_abs_top_builddir=$ac_abs_builddir;;
111582   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111583   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111584   esac;;
111585 esac
111586 case $ac_abs_builddir in
111587 .) ac_abs_srcdir=$ac_srcdir;;
111588 *)
111589   case $ac_srcdir in
111590   .) ac_abs_srcdir=$ac_abs_builddir;;
111591   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111592   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111593   esac;;
111594 esac
111595 case $ac_abs_builddir in
111596 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111597 *)
111598   case $ac_top_srcdir in
111599   .) ac_abs_top_srcdir=$ac_abs_builddir;;
111600   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111601   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111602   esac;;
111603 esac
111604
111605
111606   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
111607 echo "$as_me: executing $ac_dest commands" >&6;}
111608   case $ac_dest in
111609     default-1 )
111610 # Only add multilib support code if we just rebuilt the top-level
111611 # Makefile.
111612 case " $CONFIG_FILES " in
111613  *" Makefile "*)
111614    ac_file=Makefile . ${multi_basedir}/config-ml.in
111615    ;;
111616 esac ;;
111617     default ) if test -n "$CONFIG_FILES"; then
111618    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
111619    # that multilib installs will end up installed in the correct place.
111620    # The testsuite needs it for multilib-aware ABI baseline files.
111621    # To work around this not being passed down from config-ml.in ->
111622    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
111623    # append it here.  Only modify Makefiles that have just been created.
111624    #
111625    # Also, get rid of this simulated-VPATH thing that automake does.
111626    cat > vpsed << \_EOF
111627 s!`test -f '$<' || echo '$(srcdir)/'`!!
111628 _EOF
111629    for i in $SUBDIRS; do
111630     case $CONFIG_FILES in
111631      *${i}/Makefile*)
111632        #echo "Adding MULTISUBDIR to $i/Makefile"
111633        sed -f vpsed $i/Makefile > tmp
111634        grep '^MULTISUBDIR =' Makefile >> tmp
111635        mv tmp $i/Makefile
111636        ;;
111637     esac
111638    done
111639    rm vpsed
111640  fi
111641  (cd include && ${MAKE-make})
111642  ;;
111643   esac
111644 done
111645 _ACEOF
111646
111647 cat >>$CONFIG_STATUS <<\_ACEOF
111648
111649 { (exit 0); exit 0; }
111650 _ACEOF
111651 chmod +x $CONFIG_STATUS
111652 ac_clean_files=$ac_clean_files_save
111653
111654
111655 # configure is writing to config.log, and then calls config.status.
111656 # config.status does its own redirection, appending to config.log.
111657 # Unfortunately, on DOS this fails, as config.log is still kept open
111658 # by configure, so config.status won't be able to write to it; its
111659 # output is simply discarded.  So we exec the FD to /dev/null,
111660 # effectively closing config.log, so it can be properly (re)opened and
111661 # appended to by config.status.  When coming back to configure, we
111662 # need to make the FD available again.
111663 if test "$no_create" != yes; then
111664   ac_cs_success=:
111665   ac_config_status_args=
111666   test "$silent" = yes &&
111667     ac_config_status_args="$ac_config_status_args --quiet"
111668   exec 5>/dev/null
111669   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
111670   exec 5>>config.log
111671   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
111672   # would make configure fail if this is the last instruction.
111673   $ac_cs_success || { (exit 1); exit 1; }
111674 fi
111675